/* --- GLOBAL --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #4f46e5;
    --orange-bar: #e67e22;
    --beige-bg: #e3dca5;
    /* Counter BG */
    --text-dark: #2d3436;
    --elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    background: #f8f9fa;
    overflow-x: hidden;
}

/* --- 1. ANNOUNCEMENT BAR --- */
.announcement-bar {
    background: var(--orange-bar);
    color: #000;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
    transition: transform 0.3s ease;
}

/* Add this to style.css to pause the marquee on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
    cursor: default; /* Optional: changes cursor so user knows they can read it */
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    padding-left: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- 2. HEADER STYLES --- */
header {
    background: transparent;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 2999;
    transition: all 0.4s ease;
}

/* Sticky Header Logic */
body.scrolled .announcement-bar {
    transform: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    z-index: 3001;
}

body.scrolled header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(to right, #4f46e5, #f472b6);
    -webkit-background-clip: text;
    color: transparent;
    /* Fallback */
    color: var(--primary);
}

/* Nav Links (Desktop) */
header nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

header nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

header nav a.active {
    color: var(--orange-bar) !important;
    position: relative;
}

header nav a.active::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange-bar);
    border-radius: 50%;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    gap: 4px;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px;
    list-style: none;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-menu a {
    text-transform: capitalize;
    font-weight: 500;
    color: #555;
    padding: 8px 10px;
    display: block;
    border-radius: 5px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
    padding-left: 15px;
}

.header-right {
    display: flex;
    align-items: center;
}

.nav-btn {
    background: var(--text-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    margin-left: 15px;
}

/* --- MOBILE HEADER RESPONSIVENESS (Max-Width 900px) --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 4000;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        padding-top: 80px;
        z-index: 2998;
        display: flex;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* Style Links for Mobile */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        width: 100%;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    /* --- MOBILE DROPDOWN ARROW FIX --- */
    .dropdown>a>i {
        background: rgba(0, 0, 0, 0.05);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-left: 15px;
        transition: transform 0.3s;
        cursor: pointer;
        pointer-events: auto;
    }

    /* Rotate arrow when active */
    .dropdown.dropdown-active>a>i {
        transform: rotate(180deg);
        background: var(--primary);
        color: white;
    }

    /* --- DROPDOWN VISIBILITY --- */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        display: none;
        /* Hidden by default */
    }

    /* Disable Desktop Hover */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Show only when class added by JS */
    .dropdown.dropdown-active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .dropdown-menu a {
        padding-left: 40px;
        font-size: 1rem;
        border-bottom: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* --- 3. HERO (Same as Gallery) --- */
.home-hero {
    height: 90vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-bg-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    background: linear-gradient(120deg, rgba(79, 70, 229, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: 50%;
    filter: blur(80px);
    animation: morph 20s infinite;
    z-index: 0;
}

@keyframes morph {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 20px);
    }
}

/* Floating Emojis */
.hero-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: float 15s linear infinite;
    opacity: 0;
    bottom: -10vh;
}

.f1 {
    left: 10%;
    animation-duration: 18s;
}

.f2 {
    left: 80%;
    animation-delay: 2s;
}

.f3 {
    left: 20%;
    animation-delay: 5s;
}

@keyframes float {

    20%,
    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.primary-btn {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    margin-right: 10px;
    cursor: pointer;
    
}

.hero-buttons> a{
    text-decoration: none;
}

.secondary-btn {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

/* --- 4. CAROUSEL (Math Fix) --- */
/* --- 4. CAROUSEL (Seamless Loop Fix) --- */
.carousel-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}

.highlight { color: var(--orange-bar); }

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative; /* Keeps content contained */
}

.carousel-track {
    display: flex;
    width: max-content; /* Allows track to grow as wide as needed */
    gap: 30px; /* Space between slides */
    
    /* Animation settings */
    animation: scrollCarousel 40s linear infinite; /* Increased time for smooth speed */
}

/* Pause on Hover (Optional but recommended) */
.carousel-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 300px; /* Fixed Width */
    height: 200px;
    flex-shrink: 0; /* Prevents squishing */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === THE KEY ANIMATION CHANGE === */
@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly -50% (width of the first set) */
        transform: translateX(-50%);
    }
}

/* --- 5. COUNTER SECTION (Visibility Fix) --- */
.counter-section {
    background-color: var(--beige-bg);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
    /* Ensure visible */
}

.counter-header h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 800;
}

.counter-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.counter-item {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    /* Glass */
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s var(--elastic);
}

.counter-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
}

.number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0984e3;
    display: inline-block;
}

.symbol {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0984e3;
}

.counter-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-top: 10px;
}


/* =========================================
   MEET OUR TEAM SECTION (Corrected)
   ========================================= */
   .team-section {
    padding: 100px 5%;
    background: #fff;
    overflow: hidden;
}

.team-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 50px 0;
}

/* Slider Track */
.team-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: teamScroll 30s linear infinite;
}

.team-track:hover {
    animation-play-state: paused;
}

/* @keyframes teamScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 4 - 120px)); } Adjust based on card count
} */
@keyframes teamScroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        /* Move exactly half the total width (the width of the original set) */
        transform: translateX(-50%); 
    }
}

/* --- Team Card Styling --- */
.team-card {
    width: 350px;
    height: 450px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: pointer;
}

.team-img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.1); /* Zoom Effect */
}

