/* ===== RESET & BASE ===== */
:root {
    --primary: #0066CC;
    --secondary: #0099BC;
    --accent: #FFCC00;
    --navy: #16213e;
    --red: #e63946;
    --text: #333;
    --text-light: #555;
    --bg-light: #f0f4ff;
    --radius-lg: 30px;
    --radius-md: 15px;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Typography Scale */
    --fs-h1: 3.5rem;
    --fs-h2: 2.2rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.1rem;
    --lh-body: 1.8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text);
    line-height: var(--lh-body);
    font-size: 16px; /* Base size */
    background-color: var(--bg-light);
    background-image: radial-gradient(circle, #c8d8f8 1px, transparent 1px);
    background-size: 28px 28px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    line-height: 1.2;
}

h1 { font-size: var(--fs-h1); margin-bottom: 30px; }
h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
h3 { font-size: var(--fs-h3); margin-bottom: 18px; }

p {
    font-size: var(--fs-body);
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Rounded Corner Enhancements */
.carousel, .feature-item, .about-section, .pillar-item, .cta-item, .news-card, .gallery-item, .newsletter-inner, .main-footer {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-section, .pillars-section, .news-section {
    border-radius: var(--radius-lg);
    background: #fff;
    margin: 40px 10px;
    padding: 80px 20px;
    box-shadow: var(--shadow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s;
}

ul { list-style: none; }

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

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: clip;
    box-shadow: 0 0 60px rgba(0,0,0,0.18);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ===== MAIN HEADER ===== */
.main-header {
    background: linear-gradient(180deg, #dff4f8 0%, #c9ecf2 100%);
    height: auto;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
    padding: 8px 0 4px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.logo-link {
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 80, 120, 0.35));
    transition: filter 0.3s, transform 0.25s;
}

.logo-link:hover {
    filter: drop-shadow(0 6px 16px rgba(0, 80, 120, 0.5));
    transform: scale(1.03);
}

/* Logo */
.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* Header search */
.header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: #eef4ff;
    border: 1.5px solid #c5d8f5;
    border-radius: 50px;
    padding: 4px 4px 4px 14px;
    gap: 4px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: none;
    font-size: 13px;
    color: #333;
    width: 180px;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder { color: #aab8cc; }

.search-btn {
    background: #0099BC;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.search-btn:hover { background: #007a99; }

.logo:hover { transform: scale(1.04); }

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

.school-name {
    font-size: 35px;
    font-weight: 700;
    color: #0066CC;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tagline {
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 2px;
    white-space: nowrap;
}

/* ===== NAVIGATION ===== */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #0099BC;
    border-radius: 6px 6px 0 0;
    padding: 0 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #d0e4ff;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-menu > li > a.active,
.nav-menu > li > a:hover {
    color: #FFD700;
    background: rgba(255,255,255,0.1);
}

.nav-menu > li > a i {
    font-size: 9px;
    margin-left: 3px;
    vertical-align: middle;
}

/* Staff / Parents secondary links */
.secondary-link > a {
    font-size: 12.5px !important;
    color: #666 !important;
}
.secondary-link > a:hover { color: #0066CC !important; }

/* Enrol Now pill button */
.nav-apply-btn {
    background: #004a99;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px !important;
    transition: background 0.25s, color 0.25s !important;
}
.nav-apply-btn:hover {
    background: #FFD700 !important;
    color: #1a1a2e !important;
}

/* Desktop dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
    border-top: 2px solid #004a99;
    border-radius: 0 0 6px 6px;
}

/* Add an invisible bridge to help keep the dropdown open when moving mouse down */
.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 10;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
    background: #f0f6ff;
    color: #004a99;
    padding-left: 22px;
}

/* ===== HERO / CAROUSEL ===== */
.hero {
    width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 50px 60px;
}

.carousel-text-box {
    background: rgba(255,255,255,0.93);
    padding: 22px 26px;
    max-width: 360px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border-left: 4px solid #0066CC;
}

.carousel-text-box h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

/* ===== GOVERNANCE STYLES ===== */
.governance-text h3 {
    margin-top: 30px;
    color: var(--navy);
}

.carousel-text-box p {
    font-size: 13px;
    color: #333;
    margin-bottom: 14px;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-block;
    background: #0066CC;
    color: #fff;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.3px;
    transition: background 0.25s;
}

.btn-read-more:hover { background: #0052a3; }

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.75);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.25s;
    color: #333;
}

.carousel-prev:hover,
.carousel-next:hover { background: rgba(255,255,255,0.95); }

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.8);
}

.dot.active { background: #fff; }

/* ===== FEATURES BAR ===== */
.features-bar {
    background: #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 30px;
    border-right: 1px solid #3a3a3a;
    cursor: pointer;
    transition: background 0.25s;
}

.feature-item:last-child { border-right: none; }
.feature-item:hover { background: #2e2e2e; }

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-icon.yellow { background: #FFD700; color: #222; }
.feature-icon.blue   { background: #0066CC; color: #fff; }
.feature-icon.pink   { background: #e91e63; color: #fff; }

.feature-content h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.feature-content p {
    color: #aaa;
    font-size: 12px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 65px 0;
    background: linear-gradient(160deg, #ffffff 0%, #eef4ff 60%, #e0ecff 100%);
}

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

.welcome-content h2 {
    font-size: 23px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 22px;
    font-family: 'Playfair Display', serif;
    line-height: 1.35;
}

.welcome-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.85;
}

.welcome-video-wrapper .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.video-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--navy);
}

.team-info .role {
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

/* ===== VALUES PAGE ===== */
.values-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-detail-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.value-detail-card:hover {
    transform: translateY(-5px);
}

.value-detail-card i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
    display: block;
}

/* ===== CAREERS / JOIN TEAM ===== */
.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: #f0f6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.job-listing {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary);
    transition: transform 0.2s;
}

.job-listing:hover {
    transform: translateX(10px);
}

.job-details h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.job-meta {
    font-size: 0.9rem;
    color: #888;
}

.job-meta span {
    margin-right: 15px;
}

.btn-apply-small {
    background: var(--navy);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.btn-apply-small:hover {
    background: var(--red);
    color: #fff;
}


/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 36px;
}

.section-header.center { text-align: center; }

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
}

.section-sub.italic { font-style: italic; }

.core-values {
    font-size: 13.5px;
    color: #555;
    font-style: italic;
}

/* ===== PILLARS (MIND+BODY+CHARACTER) ===== */
.pillars-section {
    padding: 55px 0;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 40%, #fef9ec 100%);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-item { text-align: left; }

.pillar-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 4px;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}

.pillar-item:hover .pillar-image img { transform: scale(1.06); }

/* ===== CREATIVE PHOTO DESIGN (Benchmark Style) ===== */
.creative-image-wrap {
    position: relative;
    padding: 0 20px 20px 0;
    margin-bottom: 25px;
}

.creative-image-wrap::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 0;
    bottom: 0;
    background: #16213e; /* Navy from footer */
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
    z-index: 1;
    border-radius: 4px;
}

.creative-image-wrap img, 
.creative-image-wrap .video-container {
    position: relative;
    z-index: 2;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
    border-radius: 4px;
}

/* Update Pillar Typography */
.pillar-item .pillar-label {
    color: #e63946; /* Red accent */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.pillar-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #16213e;
    margin-bottom: 12px;
    text-transform: none; /* Changed from uppercase to match benchmark title style */
    letter-spacing: normal;
    font-family: 'Playfair Display', serif;
}

.pillar-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more-link {
    font-size: 11.5px;
    font-weight: 700;
    color: #0066CC;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link:hover {
    color: #003d80;
    text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta-section { width: 100%; }

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 40px;
    text-decoration: none;
    transition: filter 0.25s;
}

.cta-item:hover { filter: brightness(1.08); }

.cta-item i {
    font-size: 30px;
    color: #fff;
    flex-shrink: 0;
    opacity: 0.92;
}

.cta-visit   { background: #e63946; }
.cta-inquire { background: #d97d0a; }
.cta-apply   { background: #0066CC; }

.cta-text h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}

.cta-text p {
    color: rgba(255,255,255,0.82);
    font-size: 12px;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: 70px 0 60px;
    background: linear-gradient(145deg, #0b1e4e 0%, #0d3272 50%, #0a265c 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.why-choose-us .section-header h2,
.why-choose-us .section-sub,
.why-choose-us .gallery-label span {
    color: #fff;
}

.why-choose-us .see-all-link {
    color: #FFD700;
}

.why-choose-us .see-all-link:hover {
    color: #ffe85a;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 52px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #eee;
    transition: background 0.25s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #f8faff; }

.stat-icon {
    font-size: 22px;
    color: #0066CC;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11.5px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Core values panels */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 52px;
}

.values-panel {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
}

.values-panel--blue { border-top: 4px solid #0066CC; }
.values-panel--gold { border-top: 4px solid #d97d0a; }

.values-panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.values-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.values-panel--blue .values-panel-icon { background: #e8f0fe; color: #0066CC; }
.values-panel--gold .values-panel-icon { background: #fff3e0; color: #d97d0a; }

.values-panel-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Value cards inside panel */
.values-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #f0f0f0;
}

.value-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    cursor: default;
}

.value-card:hover {
    background: #f8faff;
    transform: scale(1.03);
    z-index: 1;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.values-panel--gold .value-card:hover { background: #fffbf5; }

.vc-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.values-panel--blue .vc-icon { background: #e8f0fe; color: #0066CC; }
.values-panel--gold .vc-icon { background: #fff3e0; color: #d97d0a; }

.value-card span {
    font-size: 11.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.35;
}

/* Gallery label row */
.gallery-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gallery-label span {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 100, 0);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    transition: background 0.35s;
}

.gallery-overlay span {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 40, 100, 0.35);
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 65px 0;
    background: linear-gradient(160deg, #fffdf5 0%, #fff8e1 50%, #fef3d0 100%);
}

.see-all-link {
    display: inline-block;
    font-size: 13px;
    color: #0066CC;
    text-decoration: underline;
}

.see-all-link:hover { color: #003d80; }

/* inside news section header, add spacing below */
.news-section .section-header .see-all-link {
    display: block;
    margin-top: 4px;
    margin-bottom: 34px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.news-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.11);
}

.news-image {
    height: 158px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}

.news-card:hover .news-image img { transform: scale(1.06); }

.news-content { padding: 15px; }

.news-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.news-date i {
    color: #0066CC;
    margin-right: 4px;
}

.news-content h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-content p {
    font-size: 12px;
    color: #777;
    line-height: 1.65;
    margin-bottom: 10px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, #0099BC 0%, #006d99 100%);
    padding: 56px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.newsletter-text {
    flex: 1;
    min-width: 0;
}

.newsletter-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 8px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.newsletter-form {
    flex: 1.4;
    min-width: 0;
}

.newsletter-fields {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nl-input {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    font-size: 13.5px;
    font-family: inherit;
    background: rgba(255,255,255,0.18);
    color: #fff;
    outline: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s, background 0.2s;
}

.nl-input::placeholder { color: rgba(255,255,255,0.6); }

.nl-input:focus {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.7);
}

.nl-btn {
    background: #FFD700;
    color: #1a1a2e;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.25s, transform 0.2s;
    font-family: inherit;
}

.nl-btn:hover {
    background: #ffe033;
    transform: translateY(-1px);
}

.nl-note {
    font-size: 11.5px;
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== COMMUNITY SECTION (Social + Newsletter) ===== */
.community-section {
    background: #f0f7ff; /* Lighter blue, distinct from navy footer */
    padding: 80px 0;
    color: var(--navy);
    border-top: 1px solid #d0e4ff;
    border-bottom: 1px solid #d0e4ff;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-text h2 {
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
    color: var(--navy);
}

.community-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.newsletter-form .nl-input {
    background: #fff;
    color: var(--text);
    border: 1px solid #ced4da;
}

.newsletter-form .nl-input::placeholder {
    color: #999;
}

.newsletter-form .nl-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.newsletter-form .nl-note {
    color: #777;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: #fff;
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.instagram:hover { background: #e1306c; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.youtube:hover { background: #ff0000; }

@media (max-width: 992px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .nl-fields {
        justify-content: center;
    }
}

.nl-note i { font-size: 10px; }

/* ===== FIND US & CONTACT ===== */
.find-contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0b1e4e 0%, #0d3272 60%, #1a4a8a 100%);
}

.find-contact-section .section-title {
    color: #fff;
}

.find-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.find-us-col,
.contact-col {
    display: flex;
    flex-direction: column;
}

.contact-col .contact-form {
    margin-top: 24px;
}

.map-wrapper {
    margin-top: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    color: #d0e4ff;
}

.contact-form input,
.contact-form textarea {
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,0.1);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FFD700;
    background: rgba(255,255,255,0.15);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    background: #004a99;
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s;
}

.btn-submit:hover {
    background: #FFD700;
    color: #1a1a2e;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #16213e;
    padding: 54px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.6fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
}

.footer-col > p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.85;
    margin-bottom: 18px;
}

.btn-brochure {
    display: inline-block;
    background: #FFD700;
    color: #111;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.4px;
    transition: background 0.25s;
}

.btn-brochure:hover { background: #e6be00; }

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #aaa;
    transition: color 0.25s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-col ul li a i {
    font-size: 10px;
    color: #FFD700;
}

.footer-col ul li a:hover { color: #FFD700; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.55;
}

.contact-row i {
    color: #FFD700;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 13px;
}

.footer-bottom {
    background: #0d1530;
    padding: 14px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

/* ===== INSTAGRAM SOCIAL ICON ===== */
.social-icon.instagram { background: #E1306C; }

/* ===== EMPHASIS LIST (About section) ===== */
.emphasis-list {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.emphasis-list li {
    font-size: 13.5px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.emphasis-list li i {
    color: #27ae60;
    font-size: 14px;
    flex-shrink: 0;
}


/* ===== PARTNERSHIP BANNER ===== */
.partnership-banner {
    background: linear-gradient(135deg, #0a1628 0%, #0d2244 45%, #0052a3 100%);
    padding: 70px 0 64px;
    position: relative;
    overflow: hidden;
}

/* decorative background circles */
.pb-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.pb-shape-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -100px;
}

.pb-shape-2 {
    width: 260px;
    height: 260px;
    bottom: -80px;
    left: 5%;
}

/* Header */
.pb-header {
    text-align: center;
    margin-bottom: 48px;
}

.pb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.15);
    color: #FFD700;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.3);
    margin-bottom: 18px;
}

.pb-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 14px;
    line-height: 1.25;
}

.pb-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Cards */
.pb-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pb-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
    transition: background 0.3s, transform 0.3s;
}

.pb-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.pb-card--featured {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,215,0,0.45);
}

.pb-card--featured:hover {
    background: rgba(255,255,255,0.16);
}

.pb-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #111;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pb-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: rgba(255,215,0,0.15);
    color: #FFD700;
}

.pb-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.pb-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
    margin-bottom: 18px;
}

.pb-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pb-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
}

.pb-card-list li i {
    color: #FFD700;
    font-size: 11px;
    flex-shrink: 0;
}

/* Footer CTA row */
.pb-footer {
    text-align: center;
}

.pb-footer p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.pb-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-partner-primary {
    display: inline-block;
    background: #FFD700;
    color: #111;
    padding: 13px 36px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
    letter-spacing: 0.4px;
    transition: background 0.25s, transform 0.2s;
}

.btn-partner-primary:hover {
    background: #e6be00;
    transform: translateY(-2px);
}

.btn-partner-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 12px 34px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.35);
    letter-spacing: 0.4px;
    transition: border-color 0.25s, background 0.25s;
}

.btn-partner-outline:hover {
    border-color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.07);
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    border-radius: 4px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger:hover { background: rgba(0,0,0,0.06); }

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 980;
}

.nav-backdrop.is-visible { display: block; }

/* ===== RESPONSIVE — 1200px ===== */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .nav-menu > li > a { padding: 9px 10px; font-size: 12.5px; }
    .school-name { font-size: 28px; }
    .tagline { display: none; }
}

/* ===== RESPONSIVE — 1024px (Tablet Landscape) ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: 1px solid #eee; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid #eee; border-top: 1px solid #eee; }
    .stat-item:nth-child(4) { border-right: none; border-top: 1px solid #eee; }
    .pb-cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .find-contact-grid { gap: 28px; }
}

/* ===== RESPONSIVE — 992px (Mobile Nav Trigger) ===== */
@media (max-width: 992px) {

    /* Header positioning context for hamburger */
    .main-header { position: relative; }

    /* Give header-left room for the hamburger button */
    .header-left { padding-right: 52px; }

    /* Hide search on tablet/mobile — too cramped */
    .header-search { display: none; }

    /* Show hamburger — pinned to top-right of header */
    .hamburger {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
    }

    /* Reset nav bar background — side drawer has its own */
    .main-nav {
        background: none;
        border-radius: 0;
        padding: 0;
        justify-content: flex-start;
    }

    /* Side-drawer nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #1a1a2e;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 90px 0 30px;
        overflow-y: auto;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -4px 0 24px rgba(0,0,0,0.25);
    }

    .nav-menu.is-open { right: 0; }

    /* Nav items */
    .nav-menu > li { width: 100%; }

    .nav-menu > li > a {
        padding: 14px 28px;
        font-size: 15px;
        font-weight: 600;
        color: #d0d8e8;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-menu > li > a.active,
    .nav-menu > li > a:hover {
        color: #FFD700;
        background: rgba(255,255,255,0.06);
    }

    /* Secondary links on mobile */
    .secondary-link > a { color: #9aa5b8 !important; font-size: 14px !important; }
    .secondary-link > a:hover { color: #FFD700 !important; }

    /* Enrol pill in drawer */
    .nav-apply-btn {
        margin: 20px 28px 0;
        padding: 11px 24px !important;
        border-radius: 50px;
        font-size: 14px !important;
        text-align: center;
        display: block;
    }

    /* Accordion dropdowns */
    .has-dropdown > a i { transition: transform 0.3s; }
    .has-dropdown.is-open > a i { transform: rotate(180deg); }

    .dropdown {
        display: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: rgba(0,0,0,0.2);
        min-width: unset;
    }

    .has-dropdown.is-open .dropdown { display: block; }

    .dropdown li a {
        padding: 11px 28px 11px 44px;
        font-size: 13.5px;
        color: #9aa5b8;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .dropdown li a:hover {
        color: #FFD700;
        background: rgba(255,255,255,0.06);
        padding-left: 48px;
    }

    /* Find & Contact stack */
    .find-contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .map-wrapper iframe { height: 320px; }
    .contact-form .form-row { grid-template-columns: 1fr 1fr; }
}

/* ===== RESPONSIVE — 768px (Tablet Portrait) ===== */
@media (max-width: 768px) {

    /* Site wrapper — full width on mobile */
    .site-wrapper { box-shadow: none; }

    /* Header */
    .main-header { padding: 10px 0; }
    .header-left { gap: 10px; }
    .logo { width: 80px; height: 80px; }
    .school-name { font-size: 20px; }
    .header-content { gap: 2px; }

    /* Hero */
    .carousel { height: 340px; }
    .carousel-content { padding: 28px 20px; align-items: flex-end; }
    .carousel-text-box { max-width: 100%; padding: 16px 18px; }
    .carousel-text-box h2 { font-size: 15px; }
    .carousel-text-box p { font-size: 12.5px; }
    .carousel-prev, .carousel-next { width: 34px; height: 34px; font-size: 13px; }

    /* Section titles */
    .section-header h2 { font-size: 20px; }
    .section-sub { font-size: 13px; }

    /* Features bar */
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid #3a3a3a; padding: 16px 20px; }
    .feature-item:last-child { border-bottom: none; }
    .feature-content h3 { font-size: 13px; }
    .feature-content p { font-size: 12px; }

    /* About */
    .about-section { padding: 44px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .welcome-content { order: 2; }
    .welcome-video-wrapper { order: 1; }
    .welcome-content h2 { font-size: 20px; }

    /* Pillars */
    .pillars-section { padding: 40px 0; }
    .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
    .pillar-image { height: 200px; }

    /* CTA */
    .cta-grid { grid-template-columns: 1fr; }
    .cta-item { padding: 20px 24px; }

    /* Why Choose Us */
    .why-choose-us { padding: 48px 0 40px; }
    .core-values-grid { grid-template-columns: 1fr; gap: 16px; }
    .values-cards { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item, .gallery-item.gi-tall { height: 160px; }

    /* Partnership */
    .partnership-banner { padding: 48px 0; }
    .pb-header h2 { font-size: 22px; }
    .pb-cards { grid-template-columns: 1fr; max-width: 100%; }

    /* News */
    .news-section { padding: 44px 0; }
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* Find & Contact */
    /* Newsletter */
    .newsletter-inner { flex-direction: column; gap: 28px; }
    .newsletter-text { text-align: center; }
    .newsletter-text h2 { font-size: 22px; }
    .newsletter-fields { flex-direction: column; }
    .nl-input { min-width: unset; border-radius: 8px; }
    .nl-btn { border-radius: 8px; justify-content: center; }

    .find-contact-section { padding: 44px 0; }
    .find-contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .map-wrapper iframe { height: 300px; }
    .contact-form .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .main-footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ===== RESPONSIVE — 480px (Mobile) ===== */
@media (max-width: 480px) {

    /* Container */
    .container { padding: 0 16px; }

    /* Header */
    .logo { width: 64px; height: 64px; }
    .school-name { font-size: 16px; }
    .header-left { gap: 8px; }

    /* Hero */
    .carousel { height: 260px; }
    .carousel-content { padding: 14px; }
    .carousel-text-box { padding: 12px 14px; }
    .carousel-text-box h2 { font-size: 13px; margin-bottom: 5px; }
    .carousel-text-box p { font-size: 11.5px; margin-bottom: 10px; }
    .btn-read-more { font-size: 11px; padding: 6px 14px; }
    .carousel-prev { left: 6px; }
    .carousel-next { right: 6px; }

    /* Section headings */
    .section-header h2 { font-size: 18px; }

    /* Features bar */
    .feature-item { padding: 14px 16px; gap: 12px; }
    .feature-icon { width: 40px; height: 40px; font-size: 16px; }
    .feature-content h3 { font-size: 12px; }

    /* About */
    .about-section { padding: 32px 0; }
    .welcome-content h2 { font-size: 17px; }

    /* Pillars */
    .pillar-image { height: 180px; }

    /* CTA */
    .cta-item { padding: 18px 16px; gap: 12px; }
    .cta-item i { font-size: 22px; }
    .cta-text h3 { font-size: 12.5px; }
    .cta-text p { font-size: 11px; }

    /* Stats */
    .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: 8px; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid #eee; border-top: 1px solid #eee; }
    .stat-item:nth-child(4) { border-right: none; border-top: 1px solid #eee; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 10px; }

    /* Values cards */
    .values-cards { grid-template-columns: repeat(2, 1fr); }
    .value-card { padding: 14px 8px; }
    .vc-icon { width: 34px; height: 34px; font-size: 13px; }
    .value-card span { font-size: 10px; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item, .gallery-item.gi-tall { height: 150px; }

    /* Partnership */
    .pb-header h2 { font-size: 19px; }
    .pb-card { padding: 20px 16px; }
    .pb-actions { flex-direction: column; gap: 10px; }
    .btn-partner-primary, .btn-partner-outline { width: 100%; text-align: center; }

    /* News */
    .news-grid { grid-template-columns: 1fr; }

    /* Find & Contact */
    .find-contact-section { padding: 36px 0; }
    .map-wrapper iframe { height: 250px; }
    .contact-form .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-col h4 { font-size: 12px; }
}

/* ===== RESPONSIVE — 360px (Small phones) ===== */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .school-info { display: none; }
    .logo { width: 52px; height: 52px; }
    .carousel { height: 220px; }
    .carousel-text-box { display: none; }
    .nav-menu { width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item, .gallery-item.gi-tall { height: 180px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}
