/* ==========================================================================
   KILBIL E-LEARNING SCHOOL V2 — MASTER DESIGN SYSTEM STYLESHEET
   Brand Palette: Deep Forest Green #2D5A47 & Amber Gold #F29924
   ========================================================================== */

:root {
    /* Primary Brand Palette: Primary #FFD25D, Secondary #DD2D44, Third #0c7551 */
    --brand-primary: #FFD25D;          /* Warm Gold / Yellow */
    --brand-primary-dark: #E6BC4C;
    --brand-primary-deep: #000000;
    --brand-primary-light: #FFE28A;
    --brand-primary-soft: #FFF9E6;
    --brand-bg-light: #FAFAFA;

    --brand-secondary: #DD2D44;        /* Crimson Red */
    --brand-secondary-dark: #BA1F33;
    --brand-secondary-soft: #FDE8EA;

    --brand-third: #0c7551;            /* Deep Forest Green */
    --brand-third-dark: #085239;
    --brand-third-soft: #E6F3EE;

    --brand-accent: #DD2D44;
    --brand-accent-hover: #BA1F33;
    --brand-accent-soft: #FDE8EA;

    /* Primary Blue for Notice Ticker */
    --notice-blue: #0A58CA;
    --notice-blue-dark: #084298;

    /* Neutrals & Dark Tones: Pure High-Contrast (NO GRAY FONTS) */
    --brand-dark: #000000;
    --brand-navy: #000000;
    --brand-dark-soft: #111111;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-muted: #000000;
    --text-light: #FFFFFF;

    /* Backgrounds & Borders */
    --bg-white: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-muted: #F4F4F4;
    --border-subtle: #DEE2E6;
    --border-focus: #0c7551;

    /* Functional Colors */
    --color-success: #0c7551;
    --color-danger: #DD2D44;
    --color-warning: #FFD25D;
    --color-info: #0A58CA;

    /* Shadows & Elevations */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 30px rgba(12, 117, 81, 0.25);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;

    /* Typography */
    --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Global Resets & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.25;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.15rem;
}

a {
    color: var(--brand-primary-deep);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-accent);
}

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

/* --------------------------------------------------------------------------
   Absolute High-Contrast Typography (Strictly Black & White — No Gray Fonts)
   -------------------------------------------------------------------------- */
.text-muted,
.text-secondary,
.text-black-50,
.text-body-secondary {
    color: #000000 !important;
}

.text-white-50,
.text-light {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

p {
    color: #000000;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Progress Bar & Accessibility
   -------------------------------------------------------------------------- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    z-index: 99999;
    transition: width 0.1s linear;
}

:focus-visible {
    outline: 3px solid var(--brand-primary);
    outline-offset: 3px;
}

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

/* --------------------------------------------------------------------------
   Top Bar & Header Navigation
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background-color: var(--brand-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.825rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-announcement-bar a {
    color: rgba(255, 255, 255, 0.9);
}

.top-announcement-bar a:hover {
    color: var(--brand-primary);
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
}

.top-info-item i {
    color: var(--brand-primary);
}

.main-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.main-navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar-brand-logo {
    height: 52px;
    width: auto;
    max-width: 62px;
    object-fit: contain;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    transition: transform var(--transition-fast);
}

.navbar-brand-wrapper:hover .navbar-brand-logo {
    transform: scale(1.04);
}

.brand-text-block .school-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    line-height: 1.1;
    margin: 0;
}

.brand-text-block .school-title span {
    color: var(--brand-primary-deep);
}

.brand-text-block .school-tagline {
    font-size: 0.725rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 0;
}

.nav-link-custom {
    font-family: var(--font-heading);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link-custom:hover {
    color: var(--brand-primary-deep) !important;
    background-color: var(--brand-primary-soft);
}

.nav-link-custom.active {
    color: var(--brand-primary-deep) !important;
    background-color: var(--brand-primary-soft);
    position: relative;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-pill);
}

/* Language Button in Navbar */
.btn-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--brand-dark);
    transition: all var(--transition-fast);
}

.btn-lang-toggle:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary-deep);
}

/* --------------------------------------------------------------------------
   Buttons & Micro-Components
   -------------------------------------------------------------------------- */