/* --- Info Inside Photo (Fixed) --- */
.team-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95); /* White Box */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 5;
    border-left: 5px solid var(--primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Slide Left Animation on Hover */
.team-card:hover .team-info {
    transform: translateX(-10px); /* Slide Left */
    border-left-color: var(--orange-bar);
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Overlay & Plus Icon --- */
.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

/* Revolving Plus Icon */
.plus-icon {
    width: 50px; height: 50px;
    background: var(--orange-bar);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -60px; /* Start Hidden */
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    cursor: pointer;
}

.team-card:hover .plus-icon {
    top: 45%;
    transform: translate(-50%, -50%) rotate(360deg); /* Revolve to Center */
}

/* Social Icons */
.social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex; gap: 15px;
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.team-card:hover .social-icons {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-icons a {
    color: white; font-size: 1.2rem;
    transition: 0.3s;
}
.social-icons a:hover { color: var(--orange-bar); }

/* --- MODAL STYLES --- */
.team-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    z-index: 9999; display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.team-modal-overlay.active { display: flex; opacity: 1; }

.team-modal-content {
    background: white; width: 90%; max-width: 800px;
    border-radius: 20px; overflow: hidden; position: relative;
    transform: scale(0.8); transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.team-modal-overlay.active .team-modal-content { transform: scale(1); }

.team-modal-close {
    position: absolute; top: 15px; right: 20px;
    font-size: 2rem; background: none; border: none; color: #333;
    cursor: pointer; z-index: 5;
}
.team-modal-body { display: flex; }
.modal-img-side { flex: 1; height: 400px; }
.modal-img-side img { width: 100%; height: 100%; object-fit: cover; }
.modal-text-side { flex: 1.2; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-text-side h3 { font-size: 2rem; color: var(--text-dark); margin-bottom: 5px; }
.modal-text-side span { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }
.modal-divider { width: 50px; height: 3px; background: var(--orange-bar); margin: 15px 0; }
.modal-text-side p { color: #555; line-height: 1.6; font-size: 1rem; }
.modal-socials { margin-top: 20px; display: flex; gap: 15px; }
.modal-socials a { color: var(--text-dark); font-size: 1.5rem; transition: 0.3s; }
.modal-socials a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 900px) {
    .team-modal-body { flex-direction: column; }
    .modal-img-side { height: 250px; }
    .team-card { width: 300px; }
}

/* --- ANIMATIONS --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 6. FEATURES SECTION (3D Cards) --- */
.features-section {
    padding: 100px 5%;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s var(--elastic);
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lift & Glow */
.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
}

/* Icon Spin on Hover */
.feature-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* --- 7. PRINCIPAL SECTION (Split Layout) --- */
.principal-section {
    padding: 100px 5%;
    background: #f8f9fa;
    overflow: hidden;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.principal-image {
    position: relative;
}

/* Animated Blob Behind Image */
.blob-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--beige-bg);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    animation: morphBlob 10s infinite alternate;
}

.principal-image img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.principal-image:hover img {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
    display: flex;
    gap: 10px;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.principal-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.principal-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.signature strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.signature span {
    display: block;
    font-size: 0.9rem;
    color: var(--orange-bar);
    margin-bottom: 30px;
}

/* --- 8. CTA SECTION (Animated Gradient) --- */
.cta-section {
    padding: 100px 5%;
    position: relative;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    text-align: center;
    color: white;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.white-btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.white-btn:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.outline-btn {
    background: transparent;
    border: 2px solid black;
    color: black;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* .outline-btn>a{
    text-decoration: none;
} */

.outline-btn:hover {
    background: white;
    color: var(--primary);
}

                                                /* =========================================
                                                   ABOUT PAGE SPECIFIC STYLES
                                                   ========================================= */

/* --- 1. ASYMMETRIC HERO --- */
.about-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 5% 100px;
    /* Top padding for fixed header */
    background: #fff;
    overflow: hidden;
    position: relative;
    gap: 50px;
}

.about-hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.badge-pill {
    background: rgba(230, 126, 34, 0.1);
    color: var(--orange-bar);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.about-hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 800;
}

/* Hollow Text Effect */
.outline-text {
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
    display: block;
}

.about-hero-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    border-left: 5px solid var(--orange-bar);
    padding-left: 20px;
}

/* Stacked Images */
.about-hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
}

.image-stack {
    position: absolute;
    width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s var(--elastic);
}

.image-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-img {
    top: 0;
    right: 20px;
    transform: rotate(5deg);
    opacity: 0.8;
    z-index: 0;
}

.top-img {
    top: 40px;
    right: 80px;
    transform: rotate(-3deg);
    z-index: 1;
    border: 5px solid white;
}

.about-hero:hover .top-img {
    transform: rotate(0deg) translateY(-10px);
}

.about-hero:hover .back-img {
    transform: rotate(8deg) translateX(10px);
}

/* Animated Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
    z-index: 0;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--orange-bar);
    top: 10%;
    left: 40%;
    opacity: 0.1;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    bottom: 10%;
    right: 10%;
    opacity: 0.1;
    animation-delay: 2s;
}


/* --- 2. 3D FLIP CARDS (Mission/Vision) --- */
.mission-section {
    padding: 100px 5%;
    background: #f9f9f9;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.flip-card-container {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
    /* Enables 3D space */
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 30px;
}

/* Front Styling */
.flip-front {
    background-color: white;
    color: var(--text-dark);
}

.flip-front i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.flip-front h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.flip-front p {
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Back Styling */
.flip-back {
    background: linear-gradient(135deg, var(--primary), #8e44ad);
    color: white;
    transform: rotateY(180deg);
}

.flip-back h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.flip-back p {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* --- 3. VERTICAL TIMELINE --- */
.timeline-section {
    padding: 100px 5%;
    background: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* The Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Dots on Line */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    /* For Left items */
    background-color: white;
    border: 4px solid var(--orange-bar);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

/* Content Box */
.timeline-item .content {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary);
    transition: transform 0.4s ease;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item h3 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.2;
    position: absolute;
    top: 10px;
}

.timeline-item.left h3 {
    right: 40px;
}

.timeline-item.right h3 {
    left: 40px;
}

.timeline-item h4 {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}


/* --- 4. TEAM SECTION --- */
.team-section {
    padding: 100px 5%;
    background: #f1f5f9;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-card {
    text-align: center;
}

.img-box {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.social-overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 70, 229, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-overlay a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-overlay a:hover {
    transform: scale(1.2);
    color: var(--orange-bar);
}

.img-box:hover .social-overlay {
    opacity: 1;
}

.img-box:hover img {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-card span {
    color: #777;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================================
                               8. RESPONSIVE MEDIA QUERIES (Mobile/Tablet)
                               ========================================= */
@media (max-width: 900px) {

    /* Menu */
    .menu-toggle {
        display: block;
    }

    /* Show Hamburger on Mobile */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        padding-top: 60px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    /* Home */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .split-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /* About */
    .about-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .about-hero-image {
        display: none;
    }

    .about-hero-content p {
        border-left: none;
        border-bottom: 3px solid var(--orange-bar);
        padding-bottom: 15px;
        padding-left: 0;
    }

    /* Timeline Fix */
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 10px;
        right: auto;
    }

    /* MOBILE DROPDOWN FIX */
    .nav-links ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 0;
        margin-top: 5px;
        min-width: auto;
    }

    .dropdown-menu a {
        background: #f4f4f5;
        /* Light grey background for sub-items */
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
}


/* =========================================
                                                       ADMISSION POLICY PAGE STYLES
                                                       ========================================= */

/* Hero Section */
.policy-hero {
    height: 60vh;
    /* Shorter hero for info pages */
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.policy-hero-content {
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.policy-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.policy-hero-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Eligibility Cards */
.policy-section {
    padding: 80px 5%;
    background: #f9f9f9;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.criteria-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.4s var(--elastic);
    border: 1px solid #eee;
}

.criteria-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

/* Process Steps */
.process-section {
    padding: 80px 5%;
    background: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: #f3f4f6;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Documents & Age Grid */
.info-grid-section {
    padding: 80px 5%;
    background: #f1f5f9;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-col h3 i {
    color: var(--orange-bar);
}

/* Document List */
.doc-list {
    list-style: none;
}

.doc-list li {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    color: #444;
}

.doc-list li i {
    color: #10b981;
}

/* Green Check */

/* Age Table */
.age-table-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.age-table {
    width: 100%;
    border-collapse: collapse;
}

.age-table th {
    text-align: left;
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 5px;
}

.age-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: 500;
}

.age-table tr:last-child td {
    border-bottom: none;
}

.note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

/* Policy Details Cards */
.policy-details-section {
    padding: 80px 5%;
    background: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.policy-card:hover {
    border-color: var(--orange-bar);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15);
}

.policy-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card h3 i {
    color: var(--primary);
}

.policy-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
    .policy-hero-content h1 {
        font-size: 2.5rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .info-grid-section {
        grid-template-columns: 1fr;
    }
} */

/* =========================================
   ADMISSION HERO BUTTONS RESPONSIVENESS FIX
   ========================================= */
   @media (max-width: 768px) {
    /* Target the button container inside the Admission Hero */
    .admission-hero-content .hero-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Space between buttons */
        width: 100%;
        max-width: 320px; /* Prevent them from stretching too wide */
        margin: 0 auto; /* Center the container */
    }

    /* Target the specific anchor tags/buttons */
    .admission-hero-content .hero-buttons a {
        width: 100%; /* Make buttons full width */
        margin: 0; /* Remove any desktop margins */
        display: flex;
        justify-content: center; /* Center the text and icons */
        align-items: center;
        box-sizing: border-box; /* Ensure padding doesn't break width */
    }
}


/* =========================================
                                                           VISION & MISSION PAGE STYLES
                                                           ========================================= */

/* --- Hero Section --- */
.vm-hero {
    height: 70vh;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.vm-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.vm-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.vm-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.vm-content p {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Floating Background Icons */
.floating-icons i {
    position: absolute;
    color: rgba(0, 0, 0, 0.03);
    font-size: 8rem;
    animation: float 10s infinite ease-in-out;
    z-index: 1;
}

.i1 {
    top: 10%;
    left: 10%;
}

.i2 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.i3 {
    top: 20%;
    right: 20%;
    font-size: 5rem;
    animation-delay: 4s;
}

/* --- Vision Statement (Box) --- */
.vision-statement-section {
    padding: 100px 5%;
    background: white;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.vision-box {
    background: white;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--orange-bar));
}

.icon-header {
    color: var(--orange-bar);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vision-box h2 {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
}

/* --- Mission Grid --- */
.mission-grid-section {
    padding: 100px 5%;
    background: #f8f9fa;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s var(--elastic);
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.m-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--primary);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.m-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.4s;
}

.m-card:hover .m-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.m-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.m-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- Philosophy Section --- */
.philosophy-section {
    padding: 100px 5%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-img {
    flex: 1;
    position: relative;
}

.philosophy-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.philo-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.philo-badge span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-left: 4px solid var(--orange-bar);
    padding-left: 10px;
}

.philo-badge span:nth-child(2) {
    border-color: var(--primary);
}

.philo-badge span:nth-child(3) {
    border-color: #10b981;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h3 {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.philosophy-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.philo-list {
    list-style: none;
}

.philo-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.philo-list i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* =========================================
                                                       VISION & MISSION PAGE STYLES
                                                       ========================================= */

/* --- Split Hero Section (New Design) --- */
.vm-hero-split {
    min-height: 90vh;
    /* Full screen height */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 80px;
    /* Account for fixed header */
    overflow: hidden;
    position: relative;
    gap: 50px;
}

.vm-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.vm-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.vm-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 800;
}

.vm-text p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- 3D Floating Image Area --- */
.vm-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* The Main AI Image */
.float-img {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 2;
    /* Smooth floating animation */
    animation: floatImage 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Background Blobs (Glowing Effects) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
    animation: pulseBlob 10s infinite alternate;
}

.b1 {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.15);
    /* Primary Blue */
    top: -50px;
    right: -50px;
}

.b2 {
    width: 300px;
    height: 300px;
    background: rgba(230, 126, 34, 0.15);
    /* Orange */
    bottom: -50px;
    left: 50px;
    animation-delay: 2s;
}

@keyframes pulseBlob {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* --- Vision Statement (Box) --- */
.vision-statement-section {
    padding: 100px 5%;
    background: white;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.vision-box {
    background: white;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--orange-bar));
}

.icon-header {
    color: var(--orange-bar);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vision-box h2 {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
}

/* --- Mission Grid --- */
.mission-grid-section {
    padding: 100px 5%;
    background: #f8f9fa;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.m-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s var(--elastic);
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.m-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--primary);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.m-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.4s;
}

.m-card:hover .m-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.m-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.m-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- Philosophy Section --- */
.philosophy-section {
    padding: 100px 5%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-img {
    flex: 1;
    position: relative;
}

.philosophy-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.philo-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.philo-badge span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philo-badge span i {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h3 {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.philosophy-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.philo-list {
    list-style: none;
}

.philo-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.philo-list i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .vm-hero-split {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .vm-text h1 {
        font-size: 3rem;
    }

    .float-img {
        max-width: 80%;
    }

    .philosophy-section {
        flex-direction: column;
        text-align: left;
    }

    .philo-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        flex-direction: row;
        width: max-content;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .vm-content h1 {
        font-size: 3rem;
    }

    .philosophy-section {
        flex-direction: column;
        text-align: left;
    }

    .philo-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        flex-direction: row;
        width: max-content;
    }
}


/* =========================================
                                                           VIDEO PAGE SPECIFIC STYLES
                                                           ========================================= */

/* Use a slightly darker background for this page to make video pop */
.video-page-body {
    background-color: #f0f4f8;
}

.video-hero {
    min-height: 100vh;
    padding: 150px 5% 100px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Soft radial gradient background */
    background: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
}

/* --- Centered Content Container --- */
.video-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.video-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.video-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* --- The Video Wrapper (Responsive 16:9) --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    /* Deep shadow for lift */
    border: 5px solid white;
    margin-bottom: 40px;
    background: #000;
    /* Placeholder while loading */
    animation: glowPulse 3s infinite alternate;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 30px 60px rgba(79, 70, 229, 0.15);
    }

    100% {
        box-shadow: 0 30px 60px rgba(79, 70, 229, 0.4);
    }
}

/* --- Buttons Below Video --- */
.video-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.dark-btn {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.dark-btn:hover {
    background: var(--text-dark);
    color: white;
}

/* =========================================
   ANIMATED BACKGROUND ELEMENTS
   ========================================= */

/* 1. Floating Emojis (Different form Home page) */
.video-bg-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.v-float {
    position: absolute;
    font-size: 4rem;
    opacity: 0.6;
    animation: bounceFloat 6s ease-in-out infinite;
}

/* Different positions & speeds */
.e1 {
    top: 20%;
    left: 5%;
    animation-duration: 5s;
}

.e2 {
    top: 60%;
    left: 10%;
    animation-duration: 7s;
    font-size: 3rem;
}

.e3 {
    top: 15%;
    right: 8%;
    animation-duration: 6s;
}

.e4 {
    bottom: 20%;
    right: 15%;
    animation-duration: 8s;
    font-size: 5rem;
}

.e5 {
    bottom: 10%;
    left: 50%;
    animation-duration: 9s;
    opacity: 0.3;
}

@keyframes bounceFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(10deg);
    }
}

/* 2. Floating Small Images (Up/Down Motion) */
.video-bg-images {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.v-img {
    position: absolute;
    width: 60px;
    opacity: 0.8;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
    animation: moveVertical 8s linear infinite alternate;
}

.i1 {
    top: 30%;
    left: 18%;
    width: 50px;
    animation-duration: 6s;
}

.i2 {
    top: 40%;
    right: 20%;
    width: 70px;
    animation-delay: 1s;
}

.i3 {
    bottom: 30%;
    left: 80%;
    width: 40px;
    animation-duration: 10s;
}

@keyframes moveVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .video-header h1 {
        font-size: 2.5rem;
    }

    .video-hero {
        padding-top: 120px;
    }

    .video-actions {
        flex-direction: column;
    }

    /* Hide some distracting elements on mobile */
    .e4,
    .e5,
    .i3 {
        display: none;
    }
}

/* =========================================
   VIDEO PAGE RESPONSIVE SETTINGS
   ========================================= */

/* 1. Tablet & Small Laptops (Max Width: 1024px) */
@media (max-width: 1024px) {
    .video-hero {
        padding: 130px 4% 80px;
        /* Adjust padding for smaller headers */
    }

    .video-header h1 {
        font-size: 3rem;
        /* Slightly smaller title */
    }

    .video-container {
        max-width: 85%;
        /* Give more side breathing room */
    }
}

/* 2. Mobile Devices (Max Width: 768px) */
@media (max-width: 768px) {
    .video-hero {
        padding-top: 110px;
        min-height: auto;
        /* Let content determine height */
        display: block;
        /* Remove flex centering to allow scrolling */
    }

    .video-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .video-header h1 {
        font-size: 2.2rem;
        /* Mobile friendly title size */
        line-height: 1.2;
    }

    .video-header p {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    /* Stack Buttons Vertically */
    .video-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        /* Prevent them from being too wide */
        margin: 0 auto;
        /* Center the stack */
    }

    .video-actions .primary-btn,
    .video-actions .outline-btn {
        width: 100%;
        /* Full width buttons */
        text-align: center;
        justify-content: center;
    }

    /* Hide distracting elements on small screens */
    /* This keeps the UI clean */
    .e4,
    .e5,
    .i2,
    .i3 {
        display: none;
    }

    /* Resize remaining emojis */
    .v-float {
        font-size: 2.5rem;
    }

    .v-img {
        width: 40px;
    }
}

/* 3. Small Phones (Max Width: 480px) */
@media (max-width: 480px) {
    .video-header h1 {
        font-size: 1.8rem;
    }

    .video-wrapper {
        border-width: 3px;
        /* Thinner border */
        margin-bottom: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        /* Lighter shadow */
    }

    /* Adjust Floating Positions so they don't cover text */
    .e1 {
        top: 15%;
        left: 2%;
    }

    .e3 {
        top: 12%;
        right: 2%;
    }
}

/* =========================================
                                                   ENROLL PAGE STYLES
                                                   ========================================= */

/* --- Hero Section --- */
.enroll-hero {
    height: 50vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.enroll-hero-content {
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.enroll-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.enroll-hero-content p {
    font-size: 1.1rem;
    color: #666;
}

/* --- Form Section --- */
.form-section {
    padding: 60px 5% 100px;
    background: linear-gradient(to bottom, #fff 0%, #f0f4f8 100%);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Decorative top bar */
.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--orange-bar));
}

/* Group Headers */
.form-group-header {
    margin-bottom: 25px;
    margin-top: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.form-group-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Input Grid */
.input-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

/* Labels & Inputs */
.input-box label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.input-box input,
.input-box select,
.input-box textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    font-size: 1rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

/* Focus Effect */
.input-box input:focus,
.input-box select:focus,
.input-box textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Placeholders */
::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Submit Button */
.form-footer {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    width: 100%;
    max-width: 300px;
    font-size: 1.1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --- Responsive Form --- */
@media (max-width: 768px) {
    .enroll-hero-content h1 {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .input-row {
        flex-direction: column;
        gap: 20px;
    }
}


/* =========================================
                                               NEW TESTIMONIALS PAGE STYLES
                                               ========================================= */

/* =========================================
   UPDATED TESTIMONIALS STYLES
   ========================================= */

/* --- Hero Adjustments --- */
.testimonial-hero {
    /* Transparent background so global emojis show through */
    background: transparent;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.testimonial-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
}


/* --- Video Sections (Bigger & Opposite) --- */
.video-story-section {
    padding: 60px 5%;
    background: transparent;
    /* Show emojis */
    position: relative;
    z-index: 2;
}

.video-container-card {
    display: flex;
    /* Increased Width for Bigger Video */
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
}

/* Reverse Layout Class */
.reverse-layout {
    flex-direction: row-reverse;
}

/* Video Side */
.video-side {
    flex: 1.2;
    /* Gives video more space (was 1) */
    padding: 20px;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content Side */
.content-side {
    flex: 1;
    padding: 60px 50px;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
}

.designation {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: white;
}

.student-bg {
    background: var(--primary);
}

.parent-bg {
    background: var(--orange-bar);
}


/* --- Pop-Out Cards (BIGGER IMAGES) --- */
.reviews-section {
    padding: 100px 5%;
    position: relative;
    z-index: 2;
    background: transparent;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 90px 40px;
    /* Big vertical gap */
    max-width: 1200px;
    margin: 60px auto 0;
}

.pop-card {
    background: white;
    border-radius: 25px;
    position: relative;
    padding: 80px 30px 40px;
    /* Increased top padding */
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-top: 6px solid var(--primary);
    margin-top: 60px;
    /* More space for bigger head */
    transition: transform 0.4s ease;
}

.pop-card:hover {
    transform: translateY(-10px);
}

/* BIGGER IMAGE WRAPPER */
.img-wrapper {
    position: absolute;
    /* Pull up by half height (140/2 = 70) */
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    /* Increased Size: 140px */
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: white;
    transition: transform 0.4s ease;
    
}
.img-wrapper>img{
    width: 140px;
    height: 140px;
}

.pop-card:hover .img-wrapper {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    border-color: var(--orange-bar);
}


/* --- GLOBAL FLOATING EMOJIS (Full Page) --- */
.global-emojis {
    position: fixed;
    /* Fixed covering the whole window */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Behind everything */
    overflow: hidden;
}

.g-emoji {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    /* Subtle visibility */
    animation: floatRandom 20s linear infinite;
}

/* Positions distributed in empty spaces */
.ge1 {
    top: 15%;
    left: 5%;
    animation-duration: 25s;
}

.ge2 {
    top: 40%;
    right: 8%;
    animation-duration: 30s;
    font-size: 2rem;
}

.ge3 {
    bottom: 20%;
    left: 10%;
    animation-duration: 22s;
    font-size: 4rem;
}

.ge4 {
    bottom: 10%;
    right: 15%;
    animation-duration: 28s;
}

.ge5 {
    top: 60%;
    left: 50%;
    animation-duration: 35s;
    opacity: 0.1;
}

.ge6 {
    top: 10%;
    right: 30%;
    animation-duration: 24s;
}

@keyframes floatRandom {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, -40px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Responsive Fixes */
@media (max-width: 900px) {
    .video-container-card {
        flex-direction: column !important;
    }

    /* Force stack on mobile */
    .video-side {
        width: 100%;
        padding: 0;
    }

    .video-wrapper {
        border-radius: 0;
    }

    .content-side {
        padding: 30px 20px;
    }

    .testimonial-hero{
        margin-top: 80px;
        padding-top: 100px;
    }

    /* Adjust margins for mobile stacking */
    .reviews-grid {
        gap: 80px 20px;
        margin-top: 50px;
    }
}

@media (max-width: 400px){
    .video-container-card {
        flex-direction: column !important;
    }

    /* Force stack on mobile */
    .video-side {
        width: 100%;
        padding: 0;
    }

    .testimonial-hero{
        margin-top: 80px;
        padding-top: 150px;
    }
    .video-wrapper {
        border-radius: 0;
    }

    .content-side {
        padding: 30px 20px;
    }

    /* Adjust margins for mobile stacking */
    .reviews-grid {
        gap: 80px 20px;
        margin-top: 50px;
    }
} 

/* =========================================
                                                           PRINCIPAL MESSAGE PAGE STYLES
                                                           ========================================= */

/* Use a clean off-white background for the whole page */
.message-page-body {
    background-color: #f3f4f6;
    position: relative;
    overflow-x: hidden;
}

/* --- The Message Card --- */
.message-section {
    padding: 150px 5% 100px;
    /* Top padding for fixed header */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.message-container {
    background: white;
    max-width: 900px;
    width: 100%;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
}

/* Decorative top border strip */
.message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--primary), var(--orange-bar));
    border-radius: 20px 20px 0 0;
}

/* --- Header Section --- */
.letter-header {
    text-align: center;
    margin-bottom: 40px;
}

.principal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.principal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.letter-header h1 {
    font-family: 'Playfair Display', serif;
    /* Elegant font */
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.sub-heading {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 0 auto 40px;
    width: 80%;
}

/* --- Body Text --- */
.letter-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.letter-body strong {
    color: var(--text-dark);
}

/* Highlight Box (Quote) */
.highlight-box {
    background: #fdfbf7;
    border-left: 4px solid var(--orange-bar);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #444;
    font-size: 1.15rem;
    position: relative;
}

.highlight-box i {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--orange-bar);
    opacity: 0.2;
    font-size: 1.5rem;
}

/* --- Footer & Signature --- */
.letter-footer {
    margin-top: 50px;
    margin-bottom: 40px;
}

.signature-font {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin: 10px 0;
    font-style: italic;
}

/* --- Back Button --- */
.action-area {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.back-link {
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

/* --- Floating Background Emojis --- */
.floating-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-items {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: smoothFloat 15s infinite ease-in-out alternate;
}

.p1 {
    top: 15%;
    left: 5%;
    animation-duration: 12s;
}

.p2 {
    top: 40%;
    right: 10%;
    animation-duration: 18s;
    font-size: 4rem;
}

.p3 {
    bottom: 20%;
    left: 15%;
    animation-duration: 14s;
}

.p4 {
    bottom: 10%;
    right: 20%;
    animation-duration: 16s;
    font-size: 2rem;
}

.p5 {
    top: 60%;
    left: 50%;
    animation-duration: 20s;
    opacity: 0.1;
}

.p6 {
    top: 10%;
    right: 40%;
    animation-duration: 22s;
}

@keyframes smoothFloat {
    0% {
        transform: translateY(40px) rotate(0deg);
    }

    100% {
        transform: translateY(-40px) rotate(15deg);
    }
}



/* --- Responsive --- */
@media (max-width: 768px) {
    .message-container {
        padding: 40px 20px;
    }

    .letter-header h1 {
        font-size: 2rem;
    }

    .letter-body p {
        text-align: left;
        font-size: 1rem;
    }

    .highlight-box {
        padding: 20px;
        font-size: 1rem;
    }
}


/* =========================================
                                                       POPUP MODAL STYLES
                                                       ========================================= */

/* The Background Overlay (Glass Effect) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    /* High-end blur */
    z-index: 9999;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Open State */
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* The Popup Box */
.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    /* Limits height so it fits on screen */
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    /* Clips the slider */
    position: relative;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

/* Animation when Active */
.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

/* --- High Graphics Slider --- */
.modal-slider {
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.slider-track {
    display: flex;
    width: calc(800px * 4);
    /* Width of slides * count */
    animation: popupSlide 12s linear infinite;
}

.slide-item img {
    width: 800px;
    /* Fixed width matching modal max-width */
    height: 200px;
    object-fit: cover;
}

@keyframes popupSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-2400px);
    }

    /* Move 3 slides */
}

.slider-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Modal Content Body --- */
.modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    /* Makes text scrollable */
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.avatar-circle {
    width: 90px;
    height: 90px;
    margin: 10px auto 15px;
    /* Pull up into slider */
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background: white;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.sub-title {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.text-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.quote-box {
    background: #fdfbf7;
    border-left: 4px solid var(--orange-bar);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #444;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-box i {
    font-size: 1.5rem;
    color: var(--orange-bar);
    opacity: 0.3;
}

.signature-section {
    margin-top: 30px;
    text-align: right;
}

.sig-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin: 5px 0;
}

.signature-section small {
    color: #888;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .modal-content {
        height: 85vh;
        width: 95%;
    }

    .slide-item img {
        width: 100vw;
    }

    /* Adjust slider for mobile width */
    .modal-body {
        padding: 20px;
    }

    .slider-track {
        width: calc(100vw * 4);
    }

    @keyframes popupSlide {
        100% {
            transform: translateX(-300vw);
        }
    }
}


/* =========================================
                                               ADMISSION PAGE SPECIFIC STYLES
                                               ========================================= */



/* --- 1. Admission Hero --- */
.admission-hero {
    height: 90vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: floatShape 10s infinite alternate ease-in-out;
    opacity: 0.1;
}

.s1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    left: -50px;
}

.s2 {
    width: 200px;
    height: 200px;
    background: var(--orange-bar);
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
}

.s3 {
    width: 150px;
    height: 150px;
    background: #10b981;
    top: 20%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.admission-hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.admission-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.admission-hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.dark-outline {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.dark-outline:hover {
    background: var(--text-dark);
    color: white;
}


/* --- 2. WHY CHOOSE US (New Design: Feature Stack) --- */
.why-choose-section {
    padding: 100px 5%;
    background: #f8f9fa;
}

.feature-stack-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stack-item {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--elastic);
    border-left: 5px solid transparent;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.stack-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stack-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #eee;
    font-family: sans-serif;
    transition: 0.3s;
}

.stack-item:hover .stack-number {
    color: var(--primary);
    opacity: 0.2;
}

.stack-info {
    flex: 1;
    z-index: 2;
}

.stack-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stack-info p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

.stack-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.4s;
    z-index: 2;
}

.stack-item:hover .stack-icon {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

/* --- 3. Admission Process (Timeline) --- */
.process-roadmap-section {
    padding: 100px 5%;
    background: white;
}

.roadmap-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    width: 4px;
    background: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-step {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

/* Left Steps */
.roadmap-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Right Steps */
.roadmap-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.step-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-dark);
    z-index: 2;
    transition: 0.3s;
}

/* Icon Positioning */
.roadmap-step:nth-child(odd) .step-icon {
    right: -25px;
}

.roadmap-step:nth-child(even) .step-icon {
    left: -25px;
}

.roadmap-step:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.roadmap-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.step-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
}


/* --- 4. FAQ Section (Updated Accordion) --- */
.faq-section {
    padding: 100px 5%;
    background: #f1f5f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid transparent;
    transition: 0.3s;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    z-index: 2;
    position: relative;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
    font-size: 1rem;
}

/* The Answer Box */
.faq-answer {
    max-height: 0;
    /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    /* Smooth slide */
    background: #fdfdfd;
    border-top: 1px solid transparent;
}

.faq-answer p {
    padding: 20px 25px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Active State */

/* FIXED Active State for FAQ (Using unique class to avoid animation conflict) */
.faq-item.faq-open {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.1);
}

.faq-item.faq-open .faq-question {
    background: #f8faff;
    /* Optional: Slight highlight when open */
}

/* Rotate icon to X or Minus style */
.faq-item.faq-open .faq-question i {
    transform: rotate(180deg);
    color: #e74c3c;
}

/* Reveal the answer */
.faq-item.faq-open .faq-answer {
    max-height: 500px;
    /* Increased height to ensure text fits */
    padding-bottom: 25px;
    /* Add padding when open */
    border-top: 1px solid #eee;
}

/* --- Responsive Adjustments --- */
@media  (max-width: 900px) {
    .admission-hero-content h1 {
        font-size: 2.8rem;
    }

    /* Roadmap Mobile */
    .roadmap-line {
        left: 20px;
    }

    .roadmap-step {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
    }

    .roadmap-step:nth-child(odd),
    .roadmap-step:nth-child(even) {
        left: 0;
    }

    .step-icon {
        left: -5px !important;
        right: auto !important;
    }

    /* Feature Stack Mobile */
    .stack-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stack-item:hover {
        transform: translateY(-5px);
    }

    .stack-number {
        display: none;
    }

    /* Hide number on mobile to save space */
}
/* @media (min-width: 300px) and (max-width: 410px ){
    .admission-hero-content h1 {
        font-size: 2.8rem;
    }

    
    .roadmap-line {
        left: 20px;
    }

    .roadmap-step {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
    }

    .roadmap-step:nth-child(odd),
    .roadmap-step:nth-child(even) {
        left: 0;
    }

    .step-icon {
        left: -5px !important;
        right: auto !important;
    }

    
    .stack-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stack-item:hover {
        transform: translateY(-5px);
    }

    .stack-number {
        display: none;
    }

    
    .hero-buttons{
        display: grid;
        grid-template-rows: 40% 2fr;
        gap: 7px;
    }
    .hero-buttons> a{
        display: flex;
        justify-content: center;
    }
    .hero-buttons :nth-child(2){
        height: 100%;
        padding-bottom: 5px;
    } */


/* =========================================
                                               CAREER PAGE STYLES
                                               ========================================= */

/* --- 1. Career Hero --- */
.career-hero {
    height: 60vh;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.shape.c1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: floatShape 8s infinite alternate;
}

.shape.c2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation: floatShape 8s infinite alternate-reverse;
}

.career-hero-content {
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.career-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.career-hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* --- 2. Culture / Benefits Section --- */
.culture-section {
    padding: 80px 5%;
    background: white;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s var(--elastic);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

.icon-box-culture {
    width: 70px;
    height: 70px;
    background: #f0f4ff;
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.culture-card:hover .icon-box-culture {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.culture-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.culture-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}


/* --- 3. Vacancy Form Section --- */
.career-form-section {
    padding: 80px 5% 100px;
    background: #f8f9fa;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
    font-size: 0.95rem;
}

/* Grouping Blocks */
.form-block {
    margin-bottom: 35px;
}

.block-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full {
    grid-column: 1 / -1;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    color: #333;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Custom Select Styling */
.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27292.4%27%20height%3D%27292.4%27%3E%3Cpath%20fill%3D%27%23333%27%20d%3D%27M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

/* Submit Button */
.submit-app-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--orange-bar);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-app-btn:hover {
    background: #d35400;
    transform: translateY(-3px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .career-hero-content h1 {
        font-size: 2.5rem;
    }
}


                                /* =========================================
                                               CONTACT PAGE STYLES (New Design)
                                               ========================================= */

/* --- 1. Contact Hero --- */
.contact-hero {

    height: 70vh;
    background: #5d6782;
    /* Dark Hero for Contrast */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 40px;
}

.contact-hero-text {
    z-index: 2;
    position: relative;
}

.contact-hero-text h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.contact-hero-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.sub-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Abstract Circles */
.circle-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.c1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: floatShape 10s infinite;
}

.c2 {
    width: 300px;
    height: 300px;
    background: var(--orange-bar);
    bottom: -50px;
    right: -50px;
    animation: floatShape 8s infinite reverse;
}


/* --- 2. Floating Info Cards (Overlap) --- */
.info-cards-section {
    padding: 0 5%;
    margin-top: -80px;
    /* Pulls cards up into hero */
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 40px 10px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s var(--elastic);
    border-bottom: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--primary);
}

.icon-bubble {
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.icon-bubble.color-2 {
    background: #fff3e0;
    color: var(--orange-bar);
}

.icon-bubble.color-3 {
    background: #d1fae5;
    color: #10b981;
}

.icon-bubble.color-4 {
    background: #fce7f3;
    color: #ec4899;
}

.info-card:hover .icon-bubble {
    transform: scale(1.1) rotate(10deg);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}


/* --- 3. Main Contact Section (Split) --- */
.main-contact-wrapper {
    padding: 100px 5%;
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* Material Form Styling */
.contact-form-area {
    flex: 1;
}

.contact-form-area h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form-area p {
    color: #888;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.input-group-material {
    position: relative;
    margin-bottom: 35px;
}

.input-group-material input,
.input-group-material textarea,
.input-group-material select {
    width: 100%;
    padding: 10px 10px 10px 40px;
    /* Space for icon */
    border: none;
    border-bottom: 2px solid #eee;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: #333;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.input-group-material label {
    position: absolute;
    left: 40px;
    top: 10px;
    color: #aaa;
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

/* Focus Animation */
.input-group-material input:focus,
.input-group-material input:valid,
.input-group-material textarea:focus,
.input-group-material textarea:valid,
.input-group-material select:focus,
.input-group-material select:valid {
    border-bottom-color: var(--primary);
}

.input-group-material input:focus~label,
.input-group-material input:valid~label,
.input-group-material textarea:focus~label,
.input-group-material textarea:valid~label {
    top: -20px;
    left: 0;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.select-label {
    top: -20px !important;
    left: 0 !important;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 12px;
    color: #ccc;
    transition: 0.3s;
}

.input-group-material input:focus~.input-icon,
.input-group-material textarea:focus~.input-icon {
    color: var(--primary);
}

.row-inputs {
    display: flex;
    gap: 20px;
}

.row-inputs .input-group-material {
    flex: 1;
}

.send-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}


/* Success Modal Specifics */
/* =========================================
   SUCCESS MODAL & CONFETTI ANIMATION
   ========================================= */

/* Modal Overlay - High Z-Index to sit above header */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Darker background */
    backdrop-filter: blur(5px);
    z-index: 10000 !important; /* Forces it above the navbar */
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.success-modal {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.celebration-icon {
    font-size: 5rem;
    color: #10b981; /* Green */
    margin-bottom: 20px;
    display: inline-block;
    animation: popIcon 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIcon {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-body h2 {
    color: #2d3436;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-body p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

#close-success-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

#close-success-btn:hover {
    background: #3730a3;
    transform: translateY(-3px);
}

/* --- Confetti Particles --- */
.confetti-piece {
    position: fixed;
    top: -20px;
    width: 10px;
    height: 10px;
    z-index: 10001; /* Above the modal */
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(720deg); }
}

/* =======================================start from here =========================
======================================================================================= */

/* =========================================
   SUCCESS CELEBRATION MODAL STYLES
   ========================================= */

/* Ensure the modal overlay sits on top of everything */
#success-modal.modal-overlay {
    z-index: 10000 !important; 
}

/* Style the box to look premium (White card) */
.success-modal-card {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    border-top: 6px solid #10b981; /* Green Top Border */
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Open Animation */
#success-modal.active .success-modal-card {
    transform: scale(1);
}

/* The Big Green Check Icon */
.celebration-icon {
    font-size: 5rem;
    color: #10b981; /* Success Green */
    margin-bottom: 20px;
    display: inline-block;
    animation: popIcon 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIcon {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.success-modal-card h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 10px;
    font-weight: 700;
}

.success-modal-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* The Close Button */
#close-success-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease;
}

#close-success-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

/* --- Confetti Animation --- */
.confetti-piece {
    position: fixed;
    top: -20px;
    width: 10px;
    height: 10px;
    z-index: 10001; /* Above the modal */
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(720deg); }
}


/*  ========================================== Ends here =================================
======================================================================================= */

/* Map Styling */
.map-area {
    flex: 1;
    position: relative;
}

.map-frame {
    height: 100%;
    min-height: 400px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
    position: relative;
}

.map-overlay-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* --- 4. Contact FAQ (Grid Style) --- */
.contact-faq-section {
    padding: 80px 5%;
    background: white;
}

.faq-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.clean-faq-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--orange-bar);
    transition: 0.3s;
}

.clean-faq-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.clean-faq-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.clean-faq-item h4 i {
    color: var(--orange-bar);
    margin-right: 8px;
}

.clean-faq-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}


/* Responsive Contact */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        padding: 30px;
    }

    .map-frame {
        min-height: 300px;
    }

    .row-inputs {
        flex-direction: column;
        gap: 0;
    }

    .contact-hero-text h1 {
        font-size: 2.5rem;
    }

    .info-cards-section {
        margin-top: -40px;
    }
}



/* =========================================
   ULTRA-PREMIUM AR/VR FOOTER STYLES
   ========================================= */

/* =========================================
   AR/VR MOTION GRAPHICS FOOTER CSS
   ========================================= */

/* Define AR Color Palette */
:root {
    --ar-dark-bg: #0a0f1d;       /* Deep Space Blue/Black */
    --ar-card-bg: #131b2e;       /* Slightly Lighter Card BG */
    --ar-neon-blue: #00f7ff;     /* Cyber Blue */
    --ar-neon-purple: #bc13fe;   /* Cyber Purple */
    --ar-text-muted: #94a3b8;    /* Slate Grey */
    --ar-border-glow: 0 0 15px rgba(0, 247, 255, 0.4);
}

.ar-footer-section {
    position: relative;
    margin-top: 0px; /* Space for the floating card */
    background: transparent;
    background-color: grey;
    padding-bottom: 20px;
    font-family: 'Poppins', sans-serif;
     /* Glassmorphism Effect */
     background: rgba(19, 27, 46, 0.7);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-top: 1px solid rgba(255, 255, 255, 0.3);
     padding: 20px 50px;
     /* border-radius: 24px; */
     z-index: 10;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- 1. THE FLOATING GLASS CARD --- */
.glass-subscribe-card {
    position: absolute;
    top: -80px; /* Floats half-in, half-out */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    /* Glassmorphism Effect */
    background: rgba(19, 27, 46, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 50px;
    border-radius: 24px;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Hover 3D Effect on Card */
.cta-hover:hover {
    transform: translateX(-50%) translateY(-10px) scale(1.01);
    border-color: var(--ar-neon-blue);
    box-shadow: 0 30px 60px rgba(0, 247, 255, 0.15);
}

.ar-heading {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.highlight {
    background: linear-gradient(to right, var(--ar-neon-blue), var(--ar-neon-purple));
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
}

.cta-text p { color: var(--ar-text-muted); font-size: 1rem; margin: 0; }

/* Cyber Button */
.ar-cyber-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--ar-neon-blue), var(--ar-neon-purple));
    color: #000; font-weight: 700; text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
    /* Tech-y clip path shape */
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.ar-cyber-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--ar-neon-blue);
    color: white;
}


/* --- 2. THE ANIMATED BORDER CONTAINER (The Core Request) --- */
.ar-border-container {
    position: relative;
    margin: 0 2%; /* Slight margin from screen edges */
    border-radius: 30px;
    /* Crucial: Needs padding to show the moving border underneath */
    padding: 3px; 
    overflow: hidden; /* Contains the rotating gradient */
    background: var(--ar-dark-bg); /* Fallback */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* The Moving Scanner Light Animation */
.ar-border-container::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    box-shadow: 0px 0px 2px 7px #c6c7cc;
    /* Conic gradient creates the rotating "radar sweep" effect */
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--ar-neon-blue), 
        transparent
    );
    animation: rotateBorder 6s linear infinite;
    z-index: 0;
}

@keyframes rotateBorder {
    100% { transform: rotate(360deg); }
}


/* --- 3. MAIN FOOTER INNER CONTENT --- */
.ar-footer-inner {
    position: relative;
    background: var(--ar-dark-bg);
    border-radius: 28px; /* Slightly smaller radius to fit inside */
    padding: 120px 50px 30px; /* Top padding clears glass card */
    z-index: 1; /* Sits on top of the animated border */
    overflow: hidden;
}

/* Subtle AR Grid Background Pattern */
.ar-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 247, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* --- Footer Grid Layout --- */
.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Brand Styles */
.f-logo {
    font-size: 2rem; font-weight: 800; color: white;
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
    letter-spacing: 2px;
}
.logo-icon-ar {
    color: var(--ar-neon-blue);
    filter: drop-shadow(0 0 8px var(--ar-neon-blue));
    animation: pulseGlow 3s infinite alternate;
}
@keyframes pulseGlow { 0% { opacity: 0.7; } 100% { opacity: 1; filter: drop-shadow(0 0 15px var(--ar-neon-blue)); } }
.brand-tagline { color: var(--ar-text-muted); line-height: 1.6; margin-bottom: 30px; }

/* Social Nodes */
.ar-social-hub { display: flex; gap: 15px; }
.social-node {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; color: white; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-node:hover {
    background: var(--ar-neon-blue);
    border-color: var(--ar-neon-blue);
    box-shadow: 0 0 20px var(--ar-neon-blue);
    transform: translateY(-5px) rotate(10deg);
    color: #000;
}

/* --- Navigation Links with AR Hover --- */
.holo-title {
    color: white; font-size: 1.1rem; margin-bottom: 30px;
    letter-spacing: 1.5px; display: flex; align-items: center; gap: 10px;
}
.tech-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--ar-neon-blue), transparent); }

.ar-links { list-style: none; padding: 0; }
.ar-links li { margin-bottom: 15px; }
.ar-links a {
    color: var(--ar-text-muted); text-decoration: none; font-weight: 500;
    position: relative; display: inline-block; transition: 0.3s;
    padding-left: 0;
}
/* The "Data-Hover" Glitch Text Effect */
.ar-links a::before {
    content: attr(data-hover);
    position: absolute; top: 0; left: 0; width: 0; overflow: hidden;
    color: var(--ar-neon-blue); white-space: nowrap; transition: width 0.3s;
    text-shadow: 2px 0 0 var(--ar-neon-purple); /* Chromatic aberration effect */
}
.ar-links a:hover { color: transparent; padding-left: 10px; }
.ar-links a:hover::before { width: 100%; }
.ar-links a::after { /* Little arrow */
    content: '>'; position: absolute; left: -15px; opacity: 0; color: var(--ar-neon-blue); transition: 0.3s;
}
.ar-links a:hover::after { opacity: 1; left: -10px; }

/* --- Contact Data Points --- */
.data-point {
    display: flex; align-items: center; gap: 15px;
    background: rgba(255,255,255,0.03); padding: 15px 0px;
    border-radius: 12px; margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s; cursor: default;
}
.data-point:hover {
    background: rgba(0, 247, 255, 0.05);
    border-color: var(--ar-neon-blue);
    box-shadow: inset 0 0 20px rgba(0, 247, 255, 0.1);
}
.data-point i { color: var(--ar-neon-blue); font-size: 1.1rem; }
.data-point span { color: #e2e8f0; font-size: 0.9rem; }
.mail-point span { word-break: break-all; font-size: 0.85rem; }

/* --- Copyright Bar --- */
.ar-copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px; text-align: center;
}
.ar-copyright p { color: var(--ar-text-muted); font-size: 0.9rem; margin: 0; }
.system-status { 
    color: var(--ar-neon-blue); font-family: monospace; font-size: 0.8rem; 
    margin-left: 15px; opacity: 0.7; letter-spacing: 1px;
}

/* =========================================
   RESPONSIVE FOOTER
   ========================================= */
@media (max-width: 1024px) {
    .footer-content-grid { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
    .glass-content { flex-direction: column; text-align: center; }
    .cta-btn-wrapper { width: 100%; display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    .ar-footer-section { margin-top: 200px; background-color: grey;} /* More space for stacked glass card */
    .glass-subscribe-card { top: -130px; padding: 30px; }
    .ar-heading { font-size: 1.5rem; }
    .ar-footer-inner { padding-top: 160px; padding-left: 30px; padding-right: 30px; }
    .footer-content-grid { grid-template-columns: 1fr; gap: 40px; }
    .f-logo { justify-content: center; }
    .brand-col { text-align: center; }
    .ar-social-hub { justify-content: center; }
    .holo-title { justify-content: center; }
    .holo-title .tech-line { flex: initial; width: 50px; }
    .ar-links { text-align: center; }
}



/* --- 2. HEADER STYLES --- */
header {
    background: transparent;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 2999;
    transition: all 0.4s ease;
}

/* Sticky Header Logic */
body.scrolled .announcement-bar {
    transform: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    z-index: 3001;
}

body.scrolled header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(to right, #4f46e5, #f472b6);
    -webkit-background-clip: text;
    color: transparent;
    /* Fallback */
    color: var(--primary);
}

/* Nav Links (Desktop) */
header nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

header nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

header nav a.active {
    color: var(--orange-bar) !important;
    position: relative;
}

header nav a.active::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange-bar);
    border-radius: 50%;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    gap: 4px;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px;
    list-style: none;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-menu a {
    text-transform: capitalize;
    font-weight: 500;
    color: #555;
    padding: 8px 10px;
    display: block;
    border-radius: 5px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
    padding-left: 15px;
}

.header-right {
    display: flex;
    align-items: center;
}

.nav-btn {
    background: var(--text-dark);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    margin-left: 15px;
}

/* --- MOBILE HEADER RESPONSIVENESS (Max-Width 900px) --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 4000;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        padding-top: 80px;
        z-index: 2998;
        display: flex;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* Style Links for Mobile */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        width: 100%;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    /* --- MOBILE DROPDOWN ARROW FIX --- */
    .dropdown>a>i {
        background: rgba(0, 0, 0, 0.05);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-left: 15px;
        transition: transform 0.3s;
        cursor: pointer;
        pointer-events: auto;
    }

    /* Rotate arrow when active */
    .dropdown.dropdown-active>a>i {
        transform: rotate(180deg);
        background: var(--primary);
        color: white;
    }

    /* --- DROPDOWN VISIBILITY --- */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        padding: 0;
        display: none;
        /* Hidden by default */
    }

    /* Disable Desktop Hover */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Show only when class added by JS */
    .dropdown.dropdown-active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .dropdown-menu a {
        padding-left: 40px;
        font-size: 1rem;
        border-bottom: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* --- 3. HERO (Home) --- */
.home-hero {
    height: 90vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-bg-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    background: linear-gradient(120deg, rgba(79, 70, 229, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: 50%;
    filter: blur(80px);
    animation: morph 20s infinite;
    z-index: 0;
}

@keyframes morph {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 20px);
    }
}

.hero-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    font-size: 3rem;
    animation: float 15s linear infinite;
    opacity: 0;
    bottom: -10vh;
}

.f1 {
    left: 10%;
    animation-duration: 18s;
}

.f2 {
    left: 80%;
    animation-delay: 2s;
}

.f3 {
    left: 20%;
    animation-delay: 5s;
}

@keyframes float {

    20%,
    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.primary-btn {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

.secondary-btn {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

/* --- 4. CAROUSEL --- */
.carousel-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}

.highlight {
    color: var(--orange-bar);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: scrollCarousel 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- 5. COUNTER SECTION --- */
.counter-section {
    background-color: var(--beige-bg);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.counter-header h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 800;
}

.counter-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.counter-item {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s var(--elastic);
}

.counter-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.4);
}

.number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0984e3;
    display: inline-block;
}

.symbol {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0984e3;
}

.counter-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-top: 10px;
}

/* --- 6. FEATURES SECTION --- */
.features-section {
    padding: 100px 5%;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s var(--elastic);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
}

.feature-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* --- 7. TEAM SECTION --- */
.team-section {
    padding: 100px 5%;
    background: #fff;
    overflow: hidden;
}

.team-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 50px 0;
}

.team-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: teamScroll 30s linear infinite;
}

.team-track:hover {
    animation-play-state: paused;
}

@keyframes teamScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.team-card {
    width: 350px;
    height: 450px;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.team-img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.1);
}

.team-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border-left: 5px solid var(--primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover .team-info {
    transform: translateX(-10px);
    border-left-color: var(--orange-bar);
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.plus-icon {
    width: 50px;
    height: 50px;
    background: var(--orange-bar);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    cursor: pointer;
}

.team-card:hover .plus-icon {
    top: 45%;
    transform: translate(-50%, -50%) rotate(360deg);
}

.social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.team-card:hover .social-icons {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--orange-bar);
}

/* --- TEAM MODAL --- */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.team-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.team-modal-overlay.active .team-modal-content {
    transform: scale(1);
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 5;
}

.team-modal-body {
    display: flex;
}

.modal-img-side {
    flex: 1;
    height: 400px;
}

.modal-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-side {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text-side h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.modal-text-side span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.modal-divider {
    width: 50px;
    height: 3px;
    background: var(--orange-bar);
    margin: 15px 0;
}

.modal-text-side p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.modal-socials a {
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: 0.3s;
}

.modal-socials a:hover {
    color: var(--primary);
}

/* --- 8. CTA SECTION (Bottom) --- */
.cta-section {
    padding: 100px 5%;
    position: relative;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    text-align: center;
    color: white;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.white-btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.white-btn:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.outline-btn {
    background: transparent;
    border: 2px solid black;
    color: black;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.outline-btn dark-outline{
    text-decoration: none;
}
.outline-btn:hover {
    background: white;
    color: var(--primary);
}

/* =========================================
   AR/VR MOTION GRAPHICS FOOTER CSS (RESPONSIVE FIX)
   ========================================= */
.ar-footer-section {
    position: relative;
    /* Space for the floating card half-in/half-out */
    margin-top: 150px;
    background: transparent;
    background-color: grey;
    padding-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

/* --- 1. THE FLOATING GLASS CARD --- */
.glass-subscribe-card {
    position: absolute;
    /* Pull the card up by half its approximate height */
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;

    /* Glassmorphism Effect */
    background: rgba(19, 27, 46, 0.85);
    /* Slightly darker for better mobile read */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 50px;
    border-radius: 24px;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Hover 3D Effect on Card */
.cta-hover:hover {
    transform: translateX(-50%) translateY(-10px) scale(1.01);
    border-color: var(--ar-neon-blue);
    box-shadow: 0 30px 60px rgba(0, 247, 255, 0.15);
}

.cta-text {
    flex: 1;
}

.ar-heading {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(to right, var(--ar-neon-blue), var(--ar-neon-purple));
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
}

.cta-text p {
    color: var(--ar-text-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Cyber Button */
.ar-cyber-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--ar-neon-blue), var(--ar-neon-purple));
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
    white-space: nowrap;
    /* Prevent text wrap on button */
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.ar-cyber-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--ar-neon-blue);
    color: white;
}

/* --- 2. THE ANIMATED BORDER CONTAINER --- */
.ar-border-container {
    position: relative;
    margin: 0 2%;
    border-radius: 30px;
    padding: 2px;
    overflow: hidden;
    background: var(--ar-dark-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ar-border-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--ar-neon-blue), transparent);
    animation: rotateBorder 6s linear infinite;
    z-index: 0;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

/* --- 3. MAIN FOOTER INNER CONTENT --- */
.ar-footer-inner {
    position: relative;
    background: var(--ar-dark-bg);
    border-radius: 28px;
    padding: 140px 50px 30px;
    z-index: 1;
    overflow: hidden;
}

.ar-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 247, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.f-logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.logo-icon-ar {
    color: var(--ar-neon-blue);
    filter: drop-shadow(0 0 8px var(--ar-neon-blue));
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 15px var(--ar-neon-blue));
    }
}

.brand-tagline {
    color: var(--ar-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.ar-social-hub {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-node {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-node:hover {
    background: var(--ar-neon-blue);
    border-color: var(--ar-neon-blue);
    box-shadow: 0 0 20px var(--ar-neon-blue);
    transform: translateY(-5px) rotate(10deg);
    color: #000;
}

.holo-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--ar-neon-blue), transparent);
}

.ar-links {
    list-style: none;
    padding: 0;
}

.ar-links li {
    margin-bottom: 15px;
}

.ar-links a {
    color: var(--ar-text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: 0.3s;
    padding-left: 0;
}

.ar-links a::before {
    content: attr(data-hover);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: var(--ar-neon-blue);
    white-space: nowrap;
    transition: width 0.3s;
    text-shadow: 2px 0 0 var(--ar-neon-purple);
}

.ar-links a:hover {
    color: transparent;
    padding-left: 10px;
}

.ar-links a:hover::before {
    width: 100%;
}

.ar-links a::after {
    content: '>';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--ar-neon-blue);
    transition: 0.3s;
}

.ar-links a:hover::after {
    opacity: 1;
    left: -10px;
}

.contact-data-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    cursor: default;
}

.data-point:hover {
    background: rgba(0, 247, 255, 0.05);
    border-color: var(--ar-neon-blue);
    box-shadow: inset 0 0 20px rgba(0, 247, 255, 0.1);
}

.data-point i {
    color: var(--ar-neon-blue);
    font-size: 1.1rem;
    margin-top: 3px;
}

.data-point span {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.data-point span pre {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    white-space: pre-wrap;
}

.mail-point span {
    word-break: break-all;
    font-size: 0.85rem;
}

.ar-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.ar-copyright p {
    color: var(--ar-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* =========================================
   FOOTER RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .glass-subscribe-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .ar-footer-section {
        margin-top: 180px;
        background-color: grey;
    }

    .glass-subscribe-card {
        top: -140px;
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .glass-content {
        flex-direction: column;
        gap: 20px;
    }

    .cta-btn-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ar-cyber-btn {
        width: 100%;
        justify-content: center;
    }

    .ar-footer-inner {
        padding: 160px 20px 30px;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .f-logo {
        justify-content: center;
    }

    .ar-social-hub {
        justify-content: center;
    }

    .holo-title {
        justify-content: center;
    }

    .holo-title .tech-line {
        flex: initial;
        width: 60px;
    }

    .data-point {
        text-align: left;
        justify-content: flex-start;
    }

    .ar-links a {
        padding-left: 0;
    }

    .ar-links a:hover {
        padding-left: 0;
        transform: scale(1.1);
    }
}

@media (max-width: 400px) {
    .ar-heading {
        font-size: 1.4rem;
    }

    .glass-subscribe-card {
        padding: 25px 15px;
    }

    .ar-footer-inner {
        
        padding-left: 15px;
        padding-right: 15px;
    }

    .data-point {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
