/* --- Global Setup & 2025 Variables --- */
:root {
    --deep-space: #0b0f19; --glass-bg: rgba(22, 28, 45, 0.5); --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f0f2f5; --text-secondary: #a8b2d1; --accent-glow: #7DF9FF; --accent-action: #F875AA;
    --accent-secondary: #ffc107; --font-family: 'Inter', sans-serif; --quote-font: 'Tinos', serif; --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--deep-space); }
body { font-family: var(--font-family); color: var(--text-primary); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h2 { font-size: 2.8rem; }
section { padding: 120px 0; position: relative; }
a { color: var(--accent-glow); text-decoration: none; transition: color 0.3s ease; }
p { color: var(--text-secondary); line-height: 1.7; }

/* --- Reusable Components (Scrollbar, BG, Cards, Buttons) --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-space); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent-glow), var(--accent-action)); border-radius: 10px; }
.background-aurora { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 10% 20%, hsla(212, 80%, 50%, 0.3), transparent 40%), radial-gradient(circle at 80% 70%, hsla(300, 80%, 50%, 0.3), transparent 40%); animation: aurora-flow 20s infinite linear; z-index: -1; }
@keyframes aurora-flow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 40px; box-shadow: var(--shadow); transition: transform 0.3s ease, border-color 0.3s ease; }
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.3); }
.btn { border: 1px solid transparent; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-block; }
.btn-primary { background: var(--accent-action); color: white; border-color: var(--accent-action); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-action); }
.btn-secondary { background: var(--accent-secondary); color: var(--deep-space); border-color: var(--accent-secondary); }
.btn-secondary:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-secondary); }
.section-title { text-align: center; margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); text-align: center; max-width: 600px; margin: 0 auto 60px; }

/* --- Header --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.3s ease; }
.header.sticky { background: rgba(11, 15, 25, 0.7); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid var(--glass-border); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.8rem; font-weight: 800; } .nav-logo span { color: var(--accent-glow); font-size: 0.8em; }
.nav-menu { display: flex; gap: 25px; } .nav-link { color: var(--text-secondary); font-weight: 500; }
.header-actions { display: flex; }
.hamburger { display: none; }

/* --- Hero & Kinetic Text --- */
.hero-section { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.hero-content { z-index: 2; }
.hero-title { font-size: 5rem; font-weight: 800; margin-bottom: 20px; }
.kinetic-text-wrapper { display: inline-block; color: var(--accent-glow); }
.kinetic-text { animation: kinetic-anim 8s infinite ease-in-out; }
@keyframes kinetic-anim { 0%, 100% { opacity: 1; transform: translateY(0); } 20% { opacity: 1; transform: translateY(0); } 25% { opacity: 0; transform: translateY(-10px); } 30% { opacity: 0; transform: translateY(10px); } 35%, 85% { opacity: 1; transform: translateY(0); } 90% { opacity: 0; transform: translateY(-10px); } }
.hero-subtitle { font-size: 1.2rem; max-width: 650px; margin: 0 auto 40px; color: var(--text-secondary); }

/* --- Page Sections Layout --- */
.highlight-section { background: linear-gradient(to right, #111827, #0b0f19); }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.highlight-tag { display: inline-block; padding: 5px 12px; background: var(--accent-action); color: white; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; }
.highlight-content h3 { font-size: 1.8rem; color: var(--accent-secondary); margin-bottom: 20px; }
.highlight-image img { width: 100%; border-radius: 16px; }

.content-section { }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.content-grid.reversed { grid-template-columns: 1fr 1fr; }
.content-grid.reversed .content-image { order: 2; }
.content-image img { width: 100%; border-radius: 16px; }
.principal-avatar img { border-radius: 50%; border: 4px solid var(--glass-border); }
.content-text p { margin-bottom: 15px; }
.dual-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.dual-card-grid i { font-size: 1.8rem; margin-bottom: 15px; color: var(--accent-glow); }
.centered-content { max-width: 800px; margin: 0 auto; text-align: center; }
.centered-content h4 { color: var(--accent-glow); margin-top: 20px; margin-bottom: 10px; }

.break-section { background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.9)), url('https://images.unsplash.com/photo-1518624533928-a0a169827598?q=80&w=1858&auto=format&fit=crop') no-repeat center center/cover; }
.break-section .container { text-align: center; max-width: 800px; }
.break-section h2 { color: var(--white-color); }
.break-section p { font-size: 1.1rem; }

.quote-box { font-family: var(--quote-font); text-align: center; margin-bottom: 50px; }
.quote-box blockquote { font-size: 2.2rem; font-style: italic; color: var(--text-primary); }
.quote-box cite { font-size: 1.2rem; color: var(--accent-glow); }

.facilities-section { }
.facilities-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.facilities-list { list-style: none; }
.facilities-list li { padding: 20px; margin-bottom: 10px; border-radius: 12px; cursor: pointer; background: var(--glass-bg); border: 1px solid var(--glass-border); transition: all 0.3s ease; display: flex; align-items: center; gap: 15px; }
.facilities-list li:hover, .facilities-list li.active { background: var(--accent-glow); color: var(--deep-space); transform: translateX(10px); }
.facilities-list li:hover *, .facilities-list li.active * { color: var(--deep-space); }
.facilities-image-display { min-height: 400px; background-size: cover; background-position: center; transition: background-image 0.5s ease; }

.testimonial-section { background-color: var(--accent-action); color: white; text-align: center; }
.testimonial-section .fa-quote-left { font-size: 3rem; opacity: 0.5; margin-bottom: 20px; }
.testimonial-section blockquote { font-family: var(--quote-font); font-size: 1.8rem; font-style: italic; max-width: 800px; margin: 0 auto 20px; }
.testimonial-section cite { font-weight: 600; font-style: normal; }

.contact-map { height: 400px; overflow: hidden; }
.contact-map iframe { filter: invert(100%) grayscale(80%); }

/* --- Footer, FABs, Modal, Animations (Final) --- */
/*.footer { padding: 30px 0; text-align: center; color: var(--text-secondary); border-top: 1px solid var(--glass-border); }*/

.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column-reverse; align-items: center; gap: 15px; }
.fab { width: 56px; height: 56px; border-radius: 50%; border: none; background: linear-gradient(45deg, var(--accent-glow), var(--accent-action)); color: white; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all 0.3s ease; }
.fab:hover { transform: scale(1.1) rotate(15deg); }
.fab-options { display: flex; flex-direction: column-reverse; gap: 15px; transition: all 0.3s ease; transform: scaleY(0); transform-origin: bottom; opacity: 0; }
.fab-container.active .fab-options { transform: scaleY(1); opacity: 1; }
.fab-mini { width: 48px; height: 48px; border-radius: 50%; background: var(--glass-bg); color: var(--text-primary); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.popup-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1001; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); }
.modal-content { z-index: 1002; max-width: 500px; width: 90%; }
.modal-close-btn { position: absolute; top: 10px; right: 15px; background: transparent; border: none; font-size: 2rem; color: #aaa; cursor: pointer; }
.contact-form h3 { text-align: center; } .contact-form p { text-align: center; margin-bottom: 25px; } .form-group { margin-bottom: 20px; }
.contact-form input { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid var(--glass-border); font-family: var(--font-family); font-size: 1rem; background: rgba(0,0,0,0.2); color: var(--text-primary); }
.contact-form input:focus { outline: none; border-color: var(--accent-glow); }
.contact-form button { width: 100%; }
.animate-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }
/* --- Awesome Footer Styles --- */
.footer {
    padding: 80px 0 0;
    position: relative;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 100px; /* Add some space before the footer appears */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    color: var(--text-secondary);
}

.footer-col h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--accent-glow);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-logo span {
    color: var(--accent-glow);
    font-size: 0.8em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--accent-glow);
    padding-left: 5px;
}

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

