/* Color Brand Overrides: Red (#cc0000) & Deep Royal/Navy Blue (#0a192f) */
:root {
    --brand-red: #cc0000;
    --brand-red-hover: #990000;
    --brand-navy: #0a192f;
    --brand-navy-light: #172a45;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 1. Top Bar */
.top-bar {
    background-color: var(--brand-red);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bar-separator {
    color: #fff;
    font-weight: bold;
}
.social-icons a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}
.social-icons a:hover {
    opacity: 0.7;
}

/* 2. Header & Nav (Red links, bigger size, wider spacing) */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-bottom: 3px solid var(--brand-red);
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.school-logo {
    max-height: 55px;
    width: auto;
}
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}
.main-nav li {
    position: relative;
    margin-left: 30px;
}
.main-nav a {
    text-decoration: none;
    color: var(--brand-red);
    font-weight: bold;
    font-size: 17px;
    transition: color 0.3s;
}
.main-nav a:hover {
    color: var(--brand-navy);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 99;
    flex-direction: column;
    border-top: 3px solid var(--brand-red);
}
.dropdown-content a {
    padding: 10px 15px;
    display: block;
    font-weight: normal;
    color: #333;
}
.dropdown-content a:hover {
    color: #fff;
    background-color: var(--brand-red);
}
.dropdown:hover .dropdown-content {
    display: flex;
}

/* 3. Hero Slide with Portrait Transparent White Floating Box */
.hero-slider {
    position: relative;
    height: 640px;
    background-color: var(--brand-navy);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.65);
    z-index: 2;
}
.hero-slider-layout {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    color: #fff;
    flex: 1;
}
.serif-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 15px;
    font-weight: normal;
}
.serif-title .lion-down {
    display: block;
    margin-top: 5px;
    color: var(--brand-red);
}
.hero-caption {
    font-size: 20px;
    margin-bottom: 25px;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
}
.btn-primary {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-primary:hover {
    background-color: var(--brand-red-hover);
}

/* Right-Aligned Portrait & Transparent White Floating Box */
.floating-admission-box {
    flex: 0 0 360px;
    min-height: 460px;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-top: 6px solid var(--brand-red);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    color: var(--brand-navy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.floating-badge {
    background-color: var(--brand-red);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}
.floating-admission-box h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--brand-navy);
    line-height: 1.25;
}
.floating-admission-box p {
    font-size: 15px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.6;
}
.btn-floating-admission {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--brand-red);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
}
.btn-floating-admission:hover {
    background-color: var(--brand-red-hover);
}

/* Dynamic Split Section */
.dynamic-split-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #fff 0%, #fff5f5 100%);
    border-bottom: 4px solid rgba(204, 0, 0, 0.1);
}
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}
.multi-photo-slider-container {
    position: relative;
    background-color: #ffe6e6;
    border: 3px solid var(--brand-red);
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
}
.sub-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.sub-slide.active {
    opacity: 1;
}
.slider-caption-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--brand-red);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 4;
}

.section-title {
    font-size: 38px;
    color: var(--brand-navy);
    margin-bottom: 25px;
    line-height: 1.2;
}
.serif-large-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 46px;
    line-height: 1.2;
}
.red-text {
    color: var(--brand-red);
}
.split-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}
.highlight-text {
    font-size: 17px;
    color: var(--brand-red);
    margin-top: 20px;
}

