/* ==========================================================================
   NEW VISIONARY SCHOOL - PREMIUM STYLE SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    --primary: #081F4D;
    --primary-light: #0d2963;
    --primary-dark: #041029;
    --accent: #F4B400;
    --accent-hover: #E0A400;
    --accent-glow: rgba(244, 180, 0, 0.25);

    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-medium: #F1F3F5;

    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #F8F9FA;

    --border-color: rgba(8, 31, 77, 0.08);
    --border-light: rgba(255, 255, 255, 0.25);

    --shadow-soft: 0 10px 30px rgba(8, 31, 77, 0.05);
    --shadow-medium: 0 15px 40px rgba(8, 31, 77, 0.08);
    --shadow-strong: 0 20px 50px rgba(8, 31, 77, 0.15);
    --shadow-glow: 0 0 25px rgba(244, 180, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1240px;
    --header-height: 85px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   2. Typography & Base Elements
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   3. Reusable Components & Buttons
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-gold {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Section Headings */
.section-title-wrapper {
    margin-bottom: 48px;
}

.section-title-wrapper.text-center {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: var(--radius-sm);
}

.section-title-wrapper.text-center .section-subtitle::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-round {
    border-radius: var(--radius-round);
}

.btn-full {
    width: 100%;
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(244, 180, 0, 0.2);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 180, 0, 0.35);
}

.btn-navy {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(8, 31, 77, 0.15);
}

.btn-navy:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 31, 77, 0.25);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--border-light);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-navy {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-navy:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation System
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(8, 31, 77, 0.05);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
}

/* Scrolled Header State */
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    height: 75px;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled .school-name {
    color: var(--primary);
}

.site-header.scrolled .nav-link {
    color: var(--primary);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--accent);
}

.site-header.scrolled .mobile-menu-toggle {
    color: var(--primary);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(244, 180, 0, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* Premium Brand Typography Logo */
.brand-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-left: 2px;
}

.brand-new {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    /* Gold color */
    letter-spacing: 2.5px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.brand-visionary {
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    /* Deep Navy */
    letter-spacing: 1px;
    margin-bottom: 1px;
    line-height: 0.95;
    text-transform: uppercase;
}

.brand-school-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
    margin-bottom: 1px;
}

.brand-line {
    flex-grow: 1;
    height: 1px;
}

.brand-school-row .brand-line:first-of-type {
    background: linear-gradient(to right, transparent, var(--accent));
}

.brand-school-row .brand-line:last-of-type {
    background: linear-gradient(to left, transparent, var(--accent));
}

.brand-school {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    /* Gold color */
    letter-spacing: 2.3px;
    text-transform: uppercase;
    line-height: 1;
}

.brand-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.44rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.2px;
    text-transform: none;
    margin-top: 1px;
}

/* Nav Menu */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(8, 31, 77, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1010;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-strong);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.school-logo-mobile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mob-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid var(--bg-light);
}

.mob-link:hover {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-nav-actions {
    margin-top: 30px;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #04383f 0%, #0c5762 40%, #17737f 75%, #ffffff 100%);
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 120px;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.15) 0%, rgba(14, 116, 144, 0) 70%);
    top: -150px;
    left: -100px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0) 70%);
    bottom: -50px;
    right: 15%;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 2;
}

/* Background cloud overlay */
.hero-cloud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 250px),
        radial-gradient(circle at 75% 15%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 300px),
        radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 350px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 850;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(8, 31, 77, 0.15);
}

.text-gold {
    color: #e19b1a;
    /* Gold-orange matching reference screenshot */
}

.hero-motto {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: #e2f9fb;
    /* Light aqua/cyan */
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(8, 31, 77, 0.15);
}

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.badge-circle {
    width: 96px;
    height: 96px;
    background: var(--white);
    border: 1.5px solid #0E7490;
    /* Deep aqua border */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    padding: 8px;
    position: relative;
    box-shadow: 0 6px 15px rgba(8, 31, 77, 0.05);
    transform-style: preserve-3d;
    perspective: 500px;
}

.badge-circle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px dashed rgba(14, 116, 144, 0.45);
    /* Deep aqua dashed inner circle */
    border-radius: 50%;
    pointer-events: none;
}

