/* --- Director Premium Section Styling --- */
.director-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    position: relative;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.text-navy {
    color: #0f2347;
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0a47a9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.director-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(13, 110, 253, 0.15);
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #0d6efd;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.director-heading {
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Image Framing */
.director-card-wrapper {
    position: relative;
    padding: 15px;
    max-width: 380px;
    margin: 0 auto;
}

.director-photo-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.photo-accent-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 2px dashed #0d6efd;
    border-radius: 24px;
    opacity: 0.35;
    z-index: 1;
}

.director-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 35, 71, 0.12);
    border: 5px solid #ffffff;
    background-color: #f1f5f9;
}

/* Floating Metric Badge */
.floating-stat-badge {
    position: absolute;
    bottom: -15px;
    right: 5px;
    z-index: 3;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.floating-stat-badge .badge-icon {
    width: 38px;
    height: 38px;
    background: #eff6ff;
    color: #0d6efd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Quote Callout Box */
.director-quote-box {
    position: relative;
    background: #ffffff;
    border-left: 4px solid #0d6efd;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.director-quote-box .quote-mark {
    position: absolute;
    top: -12px;
    right: 15px;
    font-size: 3rem;
    color: #0d6efd;
    opacity: 0.1;
    line-height: 1;
}

.quote-text {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
}

.director-body-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #475569;
}

/* Pillar Mini Cards */
.quality-pillar-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease-in-out;
}

.quality-pillar-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.pillar-icon {
    font-size: 1.4rem;
    color: #0d6efd;
    background: #f0f7ff;
    padding: 8px;
    border-radius: 10px;
    line-height: 1;
    display: inline-flex;
}

.director-signoff {
    border-color: #e2e8f0 !important;
}




/* =====================================================
   NEXT-LEVEL SCHOOL WEBSITE DESIGN SYSTEM & POLISH
   ===================================================== */


/* Smooth Scrolling & Typography Enhancements */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =====================================================
   1. STICKY NAVBAR GLASSMORPHISM POLISH
   ===================================================== */
.public-navbar {
    background: rgba(11, 29, 58, 0.94) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.public-navbar .nav-link {
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.public-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-navbar .nav-link.active::after,
.public-navbar .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* =====================================================
   2. NEXT-LEVEL GALLERY HIGHLIGHTS & CARDS
   ===================================================== */
.public-card {
    border: 1px solid var(--elite-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--elite-shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    overflow: hidden;
}

.public-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--elite-hover-shadow);
    border-color: rgba(0, 99, 247, 0.25);
}

/* Gallery Thumbnail Zoom Effect */
.gallery-thumb-wrap {
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}

.gallery-thumb {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.public-card:hover .gallery-thumb {
    transform: scale(1.07);
}

/* =====================================================
   3. HERO BANNER & BUTTON GLOWS
   ===================================================== */
.hero-section {
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,29,58,0.2) 0%, rgba(11,29,58,0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-cta-primary {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.hero-cta-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* =====================================================
   4. SECTION HEADERS WITH SUBTLE ACCENT LINE
   ===================================================== */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--elite-primary);
    border-radius: 2px;
    margin-top: 8px;
}

/* =====================================================
   5. MODERN BADGES & STATS STRIP
   ===================================================== */
.stats-strip {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-top: 1px solid var(--elite-border);
    border-bottom: 1px solid var(--elite-border);
}

.stat-item .num {
    background: linear-gradient(135deg, #0b1d3a 0%, #0063f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




.cta-band {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-navy-800));
    color: #ffffff;
    padding: clamp(30px, 4vw, 45px) 0; /* Reduced from 70px */
    text-align: center;
}

.public-footer {
    background: linear-gradient(180deg, #0b2545 0%, #071930 100%);
    color: #b0c2de;
    padding: 45px 0 24px;
    margin-top: 0px; /* Removed the 60px gap completely */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}