/* Circular Photo Showcase Section */
.circular-showcase-section {
    padding: 60px 0 80px 0;
    background-color: #fff;
}
.circular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.circular-card {
    text-align: center;
    background: #fff5f5;
    padding: 35px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.15);
}
.circle-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: 4px solid var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.circular-card h3 {
    color: var(--brand-navy);
    font-size: 20px;
    margin-bottom: 8px;
}
.circle-caption {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* Fancy Heading Styling */
.fancy-heading {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-style: italic;
    color: var(--brand-red);
    letter-spacing: 0.5px;
}

/* Three Feature Programs Showcase Section */
.programs-showcase {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff1f1 100%);
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.program-box {
    background: #fff;
    border-left: 6px solid var(--brand-red);
    padding: 35px 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}
.program-box:hover {
    transform: translateY(-5px);
}
.program-box h3 {
    color: var(--brand-navy);
    font-size: 22px;
    margin-bottom: 12px;
}
.program-box p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}
.btn-readmore {
    display: inline-block;
    background-color: var(--brand-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transition: background 0.3s;
    align-self: flex-start;
}
.btn-readmore:hover {
    background-color: var(--brand-red-hover);
}

/* Curriculum & Activities Sections */
.curriculum-section, .activities-section {
    padding: 70px 0;
    background-color: #fff;
}
.section-heading {
    font-size: 34px;
    color: var(--brand-navy);
    margin-bottom: 15px;
    text-align: center;
}
.curriculum-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.card {
    background: #fff5f5;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.05);
    border-top: 5px solid var(--brand-red);
    border-left: 1px solid rgba(204, 0, 0, 0.15);
    border-right: 1px solid rgba(204, 0, 0, 0.15);
    border-bottom: 1px solid rgba(204, 0, 0, 0.15);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 {
    color: var(--brand-navy);
    margin-bottom: 12px;
    font-size: 20px;
}
.card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}
.inspiration-quote {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    font-weight: bold;
    color: var(--brand-red);
    font-size: 18px;
}

/* Contact Us Section with Left Image Container & Left-Aligned Form */
.contact-container-section {
    padding: 70px 0;
    background: linear-gradient(to top, #f8fafc 0%, #fff 100%);
}
.contact-section-header {
    margin-bottom: 30px;
}
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}
.contact-image-container {
    position: relative;
    background-color: #ffe6e6;
    border: 3px solid var(--brand-red);
    border-radius: 8px;
    overflow: hidden;
    min-height: 450px;
}
.contact-img-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(10, 25, 47, 0.85);
    color: #fff;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
}
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.08);
    border-top: 6px solid var(--brand-red);
    text-align: left; /* Left-aligned form contents */
}
.web-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.web-contact-form .form-group {
    margin-bottom: 20px;
}
.web-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--brand-navy);
    font-size: 14px;
}
.web-contact-form input,
.web-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fff;
}
.web-contact-form input:focus,
.web-contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 5px rgba(204, 0, 0, 0.2);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--brand-navy);
    color: #fff;
    padding: 50px 0;
    text-align: center;
    border-top: 5px solid var(--brand-red);
}
.newsletter-content h3 {
    margin-bottom: 20px;
    font-size: 24px;
}
.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}
.subscribe-form input {
    padding: 12px 15px;
    flex: 1;
    border: none;
    border-radius: 4px;
    font-size: 15px;
}

/* Footer Styling */
.site-footer {
    background-color: var(--brand-navy);
    color: #fff;
    padding: 50px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--brand-red);
}
.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--brand-red);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive layout adjustments */
@media(max-width: 900px) {
    .hero-slider-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .floating-admission-box {
        width: 100%;
        flex: none;
        min-height: auto;
    }
    .split-grid, .contact-split-grid {
        grid-template-columns: 1fr;
    }
    .web-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
/* Modern International Preschool Styling (About Philosophy Page) */
body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: #334155;
    background-color: #ffffff;
}

.modern-about-hero {
    position: relative;
    height: 450px;
    background-color: var(--brand-navy);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content-modern {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
}

.sub-badge {
    background-color: var(--brand-red);
    color: #fff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.serif-title-lg {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 18px;
    color: #cbd5e1;
    font-weight: 400;
}

/* Dynamic Asymmetric Layout */
.modern-section {
    padding: 90px 0;
}

.bg-light {
    background-color: #f8fafc;
}

.dynamic-split-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dynamic-split-row.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.dynamic-split-row.reverse .dynamic-image-mosaic {
    order: -1;
}

.section-tag {
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.modern-heading {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: var(--brand-navy);
    line-height: 1.25;
    margin-bottom: 25px;
}

.dynamic-text-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

/* Dynamic Image Mosaic (No borderlines, modern overlapping/floating look) */
.dynamic-image-mosaic {
    position: relative;
    height: 420px;
}

.mosaic-card {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.12);
}

.mosaic-card.img-tall {
    width: 75%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #cbd5e1; /* Fallback placeholder tint */
}

.mosaic-card.img-small {
    width: 55%;
    height: 60%;
    bottom: -20px;
    right: 0;
    border: 6px solid #fff;
    background-color: #94a3b8; /* Fallback placeholder tint */
}

/* Immersive Parallax Panels */
.immersive-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 110px 0;
    text-align: center;
    color: #fff;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.88) 0%, rgba(204, 0, 0, 0.75) 100%);
    z-index: 1;
}

