/* ---------------- CORE VARIABLES ---------------- */

:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --accent: #ffffff;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------- RESET ---------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    animation: pageFade 0.8s ease forwards;
}

@keyframes pageFade {
    from { opacity:0; }
    to { opacity:1; }
}


/* ---------------- HERO ---------------- */

header h1 {
    font-family: var(--font-head);
    font-size: 5.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(to right, #fff 20%, #444 40%, #444 60%, #fff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite, heroPop 1s ease forwards;
}

@keyframes shine { to { background-position: 200% center; } }

@keyframes heroPop {
    from { opacity:0; transform: translateY(40px) scale(0.96); }
    to { opacity:1; transform: translateY(0) scale(1); }
}

header p {
    animation: subtitleFade 1s ease 0.5s both;
}

@keyframes subtitleFade {
    from { opacity:0; transform: translateY(20px); }
    to { opacity:1; transform: translateY(0); }
}

/* ---------------- VIDEO INTRO ---------------- */

#intro-overlay {
    position: fixed;
    inset: 0;
    background:#000;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity 1s ease-out;
}

#intro-video { width:100%; height:100%; object-fit:cover; }

#skip-btn {
    position:absolute;
    bottom:30px; right:30px;
    padding:12px 24px;
    background:rgba(255,255,255,0.05);
    color:#fff;
    border:1px solid rgba(255,255,255,0.2);
    cursor:pointer;
    font-family:var(--font-head);
    text-transform:uppercase;
    font-size:11px;
    letter-spacing:2px;
    transition:var(--transition);
    animation:pulseGlow 2.5s ease-in-out infinite;
}

#skip-btn:hover { background:white; color:black; }

@keyframes pulseGlow {
    0%,100%{ box-shadow:0 0 0 rgba(255,255,255,0); }
    50%{ box-shadow:0 0 28px rgba(255,255,255,.18); }
}

/* ---------------- NAV ---------------- */

nav {
    position:fixed;
    top:0;
    width:100%;
    padding:20px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background-color:rgba(5,5,5,.85);
    backdrop-filter:blur(15px);
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,0.05);
    animation:navDrop .8s ease forwards;
                background-image: url('header-bg.png'); 
            background-size: cover;
            background-position: center top; 
            background-color: rgba(0,0,0,0.5); 
            background-blend-mode: multiply;
}

@keyframes navDrop {
    from{ transform:translateY(-50px); opacity:0; }
    to{ transform:translateY(0); opacity:1; }
}

.logo-text {
    font-family:var(--font-head);
    font-weight:900;
    font-size:1.5rem;
    letter-spacing:-1px;
    text-transform:uppercase;
}

.logo-text:hover{ animation:logoPulse .6s ease; }

@keyframes logoPulse{
    50%{ transform:scale(1.06); }
}

.nav-links{ display:flex; gap:40px; align-items:center; }

.nav-links a{
    font-family:var(--font-head);
    font-weight:700;
    font-size:.8rem;
    letter-spacing:1px;
    color:white;
    text-decoration:none;
    text-transform:uppercase;
    position:relative;
    transition:var(--transition);
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:1px;
    background:white;
    transition:var(--transition);
}

.nav-links a:hover::after{ width:100%; }

/* --- CENTERED BRAND TEXT LOGO --- */
.nav-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Stacks name and tagline */
    align-items: center;    /* FIX: Centers ACADEMY over the tagline */
    justify-content: center;
    line-height: 1.1; 
    transition: var(--transition);
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 1px; /* Slight tracking for a premium feel */
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.6rem; /* Reduced size for better visual weight balance */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-align: center;
    white-space: nowrap; /* Prevents the tagline from wrapping on small screens */
}

/* Subtle Hover Effect */
.nav-brand:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* ---------------- APPLY BUTTON ---------------- */

/* --- NATIVE FORM CONTAINER (Matches image_c1e090.png) --- */

#apply-section {
    background-color: var(--bg-color);
    padding: 100px 4%;
}

.native-form-card {
    background: #111111; /* Solid dark background for the card */
    max-width: 850px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

/* --- GRID SYSTEM --- */

#internship-form {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Vertical gap between all rows */
}

/* Forces 2 items per row on desktop */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Horizontal space between inputs */
}

.form-group.full-width {
    width: 100%;
}

/* Mobile Responsive: Stack fields vertically for better usability */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr; /* Corrected from 2fr to 1fr for single-column stack */
        gap: 25px;
    }
}

/* --- TYPOGRAPHY & INPUTS --- */

.form-group label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: #888; /* Muted label color as seen in image */
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 16px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #22c55e; /* Brand green focus state */
    outline: none;
    background: #222;
}