.badge-circle:hover {
    transform: translateY(-8px) scale(1.06) rotateY(10deg);
    box-shadow: 0 10px 22px rgba(14, 116, 144, 0.25);
    border-color: #00acc1;
    /* Vibrant deep aqua hover */
}

.badge-circle .badge-icon {
    color: #0E7490;
    /* Deep aqua icon */
    font-size: 1rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.badge-circle:hover .badge-icon {
    color: #00acc1;
    transform: translateZ(15px) scale(1.1);
}

.badge-circle-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #081F4D;
    line-height: 1.1;
}

.badge-circle-subtitle {
    font-size: 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 1px;
}

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

.btn-discover {
    background-color: #081F4D;
    color: var(--white) !important;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.btn-discover i {
    color: #d99a26;
    transition: transform 0.3s ease;
}

.btn-discover:hover {
    background-color: #0d2963;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(8, 31, 77, 0.2);
}

.btn-discover:hover i {
    transform: translateX(4px);
}

.btn-admissions {
    background-color: #f4b400;
    color: #081F4D !important;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.btn-admissions:hover {
    background-color: #e0a400;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 180, 0, 0.25);
}

/* Hero Right Image Area */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 20px 50px rgba(8, 31, 77, 0.1);
    background: var(--white);
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: rotateX(6deg) rotateY(-8deg) translateY(-8px);
    box-shadow: 0 35px 70px rgba(8, 31, 77, 0.18);
}

.hero-building-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

/* Floating badges in Hero */
.float-circle-badge {
    position: absolute;
    width: 82px;
    height: 82px;
    background: var(--white);
    border: 3.5px solid #0E7490;
    /* Deep aqua border */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(8, 31, 77, 0.12);
    z-index: 10;
    padding: 4px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    transform: translateZ(30px);
}

.float-circle-badge:hover {
    transform: translateZ(70px) scale(1.15) translateY(-5px) rotate(5deg);
    box-shadow: 0 18px 38px rgba(14, 116, 144, 0.3);
}

.float-circle-badge span {
    font-size: 0.58rem;
    font-weight: 700;
    color: #0E7490;
    /* Deep aqua text */
    line-height: 1.15;
    display: block;
}

.float-circle-badge .text-red {
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 850;
    display: block;
    margin: 1px 0;
}

.badge-ac-circle {
    top: 25px;
    right: 95px;
}

.badge-digital-circle {
    top: 25px;
    right: -5px;
}

/* Wave divider shape */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 6;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-bg {
    fill: var(--white);
}

/* --------------------------------------------------------------------------
   6. Feature Strip Section
   -------------------------------------------------------------------------- */
.feature-strip-section {
    position: relative;
    z-index: 10;
    margin-top: -55px;
    /* Overlaps hero and about */
}

.feature-strip {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-color: rgba(244, 180, 0, 0.1);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. About Us Section
   -------------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
}

.about-image-side {
    position: relative;
}