.parallax-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.panel-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.parallax-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.parallax-inner p {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    line-height: 1.6;
    font-style: italic;
    color: #f8fafc;
}

/* Beliefs Modern Grid */
.section-desc {
    max-width: 650px;
    margin: 10px auto 50px auto;
    font-size: 17px;
    color: #64748b;
    line-height: 1.6;
}

.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    text-align: left;
}

.belief-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.belief-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 65px;
    height: 65px;
    background-color: #fff1f1;
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.belief-box h3 {
    font-size: 20px;
    color: var(--brand-navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.belief-box p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* Core Values Badges Wrap */
.modern-values-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 35px;
}

.v-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.v-badge:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-3px);
}

/* Responsive Scaling */
@media(max-width: 900px) {
    .dynamic-split-row, .dynamic-split-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dynamic-split-row.reverse .dynamic-image-mosaic {
        order: 0;
    }
    .dynamic-image-mosaic {
        height: 350px;
    }
    .serif-title-lg {
        font-size: 38px;
    }
    .immersive-parallax {
        background-attachment: scroll;
    }
}
/* Board of Directors Page Styling (Red & White Theme) */
.board-container-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.board-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #f1f5f9;
}

.board-row.reverse {
    grid-template-columns: 1fr 1.2fr;
    background-color: #fff5f5; /* Subtle red-tinted background stripe for alternating rows */
    padding: 60px 40px;
    border-radius: 12px;
    border-bottom: none;
    margin: 30px 0;
}

.board-row.reverse .board-pic-col {
    order: -1; /* Places the picture on the left */
}

.board-tag {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.board-text-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: var(--brand-navy);
    margin-bottom: 5px;
    line-height: 1.2;
}

.board-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.board-text-col p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Big Box Picture Styling */
.big-box-picture {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: #e2e8f0;
    border: 4px solid var(--brand-red);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.1);
}

.big-box-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pic-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(10, 25, 47, 0.85);
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    border-left: 3px solid var(--brand-red);
}

/* Responsive Scaling for Mobile Screens */
@media(max-width: 900px) {
    .board-row, .board-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    .board-row.reverse .board-pic-col {
        order: 0; /* Stacks image above text on mobile */
    }
    .big-box-picture {
        height: 320px;
    }
}
/* Light Transparent Blue Overlay for Board Spread Hero */
.board-hero-spread {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-overlay-light-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.45); /* Deep Navy Blue with light 45% transparency */
    backdrop-filter: blur(2px);
    z-index: 1;
}
/* Director Name Styling: Pronounced, larger, Calibri font */
.director-name {
    font-family: 'Calibri', 'Segoe UI', Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 700;
    color: var(--brand-navy);
}

/* Floating shadow for picture boxes, border removed */
.big-box-picture.floating-shadow {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: #e2e8f0;
    border: none !important; /* Removed red outline */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* Moderate floating shadow effect */
}

.big-box-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Real solid red background with crisp white text for tags/labels */
.board-tag {
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 12px;
}

.pic-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--brand-red); /* Solid real red background */
    color: #ffffff; /* Crisp white text */
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
}
/* Remove outline borders and add fine black floating shadows to all images/containers */
img, 
.hero-slider, 
.multi-photo-slider-container, 
.circle-photo-wrapper, 
.card, 
.program-box, 
.contact-image-container {
    border: none !important;
    outline: none !important;
}

/* Fine black floating shadow effect */
.multi-photo-slider-container,
.circle-photo-wrapper,
.card,
.program-box,
.contact-image-container,
.floating-admission-box {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
}