.footer-socials a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-action);
    color: white;
    transform: translateY(-5px);
}

.subscribe-form {
    position: relative;
    margin-top: 20px;
    display: flex;
}

.subscribe-form input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    color: var(--text-primary);
    font-family: var(--font-family);
}
.subscribe-form input:focus {
    outline: none;
    border-color: var(--accent-glow);
}

.subscribe-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    border: none;
    background: var(--accent-glow);
    color: var(--deep-space);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}
.subscribe-form button:hover {
    background-color: var(--white-color);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Responsive Footer --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    #footer-about, #footer-subscribe {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    #footer-about, #footer-subscribe {
        grid-column: auto;
    }
}
/* --- Responsive Design --- */
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    .nav-menu, .header-actions { display: none; }
    .hamburger { display: block; /* Add hamburger styles */ }
    .hero-title { font-size: 3.5rem; }
    .highlight-grid, .content-grid, .content-grid.reversed, .facilities-container, .dual-card-grid { grid-template-columns: 1fr; }
    .content-grid.reversed .content-image { order: -1; } /* Stack image on top */
    .content-image { margin-bottom: 30px; }
}


/* --- Innovative Mobile Nav Toggle & Menu --- */

/* Hamburger Button Styling */
.hamburger {
    display: none; /* Hidden by default, shown in media query */
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1002; /* Must be above the menu overlay */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hamburger:hover {
    transform: scale(1.1);
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.bar::before, .bar::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.bar::before {
    transform: translateY(-8px);
}
.bar::after {
    transform: translateY(8px);
}

/* Morphing Animation for "X" */
.hamburger.active .bar {
    background-color: transparent; /* Center bar disappears */
}
.hamburger.active .bar::before {
    transform: rotate(45deg);
}
.hamburger.active .bar::after {
    transform: rotate(-45deg);
}

/* Full-screen Menu Overlay */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.nav-menu-mobile.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-menu-mobile.active .mobile-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for links */
.nav-menu-mobile.active .mobile-links li:nth-child(1) { transition-delay: 0.2s; }
.nav-menu-mobile.active .mobile-links li:nth-child(2) { transition-delay: 0.25s; }
.nav-menu-mobile.active .mobile-links li:nth-child(3) { transition-delay: 0.3s; }
.nav-menu-mobile.active .mobile-links li:nth-child(4) { transition-delay: 0.35s; }
.nav-menu-mobile.active .mobile-links li:nth-child(5) { transition-delay: 0.4s; }
.nav-menu-mobile.active .mobile-links li:nth-child(6) { transition-delay: 0.45s; }


.mobile-link {
    display: inline-block;
    font-size: 2rem; /* Big, touch-friendly links */
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px;
    margin: 5px 0;
}

.mobile-footer {
    position: absolute;
    bottom: 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}
.nav-menu-mobile.active .mobile-footer {
    opacity: 1;
}

.mobile-socials {
    margin-top: 25px;
    display: flex;
    gap: 25px;
}
.mobile-socials a {
    font-size: 1.5rem;
    color: var(--text-secondary);
}
.mobile-socials a:hover {
    color: var(--accent-action);
}


/* --- Responsive Adjustments --- */
/* Find the existing @media (max-width: 992px) rule and update it */
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    .nav-menu-desktop, .header-actions { display: none; } /* Hide desktop menu and actions */
    .hamburger { display: flex; } /* Show the hamburger */

    .highlight-grid, .content-grid, .content-grid.reversed, .facilities-container, .dual-card-grid, .footer-grid { grid-template-columns: 1fr; }
    .content-grid.reversed .content-image, .highlight-image { order: -1; } /* Stack image on top */
    .content-image, .highlight-image { margin-bottom: 30px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    #footer-about, #footer-subscribe { grid-column: 1 / 3; }
}

/* Find the existing @media (max-width: 768px) rule and update it */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    #footer-about, #footer-subscribe { grid-column: auto; }
}

/* --- Custom Mouse Pointer --- */
/* Hide the default cursor */
body, a, button {
    cursor: none;
}
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-glow);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(125, 249, 255, 0.3);
    transition-duration: 0.3s;
}