.about-img-frame {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
    aspect-ratio: 4 / 5;
    width: 100%;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
    height: 90%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.about-student-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-medium);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-experience-badge .txt {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

/* About Tabs */
.about-details-tabs {
    margin-bottom: 36px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.about-tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1.5px solid var(--bg-medium);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.tab-contents {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-item-flex {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tab-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.values-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.values-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   8. Our Programs Section
   -------------------------------------------------------------------------- */
.programs-section {
    padding: 100px 0;
}

.program-cards-grid {
    margin-top: 24px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent);
}

.program-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.program-card:hover .program-img {
    transform: scale(1.1);
}

.program-badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-round);
    text-transform: uppercase;
}

.program-badge-tag.stars {
    background-color: #475569;
}

.program-badge-tag.spark {
    background-color: #D97706;
}

.program-badge-tag.rise {
    background-color: #0284C7;
}

.program-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.program-card-grades {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-card-desc {
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.program-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.program-features-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.list-bullet {
    color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.program-card .btn {
    margin-top: auto;
}

/* Featured Program Highlight Card */
.program-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 15px 35px rgba(244, 180, 0, 0.1);
}

/* --------------------------------------------------------------------------
   9. Academics Section
   -------------------------------------------------------------------------- */
.academics-section {
    padding: 100px 0;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.subject-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.subject-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-medium);
}

.subject-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.subject-card:hover .subject-icon-box {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.subject-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subject-desc {
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. Facilities Section
   -------------------------------------------------------------------------- */
.facilities-section {
    padding: 100px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.facility-item:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: var(--shadow-medium);
}

.facility-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(8, 31, 77, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.facility-info {
    display: flex;
    flex-direction: column;
}

.facility-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.facility-desc {
    font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   11. IIT & NEET Special Section
   -------------------------------------------------------------------------- */
.special-section {
    background: radial-gradient(circle at 80% 20%, #0d2963 0%, #081F4D 100%);
    padding: 100px 0;
    color: var(--white);
}

.special-container {
    align-items: flex-start;
}

.special-image-side {
    position: relative;
    display: flex;
    justify-content: center;
}

.special-illustration-box {
    position: relative;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-strong);
}

.special-graphic-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.deco-badge {
    position: absolute;
    background: rgba(8, 31, 77, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.deco-icon {
    color: var(--accent);
    font-size: 0.9rem;
}

.badge-top-right {
    top: -15px;
    right: -25px;
}

.badge-bottom-left {
    bottom: -15px;
    left: -25px;
}

.special-content-side .special-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}

.special-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.special-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.special-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.special-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-tick {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feat-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.feat-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Statistics Section
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--primary-dark);
    padding: 60px 0;
    border-bottom: 2px solid var(--accent);
}

.stats-grid {
    justify-content: space-between;
}

.stat-card {
    text-align: center;
    color: var(--white);
    flex: 1;
    min-width: 180px;
    padding: 20px;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-number {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   13. Campus Life / Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
    padding: 100px 0;
}

.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 3;
    transition: var(--transition-normal);
}

.gallery-item.hidden {
    display: none;
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(8, 31, 77, 0.9) 0%, rgba(8, 31, 77, 0.4) 60%, transparent 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gallery-title {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Admissions Banner Section
   -------------------------------------------------------------------------- */
.admissions-section {
    padding: 60px 0;
    background: radial-gradient(circle at top left, #0d2963 0%, #081F4D 100%);
    position: relative;
    overflow: hidden;
}

.admissions-cta-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    backdrop-filter: blur(10px);
}

.admissions-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-round);
    margin-bottom: 20px;
}

.admissions-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 800;
}

.admissions-year {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 32px;
}

.admissions-highlights {
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.hl-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hl-item i {
    color: var(--accent);
}

.admissions-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --------------------------------------------------------------------------
   15. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    margin-top: 48px;
}

.contact-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.info-card-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(8, 31, 77, 0.05);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card-icon.whatsapp {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.info-card-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Map Container Fallback Style */
.map-container-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    position: relative;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
}

.map-fallback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 31, 77, 0.85);
    color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(2px);
}

.map-marker-pin {
    font-size: 2rem;
    color: var(--accent);
    animation: bounce 2s infinite;
    margin-bottom: 8px;
}

.map-fallback-overlay h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.map-fallback-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 16px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Glassmorphic Contact Form */
.glass-form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.glass-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-instructions {
    font-size: 0.8rem;
    margin-bottom: 28px;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--text-muted);
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-error {
    font-size: 0.7rem;
    color: #DC2626;
    display: none;
    margin-top: 2px;
}

.form-group.invalid input,
.form-group.invalid select {
    border-color: #DC2626;
}

.form-group.invalid .form-error {
    display: block;
}

/* --------------------------------------------------------------------------
   16. Footer Area
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
}

.footer-logo-area .brand-visionary {
    color: var(--white);
}

.footer-intro {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

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

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

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

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-meta-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-meta-detail strong {
    color: var(--accent);
}

/* Newsletter Input Form */
.newsletter-box {
    margin-top: 24px;
}

.news-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border: none;
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 24px;
}

.copyright-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   17. Enquiry Modal & Toast Popups
   -------------------------------------------------------------------------- */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal-wrapper.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 31, 77, 0.5);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-strong);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 36px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.modal-wrapper.open .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.modal-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 16px;
}

.modal-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.modal-header-info h3 {
    font-size: 1.25rem;
}

.modal-header-info p {
    font-size: 0.75rem;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: -400px;
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--accent);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-normal);
    max-width: 360px;
}

.toast-notification.show {
    right: 30px;
}

.toast-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.toast-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   18. Scroll Reveal Animations (JS-Controlled)
   -------------------------------------------------------------------------- */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Active states applied by JS when in viewport */
