/* ============================================================
   GARUDA DEFENCE ACADEMY — style.css
   Mobile-first · Professional · Fully Responsive
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
    /* Colors */
    --primary: #1e40af;
    --primary-light: #3b5fe8;
    --primary-dark: #0b192c;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #059669;
    --success-light: #d1fae5;
    --danger: #dc2626;
    --bg: #f7f9fb;
    --bg-alt: #eef2f8;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --text: #111827;
    --text-muted: #6b7280;
    --wa-green: #25d366;
    --wa-dark: #128c7e;

    /* Typography */
    --font-main: "Geist", "Noto Sans Devanagari", system-ui, sans-serif;
    --font-deva: "Noto Sans Devanagari", "Geist", system-ui, sans-serif;

    /* Spacing */
    --section-py: 5rem;
    --container: 1200px;
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 40px rgba(0, 0, 0, 0.13), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-pri: 0 8px 24px rgba(30, 64, 175, 0.35);
    --shadow-wa: 0 6px 20px rgba(37, 211, 102, 0.4);

    /* Transitions */
    --trans-fast: 150ms ease;
    --trans-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-h: 70px;
}

/* ── 2. RESET & BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    font-size: 16px;
}
html::-webkit-scrollbar {
    display: none;
} /* Chrome/Safari */

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
input,
select,
textarea {
    font-family: inherit;
}

/* ── 3. UTILITY ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}
.section-py {
    padding-block: var(--section-py);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--trans-base);
    white-space: nowrap;
    letter-spacing: 0.015em;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-pri);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.45);
}
.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.45);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-wa {
    background: var(--wa-green);
    color: var(--white);
    box-shadow: var(--shadow-wa);
}
.btn-wa:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}
.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}
.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-primary {
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary);
}
.badge-accent {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-dark);
}
.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 64, 175, 0.15);
}
.section-badge .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--primary);
    display: inline-flex;
    line-height: 1;
}
.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}
.section-heading .highlight {
    color: var(--primary);
    position: relative;
}
.section-subtext {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
}

/* ── 4. KEYFRAME ANIMATIONS ── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%,
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}
@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}
@keyframes wa-bounce {
    0%,
    100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.12);
    }
    60% {
        transform: scale(0.96);
    }
}
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ── 5. HEADER ── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition:
        box-shadow var(--trans-base),
        background var(--trans-base);
}
#site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.logo-img-wrap {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.logo-text {
    line-height: 1.2;
}
.logo-text .name-en {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
    display: block;
    text-transform: uppercase;
}
.logo-text .name-hi {
    font-size: 0.7rem;
    color: var(--primary);
    font-family: var(--font-deva);
    font-weight: 600;
    display: block;
    margin-top: 0.1rem;
}

/* Desktop nav */
.desktop-nav {
    display: none;
}
.desktop-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    transition: var(--trans-fast);
    position: relative;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width var(--trans-base);
}
.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 60%;
}

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--gray-200);
}
.lang-btn {
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--trans-base);
    letter-spacing: 0.02em;
}
.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.phone-badge {
    display: none;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 0.4rem 0.95rem;
    background: var(--gray-100);
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    transition: var(--trans-base);
}
.phone-badge:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.phone-badge .material-symbols-outlined {
    font-size: 1.15rem;
    color: var(--primary);
    display: inline-flex;
}

.cta-header {
    display: none;
}

/* Hamburger */
.hamburger {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 0.5rem;
    transition: background var(--trans-fast);
}
.hamburger:hover {
    background: var(--gray-100);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 1px;
    transition: var(--trans-base);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--trans-slow);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    padding-top: calc(var(--header-h) + 1rem);
    overflow-y: auto;
}
.mobile-nav.open {
    transform: translateX(0);
}
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--radius);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--trans-fast);
}
.mobile-nav a:hover {
    background: var(--bg);
    color: var(--primary);
}
.mobile-nav a .material-symbols-outlined {
    font-size: 1.3rem;
    color: var(--primary);
}
.mobile-nav .mobile-nav-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── 6. HERO & GLOBAL ICONS ── */
/* Global: Proper styling for Material Symbols icon font */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

