/* =============================================
   BODHINEX INSTITUTE - COMPLETE COLOR SCHEME
   PRIMARY: Forest Green (#2E520A)
   SECONDARY: Warm Brown (#8B5A0F) 
   Background: Cream (#FBF6F0)
   Font Style: Modern Sans-Serif
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

section,
.hero,
.placement-section,
.contact-section,
.affiliation-section,
.cta-section,
footer {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    /* ===== PRIMARY COLOR: GREEN ===== */
    --brand-primary: #2E520A;
    --brand-primary-light: #3D6B14;
    --brand-primary-dark: #1F3905;
    --brand-primary-lightest: #4A8A1A;

    /* ===== SECONDARY COLOR: BROWN ===== */
    --brand-secondary: #8B5A0F;
    --brand-secondary-light: #B07D2E;
    --brand-secondary-dark: #6B4408;
    --brand-secondary-lightest: #C99A4A;

    /* Background Colors - Warm Cream */
    --bg-main: #FBF6F0;
    --bg-card: #FFFFFF;
    --bg-off-white: #FCF9F4;

    /* Text Colors */
    --text-dark: #2C2C2C;
    --text-muted: #5A5A5A;
    --text-light: #8A8A8A;

    /* Borders */
    --border-color: #E5E1D8;

    /* Supporting Colors */
    --white: #FFFFFF;
    --cream: #ECF0D2;
    --gray-light: #E5E1D8;
    --gray: #8A8A8A;
    --gray-dark: #2C2C2C;
    --black: #1A1A1A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2E520A 0%, #1F3905 100%);
    --gradient-secondary: linear-gradient(135deg, #8B5A0F 0%, #B07D2E 100%);
    --gradient-hero: linear-gradient(105deg, #2E520A 0%, #3D6B14 50%, #2E520A 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(46, 82, 10, 0.06);
    --shadow-md: 0 4px 20px rgba(46, 82, 10, 0.1);
    --shadow-lg: 0 8px 30px rgba(46, 82, 10, 0.12);
    --shadow-secondary: 0 4px 15px rgba(139, 90, 15, 0.25);
    --shadow-hover: 0 15px 35px rgba(46, 82, 10, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}
/* =============================================
   GLOBAL TEXT COLORS
   Green = headings/titles | Black = body/descriptions
   ============================================= */

/* ALL HEADINGS — Green */
h1, h2, h3, h4, h5, h6,
.section-title,
.card-hover h4,
.course-content h3,
.feature-box h4,
.testimonial-name,
.course-card-popup h4,
.popup-title,
.form-banner h3,
.parent-col h5 {
    color: var(--brand-primary) !important; /* #2E520A */
}

/* ALL BODY TEXT — Black */
p,
span,
li,
label,
.section-subtitle,
.testimonial-text,
.card-hover p,
.course-meta,
.skill-badge,
.module-item,
.career-item p,
.feature-box p,
.doc-check,
.declaration-check p,
.footer-bottom,
.section-badge,
.form-group label,
.nav-link,
.badge-item,
.partner-logo p,
.stat-label,
.hero p,
.page-header .lead,
.course-hero p,
.course-hero .lead,
.popup-content p,
.course-card-popup p,
.course-features span,
.popup-footer,
.affiliation-badges span,
footer ul li a,
footer p {
    color: #000000 !important;
}

/* Exceptions — keep white text where background is dark */
.hero h1,
.hero h1 span,
.cta-section h2,
.cta-section p,
.page-header h1,
.page-header .lead,
.course-hero h1,
.form-section-title,
.form-header-center h2,
.form-header-center .welcome,
.form-header-center .tagline,
.form-header-right .enquiry,
.form-header-right .phone,
.office-field label,
.btn-primary-custom,
.btn-secondary-custom,
.btn-outline-custom,
.btn-login,
.btn-submit,
.btn-enroll,
.popup-btn-primary,
.popup-btn-secondary,
.stat-number,
.stat-label,
footer h5,
footer ul li a {
    color: inherit !important; /* Let these keep their original colors */
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 90, 15, 0.3);
    border-top: 3px solid var(--brand-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--brand-primary);
    letter-spacing: -0.03em;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-badge {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background: rgba(46, 82, 10, 0.1);
    color: var(--brand-primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* =============================================
   BUTTONS - PRIMARY: GREEN, SECONDARY: BROWN
   ============================================= */

/* ===== PRIMARY BUTTON (GREEN) ===== */
.btn-primary-custom {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}
/* =============================================
   FIX: CONTENT OVERLAPPING - ALL PAGES
   ============================================= */

/* Fix for course detail pages */
.course-detail-section,
.why-choose-section,
.benefits-section,
.placement-section,
.contact-section {
    padding: 4rem 0 !important;
    clear: both !important;
    overflow: hidden !important;
}

/* Fix for all sections */
section {
    padding: 4rem 0 !important;
    clear: both !important;
    overflow: hidden !important;
}

/* Fix for course hero */
.course-hero {
    padding: 140px 0 70px !important;
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
}

/* Fix for page header */
.page-header {
    padding: 140px 0 70px !important;
    min-height: 300px !important;
}

/* Fix for containers to prevent overlap */
.container {
    position: relative !important;
    z-index: 1 !important;
}

/* Fix for rows */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Fix for columns */
[class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Fix for cards */
.why-card,
.feature-card,
.benefit-card,
.course-detail-card {
    margin-bottom: 1.5rem !important;
}

/* Fix for buttons */
.btn-primary-custom,
.btn-secondary-custom,
.btn-outline-custom {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix for mobile */
@media (max-width: 768px) {
    .course-detail-section,
    .why-choose-section,
    .benefits-section,
    .placement-section,
    .contact-section,
    section {
        padding: 2rem 0 !important;
    }
    
    .course-hero,
    .page-header {
        padding: 110px 15px 50px !important;
        min-height: 200px !important;
    }
}

/* ===== SECONDARY BUTTON (BROWN) ===== */
.btn-secondary-custom {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background: var(--brand-secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-secondary);
    color: var(--white);
}
/* =============================================
   GLOBAL HEADING & TEXT COLOR FIX
   ============================================= */

/* H1 — White on dark/hero backgrounds, Black elsewhere */
h1 {
    color: #000000 !important;
}

/* H2, H3 — Black (section titles, card titles) */
h2, h3 {
    color: #000000 !important;
}

/* H4, H5, H6 — Black (card headings like "Earn While Learn") */
h4, h5, h6 {
    color: #000000 !important;
}

/* All paragraph / description text — Black */
p, span, li, small {
    color: #000000 !important;
}

/* ── EXCEPTIONS: keep section-title green ── */
.section-title {
    color: var(--brand-primary) !important; /* #2E520A */
}

/* ── EXCEPTIONS: Hero stays white ── */
.hero h1,
.hero p,
.page-header h1,
.page-header p,
.page-header .lead,
.course-hero h1,
.course-hero p {
    color: #ffffff !important;
}

/* ── EXCEPTIONS: CTA section stays white ── */
.cta-section h2,
.cta-section p {
    color: #ffffff !important;
}

/* ── EXCEPTIONS: Form header stays white ── */
.form-section-title,
.form-header-center h2,
.form-header-center .welcome,
.form-header-center .tagline,
.form-header-right .phone {
    color: #ffffff !important;
}

/* ── EXCEPTIONS: Buttons stay white ── */
.btn-primary-custom,
.btn-secondary-custom,
.btn-outline-custom,
.btn-login,
.btn-submit,
.btn-enroll,
.popup-btn-primary,
.popup-btn-secondary {
    color: #ffffff !important;
}

/* ── EXCEPTIONS: Footer headings stay golden ── */
footer h5 {
    color: var(--brand-secondary-light) !important;
}

/* ── EXCEPTIONS: Footer links ── */
footer ul li a {
    color: rgba(255, 255, 255, 0.65) !important;
}
footer ul li a:hover {
    color: var(--brand-secondary-light) !important;
}

/* ── EXCEPTIONS: Stat numbers stay white ── */
.stat-number,
.stat-label {
    color: #ffffff !important;
}

/* ── EXCEPTIONS: Nav links stay green ── */
.nav-link {
    color: var(--brand-primary) !important;
}

/* ── EXCEPTIONS: Badge text ── */
.section-badge {
    color: var(--brand-primary) !important;
}

/* ── EXCEPTIONS: Hero badge ── */
.hero-badge {
    color: var(--brand-secondary-dark) !important;
}

/* ── EXCEPTIONS: Popup title stays green ── */
.popup-title {
    color: var(--brand-primary) !important;
}

/* ── EXCEPTIONS: Form labels stay green ── */
.form-group label,
.form-section-title {
    color: var(--brand-primary) !important;
}
/* =============================================
   WHY CHOOSE US CARDS — BLACK TEXT
   ============================================= */
.card-hover h4 {
    color: #000000 !important;
}

.card-hover p {
    color: #000000 !important;
}

/* =============================================
   WHAT WE OFFER BENEFITS — BLACK TEXT
   ============================================= */
.benefits-grid h5 {
    color: #000000 !important;
}

/* =============================================
   ABOUT SECTION — BLACK TEXT
   ============================================= */
.col-lg-6 h5,
.col-md-6 h5 {
    color: #000000 !important;
}

.col-lg-6 p,
.col-md-6 p {
    color: #000000 !important;
}

/* =============================================
   AFFILIATION SECTION — BLACK TEXT
   ============================================= */
.affiliation-section h4 {
    color: #000000 !important;
}

.affiliation-section p {
    color: #000000 !important;
}

/* =============================================
   COURSE CARDS — BLACK TEXT
   ============================================= */
.course-content h3 {
    color: #000000 !important;
}

/* =============================================
   TESTIMONIALS — BLACK TEXT
   ============================================= */
.testimonial-text {
    color: #000000 !important;
}

.testimonial-title {
    color: #000000 !important;
}

/* =============================================
   SECTION SUBTITLES — BLACK
   ============================================= */
.section-subtitle {
    color: #000000 !important;
}

/* =============================================
   KEEP THESE GREEN (DO NOT OVERRIDE)
   ============================================= */
.section-title,
.section-badge,
.nav-link,
.testimonial-name,
.card-icon i,
.form-group label {
    color: var(--brand-primary) !important;
}

/* KEEP FOOTER LINKS THEIR COLOR */
footer ul li a {
    color: rgba(255, 255, 255, 0.65) !important;
}

footer ul li a:hover {
    color: var(--brand-secondary-light) !important;
}

/* ===== OUTLINE BUTTON (BROWN BORDER) ===== */
.btn-outline-custom {
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--brand-secondary-light);
    color: var(--brand-primary);
    background: transparent;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--brand-secondary);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--brand-secondary);
}

/* ===== GREEN BUTTON (Alias for Primary) ===== */
.btn-green {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-green:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(251, 246, 240, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    background: rgba(251, 246, 240, 0.98);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    padding: 0 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.logo-text {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--brand-secondary);
    font-size: 0.7rem;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar-nav {
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--brand-primary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link i {
    color: var(--brand-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-secondary) !important;
    background: rgba(139, 90, 15, 0.08);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--brand-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ===== LOGIN BUTTON (GREEN - PRIMARY) ===== */
.btn-login {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white) !important;
    padding: 8px 22px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--brand-primary-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 82, 10, 0.3);
}

.btn-login i {
    color: var(--white) !important;
}

.navbar-toggler {
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(46,82,10,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: var(--bg-main);
        padding: 1.2rem;
        border-radius: 16px;
        margin-top: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 0.2rem;
        width: 100%;
    }

    .nav-link {
        padding: 0.7rem 1rem !important;
        font-size: 0.95rem;
        border-radius: 8px;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        padding: 10px 20px !important;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }

    .navbar-collapse {
        padding: 1rem;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
   /* ===== HERO SECTION - UPDATED ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background-image: url("/assets/images/hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

/* Mobile Hero Content */
@media (max-width: 768px) {
    .hero-content {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 20px;
        padding: 25px 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    .hero p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.95rem;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    }

    .hero-badge {
        background: rgba(255, 255, 255, 0.15);
        color: #FFD54F;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 55px;
    background: rgba(255, 255, 255, .35);
}

.stat-number {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-secondary-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Inter', 'Montserrat', sans-serif;
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background-image: url("/assets/images/hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .12);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .75);
    color: var(--brand-secondary-dark);
    font-weight: 700;
    font-size: .9rem;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--brand-secondary-light);
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}

.hero p {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-content {
        background: rgba(255, 255, 255, .12);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 25px;
        padding: 25px;
    }

    .hero h1,
    .hero p,
    .hero-badge {
        text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.85);
    color: var(--brand-secondary-dark);
    font-weight: 700;
}

.stat-item {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

.stat-number {
    color: var(--brand-secondary-light);
}

.stat-label {
    color: #ffffff;
}

@media (max-width: 991px) {
    .hero {
        min-height: 100vh;
        padding: 110px 20px 60px;
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .stat-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 15px 50px;
        background-position: 65% center;
    }

    .hero-badge {
        font-size: .75rem;
        padding: 6px 14px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: .95rem;
        line-height: 1.7;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns a {
        width: 100%;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* =============================================
   HERO STATS - UPDATED WITH WHITE NUMBERS
   ============================================= */

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(46, 82, 10, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 120px;
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 55px;
    background: rgba(255, 255, 255, 0.25);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(46, 82, 10, 0.25);
}

.stat-number {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFFFFF !important;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-family: 'Inter', 'Montserrat', sans-serif;
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* =============================================
   HERO BUTTONS - UPDATED
   ============================================= */

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Apply Now Button - Green (Primary) */
.btn-primary-custom {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

/* Explore Courses Button - Brown Border, Brown on Hover */
.btn-outline-custom {
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--brand-secondary);
    color: var(--white);
background:#6B4408  ;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}



/* ===== MOBILE RESPONSIVE FIX ===== */
@media (max-width: 768px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 25px;
        padding: 0 5px;
    }

    .stat-item {
        background: rgba(46, 82, 10, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 12px 8px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-width: auto;
        flex: 1;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 900;
        color: #FFFFFF !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.6rem;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.3px;
        font-weight: 500;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    .stat-item i {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 20px;
        padding: 0;
        max-width: 100%;
    }

    .stat-item {
        background: rgba(46, 82, 10, 0.25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 10px 6px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 65px;
        width: 100% !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
        font-weight: 900;
        color: #FFFFFF !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        margin: 0 !important;
        line-height: 1.2;
        flex: none;
        text-align: center;
        width: 100%;
    }

    .stat-label {
        font-size: 0.55rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
        letter-spacing: 0.2px;
        font-weight: 500;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        margin: 0 !important;
        text-align: center;
        width: 100%;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .stat-item i {
        display: none !important;
    }

    .stat-item .stat-icon {
        display: none;
    }

    /* Hero Buttons Mobile */
    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1.5rem;
    }

    .hero-btns .btn-primary-custom,
    .hero-btns .btn-outline-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .hero-stats {
        gap: 6px;
        margin-top: 15px;
    }

    .stat-item {
        padding: 8px 4px;
        min-height: 55px;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 1.2rem !important;
    }

    .stat-label {
        font-size: 0.5rem !important;
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-secondary-light);
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* ===== CARDS ===== */
.card-hover {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    height: 100%;
    border: 1px solid var(--border-color);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 70px;
    height: 70px;
  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--brand-primary);
}

.card-hover h4 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--brand-primary);
}

.card-hover p {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ===== COURSE CARDS ===== */
.course-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 180px;
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--brand-primary);
    min-height: 50px;
}

.course-meta {
    font-family: 'Inter', sans-serif;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    font-weight: 500;
}

.course-meta i {
    color: var(--brand-secondary);
    margin-right: 4px;
}

.course-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
    flex: 1;
}

.skill-badge {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--brand-primary);
    font-weight: 500;
}

.skill-badge i {
    color: var(--brand-secondary);
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-primary);
    margin: 0 auto 1rem;
    transition: var(--transition);
}
/* =============================================
   WHY CHOOSE US SECTION — Text Fix
   ============================================= */

/* Section headings — keep green */
.why-choose-section .section-title,
.why-choose-section h2 {
    color: var(--brand-primary) !important;
}

/* Card titles — green */
.why-choose-section .card-hover h4,
.card-hover h4 {
    color: var(--brand-primary) !important;
}

/* Subtitle / description — BLACK */
.why-choose-section .section-subtitle,
.why-choose-section p,
.why-choose-section .card-hover p,
.card-hover p {
    color: #000000 !important;
}

.benefit-icon:hover {
  
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== AFFILIATION SECTION ===== */
.affiliation-section {
    background: var(--bg-main);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.uni-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.affiliation-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge-item {
    font-family: 'Montserrat', sans-serif;
  
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}


/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--brand-secondary-light);
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.testimonial-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0;
}

.testimonial-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--brand-secondary);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.03em;
}

.cta-section p {
    font-family: 'Inter', sans-serif;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
    background: #E5E1D8; ;
    padding: 4rem 0 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

footer h5 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    color: var(--brand-secondary-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-secondary-light);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer ul li a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

footer ul li a:hover {
    color: var(--brand-secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
}

#backToTop:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-3px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.75) 0%, rgba(31, 57, 5, 0.6) 50%, rgba(46, 82, 10, 0.45) 100%),
        url('/assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 80px;
    padding: 120px 20px 80px;
}

.page-header h1 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-header .lead {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
}

/* =============================================
   ADMISSION FORM STYLES
   ============================================= */
.form-wrapper {
    max-width: 1100px;
    margin: 2rem auto;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.form-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-header-logo img {
    height: 60px;
    width: auto;
    border-radius: 12px;
}

.form-header-center {
    text-align: center;
}

.form-header-center .welcome {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-secondary-light);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.form-header-center h2 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
}

.form-header-center h2 span {
    color: var(--brand-secondary-light);
}

.form-header-center .tagline {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 400;
}

.form-header-right {
    text-align: right;
}

.form-header-right .enquiry {
    font-family: 'Inter', sans-serif;
    color: var(--brand-secondary-light);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-header-right .phone {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.form-header-right .phone i {
    color: var(--brand-secondary-light);
    margin-right: 5px;
}

.form-banner {
    background: var(--cream);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-banner h3 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin: 0;
}

.form-banner span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--brand-secondary-dark);
    font-weight: 600;
}

.form-body {
    padding: 2rem;
}

.form-section {
    background: var(--bg-off-white);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.form-section-title {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-section-title i {
    margin-right: 10px;
    color: var(--brand-secondary-light);
}

.form-row {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}

.form-row:last-child {
    border-bottom: none;
}

.form-row-1 .form-group {
    flex: 1;
    min-width: 100%;
}

.form-row-2 .form-group {
    flex: 1;
    min-width: calc(50% - 0.75rem);
}

.form-row-3 .form-group {
    flex: 1;
    min-width: calc(33.33% - 1rem);
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.form-group .req {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-secondary-light);
    box-shadow: 0 0 0 3px rgba(139, 90, 15, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 1rem;
    height: 42px;
}

.radio-group label {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
}

.parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
}

.parent-col h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--brand-secondary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-secondary-light);
    display: inline-block;
    font-weight: 700;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
    padding: 1rem 1.5rem;
}

.doc-check {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 12px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.doc-check:hover {
    background: var(--cream);
}

.doc-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--brand-primary);
}

.doc-check input[type="text"] {
    width: 120px;
    padding: 4px 8px;
    font-size: 0.8rem;
}

.declaration-box {
    padding: 1rem 1.5rem;
    background: var(--cream);
    border-radius: 12px;
    margin: 1rem 1.5rem;
}

.declaration-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.declaration-check input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--brand-primary);
}

.declaration-check p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.form-submit-row {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--bg-off-white);
    border-radius: 16px;
    margin-top: 1rem;
}

/* ===== SUBMIT BUTTON (GREEN - PRIMARY) ===== */
.btn-submit {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-submit i {
    font-size: 1rem;
}

#successMsg {
    display: none;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.btn-submit.loading #btnText,
.btn-submit.loading #btnIcon {
    display: none;
}

.office-bar {
    background: var(--brand-primary);
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.office-field label {
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-secondary-light);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.office-field-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: var(--bg-main);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .form-row-3 .form-group {
        min-width: calc(50% - 0.75rem);
    }

    .parent-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .office-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: 85% center;
    }

    .hero {
        text-align: center;
        padding: 100px 0 60px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        color: black;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .form-header {
        flex-direction: column;
        text-align: center;
    }

    .form-header-right {
        text-align: center;
    }

    .form-body {
        padding: 1rem;
    }

    .form-section-title {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-row {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .form-row-2 .form-group,
    .form-row-3 .form-group {
        min-width: 100%;
    }

    .radio-group {
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .parent-grid {
        padding: 0.8rem 1rem;
    }

    .docs-grid {
        grid-template-columns: 1fr;
        padding: 0.8rem 1rem;
    }

    .declaration-box {
        margin: 0.8rem 1rem;
        padding: 0.8rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .office-bar {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }

    .form-banner {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .navbar {
        overflow: hidden;
        width: 100%;
    }

    .navbar-brand {
        padding-left: 5px;
    }

    .hero::before {
        display: none;
    }

    .benefits-grid,
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px !important;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100%;
        max-width: 280px;
        margin: 1.5rem auto 0;
    }

    .stat-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(8px);
        padding: 10px 15px !important;
        border-radius: 12px !important;
        width: 100% !important;
        gap: 15px;
    }

    .stat-item i {
        font-size: 1.2rem !important;
        margin: 0 !important;
        width: 30px;
    }

    .stat-number {
        font-size: 1.1rem !important;
        margin: 0 !important;
        flex: 1;
        text-align: left;
    }

    .stat-label {
        font-size: 0.7rem !important;
        margin: 0 !important;
        text-align: right;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 250px;
        margin: 0 auto 1.5rem;
    }

    .hero-btns .btn-primary-custom,
    .hero-btns .btn-secondary-custom,
    .hero-btns .btn-outline-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .card-hover,
    .step-card,
    .eligibility-card,
    .course-card {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .page-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .form-header-center h2 {
        font-size: 1.4rem;
    }

    .form-header-logo img {
        height: 45px;
    }

    .form-section-title {
        font-size: 0.85rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .doc-check {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .declaration-check p {
        font-size: 0.75rem;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .popup-container {
        width: 95%;
    }

    .popup-title {
        font-size: 1.2rem;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-badge {
        font-size: 0.6rem;
    }

    .stat-item {
        padding: 8px 12px !important;
    }

    .stat-item i {
        font-size: 1rem !important;
        width: 25px;
    }

    .stat-number {
        font-size: 1rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeUp {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-fadeLeft {
    animation: fadeInLeft 0.6s ease forwards;
    opacity: 0;
}

.animate-fadeRight {
    animation: fadeInRight 0.6s ease forwards;
    opacity: 0;
}

.animate-zoom {
    animation: zoomIn 0.5s ease forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}
.delay-200 {
    animation-delay: 0.2s;
}
.delay-300 {
    animation-delay: 0.3s;
}
.delay-400 {
    animation-delay: 0.4s;
}
.delay-500 {
    animation-delay: 0.5s;
}

/* =============================================
   POPUP MODAL STYLES
   ============================================= */
.course-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 57, 5, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    border-top: 5px solid var(--brand-secondary-light);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 10;
    padding: 5px 10px;
}

.popup-close:hover {
    color: var(--brand-secondary);
    transform: rotate(90deg);
}

.popup-close:active {
    transform: scale(0.8);
}

.popup-icon {
    background: var(--gradient-secondary);
    padding: 25px 0;
    text-align: center;
}

.popup-icon i {
    font-size: 3rem;
    color: var(--white);
    animation: bounce 1s ease infinite;
}

.popup-title {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    padding: 20px 20px 0;
    margin: 0;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

.course-card-popup {
    background: var(--bg-off-white);
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    text-align: left;
    border-left: 4px solid var(--brand-secondary-light);
}

.course-card-popup h4 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.course-card-popup p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 400;
}

.course-badge-popup {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background: var(--brand-primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 8px;
    margin-bottom: 5px;
}

.course-features {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-features span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--white);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 400;
}

.course-features i {
    color: var(--brand-secondary);
    margin-right: 3px;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px;
}

.popup-btn {
    font-family: 'Montserrat', sans-serif;
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.popup-btn-primary {
    background: var(--brand-primary);
    color: var(--white);
}

.popup-btn-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
}

.popup-btn-primary:active {
    transform: scale(0.95);
}

.popup-btn-secondary {
    background: var(--brand-secondary);
    color: var(--white);
}

.popup-btn-secondary:hover {
    background: var(--brand-secondary-dark);
    transform: translateY(-2px);
}

.popup-footer {
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding: 15px;
    font-size: 0.7rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin: 0;
    font-weight: 400;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .popup-container {
        width: 92%;
        max-width: 400px;
        border-radius: 16px;
    }

    .popup-title {
        font-size: 1.2rem;
        padding: 15px 15px 0;
    }

    .popup-content {
        padding: 15px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px 15px;
    }

    .popup-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .popup-icon i {
        font-size: 2.5rem;
    }

    .course-card-popup h4 {
        font-size: 1rem;
    }

    .popup-close {
        top: 12px;
        right: 15px;
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .popup-container {
        width: 95%;
        max-width: 350px;
    }

    .popup-title {
        font-size: 1rem;
    }

    .course-card-popup {
        padding: 12px;
    }

    .course-features span {
        font-size: 0.65rem;
    }
}

@media (min-width: 769px) {
    .popup-container {
        max-width: 450px;
    }
}

.program-image-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image-box img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.program-image-box .fallback-content {
    text-align: center;
    padding: 2rem;
}

.program-image-box .fallback-content i {
    font-size: 3.5rem;
    color: var(--brand-secondary-light);
    margin: 0 10px;
}

.program-image-box .fallback-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-secondary-light);
    margin-top: 1rem;
    font-weight: 700;
}

.program-image-box .fallback-content p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

@media (max-width: 768px) {
    .program-image-box {
        min-height: 200px;
    }

    .program-image-box img {
        height: 200px;
    }
}

.course-hero h1 {
    color: #ffffff !important;
}

.course-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.course-hero .lead {
    color: rgba(255, 255, 255, 0.85) !important;
}

.course-hero {
    color: #ffffff;
}

.course-hero .btn-primary-custom {
    color: var(--white) !important;
}

.course-hero .btn-primary-custom:hover {
    color: var(--white) !important;
}

body {
    color: var(--text-dark);
}

.section-title {
    color: var(--brand-primary) !important;
}

.section-badge {
    color: var(--brand-primary) !important;
}

.feature-box h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-primary) !important;
    font-weight: 700;
}

.feature-box p {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted) !important;
    font-weight: 400;
}

.module-item {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark) !important;
    font-weight: 400;
}

.module-item i {
    color: var(--brand-secondary) !important;
}

.career-item p {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark) !important;
    font-weight: 400;
}

.career-item i {
    color: var(--brand-secondary) !important;
}

/* Partners Section */
.partner-logo {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.2rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #E5E1D8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-secondary-light);
}

.partner-img {
    max-height: 45px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-img {
    transform: scale(1.05);
}

.partner-logo p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #5A5A5A;
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.partner-logo.more {
    border: 2px dashed var(--brand-secondary-light);
    background: rgba(176, 125, 46, 0.05);
}

.partner-logo.more i {
    color: var(--brand-secondary);
}

.partner-logo.more p {
    color: var(--brand-secondary);
}

@media (max-width: 768px) {
    .partner-img {
        max-height: 35px;
    }

    .partner-logo {
        min-height: 90px;
        padding: 0.8rem 0.3rem;
    }

    .partner-logo p {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .partner-img {
        max-height: 28px;
    }

    .partner-logo {
        min-height: 75px;
        padding: 0.5rem 0.2rem;
    }

    .partner-logo p {
        font-size: 0.5rem;
        margin-top: 0.3rem;
    }

    .col-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

.burger-btn {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

.btn-enroll {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-secondary);
    color: white;
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: 500;
    text-decoration: none;
}

.btn-enroll:hover {
    background: var(--brand-secondary-dark);
    color: white;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 1040;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100%;
    background: white;
    transition: right 0.28s ease;
    z-index: 1050;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.side-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.drawer-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.side-drawer nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 1.25rem;
    text-decoration: none;
    color: #333;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.side-drawer nav a:hover {
    background: #f8f8f8;
}

.side-drawer nav a i {
    color: var(--brand-primary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.social-links a[aria-label="Facebook"] {
    background: #1877f2;
    color: white;
}

.social-links a[aria-label="Instagram"] {
    background: #e1306c;
    color: white;
}

.social-links a[aria-label="YouTube"] {
    background: #ff0000;
    color: white;
}

.social-links a[aria-label="WhatsApp"] {
    background: #25d366;
    color: white;
}
/* =============================================
   FOOTER LINKS — BLACK COLOR
   ============================================= */
footer ul li a {
    color: #000000 !important;
}

footer ul li a:hover {
    color: var(--brand-secondary) !important; /* golden on hover */
}

/* Footer headings — keep black too */
footer h5 {
    color: #000000 !important;
}

/* Contact info text — black */
footer .list-unstyled li {
    color: #000000 !important;
}

/* Footer description — black */
footer p {
    color: #000000 !important;
}

/* Footer bottom copyright — black */
.footer-bottom p {
    color: #000000 !important;
}
/* =============================================
   WHY CHOOSE US — ICONS BLACK
   ============================================= */
.card-icon i {
    color: #000000 !important;
}

.card-icon {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* =============================================
   WHAT WE OFFER — BENEFIT ICONS BLACK
   ============================================= */
.benefit-icon i {
    color: #000000 !important;
}

.benefit-icon {
    background: rgba(0, 0, 0, 0.06) !important;
}
/* =============================================
   BURGER BUTTON — TRANSPARENT
   ============================================= */
.burger-btn {
    background: transparent !important;
    border: none !important;
}

.burger-btn span {
    background: var(--brand-primary) !important; /* green lines */
}
/* =============================================
   COURSE CARDS - UPDATED BUTTON STYLES
   ============================================= */

.course-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 180px;
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--brand-primary);
    min-height: 50px;
    font-weight: 700;
}

.course-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
    flex: 1;
}

.skill-badge {
    background: rgba(176, 125, 46, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--brand-secondary-dark);
    font-weight: 500;
}

.skill-badge i {
    color: var(--brand-primary);
}

/* ===== LEARN MORE BUTTON - ALWAYS VISIBLE ===== */
.btn-learn-more {
    font-family: 'Montserrat', sans-serif;
    background: var(--brand-primary) !important;  /* Brown/Gold #B07D2E */
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    font-size: 0.85rem;
    margin-top: auto;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-learn-more:hover {
    background: var(--brand-primary-dark) !important;  /* Darker Brown #8B5A0F */
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(176, 125, 46, 0.3);
}

.btn-learn-more i {
    color: var(--white);
    margin-right: 8px;
}
/* =============================================
   COMPLETE MOBILE RESPONSIVENESS FIX - ALL PAGES
   ============================================= */

/* ===== GLOBAL MOBILE FIXES ===== */
@media (max-width: 768px) {
    
    /* ===== GENERAL ===== */
    body {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* ===== HEADINGS ===== */
    h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
    }
    
    h4 {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

    .section-title {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
        padding: 0 10px;
    }

    /* ===== PAGE HEADER ===== */
    .page-header {
        padding: 100px 15px 50px !important;
        background-attachment: scroll !important;
        min-height: 200px;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header .lead {
        font-size: 1rem !important;
    }

    /* ===== HERO SECTION ===== */
    .hero {
        padding: 100px 15px 50px !important;
        min-height: auto !important;
        background-position: center center !important;
    }
    
    .hero-content {
        padding: 20px !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .hero-badge {
        font-size: 0.7rem !important;
        padding: 5px 12px !important;
    }
    
    .hero-btns {
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto 1.5rem !important;
    }
    
    .hero-btns .btn-primary-custom,
    .hero-btns .btn-secondary-custom,
    .hero-btns .btn-outline-custom {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    /* ===== HERO STATS (Mobile) ===== */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 20px !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .stat-item {
        background: rgba(176, 125, 46, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 10px 6px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 65px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .stat-item:not(:last-child)::after {
        display: none !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
        font-weight: 900 !important;
        color: #FFFFFF !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .stat-label {
        font-size: 0.55rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
        letter-spacing: 0.2px !important;
        font-weight: 500 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    .stat-item i {
        display: none !important;
    }

    /* ===== CARDS (Course, Feature, Benefit) ===== */
    .course-card,
    .card-hover,
    .benefit-item,
    .testimonial-card {
        margin-left: 0 !important;
        width: 100% !important;
        border-radius: 12px !important;
    }
    
    .course-img {
        height: 150px !important;
        min-height: 150px !important;
    }
    
    .course-content {
        padding: 1rem !important;
    }
    
    .course-content h3 {
        font-size: 1rem !important;
        min-height: auto !important;
    }
    
    .course-meta {
        font-size: 0.7rem !important;
        gap: 0.5rem !important;
    }
    
    .skill-badge {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }
    
    .card-hover {
        padding: 1.5rem 1rem !important;
    }
    
    .card-icon {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
    }
    
    .card-hover h4 {
        font-size: 1rem !important;
    }
    
    .card-hover p {
        font-size: 0.85rem !important;
    }

    /* ===== LEARN MORE BUTTON ===== */
    .btn-learn-more,
    .btn-outline-custom {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* ===== GRID / COLUMNS ===== */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .col-lg-3,
    .col-md-4,
    .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* ===== BENEFITS GRID ===== */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    /* ===== CTA SECTION ===== */
    .cta-section {
        padding: 3rem 1rem !important;
    }
    
    .cta-section h2 {
        font-size: 1.6rem !important;
    }
    
    .cta-section p {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
    }

    /* ===== FOOTER ===== */
    footer {
        padding: 2rem 0 0 !important;
    }
    
    footer h5 {
        font-size: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    footer ul li {
        font-size: 0.9rem !important;
    }
    
    .footer-bottom {
        font-size: 0.75rem !important;
        padding: 1rem 0 !important;
        margin-top: 1.5rem !important;
    }

    /* ===== SECTION PADDING ===== */
    section {
        padding: 2.5rem 0 !important;
    }
    
    section.py-5 {
        padding: 2.5rem 0 !important;
    }
    
    section.py-4 {
        padding: 2rem 0 !important;
    }

    /* ===== BADGES ===== */
    .section-badge {
        font-size: 0.6rem !important;
        padding: 4px 12px !important;
    }

    /* ===== AFFILIATION ===== */
    .affiliation-section {
        padding: 2rem 0 !important;
    }
    
    .affiliation-badges {
        gap: 0.5rem !important;
    }
    
    .badge-item {
        font-size: 0.7rem !important;
        padding: 5px 12px !important;
    }
    
    .uni-logo {
        max-width: 100px !important;
    }

    /* ===== PARTNER LOGOS ===== */
    .partner-logo {
        min-height: 80px !important;
        padding: 0.8rem 0.3rem !important;
    }
    
    .partner-img {
        max-height: 30px !important;
    }
    
    .partner-logo p {
        font-size: 0.55rem !important;
        margin-top: 0.3rem !important;
    }
    
    .col-4 {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }

    /* ===== SOCIAL LINKS ===== */
    .social-links a {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }

    /* ===== WHATSAPP FLOAT ===== */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    /* ===== BACK TO TOP ===== */
    #backToTop {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
        bottom: 80px !important;
        right: 20px !important;
    }

    /* ===== NAVBAR MOBILE ===== */
    .navbar .container {
        padding: 0 12px !important;
    }
    
    .logo-img {
        height: 35px !important;
    }
    
    .logo-text {
        font-size: 1rem !important;
    }
    
    .logo-text span {
        font-size: 0.55rem !important;
    }
    
    .btn-enroll {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
    
    .burger-btn span {
        width: 20px !important;
        height: 2px !important;
    }
}

/* ===== EXTRA SMALL PHONES (max-width: 576px) ===== */
@media (max-width: 576px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-top: 15px !important;
    }
    
    .stat-item {
        padding: 8px 4px !important;
        min-height: 55px !important;
        border-radius: 10px !important;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
    }
    
    .stat-label {
        font-size: 0.5rem !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
    
    .col-md-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .hero h1 {
        font-size: 1.4rem !important;
    }
    
    .page-header h1 {
        font-size: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.4rem !important;
    }
    
    .cta-section h2 {
        font-size: 1.4rem !important;
    }
}

/* ===== VERY SMALL PHONES (max-width: 400px) ===== */
@media (max-width: 400px) {
    .hero-stats {
        gap: 4px !important;
    }
    
    .stat-item {
        padding: 6px 3px !important;
        min-height: 48px !important;
        border-radius: 8px !important;
    }
    
    .stat-number {
        font-size: 1rem !important;
    }
    
    .stat-label {
        font-size: 0.45rem !important;
    }
    
    .hero h1 {
        font-size: 1.2rem !important;
    }
    
    .hero p {
        font-size: 0.8rem !important;
    }
    
    .hero-content {
        padding: 15px !important;
    }
}

.duration-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: white;
    border: 2px solid var(--brand-gold);
    border-radius: 12px;
    padding: 16px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 130px;
}

.duration-badge i {
    font-size: 1.8rem;
    color: var(--brand-gold);
}

.duration-badge span {
    font-size: 1.1rem;
    color: #1a2a4a;
}

.duration-badge small {
    font-size: 0.8rem;
    color: #666;
}

.duration-badge.active,
.duration-badge:hover {
    background: var(--brand-gold);
    color: white;
}

.duration-badge.active i,
.duration-badge:hover i,
.duration-badge.active span,
.duration-badge:hover span,
.duration-badge.active small,
.duration-badge:hover small {
    color: white;
}
/* ===== SKILL BADGE FIX ===== */
.skill-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(176, 125, 46, 0.1) !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    color: var(--brand-primary) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.skill-badge i {
    color: var(--brand-primary) !important;
    font-size: 0.75rem !important;
}
/* ===== SKILL BADGE EMPTY BOX FIX ===== */
.course-skills {
    align-items: flex-start !important;
}

.skill-badge {
    height: auto !important;
    min-height: unset !important;
    line-height: 1.4 !important;
}/* ===== 2 YEAR BADGE ICON FIX ===== */
.duration-badge:nth-child(2) i {
    color: #000000 !important;
}
/* ===== FOOTER MORE COURSES BUTTON FIX ===== */
footer .btn-outline-custom {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    background: transparent !important;
}

footer .btn-outline-custom:hover {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    border-color: var(--brand-primary) !important;
}

/* ===== FOOTER MORE COURSES BUTTON - NEW LOOK ===== */
footer .btn-outline-custom {
    background: linear-gradient(135deg, #2E520A, #4A8A1A) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(46, 82, 10, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
    margin-top: 8px !important;
    white-space: nowrap !important;
}

footer .btn-outline-custom:hover {
    background: linear-gradient(135deg, #B07D2E, #8B5A0F) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(176, 125, 46, 0.4) !important;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
    footer .btn-outline-custom {
        padding: 7px 16px !important;
        font-size: 0.75rem !important;
        display: inline-block !important;
        width: auto !important;        /* full width aagama irukum */
        text-align: center !important;
        margin-top: 10px !important;
    }
}