/* Specific styling for circular photo cards to ensure smooth floating shadow */
.circle-photo-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 50% !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.circle-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none !important;
}
/* Refined typography, consistent footer, and gallery */
body{font-family:'Plus Jakarta Sans',Arial,sans-serif;line-height:1.65}h1,h2,h3,h4{letter-spacing:-.025em} .section-heading,.modern-heading{letter-spacing:-.035em} .main-nav a{font-weight:600} .site-footer{padding-top:55px} .site-footer .footer-grid{display:grid;grid-template-columns:1.2fr .85fr 1.1fr;gap:clamp(25px,5vw,85px);align-items:start;margin-bottom:35px} .site-footer .footer-col{min-width:0;text-align:left} .site-footer .footer-col p{margin:0 0 13px;line-height:1.8;overflow-wrap:anywhere} .site-footer .footer-col h4{margin:0 0 18px;font-size:17px} .site-footer .footer-col a{color:#cbd5e1;text-decoration:none} .site-footer .footer-col a:hover{color:#fff;text-decoration:underline} .footer-logo{max-width:125px;max-height:90px;object-fit:contain;margin:0 0 15px;background:#fff;border-radius:8px;padding:7px} .footer-links{padding:0;margin:0} .footer-links li{margin-bottom:10px} .footer-bottom{margin:0;padding:20px 0} .footer-bottom p{margin:0;text-align:center}
.gallery-hero{padding:100px 0 105px;background:linear-gradient(115deg,rgba(8,27,59,.94),rgba(15,56,96,.87)),url('images/hero-1.jpg') center/cover;color:white;text-align:center}.gallery-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.2em;font-size:12px;font-weight:800;color:#df4449;margin-bottom:14px}.gallery-hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(40px,6vw,70px);line-height:1.12;margin:0 0 20px;color:white}.gallery-hero h1 em{color:#ffb5b7}.gallery-hero p{max-width:680px;margin:0 auto;color:#e8edf5;font-size:17px}.gallery-section{padding:75px 0 90px;background:#f8fafc}.gallery-heading{text-align:center;max-width:750px;margin:0 auto 30px}.gallery-heading h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(30px,4vw,44px);margin:0 0 10px;color:#132b4b}.gallery-heading p{color:#617083;margin:0}.gallery-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:35px 0}.gallery-filters button{font:600 13px 'Plus Jakarta Sans',sans-serif;border:1px solid #d9e0e9;background:white;border-radius:30px;padding:11px 19px;color:#25405e;cursor:pointer}.gallery-filters button.selected,.gallery-filters button:hover{background:#15395c;color:white;border-color:#15395c}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gallery-card{min-width:0;overflow:hidden;border-radius:15px;background:#dbe4ef;box-shadow:0 8px 30px rgba(20,39,69,.09)}.gallery-card[hidden]{display:none}.gallery-card a{display:block;position:relative;aspect-ratio:4/3;overflow:hidden}.gallery-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.gallery-card a:hover img{transform:scale(1.05)}.gallery-card-shade{position:absolute;inset:auto 0 0;padding:55px 20px 20px;background:linear-gradient(transparent,rgba(8,20,38,.85));color:#fff;display:flex;flex-direction:column;gap:4px}.gallery-card-shade strong{font-size:19px}.gallery-category{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:#ffb9bc}.gallery-cta{text-align:center;background:#e9f0f7;border-radius:20px;padding:42px 20px;margin-top:55px}.gallery-cta h3{font-family:'Playfair Display',Georgia,serif;font-size:32px;color:#173958;margin:0 0 8px}.gallery-cta p{margin:0 0 25px}.gallery-secondary-btn{display:inline-block;margin:10px;color:#173958;font-weight:700;text-decoration:none}.gallery-cta .btn-primary{display:inline-block}@media(max-width:850px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.site-footer .footer-grid{grid-template-columns:1fr;gap:25px}.gallery-grid{grid-template-columns:1fr}.gallery-hero{padding:65px 0}.gallery-section{padding:50px 0}.gallery-card a{aspect-ratio:4/3}}