/* --- CUSTOM FILE UPLOAD BOX --- */

.file-upload-box {
    border: 2px dashed #333;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    background: #181818;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.file-upload-box:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
    color: #fff;
}

.file-upload-box i {
    font-size: 1.8rem;
    color: #22c55e;
}

/* --- GREEN SUBMIT BUTTON --- */

.submit-btn {
    width: 100%;
    background: #ffffff; /* Vibrant green from image_304f5c.jpg */
    color: #000;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3);
    background: #1eb354;
}

.submit-btn i {
    font-size: 1rem;
}

.nav-apply-btn{
    padding:10px 25px !important;
    background:#fff !important;
    color:#000 !important;
    font-weight:800 !important;
    border-radius:2px;
    border:1px solid #fff;
}

.nav-apply-btn:hover{
    background:transparent !important;
    color:#fff !important;
    box-shadow:0 0 22px rgba(255,255,255,.25);
    transform:translateY(-3px);
}



/* ---------------- HEADER ---------------- */

header{
    min-height:30vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding-top:100px;
    padding-bottom:10px;
}

header p{
    letter-spacing:5px;
    text-transform:uppercase;
    color:var(--text-muted);
    margin-top:10px;
    margin-bottom:0;
    border-top:1px solid rgba(255,255,255,.1);
    border-bottom:1px solid rgba(255,255,255,.1);
}

/* ========================================================= */
/* ================= SECTION SYSTEM ========================= */
/* ========================================================= */

.section{
    padding:40px 4%;
    position:relative;
    opacity:0;
    transform: translateY(60px);
}

/* --- CENTERED HEADER & SPACING --- */

.section-header {
    text-align: center; /* Centers the Title and Subtitle */
    max-width: 800px;
    margin: 0 auto 50px; /* '80px' creates the space between text and cards */
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* Ensure the programs grid aligns with the center */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- REDUCE GAP ABOVE OUR PROGRAMS --- */

/* Reduce the bottom space of the About section */
#about.section {
    padding-bottom: 0px !important; 
}

/* Reduce the top space of the Programs section */
#our-programs.section {
    padding-top: 50px !important; 
}

/* Optional: If you want the title even closer to the about text */
#our-programs .section-title {
    margin-top: 0;
}
/* ---------------- PROGRAM CTA ---------------- */

.program-cta {
    text-align: center;
    margin-top: 0px; /* Space after the program cards */
    padding-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.cta-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

/* Ensuring the button stays consistent with your nav style */
.program-cta .nav-apply-btn {
    display: inline-block;
    padding: 15px 40px !important;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.program-cta .nav-apply-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DROPDOWN INTERNAL STYLES --- */

.sub-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #22c55e;
}

.stats-mini {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 0.85rem;
    color: #22c55e;
}

.gain-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
/* animations start only after page is ready */
.page-animate .section{
    animation:sectionReveal .9s ease forwards;
}

.page-animate .section:nth-of-type(1){ animation-delay:.15s; }
.page-animate .section:nth-of-type(2){ animation-delay:.3s; }
.page-animate .section:nth-of-type(3){ animation-delay:.45s; }
.page-animate .section:nth-of-type(4){ animation-delay:.6s; }

@keyframes sectionReveal{
    from{ opacity:0; transform:translateY(60px); }
    to{ opacity:1; transform:translateY(0); }
}

#about.section{ padding-top:20px; }

.section-title{
    text-align:center;
    font-family:var(--font-head);
    font-size:3.5rem;
    margin-bottom:10px;
    font-weight:800;
    letter-spacing:-1px;
    animation:titlePop .9s ease both;
}

@keyframes titlePop{
    from{ opacity:0; transform:translateY(25px); }
    to{ opacity:1; transform:translateY(0); }
}

/* ---------------- ABOUT SECTION ---------------- */

.about-text{
    text-align:center;
    max-width:1000px;
    margin:0 auto;
    line-height:1.6;
    color:var(--text-muted);
}

.about-text p {
    opacity: 0;
    animation: aboutLine 1s ease forwards;
    /* This ensures children (like your span) keep their rendering properties */
    transform-style: preserve-3d; 
    backface-visibility: hidden;
}

.about-text p:nth-child(1){ animation-delay:.4s; }
.about-text p:nth-child(3){ animation-delay:.7s; }

@keyframes aboutLine{
    from{ opacity:0; transform:translateY(18px); }
    to{ opacity:1; transform:translateY(0); }
}

/* style.css */
.about-highlight { 
    /* 1. Force the heavy font family directly */
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 700 !important; 
    color: #ffffff !important;
    
    /* 2. Fix rendering issues during animations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    
    /* 3. Ensure it sits correctly in the paragraph */
    display: inline-block;
    letter-spacing: 0.5px;
}


/* --- PROGRAM DROPDOWN CSS --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start; /* Prevents cards from stretching unevenly */
}