.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Simple Floating badging Animation for Hero icons */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

#floatBadgeAc {
    animation: float 5s ease-in-out infinite;
}

#floatBadgeSmart {
    animation: float 6s ease-in-out infinite 0.5s;
}

/* --------------------------------------------------------------------------
   19. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* 1024px Breakpoint (Laptops / Small Screens) */
@media (max-width: 1024px) {
    .site-header {
        height: 75px;
    }

    .nav-list {
        gap: 20px;
    }

    .hero-container {
        gap: 24px;
    }

    .feature-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .feature-card:nth-child(4),
    .feature-card:nth-child(5) {
        grid-column: span 1;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .subject-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* 768px Breakpoint (Tablets) */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-nav,
    .header-actions .btn-round {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--white);
    }

    .site-header.scrolled .mobile-menu-toggle {
        color: var(--primary);
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

    .badge-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-motto-wrapper {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--accent);
        border-bottom: 2px solid var(--accent);
        border-radius: var(--radius-sm);
        padding: 6px 16px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .badge-ac {
        right: -15px;
        top: 20px;
    }

    .badge-smart {
        left: -20px;
        bottom: 30px;
    }

    .badge-attention {
        right: -15px;
        bottom: -5px;
    }

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image-side {
        order: 2;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content-side {
        order: 1;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .special-image-side {
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .stats-grid {
        justify-content: center;
        gap: 20px;
    }

    .admissions-cta-box {
        padding: 40px 24px;
    }

    .admissions-highlights {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .admissions-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .admissions-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* 425px Breakpoint (Large Mobile Screens) */
@media (max-width: 425px) {
    .site-header {
        height: 65px;
    }

    .school-logo {
        width: 44px;
        height: 44px;
    }

    .brand-visionary {
        font-size: 1.15rem;
    }

    .brand-new {
        font-size: 0.52rem;
        letter-spacing: 1.6px;
    }

    .brand-school {
        font-size: 0.55rem;
        letter-spacing: 1.6px;
    }

    .brand-tagline {
        font-size: 0.38rem;
    }

    .school-name {
        font-size: 0.9rem;
    }

    .school-tagline {
        font-size: 0.55rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .badge-card {
        justify-content: center;
    }

    .badge-ac,
    .badge-smart,
    .badge-attention {
        display: none !important;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .about-experience-badge {
        bottom: 20px;
        left: 0;
        padding: 10px 16px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .special-features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .modal-card {
        padding: 24px 16px;
    }

    .modal-card .grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 375px & 320px Breakpoints (Small Mobile Screens) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .badge-ac,
    .badge-smart,
    .badge-attention {
        display: none;
        /* Avoid overlap on very small screens */
    }

    .glass-form-card {
        padding: 20px 16px;
    }
}

/* --------------------------------------------------------------------------
   19. WhatsApp Floating Hover Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-svg {
    width: 30px;
    height: 30px;
    transition: transform 0.4s ease;
}

/* Pulsing outline effect */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: whatsapp-pulse 2s infinite;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-svg {
    transform: rotate(15deg);
}

/* Tooltip text bubble */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #1E293B;
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(8, 31, 77, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1E293B;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile adjustments */
@media (max-width: 425px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-svg {
        width: 25px;
        height: 25px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   20. Site Preloader Screen
   -------------------------------------------------------------------------- */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0F172A 0%, #080D1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-logo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 10;
    animation: preloader-pulse 2.2s infinite ease-in-out;
}

/* Beautiful orbiting loading rings */
.preloader-glow-ring {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    /* Gold */
    border-bottom-color: #06b6d4;
    /* Aqua/cyan */
    border-radius: 50%;
    animation: preloader-spin 1.8s linear infinite;
}

.preloader-glow-ring::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px dashed rgba(244, 180, 0, 0.45);
    border-radius: 50%;
    animation: preloader-spin-reverse 4s linear infinite;
}

@keyframes preloader-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.08);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes preloader-spin-reverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes preloader-pulse {

    0%,
    100% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 10px rgba(244, 180, 0, 0.2));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.4));
    }
}

/* Preloader Typography */
.preloader-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    margin-bottom: 24px;
}

.preloader-title-new {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 4px;
    opacity: 0;
    animation: preloader-fade-in-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

.preloader-title-visionary {
    font-family: 'Cinzel', serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    opacity: 0;
    animation: preloader-fade-in-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.preloader-title-school {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    opacity: 0;
    animation: preloader-fade-in-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
}

@keyframes preloader-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sleek loading bar */
.preloader-progress-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), #06b6d4);
    border-radius: 3px;
    animation: preloader-progress 2.2s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

@keyframes preloader-progress {
    0% {
        width: 0%;
    }

    30% {
        width: 45%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   21. Management & Leadership Section
   -------------------------------------------------------------------------- */
.bg-white {
    background-color: var(--white);
}

.management-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.management-image-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.management-img-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 3px solid rgba(8, 31, 77, 0.05);
    background-color: var(--bg-medium);
}

.management-director-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-slow);
}

.management-img-frame:hover .management-director-img {
    transform: scale(1.04);
}

.management-experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--accent);
    z-index: 10;
}

.management-content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-profile {
    margin-bottom: 24px;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.director-name {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.director-credentials {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.director-message-box {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.director-message-box .quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(244, 180, 0, 0.3);
}

.director-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-top: 10px;
    margin-bottom: 20px;
}

.director-motto-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px dashed rgba(8, 31, 77, 0.15);
    padding-top: 16px;
    font-size: 0.9rem;
}

.motto-tag {
    font-weight: 700;
    color: var(--primary);
}

.motto-text {
    color: var(--accent);
    font-weight: 600;
}

/* Kerala Faculty Box styles */
.kerala-faculty-box {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.05) 0%, rgba(8, 31, 77, 0.02) 100%);
    border-left: 3px solid var(--accent);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(8, 31, 77, 0.01);
    border-top: 1px solid rgba(8, 31, 77, 0.02);
    border-bottom: 1px solid rgba(8, 31, 77, 0.02);
    border-right: 1px solid rgba(8, 31, 77, 0.02);
}

.kerala-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-round);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(244, 180, 0, 0.2);
}