.btn-brand-primary {
    background-color: var(--brand-primary);
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 210, 93, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-brand-primary:hover {
    background-color: var(--brand-primary-dark);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 210, 93, 0.6);
}

.btn-brand-secondary {
    background-color: var(--brand-secondary);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(221, 45, 68, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-brand-secondary:hover {
    background-color: var(--brand-secondary-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 45, 68, 0.5);
}

.btn-brand-third {
    background-color: var(--brand-third);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(12, 117, 81, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-brand-third:hover {
    background-color: var(--brand-third-dark);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 117, 81, 0.5);
}

.btn-brand-accent {
    background-color: var(--brand-accent);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-brand-accent:hover {
    background-color: var(--brand-accent-hover);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 129, 35, 0.45);
}

.btn-brand-outline {
    background-color: transparent;
    color: var(--brand-dark) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-brand-outline:hover {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary-deep) !important;
    transform: translateY(-2px);
}

/* Badges */
.badge-kilbil {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-kilbil-green {
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid rgba(45, 90, 71, 0.25);
}

.badge-kilbil-accent {
    background-color: var(--brand-accent-soft);
    color: var(--brand-accent-hover);
    border: 1px solid rgba(242, 129, 35, 0.25);
}

/* Section Headings */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.15rem;
    letter-spacing: -0.02em;
    margin: 0.8rem 0 1rem;
    color: var(--brand-dark);
}

.section-title span {
    color: var(--brand-primary-deep);
    position: relative;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero Slider & Interactive Banners
   -------------------------------------------------------------------------- */
.hero-slider-section {
    position: relative;
    background-color: var(--brand-navy);
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 35, 30, 0.94) 0%, rgba(22, 36, 33, 0.82) 50%, rgba(45, 90, 71, 0.45) 100%);
}

.hero-content-box {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    color: #FFFFFF;
}

.hero-content-box .hero-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 1.25rem 0 1.5rem;
}

.hero-content-box .hero-main-title span {
    color: var(--brand-primary-light);
}

.hero-content-box .hero-lead-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin-bottom: 2rem;
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 25px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.hero-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-control-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 5%;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.hero-dot {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    width: 48px;
    background: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   Notice Marquee Ticker — Primary Blue with Automatic Scroll
   -------------------------------------------------------------------------- */
.notice-ticker-bar,
.marquee-ticker-bar {
    background: #0A58CA;
    color: #FFFFFF !important;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #FFD25D;
    box-shadow: 0 4px 15px rgba(10, 88, 202, 0.35);
    z-index: 10;
}

.notice-ticker-container {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    width: 100%;
}

.ticker-badge,
.notice-ticker-badge {
    background: #FFD25D;
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.ticker-badge i,
.notice-ticker-badge i {
    color: #DD2D44;
    animation: iconBellShake 1.8s infinite;
}

@keyframes iconBellShake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(0deg); }
}

.ticker-content-track,
.ticker-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-marquee-inner,
.marquee-ticker-content {
    display: flex;
    white-space: nowrap;
    animation: continuousTicker 35s linear infinite;
    will-change: transform;
}

.notice-ticker-bar:hover .ticker-marquee-inner,
.notice-ticker-bar:hover .marquee-ticker-content,
.marquee-ticker-bar:hover .marquee-ticker-content {
    animation-play-state: paused;
}

.ticker-item,
.marquee-item {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 35px;
    white-space: nowrap;
}

.ticker-item strong,
.marquee-item strong {
    color: #FFD25D !important;
    font-weight: 800;
    margin-right: 8px;
}

.ticker-item a,
.marquee-item a {
    color: #FFFFFF !important;
    text-decoration: underline;
}

@keyframes continuousTicker {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-slide {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Card Layouts & Sections
   -------------------------------------------------------------------------- */
/* ==========================================================================
   WHY KILBIL SECTION — COLORFUL CARDS (Primary, Danger, Success, Info)
   ========================================================================== */
.why-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--card-color);
}

.why-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    background: var(--card-color);
    box-shadow: 0 6px 16px var(--card-shadow);
    transition: transform 0.35s ease;
}