.program-card {
    background: var(--card-bg);
    border: 5px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Dropdown Container */
.program-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.details-inner {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

/* Active State (when clicked) */
.program-card.active {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.program-card.active .program-details {
    max-height: 500px; /* Adjust based on content height */
}

/* List Styling */
.gain-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.gain-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.gain-list li::before {
    content: '•';
    color: #22c55e;
    position: absolute;
    left: 0;
}

/* Buttons and Links */
.know-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 20px;
    cursor: pointer;
}

.know-more-btn i {
    transition: transform 0.4s ease;
}

.program-card.active .know-more-btn i {
    transform: rotate(180deg);
}

.domain-link {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0.7;
}

.domain-link:hover { opacity: 1; color: #22c55e; }

/* ---------------- DOMAINS ---------------- */

.domains-grid {
    display: grid;
    /* CHANGED: Forced exactly 3 columns per row for desktop impact */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1300px; /* Aligns the grid with your header/footer width */
    margin: 0 auto;
}

.domain-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    /* Ensuring cards enter from the bottom */
    animation: cardIn .9s ease forwards;
}

/* Staggered animation delays for the 6 cards */
.domain-card:nth-child(1) { animation-delay: .1s; }
.domain-card:nth-child(2) { animation-delay: .2s; }
.domain-card:nth-child(3) { animation-delay: .3s; }
.domain-card:nth-child(4) { animation-delay: .4s; }
.domain-card:nth-child(5) { animation-delay: .5s; }
.domain-card:nth-child(6) { animation-delay: .6s; }

@keyframes cardIn {
    from { opacity: 0; transform: translateY(40px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Holographic Shimmer Effect */
.domain-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .03), transparent);
    transition: .6s;
}

.domain-card:hover::before { left: 100%; }

.domain-card:hover {
    transform: translateY(-12px) scale(1.02); /* Professional lift */
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.domain-card i {
    font-size: 2.2rem;
    margin-bottom: 25px;
    display: block;
    color: #fff;
    /* Smooth floating animation for the icons */
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --------------------------------------------------
   OPTIONAL: Keep it usable on tablets if you change 
   your mind on mobile later 
   -------------------------------------------------- */
@media (max-width: 1024px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
}
/* ======================================================
   ENHANCED TESTIMONIAL SYSTEM (UPGRADED)
   ====================================================== */

.testimonial-swiper {
    padding: 40px 10px !important;
    overflow: hidden; /* Fixes peeking cards */
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
}

/* Premium Hover State */
.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 123, 255, 0.4); /* Subtle blue glow on hover */
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 
                0 18px 36px -18px rgba(0, 123, 255, 0.2);
}

/* Card Header Area */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.rating-badge {
    background: rgba(255, 193, 7, 0.08);
    color: #ffc107;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.placement-badge {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography Hierarchy */
.testimonial-heading {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-style: italic; /* Adds a "quote" feel without the icon */
}

/* Author Row with Image */
.author-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto; /* Pushes author to bottom if card heights differ */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.testimonial-card:hover .author-img {
    border-color: #007bff;
}

.author-meta strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.author-meta strong a {
    color: #007bff;
    font-size: 0.9rem;
    transition: 0.3s;
}

.author-meta strong a:hover {
    transform: scale(1.2);
}

.author-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================================================
   FIXED SWIPER CONTROLS
   ====================================================== */

.swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;   /* Added more breathing room from the cards */
    margin-bottom: 20px; /* Space before the footer starts */
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Custom Arrow Styles */
.swiper-button-next, 
.swiper-button-prev {
    position: static !important; /* Kept static to stay inside the flexbox */
    width: 50px !important;      /* Slightly larger for better touch targets */
    height: 50px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff !important;
    margin: 0 !important;        /* Reset Swiper default margins */
    display: flex !important;    /* Ensure arrows center properly */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Fix for the internal arrow icons */
.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 900;
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background: #ffffff;
    color: #000000 !important;
    transform: scale(1.1);
}

/* --- INTEGRATED PAGINATION (The Dots) --- */
.swiper-pagination {
    /* 1. Reset Swiper absolute positioning */
    position: static !important; 
    width: auto !important;
    
    /* 2. Enable flex for the bullets themselves */
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between dots */
    
    /* 3. Remove Swiper's internal offset logic */
    transform: none !important; 
    margin: 0 !important;
}

/* Ensure the bullets don't have weird margins */
.swiper-pagination-bullet {
    margin: 0 !important; 
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

/* Your modern pill style for the active dot */
.swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ---------------- FAQ ---------------- */

.faq-container { max-width: 1000px; margin: 0 auto; }

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    transition: var(--transition);
    opacity: 0;
    animation: faqIn .8s ease forwards;
}

/* Animations delays remain the same */
.faq-item:nth-child(1){animation-delay:.3s;}
.faq-item:nth-child(2){animation-delay:.4s;}
.faq-item:nth-child(3){animation-delay:.5s;}
.faq-item:nth-child(4){animation-delay:.6s;}
.faq-item:nth-child(5){animation-delay:.7s;}
.faq-item:nth-child(6){animation-delay:.8s;}

@keyframes faqIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover { background: rgba(255, 255, 255, 0.02); }
.faq-question i { font-size: .8rem; transition: transform .4s ease; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    /* Use a standard ease-in-out for the sliding effect */
    transition: max-height 0.4s ease-in-out;
    background: rgba(255, 255, 255, 0.01);
}

.faq-answer p {
    padding: 0 30px 20px;
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
}

/* Updated Active States */
.faq-item.active { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.02); }

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust if your content is very long */
}

.faq-item.active .faq-question i { transform: rotate(180deg); }



/* ---------------- FOOTER ---------------- */

.footer{
    padding:50px 0 10px;
    background:#000;
    border-top:1px solid rgba(255,255,255,.05);
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap:60px;
    max-width:1600px;
    margin:0 auto;
    padding:0 5%;
}

.footer-column{
    opacity:0;
    animation:footerCol .9s ease forwards;
}

.footer-column:nth-child(1){animation-delay:.3s;}
.footer-column:nth-child(2){animation-delay:.45s;}
.footer-column:nth-child(3){animation-delay:.6s;}
.footer-column:nth-child(4){animation-delay:.75s;}

@keyframes footerCol{
    from{ opacity:0; transform:translateY(40px); }
    to{ opacity:1; transform:translateY(0); }
}

.footer-column h4{
    font-family:var(--font-head);
    font-size:.85rem;
    letter-spacing:2.5px;
    margin-bottom:10px;
    color:#fff;
    text-transform:uppercase;
    font-weight:700;
}

.footer-list{ list-style:none; padding:0; }

.footer-link{
    display:block;
    color:var(--text-muted)!important;
    text-decoration:none!important;
    font-size:.9rem;
    margin-bottom:10px;
    transition:var(--transition);
}

.footer-link:hover{
    color:#fff!important;
    transform:translateX(8px);
}

.contact-item{
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:25px;
    color:var(--text-muted);
    font-size:.9rem;
    line-height:1.6;
}

.contact-item i{ color:#fff; margin-top:5px; }

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    max-width:1600px;
    margin:20px auto 0;
    padding:20px 5% 0;
    border-top:1px solid rgba(255,255,255,.05);
}

.footer-bottom p{ color:#555; font-size:.8rem; }

.footer-bottom-links a{
    color:#555;
    text-decoration:none;
    font-size:.8rem;
    margin-left:30px;
    transition:.3s;
}

.footer-bottom-links a:hover{ color:#fff; }

.social-links{
    display:flex;
    gap:20px;
    margin-top:30px;
}

.social-link{
    color:#fff;
    font-size:1.2rem;
    opacity:.4;
    transition:.3s;
    animation:socialWave 3s ease-in-out infinite;
}

.social-link:nth-child(2){animation-delay:.2s;}
.social-link:nth-child(3){animation-delay:.4s;}
.social-link:nth-child(4){animation-delay:.6s;}

@keyframes socialWave{
    50%{ transform:translateY(-6px); opacity:.9; }
}

.social-link:hover{
    opacity:1;
    transform:translateY(-8px) scale(1.15);
}

/* =========================================================
   MOBILE RESPONSIVE FIX (NO LOGIC / NO LAYOUT CHANGE)
   ========================================================= */

@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    /* NAVIGATION */
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: #fff;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    /* HERO */
    header h1 {
        font-size: 2.6rem;
    }

    header p {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    /* SECTIONS */
    .section {
        padding: 30px 6% !important;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* PROGRAMS GRID */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* DOMAINS GRID */
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* PROGRAM CARDS */
    .program-card {
        padding: 25px;
    }

    /* TESTIMONIALS */
    .testimonial-swiper {
        padding: 20px 0 !important;
    }

    .testimonial-card {
        padding: 35px 25px;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.9rem;
        padding: 18px 20px;
    }

    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 0.9rem;
    }

    /* APPLY FORM */
    .native-form-card {
        padding: 30px 20px;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}