/* ==================================================
   DESIGN SYSTEM / GLOBAL TOKENS
   Colour palette + typography (NET Aptitude Lab standard)
   ================================================== */
:root {
    /* Core palette */
    --ink: #162133;          /* primary dark (headings, header, footer) */
    --ink-2: #23324b;        /* secondary dark / gradient end */
    --paper: #fbf7ee;        /* warm page background */
    --card: #ffffff;         /* surfaces / cards */
    --line: #e4dcc9;         /* warm hairline borders */
    --muted: #6b6757;        /* muted / secondary text */
    --ochre: #c1822c;        /* primary accent (was gold) */
    --ochre-dk: #a66c1d;     /* accent hover */
    --teal: #0d7a6e;         /* secondary accent */
    --teal-bg: #e7f4f1;      /* teal tint */
    --red: #b23b3b;          /* error */
    --red-bg: #fbeaea;       /* error tint */
    --shadow: 0 10px 30px -18px rgba(22, 33, 51, .45);

    /* Typography */
    --serif: "Fraunces", Georgia, "Times New Roman", serif;   /* display / headings */
    --sans: "Libre Franklin", "Segoe UI", Helvetica, Arial, sans-serif; /* body / UI */

    /* Legacy aliases — existing rules inherit the new palette automatically */
    --primary-navy: var(--ink);
    --gold: var(--ochre);
    --gold-dk: var(--ochre-dk);
    --light-bg: var(--paper);
    --white: #ffffff;

    /* Motion */
    --transition: all 0.4s ease-in-out;
    --smooth-trans: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: var(--sans);
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    background: transparent;
    border-bottom: 1px solid rgba(22, 33, 51, 0.1);
    transition: var(--smooth-trans);
}

#main-header.scrolled {
    padding: 10px 5%;
    background: rgba(22, 33, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

#header-logo {
    height: 60px;
    border-radius: 50%;
    transition: var(--smooth-trans);
}

#main-header.scrolled #header-logo { 
    opacity: 0; 
    width: 0; 
}

.brand-text h1, .brand-text .brand-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    transition: var(--smooth-trans);
}

.brand-ugc { color: var(--primary-navy); transition: var(--smooth-trans); }
.brand-121 { color: var(--gold); transition: var(--smooth-trans); }
#main-header.scrolled .brand-ugc { color: var(--white); }

#header-slogan {
    font-size: 0.8rem;
    color: var(--primary-navy);
    font-weight: 500;
    transition: var(--smooth-trans);
}

#main-header.scrolled #header-slogan { color: var(--gold); }
#main-header.scrolled #header-slogan::before { content: "| "; color: var(--white); }

nav { margin-left: auto; }
.header-right { margin-left: 30px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    position: relative;
    padding: 5px 10px;
    transition: var(--transition);
}

#main-header.scrolled .nav-links a { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold) !important; }
.nav-links a.active {
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(193, 130, 44, 0.1);
}

/* Home Page Transparent Header Fix */
.home-page #main-header:not(.scrolled) .brand-ugc { color: var(--white); }
.home-page #main-header:not(.scrolled) #header-slogan { color: var(--gold); }
.home-page #main-header:not(.scrolled) .nav-links a { color: var(--white); }
.home-page #main-header:not(.scrolled) border-bottom { border-color: rgba(255, 255, 255, 0.1); }

/* Hamburger Menu Base */
.menu-toggle {
    display: none; 
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
    margin-left: auto; 
}
.home-page .menu-toggle,
#main-header.scrolled .menu-toggle { color: var(--white) !important; }

/* ==================================================
   DROPDOWN NAVIGATION
   Prep Labs menu (desktop hover + mobile accordion)
   ================================================== */