.kerala-badge i {
    width: 12px;
    height: 12px;
}

.kerala-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ==========================================================================
   Uniform Overlay Feature
   ========================================================================== */
.student-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    background: #081f4d; /* Navy background fallback */
}

/* Ensure child images behave well */
.student-img-wrapper .front-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    will-change: transform, filter;
}

.student-img-wrapper .back-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    border-radius: inherit;
    will-change: opacity, transform;
}

/* Hover Zoom Animation */
.student-img-wrapper:hover .front-img {
    transform: scale(1.04);
    filter: brightness(0.95);
}

/* Program Card Parent Hover Integration */
.program-card:hover .student-img-wrapper .front-img {
    transform: scale(1.04);
    filter: brightness(0.95);
}

/* Gallery Item Parent Hover Integration */
.gallery-item:hover .student-img-wrapper .front-img {
    transform: scale(1.04);
    filter: brightness(0.95);
}

/* Mobile/JS Active State */
.student-img-wrapper.show-uniform .front-img {
    transform: scale(1.04);
    filter: brightness(0.95);
}

/* Floating Badge */
.uniform-toggle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(8, 31, 77, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-round);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

.uniform-toggle-badge i,
.uniform-toggle-badge svg {
    width: 13px;
    height: 13px;
    stroke: var(--accent);
    stroke-width: 2.5;
}

.student-img-wrapper:hover .uniform-toggle-badge,
.student-img-wrapper.show-uniform .uniform-toggle-badge,
.program-card:hover .uniform-toggle-badge,
.gallery-item:hover .uniform-toggle-badge {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(244, 180, 0, 0.4);
}

.student-img-wrapper:hover .uniform-toggle-badge i,
.student-img-wrapper.show-uniform .uniform-toggle-badge i,
.student-img-wrapper:hover .uniform-toggle-badge svg,
.student-img-wrapper.show-uniform .uniform-toggle-badge svg,
.program-card:hover .uniform-toggle-badge i,
.program-card:hover .uniform-toggle-badge svg,
.gallery-item:hover .uniform-toggle-badge i,
.gallery-item:hover .uniform-toggle-badge svg {
    stroke: var(--primary);
}

/* Custom layout adjustments to fit containers */
.program-img-container .student-img-wrapper {
    height: 100%;
    border-radius: 0;
}

.gallery-img-box .student-img-wrapper {
    height: 100%;
    border-radius: 0;
}