.why-card:hover .why-card-icon {
    transform: scale(1.12) rotate(6deg);
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: #000000 !important;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.why-card-primary {
    --card-color: #FFD25D;
    --card-shadow: rgba(255, 210, 93, 0.4);
    border-color: rgba(255, 210, 93, 0.5);
    background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
}
.why-card-primary .why-card-icon {
    color: #000000;
}

.why-card-danger {
    --card-color: #DD2D44;
    --card-shadow: rgba(221, 45, 68, 0.35);
    border-color: rgba(221, 45, 68, 0.35);
    background: linear-gradient(180deg, #FFF6F7 0%, #FFFFFF 100%);
}

.why-card-success {
    --card-color: #0c7551;
    --card-shadow: rgba(12, 117, 81, 0.35);
    border-color: rgba(12, 117, 81, 0.35);
    background: linear-gradient(180deg, #F3F9F6 0%, #FFFFFF 100%);
}

.why-card-info {
    --card-color: #0A58CA;
    --card-shadow: rgba(10, 88, 202, 0.35);
    border-color: rgba(10, 88, 202, 0.35);
    background: linear-gradient(180deg, #F3F7FD 0%, #FFFFFF 100%);
}

/* ==========================================================================
   CAMPUS EXCELLENCE (UNIQUE VIBRANT STYLE)
   ========================================================================== */
.facility-unique-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 30px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--fac-border, #EAEAEA);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.facility-unique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px var(--fac-shadow, rgba(0, 0, 0, 0.14));
    border-color: var(--fac-color);
}

.facility-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.facility-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #FFFFFF;
    background: var(--fac-color);
    box-shadow: 0 6px 18px var(--fac-shadow);
    transition: transform 0.4s ease;
}

.facility-unique-card:hover .facility-icon-circle {
    transform: scale(1.12) rotate(-6deg);
}

.facility-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--fac-soft);
    color: var(--fac-color);
    border: 1px solid var(--fac-color);
}

.facility-unique-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 12px;
}

.facility-unique-card p {
    font-size: 0.95rem;
    color: #000000 !important;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.facility-gold {
    --fac-color: #FFD25D;
    --fac-soft: #FFF9E6;
    --fac-border: rgba(255, 210, 93, 0.5);
    --fac-shadow: rgba(255, 210, 93, 0.4);
}
.facility-gold .facility-icon-circle {
    color: #000000;
}
.facility-gold .facility-tag {
    color: #8C6D00;
}

.facility-crimson {
    --fac-color: #DD2D44;
    --fac-soft: #FDE8EA;
    --fac-border: rgba(221, 45, 68, 0.4);
    --fac-shadow: rgba(221, 45, 68, 0.35);
}

.facility-emerald {
    --fac-color: #0c7551;
    --fac-soft: #E6F3EE;
    --fac-border: rgba(12, 117, 81, 0.4);
    --fac-shadow: rgba(12, 117, 81, 0.35);
}

.facility-purple {
    --fac-color: #6F42C1;
    --fac-soft: #F2ECFB;
    --fac-border: rgba(111, 66, 193, 0.4);
    --fac-shadow: rgba(111, 66, 193, 0.35);
}

.facility-orange {
    --fac-color: #FD7E14;
    --fac-soft: #FFF1E6;
    --fac-border: rgba(253, 126, 20, 0.4);
    --fac-shadow: rgba(253, 126, 20, 0.35);
}

.facility-blue {
    --fac-color: #0A58CA;
    --fac-soft: #EBF2FC;
    --fac-border: rgba(10, 88, 202, 0.4);
    --fac-shadow: rgba(10, 88, 202, 0.35);
}

.card-kilbil {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-kilbil:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 71, 0.4);
}

.card-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: transform var(--transition-fast);
}

.card-kilbil:hover .card-icon-circle {
    transform: scale(1.1) rotate(4deg);
    background-color: var(--brand-primary);
    color: #FFFFFF;
}

/* Facility Grid Items */
.facility-card-item {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-fast);
}

.facility-card-item:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    transform: translateX(4px);
}

.facility-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--brand-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.facility-card-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.facility-card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Leadership Quote Cards — Executive, Responsive & Unclipped */
.leadership-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 71, 0.35);
}