.nav-dropdown { position: relative; }
.nav-droplink {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-navy);
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: var(--transition);
}
#main-header.scrolled .nav-droplink,
.home-page #main-header:not(.scrolled) .nav-droplink { color: var(--white); }
.nav-droplink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-dropdown:hover .nav-droplink::after { width: calc(100% - 20px); }
.nav-droplink:hover { color: var(--gold); }
.dd-caret { font-size: 0.7rem; transition: transform 0.3s ease; }
.nav-dropdown.open .dd-caret { transform: rotate(180deg); }

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 135%;
    left: 0;
    min-width: 195px;
    background: var(--white);
    border: 1px solid rgba(22, 33, 51, 0.08);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    color: var(--primary-navy) !important;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(193, 130, 44, 0.12); color: #a66c1d !important; }
.dropdown-menu a i { color: var(--gold); width: 18px; text-align: center; }

/* ==================================================
   CONTENT PAGES
   Syllabus, study materials, video guides, testimonials
   ================================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0 10px;
}
.content-card {
    background: var(--light-bg);
    border: 1px solid #e4dcc9;
    border-radius: 12px;
    padding: 22px;
    transition: var(--transition);
}
.content-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.07); transform: translateY(-4px); }
.content-card .cc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(193, 130, 44, 0.15);
    color: #a66c1d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.content-card h3 { color: var(--primary-navy); font-size: 1.1rem; margin-bottom: 8px; }
.content-card p { color: #555; font-size: 0.92rem; margin: 0; }

.unit-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a66c1d;
    background: rgba(193, 130, 44, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid #e4dcc9;
    border-radius: 12px;
    padding: 24px;
}
.testimonial-card .quote { color: #444; font-style: italic; margin-bottom: 18px; position: relative; }
.testimonial-card .stars-row { color: #c1822c; font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .person .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.testimonial-card .person h4 { color: var(--primary-navy); font-size: 0.95rem; margin: 0; }
.testimonial-card .person span { color: #6b6757; font-size: 0.82rem; }

.page-cta {
    margin-top: 35px;
    background: var(--primary-navy);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    color: var(--white);
}
.page-cta h3 { color: var(--white); margin-bottom: 8px; font-size: 1.4rem; }
.page-cta p { color: rgba(255,255,255,0.8); margin-bottom: 18px; }

.coming-soon-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #a66c1d;
    background: rgba(193, 130, 44, 0.15);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

/* =========================================
   3. LOGO LIGHTBOX MODAL
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 10vh; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(22, 33, 51, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show { opacity: 1; }

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 450px;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(193, 130, 44, 0.3);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content { transform: scale(1); }

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--gold);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover { color: var(--white); }

/* ==================================================
   PREMIUM FOOTER
   Site-wide footer: brand, links, newsletter, watermark
   Gold (ochre) separator line sits above the footer
   ================================================== */

#main-footer {
    background: var(--ink);
    color: var(--white);
    padding: 80px 5% 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--ochre); /* gold separator above footer */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; 
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2; 
}

.footer-socials { display: flex; gap: 15px; }

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover { transform: translateY(-3px); }
.footer-socials a.social-yt:hover { background: #FF0000; border-color: #FF0000; }
.footer-socials a.social-x:hover { background: #000000; border: 1px solid #333; }
.footer-socials a.social-fb:hover { background: #1877F2; border-color: #1877F2; }
.footer-socials a.social-tg:hover { background: #0088cc; border-color: #0088cc; } 

/* Contact Details (Phone & Email) */
.footer-contact {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #bbb;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--gold);
    width: 25px; 
    text-align: center;
}

.contact-item a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold);
}

.footer-sec h3 { 
    color: var(--white); 
    font-size: 1.1rem;
    margin-bottom: 25px; 
    font-family: var(--serif);
    letter-spacing: 1px;
}

.footer-sec ul { list-style: none; }
.footer-sec ul li { margin-bottom: 12px; }

/* Refined Footer Links with Progressive Underline */
.footer-sec ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-sec ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.footer-sec ul li a:hover::after { width: 100%; }
.footer-sec ul li a:hover { color: var(--gold); }

.newsletter-sec p { color: #bbb; font-size: 0.95rem; margin-bottom: 20px; }

.newsletter-form {
    display: flex;
    width: 100%;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--gold);
    color: var(--primary-navy);
    border: none;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* Footer Bottom Layout */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: center; 
    align-items: center;
    color: #bbb;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0; 
    text-align: center;
}

.legal-links-bottom {
    display: flex;
    align-items: center;
    position: absolute; 
    right: 0;
}

.legal-links-bottom a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.legal-links-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.legal-links-bottom a:hover::after { width: 100%; }
.legal-links-bottom a:hover { color: var(--gold); }
.legal-links-bottom .separator { margin: 0 12px; color: rgba(255, 255, 255, 0.2); }

/* Massive Watermark Effect */
.footer-watermark {
    font-size: 14vw; 
    font-family: var(--serif);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03); 
    text-align: center;
    line-height: 0.85;
    user-select: none;
    margin-top: 15px; 
    padding-bottom: 25px;
    z-index: 1;
    white-space: nowrap;
}

.watermark-121 { color: rgba(193, 130, 44, 0.05); }

/* =========================================
   5. SCROLL TO TOP
   ========================================= */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--white);
    border: 2px solid var(--gold);
    cursor: pointer;
    display: none;
    transition: var(--transition);
    z-index: 1001;
}