.hero {
    background: linear-gradient(180deg, #eef3fb 0%, #f7f9fb 60%, #f7f9fb 100%);
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2rem;
    overflow: visible;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* Admission badge */
.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: slideDown 0.6s ease both;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}
.ping-wrap {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}
.ping-dot {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #dc2626;
    animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-core {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc2626;
}

/* Hero heading */
.hero-heading {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: slideUp 0.7s ease 0.1s both;
}
.hero-heading-sub {
    color: var(--gray-800);
    font-weight: 700;
}
.hero-highlight {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

/* Hero subtext */
.hero-subtext {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 620px;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
    animation: slideUp 0.7s ease 0.15s both;
}

/* CTA Buttons */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: 2.75rem;
    animation: slideUp 0.7s ease 0.2s both;
}
.btn-hero-cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-hero-cta .material-symbols-outlined {
    font-size: 1.2rem;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-pri);
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.45);
}
.btn-outline-dark {
    border: 2px solid var(--gray-300);
    color: var(--gray-800);
    background: var(--white);
    border-radius: 999px;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: var(--trans-base);
}
.btn-outline-dark:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Hero image visual container with outside floating metrics */
.hero-img-section {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    position: relative;
    padding: 1.5rem 1.5rem 2.5rem;
    animation: slideUp 0.8s ease 0.25s both;
}

.hero-img-wrap {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow:
        0 15px 45px rgba(11, 25, 44, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16/10;
    background: var(--bg-alt);
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11, 25, 44, 0.35) 0%,
        transparent 45%
    );
    pointer-events: none;
}

/* Floating Metric Badges — Truly Floating OUTSIDE the image container */
.hero-float-badge {
    position: absolute;
    z-index: 25;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 1.2rem;
    padding: 0.9rem 1.35rem;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.16),
        0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.hero-float-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

/* Left Badge: floats outside top-left */
.hero-float-left {
    top: 0.25rem;
    left: -1rem;
    animation: floatGentle 5s ease-in-out infinite alternate;
}

/* Right Badge: floats outside bottom-right */
.hero-float-right {
    bottom: 0.5rem;
    right: -1rem;
    animation: floatGentleAlt 5.5s ease-in-out infinite alternate;
}

@keyframes floatGentle {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}
@keyframes floatGentleAlt {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(8px);
    }
}

.float-badge-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}
.float-header-icon {
    font-size: 1.15rem;
    color: var(--primary);
}
.float-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.float-stats {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}
.float-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.float-stat-icon {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}
.text-primary {
    color: var(--primary);
}
.text-success {
    color: var(--success);
}
.text-amber {
    color: var(--accent-dark);
}

.float-stat strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}
.float-stat .stat-green {
    color: var(--success);
}
.float-stat span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 0.15rem;
    white-space: nowrap;
}
.float-divider {
    width: 1px;
    height: 2.2rem;
    background: var(--gray-200);
}

.float-right-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
}
.float-right-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.4rem;
}
.float-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}
.float-pill .material-symbols-outlined {
    font-size: 1rem;
}

/* ── 7. PROGRAMS (BENTO GRID - NO BLANK SPACE) ── */
#programs {
    background: var(--bg);
}

.hostel-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
    animation: pulse-glow 3s ease-in-out infinite;
}
.hostel-callout-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.hostel-callout-text .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--accent-dark);
}
.hostel-callout-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}
.hostel-callout-text span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Bento Grid Architecture: 3-column desktop with zero blank spaces */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.bento-span-2 {
    grid-column: span 2;
}
.bento-span-1 {
    grid-column: span 1;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--trans-base);
    position: relative;
    overflow: hidden;
}
.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--trans-base);
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
}
.program-card:hover::before {
    transform: scaleX(1);
}

/* Flagship card styling */
.bento-featured {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid rgba(30, 64, 175, 0.25);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}
.bento-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid rgba(30, 64, 175, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    align-self: flex-start;
}
.bento-badge-top .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
}

.card-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 0.7rem;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.card-header-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}
.card-title-wrap {
    flex: 1;
}
.card-title-en {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
}
.card-title-hi {
    font-size: 0.88rem;
    color: var(--primary);
    font-family: var(--font-deva);
    font-weight: 600;
    margin-top: 0.15rem;
}
.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.card-checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}
.bento-checks-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.check-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gray-700);
}
.check-item .material-symbols-outlined {
    font-size: 1.15rem;
    color: var(--success);
    display: inline-flex;
    flex-shrink: 0;
}