.leadership-card-inner {
    display: flex;
    flex-direction: column;
    padding: 28px;
    height: 100%;
    gap: 20px;
}

@media (min-width: 576px) {
    .leadership-card-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 26px;
    }
}

.leadership-photo-box {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    .leadership-photo-box {
        margin-bottom: 0;
        width: 160px;
    }
}

.leadership-avatar-img {
    width: 150px;
    height: 175px;
    object-fit: cover;
    object-position: center 12%;
    border-radius: 14px;
    border: 3px solid var(--brand-primary);
    box-shadow: 0 8px 20px rgba(45, 90, 71, 0.16);
    background-color: var(--brand-bg-light);
    display: block;
    margin: 0 auto;
}

.leadership-badge-role {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.775rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leadership-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 2px;
}

.leadership-title-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}

.leadership-quote {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.935rem;
    line-height: 1.7;
    position: relative;
    padding-left: 18px;
    border-left: 3px solid var(--brand-accent);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Interactive Gallery & Filter Tabs
   -------------------------------------------------------------------------- */
.gallery-tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-filter-btn {
    border: 1px solid var(--border-subtle);
    background: #FFFFFF;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
    color: var(--brand-primary-deep);
    border-color: var(--brand-primary);
}

.gallery-filter-btn.active {
    background: var(--brand-primary-deep);
    color: #FFFFFF;
    border-color: var(--brand-primary-deep);
    box-shadow: 0 4px 12px rgba(71, 110, 0, 0.25);
}

.gallery-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    background: #FFFFFF;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

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

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(23, 36, 51, 0.88) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #FFFFFF;
}

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

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay h5 {
    color: #FFFFFF;
    font-size: 1rem;
    margin: 0;
}

.gallery-card-overlay span {
    font-size: 0.8rem;
    color: var(--brand-primary-light);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(14, 22, 33, 0.94);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content-box {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-content-box img {
    max-height: 80vh;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: #FFFFFF;
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Zoho Form Container & Admissions Wrapper
   -------------------------------------------------------------------------- */
.admissions-form-container {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    overflow: hidden;
}

.zoho-iframe-responsive {
    width: 100%;
    min-height: 2200px;
    border: none;
    display: block;
}

/* --------------------------------------------------------------------------
   Testimonials Carousel / Grid
   -------------------------------------------------------------------------- */
.testimonial-card-v2 {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}

.testimonial-card-v2:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 71, 0.35);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #FFB800;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.testimonial-body {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.testimonial-avatar-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.testimonial-author-tag {
    font-size: 0.775rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer Layout
   -------------------------------------------------------------------------- */
.footer-v2 {
    background-color: var(--brand-navy);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 70px;
    border-top: 4px solid var(--brand-primary);
}

.footer-brand-logo {
    height: 56px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
    border-radius: 4px;
    border: none;
    margin-bottom: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: var(--radius-pill);
}

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

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.925rem;
    transition: all var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--brand-primary-light);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.925rem;
}

.footer-contact-item i {
    color: var(--brand-primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 22px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.footer-bottom-bar a {
    color: var(--brand-primary-light);
}

/* --------------------------------------------------------------------------
   Floating Controls (WhatsApp & Back-to-Top)
   -------------------------------------------------------------------------- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all var(--transition-base);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #FFFFFF !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--brand-dark);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.floating-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.floating-back-to-top:hover {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Language Selection Modal
   -------------------------------------------------------------------------- */
.lang-modal-dialog {
    max-width: 480px;
}

.lang-option-card {
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--text-primary);
}

.lang-option-card:hover, .lang-option-card.active {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary-deep);
}

.lang-option-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.lang-option-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints & Mobile Drawer
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Inner Page Hero Breadcrumb Banner (With Real School Photo Background)
   -------------------------------------------------------------------------- */
.page-hero-breadcrumb {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    padding: 60px 0;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 35, 30, 0.92) 0%, rgba(30, 61, 48, 0.85) 60%, rgba(242, 153, 36, 0.35) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 1rem;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-custom li a:hover {
    color: var(--brand-accent);
}