#scrollTopBtn:hover {
    background: var(--gold);
    color: var(--primary-navy);
    transform: translateY(-5px);
}

/* =========================================
   6. LEGAL PAGES (Privacy & T&C)
   ========================================= */
.legal-page-wrapper {
    padding: 150px 5% 80px; 
    max-width: 1000px;
    margin: 0 auto;
}

.legal-content-card {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--gold);
}

.legal-content-card h1 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-family: var(--serif);
}

.legal-content-card .last-updated {
    color: #6b6757;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content-card h2 {
    color: var(--primary-navy);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(22, 33, 51, 0.1);
}

.legal-content-card p, .legal-content-card ul { margin-bottom: 15px; color: #444; }
.legal-content-card ul { padding-left: 20px; }
.legal-content-card ul li { margin-bottom: 8px; }

/* =========================================
   7. 404 PAGE STYLES
   ========================================= */
.not-found-wrapper {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 5% 80px; 
}

.not-found-content {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--gold);
    max-width: 600px;
    width: 100%;
}

.not-found-content .error-code {
    font-size: 8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--serif);
    text-shadow: 4px 4px 10px rgba(193, 130, 44, 0.2);
}

.not-found-content h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: var(--serif);
}

.not-found-content p { color: #555; margin-bottom: 35px; }

.btn-primary {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--white);
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-navy);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-navy);
}

/* =========================================
   8. HERO SECTION (Main Landing)
   ========================================= */
.hero-motivate {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(22, 33, 51, 0.85), rgba(22, 33, 51, 0.95)), url('../images/bg-hero.jpg') center/cover no-repeat; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 5% 0; 
    position: relative;
    color: var(--white);
}

.hero-hindi {
    font-family: var(--serif);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-hindi span { color: var(--gold); }

.hero-motivate h4 { 
    color: var(--gold); 
    font-size: 1.2rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
}

.hero-motivate h2 { 
    font-size: 3.5rem; 
    font-family: var(--serif); 
    line-height: 1.1; 
    margin-bottom: 20px; 
}

.hero-motivate p { 
    font-size: 1.1rem; 
    max-width: 650px; 
    color: #ddd; 
    margin-bottom: 40px; 
}

.hero-buttons { display: flex; gap: 20px; }

.hero-motivate .btn-solid { 
    background: var(--gold); 
    color: var(--primary-navy); 
    padding: 15px 35px; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: var(--transition); 
}
.hero-motivate .btn-solid:hover { background: var(--white); }

.hero-motivate .btn-outline-light { 
    border: 2px solid var(--white); 
    color: var(--white); 
    padding: 15px 35px; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: var(--transition); 
}
.hero-motivate .btn-outline-light:hover { background: var(--white); color: var(--primary-navy); }

/* =========================================
   9. FLOATING SOCIAL BADGES
   ========================================= */
.floating-social {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 25px;
    border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-navy);
    text-decoration: none;
    animation: float-badge 6s ease-in-out infinite;
    z-index: 10;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.floating-social:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    animation-play-state: paused; 
}