/* Cursor hover effects */
body:hover .cursor-dot, body:hover .cursor-outline {
    opacity: 1;
}
a:hover ~ .cursor-outline, button:hover ~ .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(248, 117, 170, 0.4);
}


/* --- Click Animation Effect --- */
.click-animation-particle {
    position: fixed;
    z-index: 10000;
    font-size: 24px;
    pointer-events: none;
    animation: click-anim 0.8s ease-out forwards;
}

@keyframes click-anim {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5) translateY(-80px);
        opacity: 0;
    }
}


/* --- Gallery Section --- */
.gallery-section {
    background: var(--deep-space); /* A solid dark background for contrast */
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px; /* Fixed row height */
    grid-auto-flow: dense; /* Allows items to fill gaps */
    gap: 20px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.gallery-item.tall {
    grid-row: span 2; /* This item will be twice as tall */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* --- Toppers Section --- */
.toppers-section {
    padding: 120px 0;
    text-align: center;
    overflow: hidden; /* Important for horizontal scroll */
}
.toppers-container {
    max-width: 100%; /* Take full width */
}
.toppers-scroll-wrapper {
    margin-top: 60px;
    /* This creates the horizontal scroll effect */
    overflow-x: auto;
    /* Hides the scrollbar visually but keeps functionality */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.toppers-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}
.toppers-image-container {
    display: inline-block; /* Allows the container to be as wide as its content */
    padding: 0 5vw; /* Adds some space at the start and end */
}
.toppers-image-container img {
    max-height: 400px; /* Control the height of your toppers banner */
    width: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}