@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700&amp;display=swap');
:root {
    /* Dark Theme Colors (Default) */
    --bg-primary: #020617;
    --bg-secondary: #b4b8c2;
    --text-primary: #f4f6fb;
    --text-secondary: #f2b915;
    --accent-primary: #f2b915;
    --accent-secondary: #10235a;
    --nav-bg: #10235a;
    --nav-text: #ffffff;
    --shadow-color: rgba(15, 27, 70, 0.12);
    --border-color: rgba(255, 255, 255, 0.26);
    --box-bg: #ffffff;
    --radius: 18px;
    --font-family: "Bricolage Grotesque", sans-serif;
}
/* #666666 */
body.theme-light {
    /* Light Theme Colors */
    --bg-primary: #ffffff; 
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-primary: #10235a;
    --accent-secondary: #f2b915;
    --nav-bg: #ffffff;
    --nav-text: #10235a;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.1);
    --box-bg: #f8f9fa;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    transition: background 0.35s ease, color 0.35s ease;
}

html,
body {
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, rgba(242, 185, 21, 0.2), transparent 35%), radial-gradient(circle at 80% 85%, rgba(31, 74, 165, 0.22), transparent 40%), linear-gradient(145deg, #080d1f 0%, #101f52 45%, #040811 100%);
    transition: opacity 0.55s ease, visibility 0.55s ease;
    overflow: hidden;
}

body.theme-light .site-loader {
    background: radial-gradient(circle at 20% 20%, rgba(242, 185, 21, 0.2), transparent 35%), radial-gradient(circle at 80% 85%, rgba(16, 35, 90, 0.18), transparent 40%), linear-gradient(145deg, #eef3ff 0%, #f7f9ff 45%, #e8efff 100%);
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-glow {
    position: absolute;
    width: min(42vw, 360px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.5;
    animation: loaderGlowFloat 3.2s ease-in-out infinite alternate;
}

.loader-glow--one {
    top: -8%;
    left: -10%;
    background: radial-gradient(circle, rgba(242, 185, 21, 0.68) 0%, rgba(242, 185, 21, 0) 65%);
}

.loader-glow--two {
    right: -10%;
    bottom: -10%;
    background: radial-gradient(circle, rgba(39, 94, 205, 0.5) 0%, rgba(39, 94, 205, 0) 68%);
    animation-delay: 0.4s;
}

/* Custom Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    display: flex;
    flex-direction: column;
    position: relative;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.theme-light .custom-select-trigger {
    background: #fff;
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

.custom-select-trigger:hover {
    border-color: #f2b915;
}

.custom-select-trigger:after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 10px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger:after {
    transform: rotate(-135deg);
    margin-bottom: -4px;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    border-radius: 10px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-height: 250px;
    overflow-y: auto;
}

/* Custom Scrollbar for dropdown */
.custom-options::-webkit-scrollbar {
    width: 6px;
}
.custom-options::-webkit-scrollbar-track {
    background: transparent;
}
.custom-options::-webkit-scrollbar-thumb {
    background: rgba(242, 185, 21, 0.5);
    border-radius: 10px;
}
body.theme-light .custom-options::-webkit-scrollbar-thumb {
    background: rgba(16, 35, 90, 0.3);
}

body.theme-light .custom-options {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

/* Fix for dropdown overlap in admission form */
.field:has(.custom-select.open),
.field.is-open,
.custom-select-wrapper.is-open {
    z-index: 9999 !important;
}

.custom-options {
    background: #1a1a1a !important; /* Force background for dark theme */
}

body.theme-light .custom-options {
    background: #fff !important; /* Force background for light theme */
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-light .custom-option {
    color: #555;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(242, 185, 21, 0.1);
    color: #f2b915;
    padding-left: 20px;
}

.custom-option.selected {
    background: #f2b915;
    color: #000;
}

body.theme-light .custom-option.selected {
    color: #10235a;
    font-weight: 700;
}

.loader-content {
    position: relative;
    z-index: 1;
    width: min(92vw, 440px);
    padding: 28px 22px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 56px rgba(2, 8, 24, 0.42);
    backdrop-filter: blur(10px);
}

body.theme-light .loader-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(16, 35, 90, 0.14);
    box-shadow: 0 24px 46px rgba(16, 35, 90, 0.16);
}

.loader-logo-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
}

.loader-logo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 6px;
    box-shadow: 0 12px 24px rgba(10, 27, 75, 0.3);
    animation: loaderLogoPulse 1.9s ease-in-out infinite;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.24);
    border-top-color: #f2b915;
    border-right-color: #f2b915;
    animation: loaderSpin 1.15s linear infinite;
}

body.theme-light .loader-ring {
    border-color: rgba(16, 35, 90, 0.18);
    border-top-color: #10235a;
    border-right-color: #10235a;
}

.loader-title {
    font-size: clamp(1.18rem, 4.5vw, 1.55rem);
    color: #fff;
    margin-bottom: 4px;
}

body.theme-light .loader-title {
    color: #10235a;
}

.loader-subtitle {
    font-size: clamp(0.84rem, 3.3vw, 0.95rem);
    color: #f0f4ff;
    margin-bottom: 14px;
}

body.theme-light .loader-subtitle {
    color: #2d3c67;
}

.loader-progress {
    width: min(82%, 290px);
    height: 8px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

body.theme-light .loader-progress {
    background: rgba(16, 35, 90, 0.12);
}

.loader-progress-bar {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f2b915 0%, #ffd978 100%);
    animation: loaderBarMove 1.35s ease-in-out infinite;
}

body.theme-light .loader-progress-bar {
    background: linear-gradient(90deg, #10235a 0%, #305dc0 100%);
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderLogoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
}

@keyframes loaderBarMove {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

@keyframes loaderGlowFloat {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-12px) scale(1.05);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: black;
    color: var(--nav-text);
    font-size: 0.86rem;
}


.topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 4px 0;
    gap: 12px;
}

.topbar .info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2.6vw, 34px);
    flex-wrap: wrap;
    width: 100%;
}

.topbar .info span,
.topbar .info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.2;
}
body.theme-light .topbar .info span,
body.theme-light .topbar .info a {
    color: #fff;
}


header.top-bar span {
	font-weight: 500;
	color: #f4f7ff;
	font-size: 0.8rem;
}

.topbar .info span i {
    align-items: center;
    justify-content: center;
    color: #f2b915;
    font-size: 0.82rem;
    width: 14px;
    height: 14px;
    line-height: 1;
}

.soc-color {
    color: #f2b915;
}



.topbar .socials {
    display: flex;
    gap: 14px;
}

.topbar .socials a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    justify-content: center;
    display: inline-flex;
    color: #fff;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .topbar {
        display: block;
    }
    .about-card h3 {
    font-size: 1.5rem;
}

    .topbar .container {
        justify-content: center;
        align-items: center;
        padding: 8px 0;
        display: none;  
    }

    .topbar .info {
        justify-content: center;
        width: 100%;
        display: none;
    }

    .topbar .info .topbar-location,
    .topbar .info .topbar-email {
        display: none;
    }

    .topbar .info .topbar-phone {
        display: none;
    }
}

header {
    background: linear-gradient(180deg, rgba(16, 35, 90, 0.95) 0%, rgba(0, 0, 0, 0.62) 100%);
    color: var(--nav-text);
    padding: 5px 0;
    transition: background 0.35s ease;
}



body.theme-light {
    background: var(--bg-primary);
}

body.theme-light .topbar {
    background: rgb(38, 24, 2);
    color: white;
}

body.theme-light .topbar .info span,
body.theme-light .topbar .info a {
    color: white;
}

body.theme-light .inspaico{
    color: #f2b915;
}
body.theme-light .topbar .info span i {
    color: #f2b915;
}

body.theme-light header {
    background: linear-gradient(180deg, #472c07 0%, #000000 100%);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.header-row--compact {
    gap: 12px;
}

.nav-controls-anchor {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    align-items: center;
    /* border-radius: 16px; */
    /* object-fit: cover; */
    /* border: 2px solid rgba(255,255,255,0.3); */
}

.brand--compact img {
    width: clamp(70px, 12vw, 106px);
    height: clamp(70px, 12vw, 106px);
}

.brand-text h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 2x;
    color: white;
}

.brand-text--compact h1 {
    font-size: clamp(1.3rem, 3.6vw, 2.4rem);
    letter-spacing: -0.01em;
}

.brand-text p {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    color: #f2b915;
}

.brand-text--compact p {
    font-size: clamp(0.78rem, 2.2vw, 1.02rem);
    line-height: 1.35;
}

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

.header-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 600;
    color: #f2b915;
    background: rgba(242, 185, 21, 0.1);
    padding: 4px 14px;
    border-radius: 50px;
    margin: 6px 0;
    border: 1px solid rgba(242, 185, 21, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.header-tagline i {
    font-size: 1.1em;
}

.header-tagline:hover {
    background: #f2b915;
    color: #000;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 5px 15px rgba(242, 185, 21, 0.2);
}

/* body.theme-light .header-tagline {
    background: rgba(16, 35, 90, 0.05);
    border-color: rgba(16, 35, 90, 0.1);
} */

.header-accreditation-area {
    display: flex;
    align-items: center;
    animation: fadeInDown 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile Accreditation Row */
.mobile-acc-row {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.mobile-acc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
}

.mobile-acc-badge i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.mobile-acc-badge i img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    margin-top: -1px; /* Visual alignment fix */
}

body.theme-light .mobile-acc-badge {
    background: rgba(16, 35, 90, 0.05);
    border-color: rgba(16, 35, 90, 0.12);
    color: #fff;
}

.header-accreditation-area--vertical {
    flex-direction: column;
    gap: 6px;
    margin: 0 auto;
}

.acc-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.acc-badge--small {
    padding: 4px 12px;
    border-radius: 12px;
    gap: 8px;
    min-width: 140px;
}

.acc-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 185, 21, 0.1);
    color: #f2b915;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 1px solid rgba(242, 185, 21, 0.2);
    /* object-fit: cover; */
}
.acc-icon-box i img {
    width: 15px;
    /* height: 24px; */
    /* object-fit: cover; */
}

.acc-badge--small .acc-icon-box {
    width: 24px;
    height: 24px;
    font-size: 11px;
}