/* Positioning them perfectly in the 4 corners */
.fs-youtube { top: 25%; left: 5%; animation-delay: 0s; }
.fs-twitter { top: 25%; right: 5%; animation-delay: 1.5s; }
.fs-facebook { bottom: 20%; left: 5%; animation-delay: 3s; }
.fs-telegram { bottom: 20%; right: 5%; animation-delay: 4.5s; }

/* Official Brand Colors for the icons */
.fs-icon-yt { color: #FF0000; font-size: 1.5rem; }
.fs-icon-x { color: #000000; font-size: 1.5rem; }
.fs-icon-fb { color: #1877F2; font-size: 1.5rem; }
.fs-icon-tg { color: #0088cc; font-size: 1.5rem; }

@keyframes float-badge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   10. PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(22, 33, 51, 0.1);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner i {
    font-size: 1.8rem;
    color: var(--primary-navy);
    animation: counter-spin 1s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
.preloader-hidden { opacity: 0; pointer-events: none; }


/* =========================================
   12. GLOBAL UI COMPONENTS (Badges & Titles)
   ========================================= */
.ui-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; }

/* The Modern Pill Badge */
.section-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-navy);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid rgba(22, 33, 51, 0.05);
}
.section-badge i { color: var(--gold); margin-right: 5px; }

.section-title {
    font-size: 2.8rem;
    font-family: var(--serif);
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-title span { color: var(--gold); }
.section-desc { color: #666; font-size: 1.1rem; margin-bottom: 15px; }

/* =========================================
   13. MISSION SECTION
   ========================================= */
.mission-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.mission-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-image-box {
    flex: 1;
    position: relative;
}

.img-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--gold);
    border-radius: 20px 100px 20px 20px;
    z-index: 1;
}

.mission-img {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover; 
    border-radius: 20px 100px 20px 20px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: #eaeaea; 
}

.mission-content { flex: 1.2; }

.founder-quote {
    font-style: italic;
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin: 30px 0 15px;
    font-size: 1.15rem;
    color: var(--primary-navy);
    font-weight: 600;
    line-height: 1.6;
}

.founder-signoff {
    font-family: var(--serif);
    font-weight: bold;
    color: var(--primary-navy);
}

/* =========================================
   14. FEATURES SECTION
   ========================================= */
.features-section {
    padding: 100px 0;
    background: #f4f7fa; 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(193, 130, 44, 0.1);
    transform: translateY(-5px);
}

.feat-icon {
    width: 60px;
    height: 60px;
    background: rgba(22, 33, 51, 0.05);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feat-icon {
    background: var(--primary-navy);
    color: var(--white);
}

.feat-num {
    display: block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card h3 { color: var(--primary-navy); margin-bottom: 10px; font-size: 1.3rem; }
.feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   15. COURSES / PLANS SECTION
   ========================================= */
.courses-section {
    padding: 100px 0;
    background: var(--white);
}

.btn-primary-solid {
    display: inline-block;
    background: #0d7a6e; 
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-solid:hover { background: var(--primary-navy); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e4dcc9;
    transition: var(--transition);
}

.course-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.course-card.featured { border: 2px solid var(--gold); }

.course-img-box {
    height: 200px;
    position: relative;
    padding: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.img-bg-1 { background: linear-gradient(135deg, #162133, #23324b); }
.img-bg-2 { background: linear-gradient(135deg, #0d7a6e, #13a48f); }
.img-bg-3 { background: linear-gradient(135deg, #c1822c, #c1822c); }

.course-bg-icon {
    position: absolute;
    right: -8px;
    bottom: -24px;
    font-size: 7.5rem;
    color: rgba(255,255,255,0.13);
    pointer-events: none;
    z-index: 1;
}
.img-bg-3 .course-bg-icon { color: rgba(58,44,5,0.16); }

.course-tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(255,255,255,0.92);
}
.tag-beginner { color: #0d7a6e; }
.tag-expert { color: var(--primary-navy); }
.tag-combo { color: #a66c1d; }

.popular-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-navy);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}
.popular-badge i { color: var(--gold); }

.course-hook { position: relative; z-index: 2; margin-top: auto; }
.hook-title { color: var(--white); font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; height: auto; }
.hook-sub { color: rgba(255,255,255,0.8); font-size: 0.82rem; margin: 0; }
.img-bg-3 .hook-title { color: #3a2c05; }
.img-bg-3 .hook-sub { color: #5a460c; }

.course-pill {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
}
.img-bg-3 .course-pill { background: rgba(58,44,5,0.14); color: #3a2c05; }

.course-body { padding: 30px; }
.course-body h3 { color: var(--primary-navy); font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; min-height: 58px;}

.course-meta {
    display: flex;
    gap: 20px;
    color: #6b6757;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.course-meta i { margin-right: 5px; color: var(--gold); }

.course-divider { border: 0; border-top: 1px solid #e4dcc9; margin-bottom: 20px; }

.course-footer { display: flex; flex-direction: column; gap: 20px; }
.instructor { display: flex; align-items: center; gap: 15px; }
.inst-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.av-1 { background: rgba(22,33,51,0.10); color: var(--primary-navy); }
.av-2 { background: rgba(13,122,110,0.12); color: #0d7a6e; }
.av-3 { background: rgba(193,130,44,0.20); color: #a66c1d; }
.inst-info h4 { font-size: 0.95rem; color: var(--primary-navy); margin-bottom: 2px; }

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; }
.stars {
    --pct: calc(var(--rating, 5) / 5 * 100%);
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #c1822c 0, #c1822c var(--pct), #d7d7d7 var(--pct), #d7d7d7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.rate-num { color: var(--primary-navy); }
.rate-count { color: #9a9a9a; font-weight: 500; }

.price-box { display: flex; justify-content: space-between; align-items: center; width: 100%;}
.price { font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); }

.btn-view {
    background: transparent;
    border: 1px solid #d8cdb3;
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-navy);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-view:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.featured .btn-view { border-color: var(--gold); color: #a66c1d; }
.featured .btn-view:hover { color: var(--white); }

/* =========================================
   16. CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.info-cards {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: rgba(193, 130, 44, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.info-card h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
}

.info-card a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--gold);
}

/* Contact Form Box */
.contact-form-box {
    flex: 1.2;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #e4dcc9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-family: var(--sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: #fdfdfd;
    color: #333;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 10px rgba(193, 130, 44, 0.1);
}

/* Primary Solid Buttons (Forms & Modals) */
.btn-solid {
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-solid:hover {
    background: var(--gold);
    color: var(--primary-navy);
}

.btn-full {
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 18px;
    border-radius: 10px;
    font-weight: 600;
}

/* =========================================
   17. COOKIE CONSENT BANNER & MODAL
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default, slides up via JS */
    left: 5%;
    right: 5%;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(22, 33, 51, 0.15);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--gold);
}

.cookie-banner.show { bottom: 0; }

.cookie-content h3 { color: var(--primary-navy); margin-bottom: 8px; font-family: var(--serif); font-size: 1.2rem;}
.cookie-content p { color: #555; font-size: 0.95rem; line-height: 1.5; margin: 0; }

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.btn-sm { padding: 10px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-outline-navy { border: 2px solid var(--primary-navy); background: transparent; color: var(--primary-navy); }
.btn-outline-navy:hover { background: var(--primary-navy); color: var(--white); }
.btn-text { background: transparent; border: none; color: #666; text-decoration: underline; }
.btn-text:hover { color: var(--primary-navy); }

/* Settings Modal Specifics */
.cookie-settings-modal {
    z-index: 10000; /* Forces the modal to sit completely ABOVE the banner */
}

.cookie-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%; /* Ensures it doesn't touch the screen edges on mobile */
    max-height: 85vh; /* Prevents it from growing taller than the screen */
    overflow-y: auto; /* Allows smooth scrolling inside the modal on tiny phones */
    transform: translateY(50px) scale(0.9);
}

.cookie-settings-modal.show .cookie-modal-content { transform: translateY(0) scale(1); }

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e4dcc9;
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-opt-text h4 { color: var(--primary-navy); font-size: 1rem; margin-bottom: 3px; }
.cookie-opt-text p { color: #6b6757; font-size: 0.8rem; line-height: 1.4; margin: 0; max-width: 280px;}

/* iOS Style Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #d8cdb3; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--gold); }
input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }
input:checked + .slider:before { transform: translateX(22px); }

/* =========================================
   18. LINKTREE / BIO LINKS PAGE (GRID UI)
   ========================================= */
.links-page {
    background: var(--primary-navy);
    background-image: linear-gradient(135deg, #000c1a 0%, var(--primary-navy) 100%);
    display: flex;
    flex-direction: column; /* FIX: Stacks the grid and footer vertically */
    align-items: center; 
    min-height: 100vh;
    padding: 0; /* FIX: Removed padding so footer touches the edges */
    overflow-x: hidden;
}

.links-container {
    width: 100%;
    max-width: 500px; 
    text-align: center;
    padding: 60px 20px;
    flex: 1; /* FIX: Pushes the main footer to the very bottom of the screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: linkFadeIn 0.8s ease forwards;
}

/* FIX: Forces the main footer to stretch across the whole screen */
.links-page #main-footer {
    width: 100%; 

    border-top: 3px solid var(--ochre); /* gold separator above footer */}

.links-profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    background: var(--white);
    padding: 5px;
}

.links-header h1 {
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Forces UGCNET to be white specifically on this page */
.links-page .brand-ugc {
    color: var(--white) !important;
}

.links-header p {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.4;
    padding: 0 10px;
}

/* --- THE 2-COLUMN GRID --- */
.links-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

/* The Glassmorphism Square Button Style */
.link-btn {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    padding: 25px 15px;
    border-radius: 20px; 
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

/* Massive Icons */
.link-btn i {
    font-size: 2.5rem; 
    margin-bottom: 12px;
    transition: var(--transition);
}

.link-btn span {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Hover Effects */
.link-btn:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Brand Colors activate when the user hovers over them */
.link-btn.web-btn:hover i, .link-btn.web-btn:hover span { color: var(--primary-navy); }
.link-btn.tg-btn:hover i, .link-btn.tg-btn:hover span { color: #0088cc; }
.link-btn.yt-btn:hover i, .link-btn.yt-btn:hover span { color: #FF0000; }
.link-btn.wa-btn:hover i, .link-btn.wa-btn:hover span { color: #25D366; }
.link-btn.fb-btn:hover i, .link-btn.fb-btn:hover span { color: #1877F2; }
.link-btn.ig-btn:hover i, .link-btn.ig-btn:hover span { color: #E1306C; }

@keyframes linkFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   19. AD SQUEEZE / LANDING PAGE
   ========================================= */
.squeeze-page {
    background: #f4f7fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.squeeze-header {
    background: var(--white);
    padding: 20px 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.squeeze-header img { height: 45px; }
.squeeze-header h2 { font-family: var(--serif); font-size: 1.4rem; }

.squeeze-container {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.squeeze-title { font-family: var(--serif); font-size: 3rem; color: var(--primary-navy); line-height: 1.1; margin-bottom: 20px; }
.squeeze-title span { color: var(--gold); }
.squeeze-desc { font-size: 1.15rem; color: #555; margin-bottom: 30px; line-height: 1.6; }

.squeeze-benefits { list-style: none; margin-bottom: 40px; }
.squeeze-benefits li { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--primary-navy); margin-bottom: 15px; font-weight: 500; }
.squeeze-benefits i { color: #28a745; font-size: 1.3rem; }

.social-proof { border-top: 1px solid #ddd; padding-top: 25px; }
.social-proof p { font-size: 0.95rem; color: #666; margin-bottom: 10px; }

.mini-socials { 
    display: flex; 
    gap: 15px; 
    font-size: 1.5rem; 
}

/* 50% shade of UGCNET121 Brand Blue */
.mini-socials a {
    color: rgba(22, 33, 51, 0.5); 
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.mini-socials a:hover {
    transform: translateY(-3px);
}

/* Authentic Brand Colors on Hover */
.mini-socials a.social-yt:hover { color: #FF0000; }
.mini-socials a.social-fb:hover { color: #1877F2; }
.mini-socials a.social-ig:hover { color: #E1306C; }
.mini-socials a.social-tg:hover { color: #0088cc; }
.mini-socials a.social-wa:hover { color: #25D366; }

/* --- Pure CSS 12-Point Burst Callouts --- */
.squeeze-content { 
    flex: 1.3; 
    position: relative;
    z-index: 1;
}

.squeeze-form-box {
    position: relative; 
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(22, 33, 51, 0.1);
    border-top: 5px solid var(--gold);
    transform: translateY(-10px); /* Moves the card slightly upwards on desktop */
}

/* Forces labels to strictly left-align */
.squeeze-form-box .form-group label {
    text-align: left;
    display: block;
    width: 100%;
}

.burst-callout {
    position: absolute;
    width: 110px;
    height: 110px;
    background: var(--gold);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1.1;
    z-index: 10;
    border-radius: 10px; /* Softens the inner square */
}

/* Creating the 12-point star using pseudo-elements */
.burst-callout::before, 
.burst-callout::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gold);
    z-index: -1;
    border-radius: 10px; /* Softens the outer points */
}

.burst-callout::before { transform: rotate(30deg); }
.burst-callout::after { transform: rotate(60deg); }

.burst-text {
    position: relative;
    z-index: 2;
}

/* Strategic Positioning */
.callout-1 {
    top: -30px;
    right: -60px; /* Pushed further to the right, out of the text's way */
    transform: rotate(-10deg); /* Playful tilt */
}

.callout-2 {
    top: 60px;
    right: -80px;
    transform: rotate(15deg); /* Playful tilt */
}

.squeeze-form-box h3 { color: var(--primary-navy); font-size: 1.4rem; margin-bottom: 5px; }
.squeeze-form-box p { color: #666; font-size: 0.9rem; }

.squeeze-footer {
    text-align: center;
    padding: 30px;
    background: var(--primary-navy);
    color: #bbb;
    font-size: 0.85rem;
}
.squeeze-footer a { color: #bbb; text-decoration: none; }
.squeeze-footer a:hover { color: var(--gold); }

/* =========================================
   11. MEDIA QUERIES (RESPONSIVE RULES)
   ========================================= */

@media (max-width: 1200px) {
    .floating-social { display: none; }
}

@media (max-width: 992px) {
    .hero-hindi { font-size: 2rem; }
    .hero-motivate h2 { font-size: 2.5rem; }
    .hero-motivate { height: auto; padding-bottom: 50px; }
    
    .footer-top { grid-template-columns: 1fr 1fr; }

    .mission-wrapper { flex-direction: column; text-align: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    
    .img-backdrop { border-radius: 20px; }
    .mission-img { border-radius: 20px; }

    .contact-wrapper { flex-direction: column; }
    .contact-form-box { width: 100%; padding: 40px 30px; }

    /* Cookie Banner Mobile */
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 25px; }
    .cookie-buttons { width: 100%; flex-wrap: wrap; justify-content: center; }
    .btn-sm { flex: 1; min-width: 120px; text-align: center; }

    /* Ad Squeeze Mobile */
    .squeeze-container { flex-direction: column; margin: 40px auto; text-align: center; gap: 40px;}
    .squeeze-title { font-size: 2.3rem; }
    .squeeze-benefits li { justify-content: center; }
    .mini-socials { justify-content: center; }
    /* .squeeze-form-box { width: 100%; max-width: 500px; padding: 30px 20px;} */
    .squeeze-form-box { width: 100%; max-width: 500px; padding: 30px 20px; transform: translateY(0); } /* Added translateY(0) */

    /* Burst Callouts Mobile */
    /* .callout-1 { top: -30px; right: 0; transform: scale(0.85) rotate(-15deg); }
    .callout-2 { top: -40px; right: -10px; transform: scale(0.85) rotate(15deg); } */

    /* Hide Burst Callouts on Tablet and Mobile */
    .burst-callout { display: none !important; }
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-socials { justify-content: center; }
    
    /* Center aligning phone and email exactly */
    .footer-contact { align-items: center; }
    .contact-item { justify-content: center; text-align: center; width: 100%; }

    /* Scaled watermark to fit inside mobile edges perfectly */
    .footer-watermark { font-size: 11vw; margin-top: 10px; padding-bottom: 15px;}
    
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; justify-content: center; padding: 25px 5%; }
    .legal-links-bottom { position: relative; right: auto; justify-content: center; }

    .legal-content-card { padding: 30px 20px; }
    .legal-content-card h1 { font-size: 2rem; }

    .not-found-content .error-code { font-size: 6rem; }
    .not-found-content h2 { font-size: 1.5rem; }

    .hero-motivate { padding-top: 150px; padding-bottom: 60px; min-height: 100vh;}

    .menu-toggle { display: block; }
    
    nav {
        position: absolute;
        top: 100%;
        right: 5%;
        background: rgba(22, 33, 51, 0.98); 
        backdrop-filter: blur(10px);
        width: 250px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        padding: 20px;
        display: none; 
        border: 1px solid rgba(193, 130, 44, 0.2);
    }

    nav.active { display: block; } 

    .nav-links { flex-direction: column; gap: 20px; text-align: center; }
    .nav-links a { color: var(--white) !important; }

    /* Dropdown on mobile: inline accordion */
    .nav-dropdown { width: 100%; }
    .nav-droplink {
        width: 100%;
        justify-content: center;
        color: var(--white) !important;
        font-size: 1rem;
    }
    .nav-droplink::after { display: none; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.07);
        max-height: 0;
        overflow: hidden;
        padding: 0 8px;
        margin-top: 0;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        visibility: visible;
        max-height: 220px;
        padding: 8px;
        margin-top: 12px;
        border-radius: 8px;
    }
    .dropdown-menu a { color: var(--white) !important; justify-content: center; }
    .dropdown-menu a:hover { background: rgba(193, 130, 44, 0.18); color: var(--gold) !important; }
    .dropdown-menu a i { color: var(--gold); }
    
    /* Logo is now a home link on all devices (lightbox removed for header consistency) */
    
    #scrollTopBtn { width: 45px; height: 45px; bottom: 20px; right: 20px; font-size: 0.9rem; }

    .section-title { font-size: 2.2rem; }
    
    /* Swapped to Flexbox so cards stack absolutely bulletproof on all mobile browsers */
    .features-grid { display: flex; flex-direction: column; gap: 20px; }
    .courses-grid { display: flex; flex-direction: column; gap: 30px; }
    
    /* Courses Header formatting */
    .courses-header { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
    .ch-left { width: 100%; }
}

@media (max-width: 576px) {
    .hero-hindi { font-size: 1.6rem; }
    .hero-motivate h2 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; gap: 15px; }
}

/* Ensure ultra-small devices don't squish the text */
@media (max-width: 380px) {
    .link-btn { padding: 20px 10px; }
    .link-btn i { font-size: 2rem; }
    .link-btn span { font-size: 0.8rem; }
}

/* Ensure landscape orientation still fits the screen smoothly */
@media (max-height: 700px) and (orientation: landscape) {
    .links-container { padding: 20px; flex-direction: row; flex-wrap: wrap; }
    .links-buttons { grid-template-columns: repeat(3, 1fr); } 
}

/* @media (max-width: 768px) {
   .callout-1 { 
        top: -15px; 
        right: 0; 
        transform: scale(0.6) rotate(-10deg); 
    }
    .callout-2 { 
        top: -25px; 
        right: 0; 
        transform: scale(0.65) rotate(15deg); 
    }
} */

/* ==================================================
   TYPOGRAPHY — DISPLAY HEADINGS
   Card, section and content-page titles use Fraunces
   ================================================== */
.course-body h3, .content-card h3, .hook-title,
.page-cta h3, .testimonial-card .person h4,
.inst-info h4 { font-family: var(--serif); }

