:root {
    --school-primary: #0056A6;
    --school-secondary: #0A8F4C;
    --school-accent: #F9B000;
    --school-bg: #F8F9FA;
    --school-text: #333333;
    --school-heading: #132238;
    --school-border: #E5EAF0;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Poppins, sans-serif; color: var(--school-text); background: #fff; line-height: 1.7; }
h1, h2, h3, h4, h5, h6, .brand-text { font-family: Poppins, Inter, sans-serif; color: var(--school-heading); font-weight: 700; letter-spacing: 0; }
a { color: var(--school-primary); text-decoration: none; }
a:hover { color: var(--school-secondary); }
img { max-width: 100%; }

.container.narrow { max-width: 860px; }
.section-padding { padding: 82px 0; }
.bg-soft { background: var(--school-bg); }
.btn { border-radius: 6px; font-weight: 700; padding: .7rem 1.2rem; }
.btn-primary { --bs-btn-bg: var(--school-primary); --bs-btn-border-color: var(--school-primary); --bs-btn-hover-bg: #004887; --bs-btn-hover-border-color: #004887; }
.btn-outline-primary { --bs-btn-color: var(--school-primary); --bs-btn-border-color: var(--school-primary); --bs-btn-hover-bg: var(--school-primary); --bs-btn-hover-border-color: var(--school-primary); }
.btn-accent { background: var(--school-accent); border-color: var(--school-accent); color: #241800; }
.btn-accent:hover { background: #e0a000; border-color: #e0a000; color: #241800; }

.top-bar { background: var(--school-primary); color: #fff; }
.top-social, .footer-social { color: inherit; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.navbar { min-height: 88px; }
.navbar-brand { padding-top: .6rem; padding-bottom: .6rem; margin-right: 1.25rem; flex-shrink: 0; }
.brand-logo { height: clamp(58px, 7vw, 72px); width: auto; max-width: min(360px, 68vw); object-fit: contain; display: block; }
.brand-mark { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--school-primary); color: #fff; font-family: Poppins, sans-serif; font-weight: 800; }
.brand-text { font-size: clamp(1rem, 2vw, 1.35rem); white-space: normal; }
.nav-link { color: #27364a; font-weight: 700; padding: .75rem .65rem !important; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: var(--school-primary) !important; }

.hero-slider .carousel-item { height: min(760px, calc(100vh - 72px)); min-height: 560px; background: #0d2438; }
.hero-slider img { height: 100%; object-fit: cover; filter: brightness(.55); }
.hero-slider .carousel-caption { inset: 0; display: flex !important; align-items: center; text-align: left; }
.hero-slider h1 { color: #fff; max-width: 760px; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.05; }
.hero-slider p { color: rgba(255,255,255,.9); max-width: 620px; font-size: 1.2rem; }
.hero-kicker, .section-eyebrow { color: var(--school-secondary); text-transform: uppercase; letter-spacing: 0; font-weight: 800; font-size: .82rem; }
.hero-kicker { color: var(--school-accent); }

.section-title { max-width: 760px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .35rem 0 .7rem; }
.section-title p { margin: 0; color: #657386; }
.rounded-section-img { width: 100%; border-radius: 8px; object-fit: cover; min-height: 330px; max-height: 520px; box-shadow: 0 18px 40px rgba(19,34,56,.12); }
.feature-chip { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--school-border); border-radius: 8px; padding: .9rem 1rem; font-weight: 700; }
.feature-chip i, .feature-card i, .facility-item i, .download-card i { color: var(--school-secondary); font-size: 1.8rem; }
.feature-card, .content-card, .event-card, .teacher-card, .info-panel, .process-card, .download-card, .contact-form, .testimonial-card, .search-result { background: #fff; border: 1px solid var(--school-border); border-radius: 8px; box-shadow: 0 12px 30px rgba(19,34,56,.07); }
.feature-card, .info-panel, .process-card, .contact-form, .testimonial-card, .search-result { padding: 1.5rem; }
.feature-card h3, .content-card h3, .event-card h3, .teacher-card h3, .download-card h3 { font-size: 1.15rem; margin-top: .8rem; }
.feature-card p, .content-card p, .event-card p, .download-card p { color: #657386; margin-bottom: 0; }
.feature-card, .content-card, .event-card, .teacher-card, .gallery-card, .download-card { transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover, .content-card:hover, .event-card:hover, .teacher-card:hover, .gallery-card:hover, .download-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(19,34,56,.12); }

.stats-band { background: var(--school-primary); color: #fff; }
.stat-number { display: block; color: #fff; font: 800 2.4rem Poppins, sans-serif; }
.stats-band span { color: rgba(255,255,255,.82); font-weight: 700; }
.content-card, .teacher-card { overflow: hidden; }
.content-card img, .teacher-card img { width: 100%; height: 245px; object-fit: cover; }
.content-card-body, .teacher-card-body { padding: 1.25rem; }
.meta { display: inline-flex; color: var(--school-secondary); font-weight: 800; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 800; }
.event-card { display: flex; gap: 1rem; padding: 1.25rem; }
.event-date { flex: 0 0 74px; height: 82px; border-radius: 8px; background: var(--school-primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date strong { color: #fff; font-size: 1.8rem; line-height: 1; }
.facility-item { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--school-border); border-radius: 8px; padding: 1.25rem; font-weight: 800; min-height: 82px; }
.gallery-card { position: relative; display: block; min-height: 280px; border-radius: 8px; overflow: hidden; color: #fff; }
.gallery-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: brightness(.65); transition: transform .25s ease; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card span, .gallery-card h3 { position: relative; z-index: 1; margin-left: 1rem; }
.gallery-card span { top: 1rem; display: inline-block; background: rgba(255,255,255,.9); color: var(--school-primary); border-radius: 999px; padding: .35rem .7rem; font-weight: 800; }
.gallery-card h3 { color: #fff; margin-top: 190px; font-size: 1.25rem; }
.gallery-detail-img { width: 100%; height: 230px; border-radius: 8px; object-fit: cover; }
.testimonial-card { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial-card blockquote { font-size: 1.35rem; color: var(--school-heading); }
.testimonial-card figcaption span { display: block; color: #657386; }

.page-banner { min-height: 360px; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); }
.page-banner p { max-width: 640px; font-size: 1.15rem; color: rgba(255,255,255,.9); }
.breadcrumb a, .breadcrumb .active { color: rgba(255,255,255,.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); }
.timeline { max-width: 760px; margin: 0 auto; display: grid; gap: 1rem; }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--school-border); border-radius: 8px; padding: 1rem; }
.timeline-item strong { color: var(--school-primary); }
.process-card strong { width: 46px; height: 46px; border-radius: 50%; background: var(--school-accent); display: inline-flex; align-items: center; justify-content: center; color: #241800; }
.download-card { display: flex; gap: 1rem; padding: 1.25rem; }
.contact-list li, .footer-contact li { display: flex; gap: .75rem; margin-bottom: .8rem; }
.contact-list i, .footer-contact i { color: var(--school-secondary); }
.map-section iframe { display: block; width: 100%; min-height: 360px; border: 0; }
.cta-section { padding: 58px 0; background: linear-gradient(90deg, var(--school-primary), #07406f); color: #fff; }
.cta-section h2 { color: #fff; }
.cta-section p { margin: 0; color: rgba(255,255,255,.86); max-width: 680px; }
.site-footer { background: #101d2d; color: rgba(255,255,255,.76); }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h3 { font-size: 1rem; margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,.76); display: inline-block; margin-bottom: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }

.fade-ready { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-ready.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 1199.98px) { .navbar-collapse { padding: 1rem 0; } .nav-link { padding: .55rem 0 !important; } }
@media (max-width: 767.98px) { .section-padding { padding: 58px 0; } .hero-slider .carousel-item { min-height: 600px; } .hero-slider .carousel-caption { padding: 2rem 0; } .hero-slider p { font-size: 1rem; } .brand-text { max-width: 210px; } .timeline-item { grid-template-columns: 1fr; } .event-card, .download-card { flex-direction: column; } .gallery-card { min-height: 240px; } .gallery-card h3 { margin-top: 150px; } }