.acc-text-box {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.acc-label {
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.acc-badge--small .acc-label {
    font-size: 8px;
    letter-spacing: 0.5px;
}

.acc-value {
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
}

.acc-badge--small .acc-value {
    font-size: 11px;
}

.acc-badge:hover {
    background: rgba(242, 185, 21, 0.08);
    transform: translateX(5px);
    border-color: rgba(242, 185, 21, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(242, 185, 21, 0.05);
}

.acc-badge:hover .acc-icon-box {
    background: #000;
    color: #000;
    transform: rotate(360deg);
}

.acc-badge:hover .acc-label {
    color: rgba(242, 185, 21, 0.8);
}

.acc-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.acc-badge:hover::before {
    animation: shineEffect 1.5s infinite;
}

@keyframes shineEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light Theme Support for Accreditation */
body.theme-light .acc-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.theme-light .acc-badge:hover {
    background: rgba(242, 185, 21, 0.12);
    border-color: rgba(242, 185, 21, 0.5);
}

.header-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    animation: ctaFloatIn 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 10px 14px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 14px 34px rgba(5, 13, 38, 0.28);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta-wrapper--compact {
    padding: 8px 12px;
    gap: 10px;
    border-radius: 24px;
}

.header-cta-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(5, 13, 38, 0.34);
}

.cta-badge {
    position: relative;
    background: linear-gradient(145deg, #ffd873 0%, #f2b915 52%, #e4a912 100%);
    color: black;
    border-radius: 18px;
    padding: 13px 18px;
    min-width: 160px;
    box-shadow: 0 8px 22px rgba(242, 185, 21, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta-wrapper--compact .cta-badge {
    padding: 11px 14px;
    min-width: 148px;
    border-radius: 16px;
}

.cta-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.badge-label {
    display: block;
    font-size: clamp(0.6rem, 2vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.badge-year {
    display: block;
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.header-cta-wrapper:hover .cta-badge,
.header-cta-wrapper.cta-hover .cta-badge {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(242, 185, 21, 0.42);
}

.cta-apply-btn {
    position: relative;
    padding: 14px 30px;
    min-width: 160px;
    font-weight: 700;
    font-size: clamp(0.75rem, 2vw, 1rem);
    letter-spacing: 0.04em;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #17377f 0%, #10235a 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(7, 21, 58, 0.34);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    overflow: hidden;
}

.header-cta-wrapper--compact .cta-apply-btn {
    padding: 12px 22px;
    min-width: 148px;
}

.cta-apply-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.cta-apply-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 30px rgba(7, 21, 58, 0.42);
    background: linear-gradient(135deg, #797b7e 0%, #ffffff 100%);
}

.cta-apply-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-apply-btn:active {
    transform: translateY(0) scale(0.99);
}

@media (max-width: 768px) {
    .header-cta-wrapper,
    .header-cta-wrapper .cta-apply-btn {
        display: none;
    }
}

@media (max-width: 1033px) {
    .header-cta-wrapper .cta-apply-btn {
        display: none;
    }
}


.mobile-cta-badge {
    display: none;
}

.nav-wrapper {
    margin-top: 12px;
    position: relative;
    z-index: 30;
    
}

.nav-wrapper.is-sticky {
    position: relative;
}

.nav-wrapper.is-sticky.is-stuck {
    position: fixed;
    top: 0;
    left: 50%;
    width: min(1200px, calc(100% - 32px));
    z-index: 90;
    margin-top: 0;
    transform: translateX(-50%);
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: linear-gradient(180deg, #10235a 0%, #000000 100%);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.10); */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    opacity: 0.98;
    animation: stickyNavReveal 0.24s ease;
    transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

body.theme-light .nav-wrapper.is-sticky.is-stuck {
    background: linear-gradient(180deg, #472c07 0%, #000000 100%);
    /* border-bottom-color: rgba(0, 0, 0, 0.08); */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.nav-sticky-placeholder {
    height: 0;
}

@keyframes stickyNavReveal {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    to {
        opacity: 0.98;
        transform: translate(-50%, 0);
    }
}

.header-row--compact + .nav-wrapper {
    margin-top: 10px;
}

.nav-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    padding: 2px;
    transition: transform 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.theme-toggle-track {
    width: 50px;
    height: 28px;
    border-radius: 999px;
    padding: 2px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1b3b88 0%, #0f1f4d 100%);
    box-shadow: inset 0 1px 5px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(6, 16, 46, 0.35);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.theme-toggle-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #f2b915;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(0);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.theme-toggle-thumb i {
    display: block;
    font-size: 0.78rem;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.theme-toggle-thumb .fa-sun,
.theme-toggle-thumb .fa-moon {
    color: #f2b915 !important;
}

.theme-toggle-thumb .fa-moon {
    color: #ffd700 !important;
}

body.theme-light .theme-toggle-track {
    background: linear-gradient(135deg, #f6c953 0%, #f2b915 100%);
}

body.theme-light .theme-toggle-thumb {
    transform: translateX(22px);
    background: #10235a;
    color: #ffd700;
}

body.theme-light .theme-toggle-thumb .fa-moon {
    color: #ffd700 !important;
}

.nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 6px;
}

.header-row--compact ~ .nav-wrapper .nav-links {
    padding: 5px;
}

.nav-links li {
    position: relative;
}

.mobile-theme-slot {
    display: none;
}

.nav-link {
    color: #fff;
    padding: 10px 11px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

.header-row--compact ~ .nav-wrapper .nav-link {
    padding: 8px 10px;
    font-size: 0.86rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--accent);
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: yellow;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-item-dropdown {
    position: relative;
}

.nav-link-main i {
    font-size: 0.8rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-item-dropdown:hover .nav-link-main i,
.nav-item-dropdown.active .nav-link-main i {
    transform: rotate(180deg);
    color: yellow;
}

body.theme-light .nav-item-dropdown:hover .nav-link-main i,
body.theme-light .nav-item-dropdown.active .nav-link-main i {
    color: yellow;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 150px;
    list-style: none;
    border-radius: 12px;
    padding: 8px;
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(6, 16, 46, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 20;
}

/* Desktop Specific Dropdown Styles */
@media (min-width: 901px) {
    .nav-dropdown {
        min-width: 180px;
        width: max-content;
    }

    .nav-dropdown a {
        white-space: nowrap;
    }

    /* Align right for last few items to prevent horizontal scrollbar */
    .nav-links > li:nth-last-child(-n+5) .nav-dropdown {
        left: auto;
        right: 0;
    }
}

body.theme-light .nav-dropdown {
    background: #130c01;
}


.nav-dropdown a {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
    background: rgba(34, 34, 34, 0.8);
    color: yellow;
}

body.theme-light .nav-dropdown a:hover,
body.theme-light .nav-dropdown a.is-active {
    background: #2e1e03;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f2b915 0%, #f8cd4e 100%);
    box-shadow: 0 10px 20px rgba(242, 185, 21, 0.32);
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #10235a;
    border-radius: 999px;
    position: absolute;
    left: 11px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 2px;
    }
}

@media (max-width: 768px) {
    header {
        background: linear-gradient(180deg, rgba(16, 35, 90, 0.95) 0%, rgba(0, 0, 0, 0.62) 100%);
        padding: 5px 0 8px;
    }
body.theme-light .nav-item-dropdown:hover .nav-link-main i,
body.theme-light .nav-item-dropdown.active .nav-link-main i {
    color: var(--accent-primary);
}

    .header-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
        position: relative;
    }

    .brand {
        width: 100%;
        align-items: flex-start;
        gap: 10px;
        padding-right: 0;
    }

    .brand-text {
        width: 100%;
        padding: 10px 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(6px);
    }

    .brand-text h1 {
        font-size: 2rem;
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .brand-text p {
        font-size: 0.82rem;
        line-height: 1.35;
        margin-top: 2px;
        color: #f6c74a;
    }

    .nav-controls-anchor {
        display: none;
    }

    .nav-controls {
        justify-content: center;
        align-items: center;
        width: auto;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
        position: absolute;
        right: 2px;
        top: -50px;
        z-index: 6;
    }

    .theme-toggle-track {
        width: 50px;
        height: 28px;
        padding: 2px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
        border: 1px solid rgba(255, 255, 255, 0.28);
        box-shadow: 0 10px 24px rgba(6, 16, 46, 0.35);
    }

    .theme-toggle-thumb {
        width: 22px;
        height: 22px;
    }

    body.theme-light .theme-toggle-thumb {
        transform: translateX(22px);
    }

    .nav-toggle {
        order: 1;
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .nav-controls .theme-toggle {
        display: none;
    }

    .nav-wrapper.is-sticky.is-stuck {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 0;
        transform: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .nav-wrapper {
        padding-top: 0;
    }

    .nav-wrapper.is-sticky.is-stuck .nav-controls {
        top: 8px;
        right: 8px;
    }

    .nav-wrapper.is-sticky.is-stuck .nav-links {
        margin-top: 0;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .nav-toggle span {
        left: 10px;
    }

    .nav-toggle:active {
        transform: scale(0.96);
    }

    .theme-toggle:active {
        transform: scale(0.96);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap; /* Ensure it stays in a single column */
        gap: 2px;
        margin-top: 0;
        padding: 12px 8px;
        border-radius: 16px;
        position: fixed;
        top: 75px;
        right: 15px;
        left: auto;
        width: 280px;
        max-width: calc(100vw - 30px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        z-index: 9999;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .nav-links li {
        flex-shrink: 0;
        width: 100%; /* Force single column */
        display: block; /* Force single column */
    }

    /* Webkit scrollbar styling for better visibility on mobile */
    .nav-links::-webkit-scrollbar {
        width: 4px;
    }
    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }

    .nav-links.active {
        display: flex;
        animation: mobileMenuIn 0.28s ease;
    }

    .nav-links li,
    .nav-link {
        width: 100%;
    }

    .nav-link {
        justify-content: space-between;
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .nav-dropdown {
        position: static;
        min-width: unset;
        margin-top: 2px;
        border-radius: 8px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.05);
        padding: 4px;
        width: 100%; /* Ensure full width in mobile stack */
        box-sizing: border-box;
        float: none; /* Prevent side-by-side behavior */
        clear: both;
    }

    .nav-dropdown li {
        width: 100%;
        display: block; /* Force single column inside dropdown */
        float: none;
    }

    .nav-dropdown a {
        padding: 10px 12px;
        font-size: 0.85rem;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-item-dropdown.active .nav-dropdown {
        display: block;
    }

    .mobile-theme-slot {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 15px 0 5px;
        margin-top: 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-theme-slot .theme-toggle {
        display: inline-flex;
        position: relative; /* Add position relative */
        left: auto; /* Reset left */
        right: auto; /* Reset right */
        transform: none; /* Reset transform */
    }
}

@media (max-width: 480px) {
    .nav-controls {
        margin-bottom: 2px;
        padding: 0;
        border-radius: 0;
    }

    .theme-toggle-track {
        width: 46px;
        height: 26px;
    }

    .theme-toggle-thumb {
        width: 20px;
        height: 20px;
    }

    body.theme-light .theme-toggle-thumb {
        transform: translateX(20px);
    }
}

@keyframes ctaFloatIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    position: relative;
    color: #fff;
    padding: 20px 0;
    min-height: 500px;
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
    
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: scale(1.06);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -140px -170px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 185, 21, 0.4) 0%, rgba(242, 185, 21, 0) 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.hero-text {
    max-width: min(720px, 100%);
    background: rgba(5, 19, 62, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: clamp(18px, 3.3vw, 36px);
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 55px rgba(5, 17, 53, 0.35);
    animation: fadeSlideUp 0.85s ease;
}

.hero-text h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.13;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    text-shadow: 0 7px 20px rgba(7, 22, 58, 0.45);
}

.hero-text h2 span {
    color: var(--accent);
}

.hero-text p {
    max-width: 640px;
    margin-bottom: 24px;
    color: #f7c43d;
    font-size: 1.08rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.hero-text .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
    cursor: pointer;
    background: linear-gradient(135deg, #f8cd4e 0%, #f2b915 90%);
    color: black;
    padding: 16px 26px;
    min-width: 170px;
    box-shadow: 0 12px 28px rgba(242, 185, 21, 0.35);
}

.btn-secondary {
    background: rgba(7, 22, 58, 0.5);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 16px 26px;
    min-width: 170px;
}

.btn:hover {
    transform: translateY(-4px);
}

.course-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.course-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    background: rgba(242, 185, 21, 0.14);
    border: 1px solid rgba(242, 185, 21, 0.32);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: floatingUpDown 3s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-nav span:nth-child(1) { animation-delay: 0s; }
.course-nav span:nth-child(2) { animation-delay: 0.5s; }
.course-nav span:nth-child(3) { animation-delay: 1s; }
.course-nav span:nth-child(4) { animation-delay: 1.5s; }
.course-nav span:nth-child(5) { animation-delay: 2s; }

.course-nav span:hover {
    transform: translateY(-3px);
    background: rgba(242, 185, 21, 0.24);
    border-color: rgba(242, 185, 21, 0.5);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.12);
    }
}

.hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
    backdrop-filter: blur(16px);
}

.hero-card h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.course-list {
    display: grid;
    gap: 16px;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 16px 18px;
}

.course-item strong {
    font-size: 1rem;
}

.course-item span {
    font-size: 0.95rem;
    color: #dce2ff;
}

.course-item small {
    font-size: 0.84rem;
    color: #a0acf0;
}

.course-item .btn-small {
    background: rgba(255,255,255,0.18);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #fff;
}

section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.98rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.course-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(15, 31, 77, 0.1);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.65s ease;
    opacity: 0;
    transform: translateY(20px);
}

.course-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(15, 31, 77, 0.16);
}

.course-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 18px 40px rgba(16, 35, 90, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.course-icon-blue { background: #10235a; }
.course-icon-teal { background: #1282a2; }
.course-icon-purple { background: #6b3aa1; }
.course-icon-green { background: #217a3c; }
.course-icon-orange { background: #e08a1a; }

.course-card:hover .course-icon {
    transform: translateY(-4px) scale(1.02);
}

.course-card h3 {
    margin: 0 0;
    font-size: 2rem;
    color: black;
}

.course-description {
    margin: 0 0 2px;
    color: #5b607e;
    font-size: 0.96rem;
    line-height: 1.6;
}

.course-duration {
    margin: 0 0 20px;
    color: #6f7694;
    font-size: 0.88rem;
}



.course-card .btn-small {
    width: fit-content;
    padding: 10px 20px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, #10235a 0%, #1e40af 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(16, 35, 144, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.course-card .btn-small i {
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card .btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
    z-index: -1;
}

.course-card .btn-small:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #1e40af 0%, #10235a 100%);
    box-shadow: 0 15px 35px rgba(16, 35, 144, 0.35);
    color: #fff;
}

.course-card .btn-small:hover i {
    transform: translateX(5px);
}

.course-card .btn-small:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.course-card .btn-small:active {
    transform: translateY(-2px) scale(0.98);
}

body.theme-light .course-card .btn-small {
    background: linear-gradient(135deg, #10235a 0%, #1e40af 100%);
    box-shadow: 0 10px 25px rgba(16, 35, 144, 0.15);
}

body.theme-light .course-card .btn-small:hover {
    box-shadow: 0 15px 35px rgba(16, 35, 144, 0.25);
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .course-card {
        padding: 24px;
    }
}

/* Vision & Mission Redesign */
.vm-header {
    text-align: center;
    margin-bottom: 25px;
}

.vm-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
}

.vm-title-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10235a;
    letter-spacing: 1px;
    margin: 0;
}

.decoration-icon {
    color: #f2b915;
    font-size: 1.2rem;
    opacity: 0.8;
}

.vm-subtitle {
    color: #5b607e;
    font-size: 0.95rem;
    font-weight: 500;
}

.vm-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.vm-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(16, 35, 90, 0.08);
    border: 1px solid rgba(16, 35, 90, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(16, 35, 90, 0.12);
}

.vm-card-content {
    padding: 24px;
}

.vm-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vm-main-icon {
    width: 50px;
    height: 50px;
    background: #eff4ff;
    color: #10235a;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(16, 35, 90, 0.1);
}

.vm-icon-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #10235a;
    margin: 0;
    position: relative;
}

.vm-icon-header h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 3px;
    background: #f2b915;
    border-radius: 10px;
}

.vm-text p {
    color: #5b607e;
    font-size: 0.96rem;
    line-height: 1.6;
    text-align: justify;
}

.vision-card {
    background: linear-gradient(to bottom, #ffffff, #f8faff);
}

.vm-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    margin-top: auto;
}

.vm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.vm-image-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(16, 35, 90, 0.9);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 70px;
}

.mission-card {
    background: linear-gradient(to bottom, #ffffff, #fffdf8);
}

.mission-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(16, 35, 90, 0.08);
}

.mission-list li:last-child {
    border-bottom: none;
}

.m-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    color: #10235a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(16, 35, 90, 0.08);
    flex-shrink: 0;
    border: 1px solid rgba(16, 35, 90, 0.05);
}

.mission-list li p {
    margin: 0;
    font-size: 0.9rem;
    color: #5b607e;
    line-height: 1.5;
}

/* Light Theme Support */
body.theme-light .vm-title-wrapper h3,
body.theme-light .vm-icon-header h4 {
    color: #10235a;
}

body.theme-light .vm-card {
    background: #fff;
}

/* Dark Theme Support (body:not(.theme-light)) */
body:not(.theme-light) .vm-title-wrapper h3 {
    color: #f2b915;
}

body:not(.theme-light) .vm-subtitle {
    color: #afc0ef;
}

body:not(.theme-light) .vm-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.05);
}

body:not(.theme-light) .vm-main-icon {
    background: #1e293b;
    color: #f2b915;
}

body:not(.theme-light) .vm-icon-header h4 {
    color: #f3f7ff;
}

body:not(.theme-light) .vm-text p,
body:not(.theme-light) .mission-list li p {
    color: #d1d5db;
}

body:not(.theme-light) .m-icon {
    background: #1e293b;
    color: #f2b915;
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.theme-light) .mission-list li {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Grid for VM Container */
@media (min-width: 1024px) {
    .vm-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-up { transform: translateY(50px); }
.reveal-down { transform: translateY(-50px); }
.reveal-left { transform: translateX(50px); }
.reveal-right { transform: translateX(-50px); }
.reveal-zoom { transform: scale(0.9); }

.reveal.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Special Hero Animation */
.hero-text h2 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s forwards 0.8s;
}

.hero-text p {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s forwards 1.1s;
}

.hero-text .btn-group {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s forwards 1.4s;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.about-main-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* About Card Flex */
.about-flex-container {
    display: flex;
    gap: 32px;
    align-items: center;
}

.about-img-box {
    flex: 0 0 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: auto;
    aspect-ratio: 4/5;
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.about-img-box:hover img {
    transform: scale(1.08);
}

.about-text-box {
    flex: 1;
}

.about-text-box h3 {
    font-size: 1.8rem;
    color: #10235a;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text-box p {
    margin-bottom: 15px;
    color: #5b607e;
    line-height: 1.7;
    text-align: justify;
}

/* Sidebar Styling */
.about-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(16, 35, 90, 0.06);
    border: 1px solid rgba(16, 35, 90, 0.04);
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.sidebar-widget h4 {
    color: #10235a;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f2b915;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 14px;
}

.sidebar-links li a {
    color: #5b607e;
    font-weight: 600;
    font-size: 0.94rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-links li a i {
    font-size: 0.75rem;
    color: #f2b915;
}

.sidebar-links li a:hover {
    color: #f2b915;
    transform: translateX(6px);
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.notice-item {
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-date {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #f2b915;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-item p {
    font-size: 0.88rem;
    color: #5b607e;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.view-all-notices {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #10235a;
    transition: gap 0.3s ease;
}

.view-all-notices:hover {
    gap: 15px;
    color: #f2b915;
}

/* Amenity Cards Styling */
.amenity-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amenity-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(16, 35, 90, 0.03);
    border: 1px solid rgba(16, 35, 90, 0.05);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.theme-light .amenity-card {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.04);
}

.amenity-card:hover {
    background: #fff;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(16, 35, 90, 0.08);
    border-color: #f2b915;
}

body:not(.theme-light) .amenity-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

body:not(.theme-light) .amenity-card:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    background: #10235a;
    color: #f2b915;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: #f2b915;
    color: #10235a;
    transform: rotate(10deg);
}

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

.amenity-info span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #10235a;
}

body:not(.theme-light) .amenity-info span {
    color: #f4f6fb;
}

.amenity-info small {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Action Hub Styling */
.action-box {
    background: linear-gradient(135deg, #10235a 0%, #1e40af 100%);
    padding: 24px;
    border-radius: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.action-box::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(242, 185, 21, 0.1);
    border-radius: 50%;
    filter: blur(20px);
}

.action-box h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.action-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.action-item:hover {
    background: #f2b915;
    color: #10235a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-item i {
    font-size: 1.1rem;
}

.action-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

.help-box {
    background: linear-gradient(135deg, #10235a 0%, #1e40af 100%);
    color: #fff;
    padding: 28px 24px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-box::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.help-box i {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
    color: #f2b915;
}

.help-box h5 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.help-box p {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-bottom: 18px;
    line-height: 1.4;
}

.help-call {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f2b915;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Dark Theme Sidebar */
body:not(.theme-light) .sidebar-widget {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 45px rgba(0,0,0,0.3);
}

body:not(.theme-light) .sidebar-widget h4,
body:not(.theme-light) .about-text-box h3 {
    color: #f3f7ff;
}

body:not(.theme-light) .sidebar-links li a,
body:not(.theme-light) .about-text-box p {
    color: #d1d5db;
}

body:not(.theme-light) .notice-item p {
    color: #9ca3af;
}

body:not(.theme-light) .view-all-notices {
    color: #f2b915;
}

body:not(.theme-light) .notice-item {
    border-bottom-color: rgba(255,255,255,0.08);
}

@media (max-width: 1250px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-sidebar-col {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .about-flex-container {
        flex-direction: column;
    }
    
    .about-img-box {
        width: 100%;
        flex: none;
        height: auto;
        aspect-ratio: 16/9;
    }
}

.about-card,
.facts-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    width: 100%;
}

.facts-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

@media (min-width: 1024px) {
    .vm-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: stretch;
    }
}

.facts {
    display: grid;
    gap: 18px;
    padding: 0;
}

.fact {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-radius: 24px;
    padding: 20px 22px;
    background: #eff4ff;
    box-shadow: 0 20px 50px rgba(15, 31, 77, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.fact.visible {
    opacity: 1;
    transform: translateY(0);
}

.fact:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 62px rgba(15, 31, 77, 0.12);
}

.fact-vision {
    background: #e9f0ff;
}

.admission-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: radial-gradient(circle at top right, rgba(242, 185, 21, 0.12), transparent 30%), linear-gradient(180deg, rgba(16, 35, 90, 0.95), rgba(5, 19, 62, 0.95));
}

.admission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(242, 185, 21, 0.18), transparent 28%), radial-gradient(circle at 80% 40%, rgba(242, 185, 21, 0.12), transparent 24%);
    pointer-events: none;
    opacity: 0.75;
}

.admission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.admission-panel,
.admission-form {
    border-radius: 32px;
    padding: 34px;
}

.admission-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    animation: fadeSlideUp 0.8s ease both;
}

.admission-header .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 185, 21, 0.18);
    color: #f8ebc2;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.admission-panel h3 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 16px;
    color: #ffffff;
}

.admission-panel p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 28px;
    line-height: 1.8;
}

.admission-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
}

.admission-cta .square {
    flex: 1 1 180px;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 20px 18px;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.admission-cta .square:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(242, 185, 21, 0.42);
}

.admission-cta .square span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.admission-cta .square strong {
    font-size: 1.55rem;
    color: #f8f2d1;
}

.admission-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admission-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 18px 20px;
    color: #fff;
    font-weight: 600;
    line-height: 1.6;
    transition: transform 0.28s ease, background 0.28s ease;
}

.admission-pill:hover {
    transform: translateY(-3px);
    background: rgba(242, 185, 21, 0.16);
}

.admission-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 22px 20px;
    color: #fff;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.stat-card strong {
    display: block;
    font-size: 2.1rem;
    margin-bottom: 8px;
    color: #f2b915;
}

.stat-card span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
}

.person-card {
    display: flex;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
    /* transition: transform 0.28s ease; */
}

.person-card:hover {
    transform: translateY(-4px);
}

.person-card img {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    object-fit: cover;
    flex-shrink: 0;
}

.person-card p {
    color: #f7f3db;
    margin-bottom: 12px;
}

.person-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2b915;
    color: #10235a;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.person-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(242, 185, 21, 0.32);
}

.admission-form {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    box-shadow: 0 32px 80px rgba(15, 31, 77, 0.12);
    border: 1px solid rgba(16, 35, 90, 0.08);
    animation: fadeSlideUp 0.9s ease both;
}

.admission-form h3 {
    color: #10235a;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admission-form p {
    color: #4a5372;
    margin-bottom: 26px;
}

.admission-form form {
    display: grid;
    gap: 22px;
}

.admission-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #273553;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #d8e2f5;
    background: #f7f9ff;
    padding: 14px 18px;
    color: #24304d;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 2px rgba(16, 35, 90, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.admission-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364749f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 12px;
    padding-right: 48px;
    cursor: pointer;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
    outline: none;
    border-color: #10235a;
    box-shadow: 0 0 0 3px rgba(16, 35, 90, 0.12);
    transform: translateY(-1px);
}

.admission-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.admission-form button {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #132d7c 0%, #0b1850 100%);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.admission-form button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}

.admission-form button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.admission-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(16, 35, 90, 0.2);
    background: linear-gradient(135deg, #1e4aa0 0%, #0b2660 100%);
}

.admission-form button:active {
    transform: translateY(0);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #eef4ff;
    color: #273553;
    font-size: 0.95rem;
    border: 1px solid #d8e2f6;
}

.form-note i {
    color: #10235a;
    font-size: 1.05rem;
}

.field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.admission-form button {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #17377f 0%, #10235a 100%);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.admission-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(16, 35, 90, 0.22);
    background: linear-gradient(135deg, #2b4ea3 0%, #10235a 100%);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7f8ff;
    color: #21355f;
    font-size: 0.95rem;
    border: 1px solid #d8e2f6;
}

.form-note i {
    color: #10235a;
    font-size: 1.05rem;
}

@media (max-width: 1024px) {
    .admission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admission-section {
        padding: 44px 0;
    }

    .admission-cta,
    .admission-pillars,
    .admission-stats {
        grid-template-columns: 1fr;
    }

    .admission-cta {
        flex-direction: column;
    }

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

    .person-card {
        flex-direction: column;
        text-align: center;
    }

    .person-card img {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    
}

@media (max-width: 520px) {
    .admission-panel,
    .admission-form {
        border-radius: 24px;
        padding: 22px;
    }

    .admission-form button {
        padding: 14px 0;
    }
}


.fact-mission {
    background: #ebf8e9;
}

.fact-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #10235a;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 16px 36px rgba(16, 35, 90, 0.12);
}

.fact-vision .fact-icon {
    background: #10235a;
}

.fact-mission .fact-icon {
    background: #1f7035;
    
}

.fact-content h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #10235a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fact-content p {
    margin: 0;
    color: #36425c;
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 18px;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16x;
}
@media (max-width: 768px) {
    .about-card h3 {
    font-size: 1.5rem;
}
}
@media (max-width: 550px) {
    .about-card h3 {
    font-size: 1.2rem;
}
}

/* Default style: Error message ko chhupa kar rakhein */
.error-msg {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

/* Jab input galat (invalid) ho aur user ne click kar diya ho */
input:invalid:not(:placeholder-shown) {
    border: 2px solid red;
    outline: none;
}

/* Jab input invalid ho, tab uske theek baad wala .error-msg dikhao */
input:invalid:not(:placeholder-shown) + .error-msg {
    display: block;
}

/* Jab input sahi (valid) ho */
input:valid {
    border: 2px solid green;
}

/* Basic styling for groups */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.about-card p {
    color: #555d75;
    margin-bottom: 16px;
}

.facts {
    display: grid;
    gap: 16px;
}

.fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fact-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #10235a;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 16px 36px rgba(16, 35, 90, 0.12);
}

.fact-content h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #10235a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fact-content p {
    margin: 0;
    color: #36425c;
    font-size: 0.95rem;
    line-height: 1.8;
}

.highlight-row {
    display: grid;
    cursor: grab;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-choose-section {
    position: relative;
    padding: 56px 30px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(242, 185, 21, 0.2) 0%, rgba(242, 185, 21, 0) 45%),
        radial-gradient(circle at 100% 100%, rgba(16, 35, 90, 0.18) 0%, rgba(16, 35, 90, 0) 48%),
        linear-gradient(135deg, #f8faff 0%, #eef3ff 48%, #f9fbff 100%);
    box-shadow: 0 26px 60px rgba(13, 30, 80, 0.14);
    overflow: hidden;
    isolation: isolate;
}

.why-choose-section::before,
.why-choose-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.why-choose-section::before {
    top: -120px;
    left: -90px;
    background: radial-gradient(circle, rgba(242, 185, 21, 0.45) 0%, rgba(242, 185, 21, 0) 70%);
}

.why-choose-section::after {
    right: -100px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(16, 35, 90, 0.35) 0%, rgba(16, 35, 90, 0) 74%);
}

.why-choose-section .section-title {
    margin-bottom: 30px;
}

.why-choose-section .section-title h2 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    letter-spacing: 0.03em;
    color: #0d1f57;
    text-transform: uppercase;
}

.why-choose-section .section-title h2::after {
    content: "";
    width: 170px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='24' viewBox='0 0 170 24'%3E%3Cline x1='8' y1='12' x2='68' y2='12' stroke='%2310235a' stroke-width='2.4' stroke-linecap='round'/%3E%3Cline x1='102' y1='12' x2='162' y2='12' stroke='%2310235a' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='85' cy='12' r='6.3' fill='%23f2b915' stroke='%2310235a' stroke-width='1.8'/%3E%3Ccircle cx='85' cy='12' r='2.2' fill='%2310235a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: titleSymbolPulse 3s ease-in-out infinite;
}

.highlight-item {
    position: relative;
    --rx: 0deg;
    --ry: 0deg;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    box-shadow: 0 16px 35px rgba(18, 36, 84, 0.1);
    padding: 26px 20px 22px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(4px);
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease, background 0.34s ease;
    opacity: 0;
    transform: translateY(24px);
    animation: featureCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-style: preserve-3d;
    will-change: transform;
}

.highlight-item::before {
    content: "";
    position: absolute;
    inset: auto -25% -52%;
    height: 75%;
    background: radial-gradient(circle, rgba(242, 185, 21, 0.28) 0%, rgba(242, 185, 21, 0) 72%);
    opacity: 0;
    transition: opacity 0.34s ease;
}

/* body.theme-dark .highlight-item::after {
    background: red;
} */
.highlight-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f2b915 0%, #000000 100%);
    transform: scaleX(0.2);
    transform-origin: center;
    transition: transform 0.34s ease;
}



.highlight-item:nth-child(1) { animation-delay: 0.08s; }
.highlight-item:nth-child(2) { animation-delay: 0.16s; }
.highlight-item:nth-child(3) { animation-delay: 0.24s; }
.highlight-item:nth-child(4) { animation-delay: 0.32s; }
.highlight-item:nth-child(5) { animation-delay: 0.4s; }
.highlight-item:nth-child(6) { animation-delay: 0.48s; }

.highlight-item:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px);
    box-shadow: 0 24px 48px rgba(16, 35, 90, 0.18);
    border-color: rgba(242, 185, 21, 0.5);
    background: #ffffff;
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-item:hover::after {
    transform: scaleX(1);
}

.highlight-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #10235a;
    background: linear-gradient(135deg, #ffe19a 0%, #f2b915 100%);
    box-shadow: 0 12px 24px rgba(242, 185, 21, 0.34);
    transition: transform 0.34s ease, box-shadow 0.34s ease;
}

.highlight-icon i img{
    width: 28px;
}

.highlight-icon,
.highlight-item h4,
.highlight-item p {
    transform: translateZ(22px);
}

.highlight-item:hover .highlight-icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.04);
    box-shadow: 0 18px 30px rgba(242, 185, 21, 0.44);
}

.highlight-item h4 {
    margin-bottom: 10px;
    font-size: 1.03rem;
    font-weight: 700;
    color: #10235a;
    line-height: 1.35;
}

.highlight-item p {
    color: #55607d;
    font-size: 0.93rem;
    line-height: 1.62;
}

body:not(.theme-light) .why-choose-section {
    background:
        radial-gradient(circle at 0% 0%, rgba(242, 185, 21, 0.28) 0%, rgba(242, 185, 21, 0) 45%),
        radial-gradient(circle at 100% 100%, rgba(9, 10, 14, 0.24) 0%, rgba(19, 22, 28, 0) 48%),
        linear-gradient(135deg, #121318 0%, #000000 45%, #000000 100%);
    box-shadow: 0 24px 58px rgba(5, 12, 32, 0.45);
}

body:not(.theme-light) .why-choose-section::before {
    background: radial-gradient(circle, rgba(242, 185, 21, 0.42) 0%, rgba(242, 185, 21, 0) 72%);
}

body:not(.theme-light) .why-choose-section::after {
    background: radial-gradient(circle, rgba(136, 174, 255, 0.35) 0%, rgba(136, 174, 255, 0) 74%);
}

body:not(.theme-light) .why-choose-section .section-title h2 {
    color: #f3f7ff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

body:not(.theme-light) .why-choose-section .section-title h2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='24' viewBox='0 0 170 24'%3E%3Cline x1='8' y1='12' x2='68' y2='12' stroke='%23e5ecff' stroke-width='2.4' stroke-linecap='round'/%3E%3Cline x1='102' y1='12' x2='162' y2='12' stroke='%23e5ecff' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='85' cy='12' r='6.3' fill='%23f2b915' stroke='%23e5ecff' stroke-width='1.8'/%3E%3Ccircle cx='85' cy='12' r='2.2' fill='%2310235a'/%3E%3C/svg%3E");
}

body:not(.theme-light) .highlight-item {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(165, 190, 255, 0.2);
    box-shadow: 0 18px 38px rgba(1, 8, 28, 0.38);
    backdrop-filter: blur(8px);
}

body:not(.theme-light) .highlight-item::before {
    background: radial-gradient(circle, rgba(242, 185, 21, 0.4) 0%, rgba(242, 185, 21, 0) 70%);
}

body:not(.theme-light) .highlight-item::after {
    background: linear-gradient(90deg, #ffd463 0%, #000000 100%);
}

body:not(.theme-light) .highlight-item:hover {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 24px 50px rgba(1, 8, 28, 0.5);
    border-color: rgba(242, 185, 21, 0.6);
}

body:not(.theme-light) .highlight-icon {
    color: #0f225c;
    background: linear-gradient(135deg, #ffe29c 0%, #f2b915 100%);
    box-shadow: 0 14px 26px rgba(242, 185, 21, 0.42);
}

body:not(.theme-light) .highlight-item h4 {
    color: #f7f9ff;
}

body:not(.theme-light) .highlight-item p {
    color: #d4dcf8;
}

@keyframes featureCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleSymbolPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(242, 185, 21, 0.28));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 4px 10px rgba(242, 185, 21, 0.34));
    }
}

.admission-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr;
    gap: 26px;
    align-items: start;
}

.admission-panel,
.admission-form {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.admission-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.admission-panel p {
    color: #5b607e;
    margin-bottom: 22px;
}

.admission-panel .admission-cta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.admission-panel .admission-cta .square {
    flex: 1 1 150px;
    border-radius: 18px;
    padding: 18px;
    background: #0f1f4d;
    color: #fff;
}

.admission-panel .admission-cta .square span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #dce8ff;
}

.admission-panel .admission-cta .square strong {
    font-size: 1.35rem;
}

.admission-panel .person-card {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
}

.admission-panel .person-card img {
    width: 100px;
    aspect-ratio: 3 / 4;
    object-fit: cover; 
    border-radius: 18px;
}

.admission-form label {
    display: block;
    margin-bottom: 8px;
    color: #33415b;
    font-weight: 600;
    font-size: 0.95rem;
}

.admission-form input,
.admission-form textarea,
.admission-form select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d6dcef;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #172034;
    background: #fbfbff;
}

.admission-form textarea {
    resize: vertical;
    min-height: 120px;
}

.admission-form button {
    border: none;
    background: var(--nav-blue);
    color: #fff;
    padding: 16px 22px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.gallery-card {
    cursor: pointer;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-card h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-card:hover h4 {
    transform: translateY(0);
}

/* Scroll Reveal for Gallery */
.gallery-section .gallery-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-section.is-visible .gallery-card {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for each card */
.gallery-section.is-visible .gallery-card:nth-child(1) { transition-delay: 0.1s; }
.gallery-section.is-visible .gallery-card:nth-child(2) { transition-delay: 0.2s; }
.gallery-section.is-visible .gallery-card:nth-child(3) { transition-delay: 0.3s; }
.gallery-section.is-visible .gallery-card:nth-child(4) { transition-delay: 0.4s; }
.gallery-section.is-visible .gallery-card:nth-child(5) { transition-delay: 0.5s; }


.courses-section,
.about-section,
.why-choose-section,
.admission-section,
.gallery-section {
    margin-top: 28px;
}

.courses-section {
    position: relative;
    padding: 56px 30px;
    border-radius: 20px 20px 46px 46px;
    overflow: hidden;
    border-top: 5px solid #0a2b73;
    background:
        linear-gradient(145deg, #f6f9ff 0%, #eef3ff 50%, #f9fbff 100%);
    box-shadow: 0 22px 50px rgba(16, 35, 90, 0.12);
}

.courses-section .section-title h2::after,
.gallery-section .section-title h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #f2b915 0%, #1f4aa5 100%);
}

.courses-section .section-title h2::after {
    width: 176px;
    height: 24px;
    margin-top: 12px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='24' viewBox='0 0 176 24'%3E%3Cline x1='8' y1='12' x2='66' y2='12' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='110' y1='12' x2='168' y2='12' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='76' y='6.5' width='24' height='11' rx='2.5' fill='%23f2b915' stroke='%2310235a' stroke-width='1.6'/%3E%3Cline x1='82' y1='9.5' x2='94' y2='9.5' stroke='%2310235a' stroke-width='1.3'/%3E%3Cline x1='82' y1='13' x2='94' y2='13' stroke='%2310235a' stroke-width='1.3'/%3E%3C/svg%3E");
}

.about-section .about-card h3::after {
    content: "";
    display: block;
    width: 150px;
    height: 18px;
    margin-top: 10px;
    background: no-repeat left center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='18' viewBox='0 0 150 18'%3E%3Cline x1='2' y1='9' x2='52' y2='9' stroke='%2310235a' stroke-width='2.1' stroke-linecap='round'/%3E%3Cline x1='98' y1='9' x2='148' y2='9' stroke='%2310235a' stroke-width='2.1' stroke-linecap='round'/%3E%3Ccircle cx='75' cy='9' r='5.8' fill='%23f2b915' stroke='%2310235a' stroke-width='1.6'/%3E%3Cpath d='M75 5.5l1.2 2.4 2.7.4-1.9 1.9.4 2.7-2.4-1.2-2.4 1.2.4-2.7-1.9-1.9 2.7-.4z' fill='%2310235a'/%3E%3C/svg%3E");
}

.admission-section .admission-panel h3::after,
.admission-section .admission-form h3::after {
    content: "";
    display: block;
    width: 168px;
    height: 20px;
    margin-top: 10px;
    background: no-repeat left center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='20' viewBox='0 0 168 20'%3E%3Cline x1='2' y1='10' x2='62' y2='10' stroke='%23f2b915' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='106' y1='10' x2='166' y2='10' stroke='%23f2b915' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='74' y='4.5' width='20' height='11' rx='2' fill='%23ffffff' stroke='%23f2b915' stroke-width='1.6'/%3E%3Cpath d='M80 6.8h8v6.4h-8z' fill='%23f2b915'/%3E%3C/svg%3E");
}

.admission-section .admission-form h3::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='20' viewBox='0 0 168 20'%3E%3Cline x1='2' y1='10' x2='62' y2='10' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='106' y1='10' x2='166' y2='10' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='74' y='4.5' width='20' height='11' rx='2' fill='%23f2b915' stroke='%2310235a' stroke-width='1.6'/%3E%3Cpath d='M80 6.8h8v6.4h-8z' fill='%2310235a'/%3E%3C/svg%3E");
}

.gallery-section .section-title h2::after {
    width: 178px;
    height: 24px;
    margin-top: 12px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='178' height='24' viewBox='0 0 178 24'%3E%3Cline x1='8' y1='12' x2='66' y2='12' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='112' y1='12' x2='170' y2='12' stroke='%2310235a' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='76' y='6' width='26' height='12' rx='3' fill='%23f2b915' stroke='%2310235a' stroke-width='1.6'/%3E%3Ccircle cx='89' cy='12' r='3.1' fill='none' stroke='%2310235a' stroke-width='1.6'/%3E%3Ccircle cx='98.5' cy='9' r='1.4' fill='%2310235a'/%3E%3C/svg%3E");
}

.courses-section .courses-grid {
    gap: 20px;
}

.courses-section .course-card {
    position: relative;
    border: 1px solid rgba(16, 35, 90, 0.08);
    box-shadow: 0 18px 42px rgba(15, 31, 77, 0.11);
    overflow: hidden;
}

.courses-section .course-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #3108a0 0%, rgb(28, 6, 105) 100%);
    
    transform: scaleX(0.2);
    transform-origin: center;
    transition: transform 0.35s ease;
}
body:not(.theme-light) .courses-section .course-card::before {
    background: #f2b915;
}


.courses-section .course-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -45%;
    height: 75%;
    
    opacity: 0;
    transition: opacity 0.35s ease;
}

.courses-section .course-card:hover {
    transform: translateY(-12px) rotateX(4deg);
}

.courses-section .course-card:hover::before {
    transform: scaleX(1);
}

.courses-section .course-card:hover::after {
    opacity: 1;
}

.about-section {
    padding: 50px 28px;
    border-radius: 16px;
    border-left: 6px solid #f2b915;
    background:
        radial-gradient(circle at 8% 14%, rgba(31, 74, 165, 0.13) 0%, rgba(31, 74, 165, 0) 42%),
        linear-gradient(135deg, #f8fbff 0%, #edf4ff 55%, #f6f9ff 100%);
    box-shadow: 0 22px 52px rgba(13, 31, 80, 0.12);
}

.about-section .about-card {
    border: 1px solid rgba(16, 35, 90, 0.08);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.about-section .about-card img {
    transition: transform 0.55s ease, filter 0.55s ease;
}

.about-section .about-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.about-section .about-card .btn-primary {
    border-radius: 999px;
    padding: 12px 24px;
}

.about-section .fact {
    border: 1px solid rgba(16, 35, 90, 0.08);
    position: relative;
    overflow: hidden;
}

.about-section .fact::after {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #f2b915 0%, #000000 100%);
}

.about-section .fact:hover .fact-icon {
    transform: scale(1.08) rotate(-6deg);
}

.admission-section {
    position: relative;
    padding: 54px 30px;
    border-radius: 44px 14px 44px 14px;
    overflow: hidden;
    border: 1px solid rgba(16, 35, 90, 0.08);
    background:
        radial-gradient(circle at 12% 4%, rgba(242, 185, 21, 0.2) 0%, rgba(242, 185, 21, 0) 45%),
        linear-gradient(135deg, #eef4ff 0%, #e7efff 50%, #f7faff 100%);
    box-shadow: 0 24px 56px rgba(9, 23, 63, 0.14);
}

.admission-section .admission-panel {
    background: linear-gradient(180deg, #472c07 0%, #000000 100%);
    /* background: linear-gradient(145deg, #8b2a89 0%, #2f032a 100%); */
    color: #ecf2ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 48px rgba(7, 19, 52, 0.35);
}

body:not(.theme-light) .admission-section .admission-panel{
    background: linear-gradient(145deg, #202023 0%, #000000 100%);
}

.admission-section .admission-panel h3,
.admission-section .admission-panel p {
    color: inherit;
}

.admission-section .admission-cta .square {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.3s ease, background 0.3s ease;
}

.admission-section .admission-cta .square:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
}

.admission-section .person-card {
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.admission-section .admission-form {
    border: 1px solid rgba(16, 35, 90, 0.1);
    box-shadow: 0 20px 46px rgba(15, 31, 77, 0.12);
}

.admission-section .admission-form input,
.admission-section .admission-form textarea,
.admission-section .admission-form select {
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.admission-section .admission-form input:focus,
.admission-section .admission-form textarea:focus,
.admission-section .admission-form select:focus {
    outline: none;
    border-color: #1f4aa5;
    box-shadow: 0 0 0 4px rgba(31, 74, 165, 0.14);
    background: #fff;
}

.admission-section .admission-form button {
    background: linear-gradient(180deg, #472c07 0%, #000000 100%);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}





.admission-section .admission-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(16, 35, 90, 0.24);
    filter: brightness(1.04);
}

.gallery-section {
    padding: 52px 28px;
    border-radius: 14px;
    border: 2px dashed rgba(16, 35, 90, 0.2);
    background:
        radial-gradient(circle at 80% 10%, rgba(242, 185, 21, 0.16) 0%, rgba(242, 185, 21, 0) 42%),
        linear-gradient(130deg, #f8fbff 0%, #eef4ff 48%, #f8fbff 100%);
    box-shadow: 0 24px 56px rgba(13, 31, 80, 0.12);
}

body:not(.theme-light) .courses-section {
    background: black;
    box-shadow: 0 24px 56px rgba(4, 9, 26, 0.45);
    border-top-color: #f2b915;
}

body:not(.theme-light) .courses-section .section-title h2,
body:not(.theme-light) .gallery-section .section-title h2 {
    color: #f2f6ff;
}

body:not(.theme-light) .courses-section .section-title h2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='176' height='24' viewBox='0 0 176 24'%3E%3Cline x1='8' y1='12' x2='66' y2='12' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='110' y1='12' x2='168' y2='12' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='76' y='6.5' width='24' height='11' rx='2.5' fill='%23f2b915' stroke='%23e5ecff' stroke-width='1.6'/%3E%3Cline x1='82' y1='9.5' x2='94' y2='9.5' stroke='%230d1f57' stroke-width='1.3'/%3E%3Cline x1='82' y1='13' x2='94' y2='13' stroke='%230d1f57' stroke-width='1.3'/%3E%3C/svg%3E");
}

body:not(.theme-light) .courses-section .section-title p,
body:not(.theme-light) .gallery-section .section-title p {
    color: #d2dcf8;
}

body:not(.theme-light) .courses-section .course-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(163, 188, 255, 0.24);
    box-shadow: 0 20px 42px rgba(1, 8, 27, 0.45);
}

body:not(.theme-light) .courses-section .course-card h3 {
    color: #f3f7ff;
}

body:not(.theme-light) .courses-section .course-description {
    color: #d6dffb;
}

body:not(.theme-light) .courses-section .course-duration {
    color: #afc0ef;
}

body:not(.theme-light) .courses-section .course-card .btn-small {
    background: linear-gradient(135deg, #f2b915 0%, #ffd778 100%);
    color: #0d1f57;
    box-shadow: 0 10px 25px rgba(242, 185, 21, 0.2);
}

body:not(.theme-light) .courses-section .course-card .btn-small:hover {
    background: linear-gradient(135deg, #ffd778 0%, #f2b915 100%);
    box-shadow: 0 15px 35px rgba(242, 185, 21, 0.35);
    color: #0d1f57;
}

body:not(.theme-light) .about-section {
    background: rgb(34, 34, 34);
    box-shadow: 0 24px 58px rgba(4, 9, 26, 0.45);
    border-left-color: #ffd778;
}

body:not(.theme-light) .about-section .about-card,
body:not(.theme-light) .about-section .fact {
    background: black;
    border-color: rgba(109, 130, 188, 0.24);
    box-shadow: 0 18px 40px rgba(1, 8, 27, 0.35);
}

body:not(.theme-light) .about-section .about-card h3,
body:not(.theme-light) .about-section .fact-content h4 {
    color: #f4f7ff;
}

body:not(.theme-light) .about-section .about-card h3::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='18' viewBox='0 0 150 18'%3E%3Cline x1='2' y1='9' x2='52' y2='9' stroke='%23e5ecff' stroke-width='2.1' stroke-linecap='round'/%3E%3Cline x1='98' y1='9' x2='148' y2='9' stroke='%23e5ecff' stroke-width='2.1' stroke-linecap='round'/%3E%3Ccircle cx='75' cy='9' r='5.8' fill='%23f2b915' stroke='%23e5ecff' stroke-width='1.6'/%3E%3Cpath d='M75 5.5l1.2 2.4 2.7.4-1.9 1.9.4 2.7-2.4-1.2-2.4 1.2.4-2.7-1.9-1.9 2.7-.4z' fill='%230d1f57'/%3E%3C/svg%3E");
}

body:not(.theme-light) .about-section .about-card p,
body:not(.theme-light) .about-section .fact-content p {
    color: #d4def8;
}

body:not(.theme-light) .admission-section {
    background: black;
    box-shadow: 0 24px 56px rgba(4, 9, 26, 0.52);
    border-color: rgba(166, 190, 255, 0.25);
}

body:not(.theme-light) .admission-section .admission-form {
    background: rgb(34, 34, 34);
    border-color: rgba(160, 188, 255, 0.24);
    box-shadow: 0 20px 44px rgba(1, 8, 27, 0.42);
}

body:not(.theme-light) .admission-section .admission-form h3,
body:not(.theme-light) .admission-section .admission-form p,
body:not(.theme-light) .admission-section .admission-form label {
    color: #ecf2ff;
}

body:not(.theme-light) .admission-section .admission-panel h3::after,
body:not(.theme-light) .admission-section .admission-form h3::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='20' viewBox='0 0 168 20'%3E%3Cline x1='2' y1='10' x2='62' y2='10' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='106' y1='10' x2='166' y2='10' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='74' y='4.5' width='20' height='11' rx='2' fill='%23f2b915' stroke='%23e5ecff' stroke-width='1.6'/%3E%3Cpath d='M80 6.8h8v6.4h-8z' fill='%230d1f57'/%3E%3C/svg%3E");
}

body:not(.theme-light) .admission-section .admission-form input,
body:not(.theme-light) .admission-section .admission-form textarea,
body:not(.theme-light) .admission-section .admission-form select {
    background: rgb(34, 34, 34);
    border-color: rgba(168, 193, 255, 0.26);
    color: #f3f7ff;
}

body:not(.theme-light) .admission-section .admission-form input::placeholder,
body:not(.theme-light) .admission-section .admission-form textarea::placeholder {
    color: #c6d5ff;
}

body:not(.theme-light) .admission-section .admission-form button {
    background: black;
    color: white;
}

body:not(.theme-light) .gallery-section {
    background: rgb(34, 34, 34);
    box-shadow: 0 24px 58px rgba(4, 9, 26, 0.45);
    border-color: rgba(190, 211, 255, 0.36);
}

body:not(.theme-light) .gallery-section .gallery-card {
    background: black;
    border-color: rgba(160, 188, 255, 0.24);
    box-shadow: 0 18px 40px rgba(1, 8, 27, 0.38);
}

body:not(.theme-light) .gallery-section .gallery-card h4 {
    color: #f2f6ff;
}

body:not(.theme-light) .gallery-section .section-title h2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='178' height='24' viewBox='0 0 178 24'%3E%3Cline x1='8' y1='12' x2='66' y2='12' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='112' y1='12' x2='170' y2='12' stroke='%23e5ecff' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='76' y='6' width='26' height='12' rx='3' fill='%23f2b915' stroke='%23e5ecff' stroke-width='1.6'/%3E%3Ccircle cx='89' cy='12' r='3.1' fill='none' stroke='%230d1f57' stroke-width='1.6'/%3E%3Ccircle cx='98.5' cy='9' r='1.4' fill='%230d1f57'/%3E%3C/svg%3E");
}

.site-footer {
    background: black;
    color: #d3dcff;
    padding: 34px 0 16px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.footer-section {
    min-width: 0;
}

.footer-section h4,
.footer-map-card h4 {
    color: #fff;
    margin-bottom: 13px;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.footer-section p,
.footer-section a,
.footer-section li,
.footer-map-note {
    font-size: 0.86rem;
    color: #d3dcff;
    line-height: 1.5;
}

.footer-about p {
    margin-bottom: 12px;
    text-align: justify;
}

.footer-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(242, 185, 21, 0.35);
    color: #ffe29b;
    background: rgba(242, 185, 21, 0.08);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.footer-cta-link i {
    transition: transform 0.28s ease;
}

.footer-cta-link:hover {
    transform: translateY(-2px);
    background: rgba(242, 185, 21, 0.16);
    box-shadow: 0 10px 24px rgba(242, 185, 21, 0.16);
}

.footer-cta-link:hover i {
    transform: rotate(-10deg) scale(1.08);
}

.footer-list {
    /* cursor: pointer; */
    list-style: none;
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
}
.foot-cour{
    cursor: pointer;
}

.footer-list li {
    margin: 0;
}

/* ============================================
   SUPPORT SECTION STYLES
   ============================================ */

.about-support {
    padding: 15px 15px;
    border-radius: 32px;
    margin-top: 10px;
    background: 
        radial-gradient(circle at 0% 0%, rgba(242, 185, 21, 0.15) 0%, rgba(242, 185, 21, 0) 42%),
        radial-gradient(circle at 100% 100%, rgba(16, 35, 90, 0.12) 0%, rgba(16, 35, 90, 0) 48%),
        linear-gradient(135deg, #f7faff 0%, #eef3ff 50%, #f9fbff 100%);
    box-shadow: 0 24px 56px rgba(13, 31, 80, 0.12);
    border: 1px solid rgba(16, 35, 90, 0.06);
    animation: fadeSlideUp 0.8s ease both;
}

.support-grid {
    display: grid;
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
    /* gap: 24px; */
    margin-bottom: 5px;
}

.support-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 18px;
    cursor: grab;
    /* width: 100%; */
    background: #ffffff;
    border: 1px solid rgba(16, 35, 90, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(15, 31, 77, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: featureCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.support-card:nth-child(1) { animation-delay: 0.12s; }
.support-card:nth-child(2) { animation-delay: 0.24s; }

.support-card::before {
    content: "";
    position: absolute;
    inset: auto -30% -45%;
    height: 75%;
    
    opacity: 0;
    transition: opacity 0.35s ease;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 31, 77, 0.16);
    border-color: rgba(79, 23, 23, 0.3);
}

.support-card:hover::before {
    opacity: 1;
}

.support-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #10235a 0%, #1f4aa5 100%);
    box-shadow: 0 16px 38px rgba(16, 35, 90, 0.24);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    position: relative;
    z-index: 1;
}

.support-card:hover .support-icon {
    transform: translateY(-4px) scale(1.06) rotate(-8deg);
    background: linear-gradient(135deg, #1f4aa5 0%, #3108a0 100%);
    box-shadow: 0 22px 48px rgba(16, 35, 90, 0.32);
}

.support-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10235a;
    margin: 0 0 8px;
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

.support-card p {
    font-size: 0.96rem;
    color: #55607d;
    margin: 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(242, 185, 21, 0.12) 0%, rgba(242, 185, 21, 0.06) 100%);
    border: 1.5px solid rgba(242, 185, 21, 0.4);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(242, 185, 21, 0.12);
    animation: fadeSlideUp 0.8s ease both;
    animation-delay: 0.36s;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -18px;
    left: 16px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(242, 185, 21, 0.15);
    line-height: 0.8;
    z-index: 0;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2b915;
    color: #10235a;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: #10235a;
    line-height: 1.8;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.testimonial-card strong {
    display: block;
    font-size: 0.95rem;
    color: #10235a;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Dark Theme Support */
body:not(.theme-light) .about-support {
    background: 
        radial-gradient(circle at 0% 0%, rgba(242, 185, 21, 0.2) 0%, rgba(242, 185, 21, 0) 42%),
        radial-gradient(circle at 100% 100%, rgba(136, 174, 255, 0.15) 0%, rgba(136, 174, 255, 0) 48%),
        linear-gradient(135deg, #121318 0%, #0d0f15 50%, #131619 100%);
    box-shadow: 0 20px 48px rgba(1, 8, 28, 0.4);
}

body:not(.theme-light) .support-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(165, 190, 255, 0.2);
    box-shadow: 0 18px 40px rgba(1, 8, 28, 0.35);
}



body:not(.theme-light) .support-card:hover {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(242, 185, 21, 0.5);
    box-shadow: 0 24px 52px rgba(1, 8, 28, 0.5);
}

body:not(.theme-light) .support-icon {
    background: linear-gradient(135deg, #1f4aa5 0%, #3108a0 100%);
    box-shadow: 0 16px 36px rgba(242, 185, 21, 0.2);
}

body:not(.theme-light) .support-card h4 {
    color: #e5ecff;
}

body:not(.theme-light) .support-card p {
    color: #b8c5e8;
}

body:not(.theme-light) .testimonial-card {
    background: linear-gradient(135deg, rgba(242, 185, 21, 0.16) 0%, rgba(242, 185, 21, 0.08) 100%);
    border-color: rgba(242, 185, 21, 0.5);
    box-shadow: 0 16px 40px rgba(242, 185, 21, 0.18);
}

body:not(.theme-light) .testimonial-card p {
    color: #f3f7ff;
}

body:not(.theme-light) .testimonial-card strong {
    color: #e5ecff;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .about-support {
        padding: 40px 24px;
    }

    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .support-card {
        padding: 24px;
        gap: 16px;
    }

    .support-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
        font-size: 1.5rem;
    }

    .support-card h4 {
        font-size: 1.15rem;
    }

    .support-card p {
        font-size: 0.93rem;
    }
}

@media (max-width: 650px) {
    .about-support {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .support-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .support-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.35rem;
    }

    .support-card h4 {
        font-size: 1.08rem;
    }

    .support-card p {
        font-size: 0.92rem;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-card p {
        font-size: 0.98rem;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-list a,
.footer-course-list li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.footer-list a i,
.footer-course-list li i {
    color: #f2b915;
    width: 16px;
    text-align: center;
    transition: transform 0.28s ease, color 0.28s ease, filter 0.28s ease;
}

.footer-list a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-list a:hover i,
.footer-course-list li:hover i {
    transform: scale(1.18) rotate(-8deg);
    color: #ffd978;
    filter: drop-shadow(0 0 8px rgba(242, 185, 21, 0.5));
}

.footer-course-list li {
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-course-list li:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 7px;
}

.footer-contact p i {
    color: #f2b915;
    margin-top: 3px;
    width: 15px;
}

.footer-map-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-map-card h4 i {
    color: #f2b915;
}

.footer-map-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer-map-frame iframe {
    width: 100%;
    height: 185px;
    border: 0;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.footer-map-note {
    color: #aab7e6;
    font-size: 0.8rem;
}

.footer-map-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    padding: 9px 15px;
    border-radius: 999px;
    color: #061235;
    background: linear-gradient(135deg, #ffd97a 0%, #f2b915 100%);
    border: 1px solid rgba(242, 185, 21, 0.85);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(242, 185, 21, 0.3);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.footer-map-action i {
    transition: transform 0.28s ease;
}

.footer-map-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(242, 185, 21, 0.38);
    filter: brightness(1.03);
}

.footer-map-action:hover i {
    transform: translateX(3px);
}

.footer-social-strip {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-social-title {
    color: #e8eeff;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    font-weight: 700;
}

.footer-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #f0f4ff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 18px rgba(1, 8, 30, 0.24);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.footer-social-links a i {
    font-size: 0.94rem;
    position: relative;
    z-index: 1;
    transition: transform 0.28s ease;
}

.footer-social-links a:hover {
    transform: translateY(-5px) scale(1.04);
    border-color: rgba(242, 185, 21, 0.75);
    color: #fff;
    background: linear-gradient(135deg, rgba(242, 185, 21, 0.2), rgba(242, 185, 21, 0.1));
    box-shadow: 0 14px 30px rgba(3, 12, 41, 0.35), 0 0 14px rgba(242, 185, 21, 0.22);
}

.footer-social-links a:hover::before {
    opacity: 1;
}

.footer-social-links a:hover i {
    transform: scale(1.08);
}

.footer-social-links a:nth-child(1):hover {
    color: #7fb2ff;
}

.footer-social-links a:nth-child(2):hover {
    color: #ff8bc3;
}

.footer-social-links a:nth-child(3):hover {
    color: #ff7b86;
}

.footer-social-links a:nth-child(4):hover {
    color: #8fc6ff;
}

.footer-social-links a:nth-child(5):hover {
    color: #72e0a4;
}

.footer-bottom {
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #a5b2e0;
}
.foot-bot{
    margin-right: 70px;
}

.footer-bottom i {
    color: #ff6f8b;
    animation: footerHeartBeat 1.8s ease-in-out infinite;
}

@keyframes footerHeartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.16);
    }
    50% {
        transform: scale(0.98);
    }
}

@media (max-width: 1100px) {
    .hero .container,
    .about-grid,
    .admission-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid,
    .highlight-row,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar .container {
        flex-direction: row;
        align-items: center;
    }

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

    .footer-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-choose-section {
        padding: 44px 24px;
    }

    .courses-section { padding: 42px 22px; border-radius: 18px 18px 36px 36px; }
    .about-section { padding: 40px 20px; border-left-width: 5px; border-radius: 14px; }
    .admission-section { padding: 42px 22px; border-radius: 30px 12px 30px 12px; }
    .gallery-section { padding: 40px 20px; border-radius: 12px; }
}

@media (max-width: 760px) {
    .header-row,
    .hero .container,
    .about-grid,
    .admission-grid,
    .courses-grid,
    .highlight-row,
    .gallery-grid {
        grid-template-columns: 1fr;
        padding-top: 10px;
    }

    .hero {
        min-height: auto;
        padding: 22px 0 18px;
        overflow: visible;
    }

    .hero::after {
        display: none;
    }

    .hero-media {
        position: relative;
        inset: auto;
        border-radius: 24px;
        overflow: hidden;
        margin: 0 auto;
        width: min(1200px, calc(100% - 26px));
        box-shadow: 0 18px 40px rgba(11, 24, 64, 0.26);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        /* background: linear-gradient(180deg, rgba(7, 22, 58, 0.18) 0%, rgba(7, 22, 58, 0.55) 100%); */
    }

    .hero-overlay {
        display: none;
    }

    .hero-media img {
        height: 300px;
        object-position: center 26%;
        transform: none;
        animation: none;
    }

    .hero .container {
        margin-top: -28px;
        min-height: auto;
    }

    .hero-text {
        border-radius: 22px;
        max-width: 100%;
        padding: 22px 20px;
        background: linear-gradient(135deg, rgba(8, 26, 77, 0.96) 0%, rgba(11, 33, 95, 0.92) 100%);
        border: 1px solid rgba(255, 255, 255, 0.28);
        box-shadow: 0 18px 40px rgba(10, 24, 63, 0.28);
        backdrop-filter: none;
        text-align: center;
    }

    .hero-text h2 {
        font-size: clamp(1.48rem, 6.6vw, 2rem);
        margin-bottom: 8px;
    }

    .hero-text p {
        font-size: 0.84rem;
        margin-bottom: 16px;
        letter-spacing: 0.05em;
        text-transform: none;
    }

    .hero-text .btn-group {
        gap: 10px;
    }

    .hero-text .btn-group .btn {
        width: 100%;
        min-width: 0;
        padding: 13px 18px;
    }
    .course-nav {
        display: none;
    }

    .course-nav span {
        min-width: calc(50% - 5px);
        padding: 10px 12px;
    }

    .course-nav,
    .course-list,
    .admission-panel .admission-cta,
    .hero-card {
        width: 100%;
    }

    .course-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar .info,
    .topbar .socials {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
    }

    .site-footer {
        padding: 28px 0 14px;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-section {
        padding-bottom: 10px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.13);
    }

    .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-map-card {
        margin-top: 2px;
    }

    .footer-map-frame iframe {
        height: 210px;
    }

    .footer-social-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-links a {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-choose-section {
        padding: 36px 18px;
        border-radius: 26px;
    }

    .courses-section { padding: 34px 16px; border-radius: 14px 14px 26px 26px; }
    .about-section { padding: 32px 14px; border-left-width: 4px; border-radius: 12px; }
    .admission-section { padding: 34px 16px; border-radius: 22px 10px 22px 10px; }
    .gallery-section { padding: 32px 14px; border-radius: 10px; }

    .why-choose-section .section-title h2 {
        font-size: 1.45rem;
        gap: 10px;
    }

    .why-choose-section .section-title h2::after {
        width: 138px;
        height: 18px;
    }

    .highlight-item {
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .highlight-icon {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
    }

    .courses-section .section-title h2::after,
    .gallery-section .section-title h2::after {
        margin-top: 10px;
        width: 130px;
        height: 18px;
    }

    .about-section .about-card h3::after {
        width: 118px;
        height: 14px;
    }

    .admission-section .admission-panel h3::after,
    .admission-section .admission-form h3::after {
        width: 132px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 14px 0 14px;
    }

    .hero-media img {
        height: 240px;
        object-position: 58% 24%;
    }

    .hero .container {
        margin-top: -22px;
    }

    .hero-text h2 {
        line-height: 1.22;
    }

    .course-nav {
        margin-top: 16px;
        gap: 8px;
    }

    .course-nav span {
        min-width: calc(50% - 4px);
        font-size: 0.82rem;
        padding: 9px 10px;
    }
}

.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 16px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #1f4aa5 0%, #10235a 100%);
    box-shadow: 0 18px 36px rgba(10, 27, 75, 0.28);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.92);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    overflow: hidden;
}

.scroll-to-top::before {
    content: "";
    position: absolute;
    inset: -35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    transition: transform 0.28s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: scrollTopFloat 2.2s ease-in-out infinite;
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 42px rgba(10, 27, 75, 0.35);
    filter: brightness(1.05);
}

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(0.98);
}

@keyframes scrollTopFloat {
    0%, 100% {
        box-shadow: 0 18px 36px rgba(10, 27, 75, 0.28);
    }
    50% {
        box-shadow: 0 24px 44px rgba(10, 27, 75, 0.34);
    }
}

@media (max-width: 900px) {
    .header-accreditation-area {
        display: none !important;
    }
    .mobile-acc-row {
        display: flex;
    }
    .brand img {
        display: none;
        margin-top: 4px;
        width: 95px;
        height: 95px;
        border-radius: 12px;
    }
    .brand-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .brand-text p {
        font-size: 0.85rem;
        line-height: 1.45;
    }
}


@media (max-width: 600px) {
    .header-row {
        align-items: flex-start;
    }
    .header-tagline {
        padding: 3px 10px;
        margin: 4px 0;
        font-size: 0.75rem;
    }
.nav-toggle span {
    display: block;
    width: 15px;
    height: 2px;
    background: #10235a;
    border-radius: 999px;
    position: absolute;
    left: 11px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
    .brand {
        align-items: flex-start;
        gap: 10px;
    }

     .brand img {
        display: none;
        margin-top: 5px;
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

    .brand-text h1 {
        font-size: 1.7rem;
    }

    .brand-text p {
        font-size: 0.75rem;
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 14px;
        border-radius: 14px;
    }
}

@media (max-width: 500px) {
    .header-row {
        align-items: flex-start;
    }

    .brand {
        align-items: flex-start;
        gap: 10px;
    }

    .brand img {
        width: 70px;
        height: 70px;
        border-radius: 12px;
    }

    .brand-text h1 {
        font-size: 1.35rem;
    }

    .brand-text p {
        font-size: 0.55rem;
    }

}

@media (max-width: 400px) {
    .header-row {
        align-items: flex-start;
    }

    .brand {
        align-items: flex-start;
        gap: 10px;
    }

   .brand img {
    /* display: flex;
        align-items: center; */
        margin-top: 10px;
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .brand-text h1 {
        font-size: 1.1rem;
    }

    .brand-text p {
        font-size: 0.55rem;
    }

}
@media (max-width: 350px) {
    .brand-text h1 {
        font-size: 0.9rem;
    }
}
@media (max-width: 300px) {
    .brand-text h1 {
        font-size: 0.8rem;
    }
    .brand-text p {
        font-size: 0.5rem;
    }
}

/* Enhanced responsive hamburger + left drawer */
body.menu-open {
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 997;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 14px;
        right: 14px;
        width: clamp(40px, 11vw, 48px);
        height: clamp(40px, 11vw, 48px);
        border-radius: 14px;
        border: 1px solid rgba(242, 185, 21, 0.45);
        background: linear-gradient(145deg, #ffd979 0%, #f2b915 100%);
        box-shadow: 0 10px 24px rgba(7, 21, 58, 0.3);
        z-index: 1001;
        transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    }

    .nav-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(7, 21, 58, 0.35);
        filter: brightness(1.02);
    }

    .nav-toggle span {
        position: absolute;
        left: 50%;
        width: clamp(16px, 4.2vw, 22px);
        height: 2.4px;
        border-radius: 999px;
        background: #10235a;
        transform-origin: center;
        transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
    }

    .nav-toggle span:nth-child(1) {
        top: calc(50% - 6px);
        transform: translateX(-50%);
    }

    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translateX(-50%);
    }

    .nav-toggle span:nth-child(3) {
        top: calc(50% + 6px);
        transform: translateX(-50%);
    }

    .nav-toggle.active span:nth-child(1) {
        top: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.4);
    }

    .nav-toggle.active span:nth-child(3) {
        top: 50%;
        transform: translateX(-50%) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: min(84vw, 320px);
        max-width: 320px;
        height: 100svh;
        max-height: 100svh;
        padding: 84px 12px 24px;
        border-radius: 0 16px 16px 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: linear-gradient(180deg, rgba(5, 11, 28, 0.98), rgba(10, 20, 50, 0.96));
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 16px 0 44px rgba(0, 0, 0, 0.42);
        transform: translateX(-105%);
        opacity: 1;
        visibility: hidden;
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 998;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        animation: none;
    }

    body.menu-open .nav-links.active {
        touch-action: pan-y;
    }

    .nav-links > li {
        opacity: 0;
        transform: translateX(-12px);
        transition: opacity 0.24s ease, transform 0.24s ease;
    }

    .nav-links.active > li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active > li:nth-child(1) { transition-delay: 40ms; }
    .nav-links.active > li:nth-child(2) { transition-delay: 80ms; }
    .nav-links.active > li:nth-child(3) { transition-delay: 120ms; }
    .nav-links.active > li:nth-child(4) { transition-delay: 160ms; }
    .nav-links.active > li:nth-child(5) { transition-delay: 200ms; }
    .nav-links.active > li:nth-child(6) { transition-delay: 240ms; }
    .nav-links.active > li:nth-child(7) { transition-delay: 280ms; }
    .nav-links.active > li:nth-child(8) { transition-delay: 320ms; }
    .nav-links.active > li:nth-child(9) { transition-delay: 360ms; }
    .nav-links.active > li:nth-child(10) { transition-delay: 400ms; }

    .nav-link:hover {
        background: rgba(242, 185, 21, 0.12);
        color: #ffd978;
        transform: translateX(3px);
    }

    .nav-link.is-active {
        background: rgba(242, 185, 21, 0.18);
        color: #ffe9ad;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 12px 12px;
        font-size: 0.86rem;
    }

    .nav-dropdown {
        margin-top: 3px;
        background: rgba(255, 255, 255, 0.06);
    }

    .mobile-theme-slot {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 64px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .mobile-theme-slot .theme-toggle {
        display: inline-flex;
    }

    body.theme-light .nav-links {
        background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
        border-right: 1px solid rgba(16, 35, 90, 0.2);
        box-shadow: 16px 0 44px rgba(16, 35, 90, 0.18);
    }

    body.theme-light .nav-link {
        color: #10235a;
    }

    body.theme-light .nav-link:hover {
        background: rgba(16, 35, 90, 0.1);
        color: #10235a;
    }

    body.theme-light .nav-link.is-active {
        background: rgba(16, 35, 90, 0.16);
        color: #0a1b47;
    }

    body.theme-light .nav-link-main i {
        color: #10235a;
    }

    body.theme-light .nav-dropdown {
        background: rgba(16, 35, 90, 0.08);
        border-color: rgba(16, 35, 90, 0.2);
    }

    body.theme-light .nav-dropdown a {
        color: #10235a;
    }

    body.theme-light .nav-dropdown a:hover,
    body.theme-light .nav-dropdown a.is-active {
        background: rgba(16, 35, 90, 0.16);
        color: #0a1b47;
    }

    body.theme-light .mobile-theme-slot {
        border-top-color: rgba(16, 35, 90, 0.22);
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .nav-links {
        padding-top: 70px;
        padding-bottom: 18px;
    }
}

::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-track{
    background: #c8dcf5;
}

::-webkit-scrollbar-thumb{
    background: black;
    border-radius: 12px;
    border: 3px solid #d1e5ff;
}

/* body.theme-dark .wrap {
    background: #10235a;
    color: #ffd700;
}  */

body:not(.theme-light) .wrap {
    color: #b8c5e8;
}
body:not(.theme-light) .overview {
    color: white;
    background: #b8c5e8;
}

body:not(.theme-light) .chip {
            background: white;
            color: var(--accent);
        }


body:not(.theme-light) .table-wrap {
            background: #b8c5e8;
            border: 1px solid var(--line);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 12px 24px rgba(20, 40, 84, 0.12);
            color: black;
        }

body:not(.theme-light) .title {
    color: #b8c5e8;
}
body:not(.theme-light) .hero-tea {
    color: white;
    background: #b8c5e8;
}

body:not(.theme-light) .stat {
    color: white;
    background: #b8c5e8;
}

/* --- Floating Animation Keyframes --- */
@keyframes floatingUpDown {
    0%, 100% { 
        transform: translateY(0); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-12px); 
        box-shadow: 0 15px 25px rgba(242, 185, 21, 0.25);
        border-color: rgba(242, 185, 21, 0.6);
        background: rgba(242, 185, 21, 0.22);
    }
}

/* --- Final Dropdown Stacking & Visibility Fix --- */
.admission-form .form-grid {
    position: relative;
    z-index: 5;
}

/* When dropdown is open, bring the grid to the front of Message area */
.admission-form .form-grid:has(.custom-select.open),
.admission-form .form-grid.is-open-within {
    z-index: 99999 !important;
}

.admission-form .field {
    position: relative !important;
    z-index: 1;
}

/* When dropdown is open, bring the field to the front of other fields */
.admission-form .field:has(.custom-select.open),
.admission-form .field.is-open {
    z-index: 99999 !important;
    transform: none !important; /* Stop transform from creating new stacking context */
}

/* Ensure following elements stay behind the grid */
.admission-form label.reveal,
.admission-form textarea.reveal {
    position: relative;
    z-index: 1;
}

.admission-form .custom-options {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000000 !important; /* Extremely high */
    background: #1a1a1a !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
    display: none;
    max-height: 250px;
    overflow-y: auto;
}

.admission-form .custom-select.open .custom-options {
    display: block !important;
}

body.theme-light .admission-form .custom-options {
    background: #ffffff !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* --- About Section Mobile Responsiveness Fix --- */
@media (max-width: 768px) {
    .about-section {
        padding: 30px 15px;
    }
    
    .about-card, .facts-card {
        padding: 20px;
    }
    
    .about-text-box h3 {
        font-size: 1.5rem;
    }
    
    .vm-header h3 {
        font-size: 1.4rem;
    }
    
    .vm-subtitle {
        font-size: 0.9rem;
    }

    .about-sidebar-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 20px 10px;
    }
    
    .about-card, .facts-card {
        padding: 15px;
        border-radius: 18px;
    }
    
    .about-img-box {
        border-radius: 18px;
        aspect-ratio: 1; /* Square for very small screens */
    }
    
    .about-text-box h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .about-text-box p {
        font-size: 0.9rem;
    }
    
    .vm-title-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .vm-card {
        border-radius: 18px;
    }
    
    .vm-card-content {
        padding: 15px;
    }
    
    .vm-main-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .vm-icon-header h4 {
        font-size: 1.1rem;
    }
    
    .mission-list li {
        gap: 10px;
        padding: 10px 0;
    }
    
    .m-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }
    
    .support-card {
        padding: 15px;
        border-radius: 18px;
    }
    
    .support-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.3rem;
    }
    
    .sidebar-widget {
        padding: 15px;
        border-radius: 20px;
    }
    
    .amenity-card {
        padding: 10px;
    }
    
    .amenity-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .notice-item {
        padding: 12px 0;
    }
    
    .notice-date {
        font-size: 0.75rem;
    }
    
    .notice-item p {
        font-size: 0.85rem;
    }
}

/* Fix for horizontal overflow on very small screens (below 400px) */
@media (max-width: 400px) {
    .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .about-grid {
        gap: 20px;
    }
    
    .vm-container {
        gap: 15px;
    }
    
    .vm-card-image {
        height: 130px;
    }
    
    .vm-image-caption {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .mission-list li p {
        font-size: 0.85rem;
    }
    
    .action-item {
        padding: 10px;
    }
    
    .action-item span {
        font-size: 0.85rem;
    }
}