.bento-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.bento-seats-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ── 8. FACILITIES & HOSTEL (FULL-WIDTH MODERN REDESIGN) ── */
#facilities {
    background: var(--bg-alt);
    position: relative;
}

.facilities-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.fac-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: var(--trans-base);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.fac-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(30, 64, 175, 0.1);
    border-color: var(--primary-light);
}

.fac-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}
.fac-icon-wrap .material-symbols-outlined {
    font-size: 1.65rem;
}
.fac-icon-blue {
    background: rgba(30, 64, 175, 0.12);
    color: var(--primary);
}
.fac-icon-amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-dark);
}
.fac-icon-green {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success);
}
.fac-icon-red {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.fac-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.35;
}
.fac-card-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.fac-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Dedicated Hostel Banner */
.hostel-banner-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.28);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.hostel-banner-box::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    pointer-events: none;
}
.hostel-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.hostel-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fde68a;
    letter-spacing: 0.03em;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}
.hostel-banner-badge .material-symbols-outlined {
    font-size: 1.1rem;
}
.hostel-banner-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    margin: 0;
}
.hostel-banner-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}
.hostel-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}
.h-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--white);
}
.h-feature-item .material-symbols-outlined {
    font-size: 1.15rem;
    color: #fbbf24;
}

.hostel-banner-action {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 240px;
    flex-shrink: 0;
}
.hostel-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--trans-base);
    text-decoration: none;
}
.hostel-call-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fbbf24;
}
.hostel-call-btn .material-symbols-outlined {
    font-size: 1.15rem;
}

/* ── 9. TESTIMONIALS ── */
#testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.testi-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.75rem;
    transition: var(--trans-base);
    position: relative;
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 1.25rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    background: var(--white);
}
.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}
.star {
    color: var(--accent);
    font-size: 0.95rem;
}
.testi-quote {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.avatar-blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}
.avatar-green {
    background: linear-gradient(135deg, var(--success), #34d399);
    color: var(--white);
}
.avatar-amber {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--white);
}
.testi-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.testi-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── 10. FAQ ── */
#faq {
    background: var(--bg-alt);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: box-shadow var(--trans-base);
}
.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    transition:
        color var(--trans-fast),
        background var(--trans-fast);
}
.faq-question:hover {
    color: var(--primary);
    background: var(--bg);
}
.faq-item.open .faq-question {
    color: var(--primary);
}
/* CSS chevron arrow instead of material icon */
.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    color: var(--primary);
    transition:
        transform var(--trans-base),
        background var(--trans-base),
        color var(--trans-base);
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s ease;
    padding-inline: 1.35rem;
}
.faq-answer p {
    padding-block: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
}
.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ── 11. FOOTER / CONTACT ── */
#contact {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 4rem;
}

/* Contact info col */
.contact-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.footer-logo-wrap {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-logo-wrap .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.contact-logo .name-en {
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
}
.contact-logo .name-hi {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-family: var(--font-deva);
}

.contact-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.contact-info-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-info-item span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}
.contact-info-item a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: color var(--trans-fast);
}
.contact-info-item a:hover {
    color: var(--accent);
}

.hostel-highlight {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hostel-highlight .material-symbols-outlined {
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.hostel-highlight p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}
.hostel-highlight strong {
    color: var(--white);
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
}

/* Contact form */
.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
}
.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--white);
}
.form-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}
.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.55rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--white);
    width: 100%;
    transition:
        border-color var(--trans-base),
        box-shadow var(--trans-base),
        background var(--trans-base);
    outline: none;
    -webkit-appearance: none;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 95, 232, 0.25);
    background: rgba(255, 255, 255, 0.12);
}
.form-control option {
    background: var(--primary-dark);
    color: var(--white);
}
textarea.form-control {
    resize: vertical;
    min-height: 90px;
}
.form-submit {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.25rem;
    border-radius: var(--radius);
    background: var(--wa-green);
    color: var(--white);
    transition: var(--trans-base);
    box-shadow: var(--shadow-wa);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.form-submit:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}
