/* 
 * Custom Styles
 * Consolidates all inline <style> blocks to prevent FOUC
 */

/* Hero Minimal Navigation */
.hero-minimal-nav {
    position: absolute;
    top: 50%;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.85;
    font-weight: 700;
}

.hero-minimal-nav:hover {
    opacity: 1;
    color: var(--theme-color);
}

.hero-nav-prev {
    left: 20px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
}

.hero-nav-prev::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: currentColor;
    transition: width 0.4s ease;
}

.hero-nav-prev:hover::before {
    width: 120px;
}

.hero-nav-next {
    right: 20px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
}

.hero-nav-next::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: currentColor;
    transition: width 0.4s ease;
}

.hero-nav-next:hover::after {
    width: 120px;
}

/* Feature Hover Cards (Home Page) */
.feature-hover-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--theme-color);
}

.feature-hover-card .box-icon {
    width: 80px;
    height: 80px;
    background: var(--theme-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    transition: all 0.6s ease;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-hover-card:hover .box-icon {
    transform: scale(1.15) rotateY(360deg);
    background: var(--theme-color2, #122F2A);
}

.feature-hover-card .box-title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-hover-card .box-text {
    margin-bottom: 0;
    color: var(--body-color);
}

/* Premium Image Styling for About/Programs */
/* Premium 2-Image Layout for About Us */
.about-image-layout {
    position: relative;
    padding-right: 50px;
    padding-bottom: 50px;
    z-index: 1;
}

.about-image-main {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-main:hover img {
    transform: scale(1.08);
}

.about-image-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 350px;
    border-radius: 20px;
    border: 10px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 2;
}

.about-image-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-sub:hover img {
    transform: scale(1.08);
}

@media (max-width: 991px) {
    .about-image-layout {
        padding-right: 30px;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .about-image-main {
        height: 400px;
    }

    .about-image-sub {
        height: 250px;
        width: 65%;
        border-width: 8px;
    }
}

@media (max-width: 575px) {
    .about-image-layout {
        padding-right: 20px;
        padding-bottom: 20px;
    }

    .about-image-main {
        height: 350px;
    }

    .about-image-sub {
        height: 200px;
        width: 70%;
        border-width: 6px;
    }
}

/* Premium Checklist Hover Effect */
.checklist.style2 ul li {
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: default;
    border-left: 3px solid transparent;
    margin-bottom: 0 !important;
}

.checklist.style2 ul li:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateX(12px);
    color: var(--theme-color);
    border-left: 3px solid var(--theme-color);
}

.checklist.style2.two-col-grid ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
}

.checklist.style2.three-col-grid ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 10px;
}

@media (max-width: 991px) {
    .checklist.style2.three-col-grid ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {

    .checklist.style2.two-col-grid ul,
    .checklist.style2.three-col-grid ul {
        grid-template-columns: 1fr;
    }
}

.checklist.style2.compact-list ul li {
    padding: 6px 12px;
    font-size: 15px;
}

/* Premium Tabs Styling */
.premium-tabs {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 25px;
    gap: 15px;
}

.premium-tabs .nav-link {
    font-size: 18px;
    font-weight: 700;
    color: #444;
    padding: 12px 25px;
    border-radius: 8px 8px 0 0;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
}

.premium-tabs .nav-link.active {
    color: var(--theme-color);
    border-bottom: 3px solid var(--theme-color);
    background: rgba(20, 183, 137, 0.05);
}

.premium-tabs-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Premium Image Styling for About/Programs */
/* Premium 2-Image Layout for About Us */
    .about-image-layout {
        position: relative;
        padding-right: 50px;
        padding-bottom: 50px;
        z-index: 1;
    }

    .about-image-main {
        width: 100%;
        height: 500px;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .about-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .about-image-main:hover img {
        transform: scale(1.08);
    }

    .about-image-sub {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60%;
        height: 350px;
        border-radius: 20px;
        border: 10px solid #ffffff;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        z-index: 2;
    }

    .about-image-sub img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .about-image-sub:hover img {
        transform: scale(1.08);
    }

    @media (max-width: 991px) {
        .about-image-layout {
            padding-right: 30px;
            padding-bottom: 30px;
            margin-bottom: 30px;
        }

        .about-image-main {
            height: 400px;
        }

        .about-image-sub {
            height: 250px;
            width: 65%;
            border-width: 8px;
        }
    }

    @media (max-width: 575px) {
        .about-image-layout {
            padding-right: 20px;
            padding-bottom: 20px;
        }

        .about-image-main {
            height: 350px;
        }

        .about-image-sub {
            height: 200px;
            width: 70%;
            border-width: 6px;
        }
    }

    /* Premium Checklist Hover Effect */
    .checklist.style2 ul li {
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 10px;
        cursor: default;
        border-left: 3px solid transparent;
        margin-bottom: 0 !important;
    }

    .checklist.style2 ul li:hover {
        background-color: #ffffff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
        transform: translateX(12px);
        color: var(--theme-color);
        border-left: 3px solid var(--theme-color);
    }

    .checklist.style2.two-col-grid ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 15px;
    }

    .checklist.style2.three-col-grid ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px 10px;
    }

    @media (max-width: 991px) {
        .checklist.style2.three-col-grid ul {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 575px) {

        .checklist.style2.two-col-grid ul,
        .checklist.style2.three-col-grid ul {
            grid-template-columns: 1fr;
        }
    }

    .checklist.style2.compact-list ul li {
        padding: 6px 12px;
        font-size: 15px;
    }

    /* Premium Tabs Styling */
    .premium-tabs {
        border-bottom: 2px solid #e5e5e5;
        margin-bottom: 25px;
        gap: 15px;
    }

    .premium-tabs .nav-link {
        font-size: 18px;
        font-weight: 700;
        color: #444;
        padding: 12px 25px;
        border-radius: 8px 8px 0 0;
        border: none;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
        background: transparent;
    }

    .premium-tabs .nav-link.active {
        color: var(--theme-color);
        border-bottom: 3px solid var(--theme-color);
        background: rgba(20, 183, 137, 0.05);
    }

    .premium-tabs-content {
        background: #ffffff;
        padding: 30px;
        border-radius: 0 15px 15px 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    /* Contact Styles */
    .contact-feature {
        transition: all 0.4s ease;
        border-radius: 15px;
        padding: 20px 15px;
        background-color: transparent;
        margin-bottom: 20px;
    }

    .contact-feature:hover {
        transform: translateY(-8px);
        background-color: #ffffff;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .contact-feature .box-icon {
        transition: all 0.4s ease;
    }

    .contact-feature:hover .box-icon {
        background-color: var(--theme-color) !important;
        color: #ffffff !important;
        transform: scale(1.1) rotate(5deg);
    }

    .contact-thumb1-1 {
        position: relative;
        overflow: hidden;
        border-radius: 30px;
        height: 650px;
        width: 100%;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .contact-thumb1-1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .contact-thumb1-1:hover img {
        transform: scale(1.08);
    }

    @media (max-width: 991px) {
        .contact-thumb1-1 {
            height: 400px;
            margin-bottom: 40px;
        }
    }

    @media (max-width: 575px) {
        .contact-thumb1-1 {
            height: 300px;
        }
    }

    @keyframes pulseMapPin {
        0% {
            transform: translateX(-50%) scale(1);
            opacity: 1;
        }

        100% {
            transform: translateX(-50%) scale(4);
            opacity: 0;
        }
    }

    .form-control.is-invalid {
        border: 1px solid #dc3545 !important;
        background-color: #fff8f8 !important;
    }

    .invalid-feedback {
        font-size: 0.85rem;
        font-size: 0.85rem;
        font-weight: 500;
    }

    /* Program Styles */
    .program-img-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 30px;
        height: 650px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .program-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .program-img-wrapper:hover img {
        transform: scale(1.08);
    }

    @media (max-width: 991px) {
        .program-img-wrapper {
            height: 450px;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 575px) {
        .program-img-wrapper {
            height: 350px;
        }
    }

    /* Partner Styles */
    .partner-img-container {
        position: relative;
        padding-bottom: 60px;
        padding-right: 60px;
        margin-bottom: 40px;
    }

    .img-main {
        width: 100%;
        height: 480px;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
    }

    .img-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .img-main:hover img {
        transform: scale(1.08);
    }

    .img-sub {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 55%;
        height: 320px;
        border-radius: 30px;
        overflow: hidden;
        border: 12px solid #ffffff;
        box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.15);
        z-index: 2;
        animation: jump 4s ease-in-out infinite alternate;
    }

    .img-sub img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .img-sub:hover img {
        transform: scale(1.08);
    }

    @media (max-width: 991px) {
        .partner-img-container {
            padding-bottom: 40px;
            padding-right: 40px;
        }

        .img-main {
            height: 400px;
        }

        .img-sub {
            height: 260px;
            border-width: 8px;
            width: 60%;
        }
    }

    @media (max-width: 575px) {
        .partner-img-container {
            padding-bottom: 25px;
            padding-right: 25px;
        }

        .img-main {
            height: 320px;
            border-radius: 20px;
        }

        .img-sub {
            height: 200px;
            border-width: 6px;
            width: 65%;
            border-radius: 20px;
        }
    }

/* FAQ Images - Premium Fixed Layout */
.faq-img-box1 .img1 {
    width: 380px;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
}

.faq-img-box1 .img2 {
    width: 260px;
    height: 260px;
    border-radius: 30px;
    overflow: hidden;
    border: 12px solid #ffffff;
    box-shadow: -10px 15px 40px rgba(0,0,0,0.15);
    right: 30px;
    bottom: -80px;
}

.faq-img-box1 .img3 {
    right: 40px;
}

.faq-img-box1 .img1 img,
.faq-img-box1 .img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .faq-img-box1 .img1 {
        width: 350px;
        height: 450px;
    }
    .faq-img-box1 .img2 {
        width: 220px;
        height: 220px;
        bottom: -15px;
        right: -20px;
    }
}

@media (max-width: 991px) {
    .faq-img-box1 .img1 {
        width: 100%;
        height: 450px;
    }
    .faq-img-box1 .img2 {
        width: 200px;
        height: 200px;
        bottom: -10px;
    }
}

@media (max-width: 767px) {
    .faq-img-box1 .img1 {
        height: 350px;
    }
    .faq-img-box1 .img2 {
        width: 100%;
        height: 250px;
    }
}