.breadcrumb-custom li.active {
    color: #FFFFFF;
    font-weight: 600;
}

.breadcrumb-custom li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.45);
    margin-right: 8px;
}

/* --------------------------------------------------------------------------
   Automatic Scrolling Parent Feedback (Marquee / Carousel)
   -------------------------------------------------------------------------- */
.testimonials-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.testimonials-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
}

.testimonials-marquee-wrapper:hover .testimonials-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-scroll-card {
    width: 360px;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 26px 24px;
    box-shadow: 0 4px 16px rgba(20, 35, 30, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(45, 90, 71, 0.12);
    border-color: rgba(45, 90, 71, 0.3);
}

.testimonial-lang-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.725rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.testimonial-lang-badge.en {
    background: #EBF3EF;
    color: #2D5A47;
}

.testimonial-lang-badge.hi {
    background: #FEF3C7;
    color: #92400E;
}

.testimonial-lang-badge.mr {
    background: #E0E7FF;
    color: #3730A3;
}

/* --------------------------------------------------------------------------
   Teachers / Faculty Cards
   -------------------------------------------------------------------------- */
.teacher-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    padding: 28px 20px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(45, 90, 71, 0.15);
    border-color: rgba(45, 90, 71, 0.3);
}

.teacher-avatar-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--brand-primary);
    box-shadow: 0 6px 18px rgba(45, 90, 71, 0.15);
    overflow: hidden;
    margin-bottom: 18px;
    background-color: var(--brand-bg-light);
}

.teacher-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-fast);
}

.teacher-card:hover .teacher-avatar-frame img {
    transform: scale(1.08);
}

.teacher-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.teacher-designation {
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.teacher-subject-badge {
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary-dark);
    font-size: 0.775rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Vision & Mission Cards
   -------------------------------------------------------------------------- */
.vm-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 71, 0.35);
}

.vm-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .hero-content-box .hero-main-title {
        font-size: 2.35rem;
    }

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

    .nav-link-custom.active::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content-box .hero-main-title {
        font-size: 1.85rem;
    }

    .hero-slider-section {
        min-height: 480px;
    }

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

    .card-kilbil {
        padding: 24px 18px;
    }

    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.65rem;
        bottom: 20px;
        right: 18px;
    }

    .floating-back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .page-hero-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   ACADEMICS SECTION — EYE-CATCHING CARDS & ANIMATED ICONS
   Colors: Primary #FFD25D, Secondary #DD2D44, Third #0c7551
   ========================================================================== */
.academics-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 2px solid #EAEAEA;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 38px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.academics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.academics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--card-accent, #FFD25D);
}

.academics-card.card-primary {
    --card-accent: #FFD25D;
    border-color: rgba(255, 210, 93, 0.6);
}
.academics-card.card-secondary {
    --card-accent: #DD2D44;
    border-color: rgba(221, 45, 68, 0.5);
}
.academics-card.card-third {
    --card-accent: #0c7551;
    border-color: rgba(12, 117, 81, 0.5);
}

.academics-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 22px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: academicIconFloat 4s ease-in-out infinite;
}

.academics-card:hover .academics-icon-box {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.academics-card.card-primary .academics-icon-box {
    background: #FFD25D;
    color: #000000;
    animation-delay: 0s;
}

.academics-card.card-secondary .academics-icon-box {
    background: #DD2D44;
    color: #FFFFFF;
    animation-delay: 1.3s;
}

.academics-card.card-third .academics-icon-box {
    background: #0c7551;
    color: #FFFFFF;
    animation-delay: 2.6s;
}

@keyframes academicIconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.academics-grade-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.academics-card.card-primary .academics-grade-badge {
    background: #FFF8E1;
    color: #8C6D00;
    border: 1px solid #FFD25D;
}

.academics-card.card-secondary .academics-grade-badge {
    background: #FEE8EA;
    color: #DD2D44;
    border: 1px solid #DD2D44;
}

.academics-card.card-third .academics-grade-badge {
    background: #E8F5E9;
    color: #0c7551;
    border: 1px solid #0c7551;
}

.academics-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 12px;
}