.form-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-top: 0.6rem;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
}
.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--trans-fast);
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-copy span {
    color: var(--accent);
}

/* ── 12. WHATSAPP FLOATING BUTTON ── */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--wa-green);
    color: var(--white);
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    box-shadow: var(--shadow-wa);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--trans-base);
    animation: wa-bounce 3s ease 2s infinite;
}
.wa-float:hover {
    background: var(--wa-dark);
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}
.wa-float svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ── 13. SECTION CENTERING ── */
.section-header-center {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header-center .section-subtext {
    margin-inline: auto;
}

/* ── 14. RESPONSIVE — MOBILE (< 768px) ── */
@media (max-width: 767px) {
    .logo-text {
        display: none;
    }
    .hero-img-section {
        padding: 1.5rem 0.5rem 3.5rem;
    }
    .hero-float-badge {
        padding: 0.65rem 0.9rem;
        border-radius: 0.9rem;
    }
    .hero-float-left {
        left: 0.25rem;
        top: -0.85rem;
    }
    .hero-float-right {
        right: 0.25rem;
        bottom: -0.5rem;
    }
    .float-stat strong {
        font-size: 1.15rem;
    }
    .float-stats {
        gap: 0.6rem;
    }
    .float-stat-icon {
        font-size: 1.05rem;
    }
    .float-pill {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2,
    .bento-span-1 {
        grid-column: span 1;
    }
    .bento-checks-row {
        flex-direction: column;
        gap: 0.4rem;
    }

    .facilities-grid-4 {
        grid-template-columns: 1fr;
    }
    .hostel-banner-box {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.25rem;
        gap: 1.75rem;
    }
    .hostel-banner-action {
        width: 100%;
        min-width: 0;
    }
}

/* ── 15. RESPONSIVE — TABLET (md: 768px) ── */
@media (min-width: 768px) {
    :root {
        --header-h: 74px;
    }

    .hamburger {
        display: none;
    }
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    .phone-badge {
        display: flex;
    }
    .cta-header {
        display: inline-flex;
    }
    .mobile-nav {
        display: none !important;
    }

    /* Hero: keep centered but increase padding */
    .hero {
        padding-top: calc(var(--header-h) + 2.5rem);
    }
    .hero-img-section {
        max-width: 860px;
        padding: 2rem 2rem 3.5rem;
    }
    .hero-float-left {
        left: -1.25rem;
        top: 0.5rem;
    }
    .hero-float-right {
        display: block;
        right: -1.25rem;
        bottom: 1rem;
    }

    /* Tablet Bento Grid: 2 columns */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-span-2 {
        grid-column: span 2;
    }
    .bento-span-1 {
        grid-column: span 1;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ── 16. RESPONSIVE — DESKTOP (lg: 1024px) ── */
@media (min-width: 1024px) {
    :root {
        --section-py: 6rem;
    }

    .hero {
        padding-top: calc(var(--header-h) + 3rem);
    }
    .hero-img-section {
        max-width: 960px;
        padding: 2.5rem 3rem 4rem;
    }
    .hero-float-left {
        left: -2.25rem;
        top: 0.25rem;
    }
    .hero-float-right {
        right: -2.25rem;
        bottom: 1rem;
    }

    /* 3-Column Bento Grid: row 1 (2+1), row 2 (1+1+1), row 3 (1+2) = 3 full rows, zero empty spaces */
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-span-2 {
        grid-column: span 2;
    }
    .bento-span-1 {
        grid-column: span 1;
    }

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

/* ── 17. RESPONSIVE — WIDE (xl: 1280px) ── */
@media (min-width: 1280px) {
    .container {
        padding-inline: 2rem;
    }
    .hero-img-section {
        max-width: 1000px;
    }
    .hero-float-left {
        left: -3rem;
    }
    .hero-float-right {
        right: -3rem;
    }
}

/* ── 17. PRINT ── */
@media print {
    .wa-float,
    .hamburger,
    .mobile-nav,
    #site-header {
        display: none;
    }
    .hero {
        padding-top: 1rem;
    }
}

/* ── 18. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