.academics-card p {
    font-size: 0.95rem;
    color: #000000 !important;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.academics-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.academics-feature-list li {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.academics-feature-list li i {
    font-size: 1.15rem;
}

.academics-card.card-primary .academics-feature-list li i {
    color: #D4A017;
}

.academics-card.card-secondary .academics-feature-list li i {
    color: #DD2D44;
}

.academics-card.card-third .academics-feature-list li i {
    color: #0c7551;
}

/* ==========================================================================
   TEACHER DIRECTORY & SHOWCASE — UNIFORM HEIGHT & WIDTH LAYOUT
   ========================================================================== */
.teacher-uniform-card {
    background: #FFFFFF;
    border-radius: 22px;
    border: 2px solid #EFEFEF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.teacher-uniform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(12, 117, 81, 0.16);
    border-color: #0c7551;
}

.teacher-card-accent-bar {
    height: 6px;
    background: linear-gradient(90deg, #FFD25D 0%, #DD2D44 50%, #0c7551 100%);
    width: 100%;
}

.teacher-uniform-avatar-box {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #FFD25D;
    box-shadow: 0 8px 20px rgba(255, 210, 93, 0.35);
    background: #FDFBF7;
    position: relative;
}

.teacher-uniform-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.teacher-uniform-card:hover .teacher-uniform-img {
    transform: scale(1.08);
}

.teacher-uniform-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF9E6;
    color: #D4A017;
    font-size: 3rem;
}

.teacher-uniform-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 8px;
}

.teacher-uniform-role-badge {
    background: linear-gradient(135deg, #0c7551 0%, #128a60 100%);
    color: #FFFFFF !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(12, 117, 81, 0.25);
    display: inline-block;
}

.teacher-detail-box {
    background: #FAFCFA;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #E8EFEA;
}

.teacher-detail-box strong {
    color: #000000 !important;
}

.btn-teacher-call {
    background: linear-gradient(135deg, #0c7551 0%, #085239 100%);
    color: #FFFFFF !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(12, 117, 81, 0.28);
}

.btn-teacher-call:hover {
    background: linear-gradient(135deg, #DD2D44 0%, #BA1F33 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 45, 68, 0.35);
}

/* ==========================================================================
   HOMEPAGE TEACHER MARQUEE — 4 AT A TIME CONTINUOUS INFINITE SCROLL
   ========================================================================== */
.teachers-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 25px;
    border-radius: 20px;
}

.teachers-marquee-wrapper::before,
.teachers-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}

.teachers-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #FAFAFA 0%, rgba(250, 250, 250, 0) 100%);
}

.teachers-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #FAFAFA 0%, rgba(250, 250, 250, 0) 100%);
}

.teachers-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: teacherMarqueeScroll 40s linear infinite;
    will-change: transform;
}

.teachers-marquee-wrapper:hover .teachers-marquee-track {
    animation-play-state: paused;
}

/* Default card width for exactly 4 cards at a time */
.teacher-marquee-card {
    width: 295px;
    flex: 0 0 295px;
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .teacher-marquee-card {
        width: 306px;
        flex: 0 0 306px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .teacher-marquee-card {
        width: 261px;
        flex: 0 0 261px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .teacher-marquee-card {
        width: 216px;
        flex: 0 0 216px;
    }
    .teacher-uniform-name {
        font-size: 1.05rem;
    }
    .teacher-uniform-avatar-box {
        width: 110px;
        height: 110px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .teacher-marquee-card {
        width: 336px;
        flex: 0 0 336px;
    }
}

@media (max-width: 767px) {
    .teacher-marquee-card {
        width: 280px;
        flex: 0 0 280px;
    }
}

@keyframes teacherMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   FULL WIDTH FOOTER COPYRIGHT BAR
   ========================================================================== */
.footer-fullwidth-copyright {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 22px 0;
    color: #FFFFFF !important;
}

.footer-fullwidth-copyright p,
.footer-fullwidth-copyright span,
.footer-fullwidth-copyright strong {
    color: #FFFFFF !important;
}

.footer-dev-link {
    color: #FFD25D !important;
    font-weight: 800;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.footer-dev-link:hover {
    color: #FFFFFF !important;
    text-decoration: none;
}


