@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --maroon: #000000;
    --gold: #FFD500;
    --gold-hover: #e6c000;
    --cream: #FFFDEB;
    --text-dark: #111111;
    --text-muted: #5a5646;
    --bg-light: #faf9f0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* -------------------------------------
   Topbar
-------------------------------------- */
.topbar {
    background-color: var(--maroon);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    font-size: 13px;
    border-bottom: 2px solid var(--gold);
}

.topbar .left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar .left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2dab5;
}

.topbar .left span .icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar .social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(255,213,0,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.topbar .social:hover {
    background-color: var(--gold);
}
.topbar .social .icon {
    width: 14px;
    height: 14px;
    color: var(--gold);
    transition: color 0.3s ease;
}
.topbar .social:hover .icon {
    color: var(--maroon);
}

/* -------------------------------------
   Navbar
-------------------------------------- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
}

.navbar .brand .crest {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.brand-text .name {
    font-size: 22px;
    font-weight: 800;
    color: var(--maroon);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-text .sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.brand-text .motto {
    font-size: 11px;
    color: #a89f7a;
    font-style: italic;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #b39500;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-search {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.nav-search:hover {
    background-color: var(--gold);
}

.nav-search .icon {
    width: 18px;
    height: 18px;
    stroke: var(--text-dark);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger .icon {
    width: 28px;
    height: 28px;
    stroke: var(--text-dark);
    fill: none;
    stroke-width: 2;
}

/* -------------------------------------
   Mobile Navigation
-------------------------------------- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 80%;
    height: 100vh;
    background-color: var(--maroon);
    z-index: 200;
    padding: 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-nav-panel.active {
    right: 0;
}

.close-btn {
    background: rgba(255,213,0,0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-left: auto;
    transition: background 0.3s;
}

.close-btn:hover {
    background: var(--gold);
}

.close-btn .icon {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s;
}
.close-btn:hover .icon {
    stroke: var(--maroon);
}

.mobile-nav-panel ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-panel a {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav-panel a:hover, .mobile-nav-panel a.active {
    color: var(--gold);
    padding-left: 10px;
}

/* -------------------------------------
   Hero Section
-------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(120deg, #111111 0%, #000000 55%, #1a1a1a 100%);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(255,213,0,0.2), transparent 50%),
                repeating-linear-gradient(115deg, rgba(255,213,0,0.05) 0px, rgba(255,213,0,0.05) 1px, transparent 1px, transparent 30px);
}

.hero-inner {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    flex: 1.2;
    color: #fff;
}

.hero-copy h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-copy h1 .gold {
    color: var(--gold);
    display: block;
}

.hero-copy p.lead {
    font-size: 18px;
    color: #e0e0e0;
    max-width: 500px;
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-copy p.motto {
    font-weight: 600;
    color: var(--gold);
    font-style: italic;
    font-size: 16px;
}

.hero-btns {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn .icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.btn-maroon {
    background: #2a2a2a;
    color: #fff;
    border-color: #333;
}
.btn-maroon:hover {
    background: #444;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #111111;
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,213,0,0.3);
}

.hero-photo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-photo-frame {
    width: 100%;
    max-width: 500px;
    height: 440px;
    border-radius: 16px;
    overflow: hidden;
    background: #111111;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    border: 4px solid var(--gold);
    transition: transform 0.4s ease;
}

.hero-photo-frame:hover {
    transform: scale(1.02);
}

/* -------------------------------------
   Features Strip
-------------------------------------- */
.features {
    max-width: 1200px;
    margin: -60px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 40px 20px;
    gap: 10px;
}

.feature {
    text-align: center;
    padding: 15px 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 8px;
}

.feature:hover {
    transform: translateY(-5px);
    background: #fcfcfc;
}

.feature .ic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}

.feature:hover .ic {
    background: var(--gold);
    color: var(--maroon);
}

.feature .ic .icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feature h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 8px;
}

.feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -------------------------------------
   Main Layout Wrapping
-------------------------------------- */
section.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--maroon);
    border-left: 5px solid var(--gold);
    padding-left: 14px;
    text-transform: uppercase;
}

.section-head a {
    font-size: 14px;
    color: var(--maroon);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.section-head a:hover {
    color: #887000;
}

.section-head a .icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.three-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    gap: 40px;
}

.news-principal-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .news-principal-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
   News
-------------------------------------- */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: flex;
    gap: 18px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.news-item .thumb {
    width: 110px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ddd;
    background-size: cover;
    background-position: center;
}

.news-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--maroon);
}

.news-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-item .date {
    font-size: 12px;
    color: #a89f7a;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.news-item .date .icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* -------------------------------------
   Principal Card
-------------------------------------- */
.principal-card {
    background: linear-gradient(145deg, #fffcf0, var(--cream));
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #f2ead0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.principal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #f0e6a0 url('principal.jpg') center/cover no-repeat;
    border: 4px solid var(--gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.principal-card p {
    font-size: 14.5px;
    color: #4a4736;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* -------------------------------------
   Events
-------------------------------------- */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-item {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #f2ead0;
}

.event-date {
    width: 65px;
    height: 65px;
    background: var(--maroon);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-date .day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.event-date .mon {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
    margin-top: 2px;
}

.event-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 4px;
}

.event-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* -------------------------------------
   Gallery Grid
-------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    transition: opacity 0.3s ease;
}

.gallery-item span {
    position: absolute;
    bottom: 16px;
    left: 20px;
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* -------------------------------------
   Stats
-------------------------------------- */
.stats {
    background: var(--maroon);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 60px 40px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.stat {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
}

.stat:last-child {
    border-right: none;
}

.stat .ic {
    color: var(--gold);
    margin-bottom: 12px;
}

.stat .ic .icon {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.stat .num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.stat .label {
    font-size: 14px;
    color: #f0e6a0;
    margin-top: 4px;
    font-weight: 500;
}

/* -------------------------------------
   Footer
-------------------------------------- */
footer {
    background: #111;
    color: #fff;
    padding: 80px 40px 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand .crest {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    overflow: hidden;
}

footer h4 {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    font-weight: 700;
}

footer .fname {
    font-weight: 800;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.5px;
}

footer .fsub {
    font-size: 13px;
    color: #d8cf9c;
    font-weight: 600;
}

footer p.desc {
    font-size: 14px;
    line-height: 1.8;
    color: #a8a38e;
    margin-top: 12px;
}

footer .motto {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    margin-top: 8px;
}

footer ul li {
    margin-bottom: 14px;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2dab5;
    transition: color 0.3s;
}

footer ul li:hover {
    color: var(--gold);
}

footer ul li .icon {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
}

.contact-line {
    display: flex;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    color: #e2dab5;
    align-items: flex-start;
}

.contact-line .icon {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 3px;
}

.wa-btn {
    margin-top: 12px;
    background: var(--gold);
    color: #111111;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.wa-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.wa-btn .icon {
    width: 18px;
    height: 18px;
}

.fb-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.fb-circle:hover {
    background: var(--gold);
}

.fb-circle .icon {
    width: 22px;
    height: 22px;
    fill: var(--gold);
    transition: fill 0.3s;
}

.fb-circle:hover .icon {
    fill: #000;
}

.follow-row {
    display: flex;
    gap: 16px;
    align-items: center;
    transition: opacity 0.3s;
}

.follow-row:hover {
    opacity: 0.8;
}

.follow-row p {
    font-size: 14px;
    color: #a8a38e;
    line-height: 1.5;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    font-size: 13px;
    color: #777;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright a {
    color: #999;
}
.copyright a:hover {
    color: var(--gold);
}

/* -------------------------------------
   Responsive Design
-------------------------------------- */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    .three-col {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .stat {
        border-right: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .topbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
        text-align: center;
    }
    .topbar .left {
        justify-content: center;
    }
    .navbar {
        padding: 12px 20px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-copy h1 {
        font-size: 40px;
    }
    .hero-copy p.lead {
        margin: 0 auto 16px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-photo {
        justify-content: center;
        width: 100%;
    }
    .three-col {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .copyright {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .hero-copy h1 {
        font-size: 32px;
    }
    .hero-photo-frame {
        height: 300px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-item {
        height: 170px;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
   About Page Specific
-------------------------------------- */
.page-hero {
    position: relative;
    background: linear-gradient(120deg, #111111 0%, #000000 55%, #1a1a1a 100%);
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,213,0,0.15), transparent 60%);
}
.page-hero h1 {
    position: relative;
    font-size: 40px;
    font-weight: 800;
    z-index: 2;
    color: var(--gold);
    letter-spacing: 1px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}
.about-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f2ead0;
    transition: transform 0.3s ease;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.about-card h3 {
    color: var(--maroon);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f2ead0;
    padding-bottom: 10px;
}
.about-card h3 .icon {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
}
.about-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-card li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.about-card li .bullet {
    width: 32px;
    height: 32px;
    background: var(--cream);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--maroon);
    font-weight: 800;
    font-size: 14px;
}
.about-card li .text h4 {
    font-size: 15px;
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 4px;
}
.about-card li .text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
   Organogram (Staff Page)
-------------------------------------- */
.organogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 40px;
}
.org-level {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}
.org-level::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--gold);
}
.org-level.no-line::before {
    display: none;
}
.org-level.horizontal-line::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gold);
}
.org-node-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.org-node-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--gold);
}
.org-node {
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 220px;
    z-index: 2;
    transition: transform 0.3s;
}
.org-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.org-node.principal {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
    min-width: 280px;
}
.org-node.principal h3 {
    color: var(--gold);
}
.org-node h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--maroon);
}
.org-node p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}
.org-node.principal p {
    color: #e2dab5;
}

/* -------------------------------------
   Contact Page
-------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}
.contact-info-card {
    background: var(--maroon);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.contact-info-card h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-item .icon {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.contact-item p, .contact-item a {
    color: #e2dab5;
    font-size: 14.5px;
    line-height: 1.6;
}
.contact-item a:hover {
    color: var(--gold);
}
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--maroon);
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255,213,0,0.2);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.map-container {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 4px solid #fff;
}

/* -------------------------------------
   Gallery Page
-------------------------------------- */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.gallery-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-img-wrap:hover img {
    transform: scale(1.08);
}
.gallery-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-img-wrap:hover::after {
    opacity: 1;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
   Specific Games UI
-------------------------------------- */
.math-card {
    width: 60px;
    height: 80px;
    background: var(--maroon);
    color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.multi-header {
    background: var(--maroon);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}
.multi-input {
    width: 100%;
    height: 100%;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--maroon);
    transition: all 0.3s;
}
.flashcard-inner {
    width: 100%;
    max-width: 400px;
    height: 250px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}
.flashcard-inner.flipped {
    transform: rotateY(180deg);
}
.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--gold);
}
.flashcard-front {
    background: #fff;
    color: var(--maroon);
}
.flashcard-back {
    background: var(--maroon);
    color: #fff;
    transform: rotateY(180deg);
}
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.memory-card {
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}
.memory-card.flipped {
    transform: rotateY(180deg);
}
.mem-front, .mem-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.mem-front {
    background: var(--maroon);
    border: 2px solid var(--gold);
}
.mem-back {
    background: #fff;
    transform: rotateY(180deg);
    border: 2px solid #ddd;
}
.memory-card.matched .mem-back {
    background: var(--gold);
    color: var(--maroon);
    border-color: var(--maroon);
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* -------------------------------------
   Unified Game Engines UI
-------------------------------------- */
.quiz-option-btn {
    background: #f4f4f4;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}
.quiz-option-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--maroon);
    border-color: var(--gold);
}
.quiz-option-btn.correct {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}
.quiz-option-btn.wrong {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}
.match-btn {
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon);
    cursor: pointer;
    transition: all 0.2s;
}
.match-btn:hover:not(:disabled) {
    background: var(--gold-hover);
}
.match-btn.selected {
    background: var(--maroon);
    color: var(--gold);
    border-color: var(--maroon);
}
.match-btn.matched {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
    cursor: default;
    opacity: 0.7;
}
/* -------------------------------------
   Games Dashboard
-------------------------------------- */
.dashboard-section {
    padding: 20px 0;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f2ead0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.dashboard-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 10px;
}
.dashboard-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}
.launch-btn {
    background: var(--gold);
    color: var(--maroon);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
}
.launch-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* Modals */
.game-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.game-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.game-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.game-modal-overlay.active .game-modal-content {
    transform: scale(1);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background 0.3s, color 0.3s;
}
.close-modal:hover {
    background: var(--maroon);
    color: #fff;
}

/* -------------------------------------
   School Video Showcase (Cinema Experience)
-------------------------------------- */
.video-showcase-section {
    padding-top: 15px;
    padding-bottom: 35px;
}

.video-showcase-card {
    background: linear-gradient(145deg, #111111 0%, #000000 70%, #1a1500 100%);
    color: #fff;
    border-radius: 20px;
    padding: 45px 35px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3), 0 0 35px rgba(255, 213, 0, 0.1);
    border: 2px solid rgba(255, 213, 0, 0.35);
    margin: 20px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-showcase-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 213, 0, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.video-showcase-header {
    max-width: 850px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
}

.video-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold);
    color: #000;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 25px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.3);
}

.video-showcase-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.video-showcase-header p {
    color: #d8d8d8;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.video-responsive-frame {
    position: relative;
    width: 100%;
    max-width: 1140px; /* Extra Large Cinema Width on Desktop */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 213, 0, 0.25);
    border: 3px solid rgba(255, 213, 0, 0.55);
    background: #000;
    z-index: 1;
}

.video-responsive-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 13px;
}

@media (max-width: 900px) {
    .video-showcase-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .video-showcase-header h2 {
        font-size: 22px;
    }
    .video-showcase-header p {
        font-size: 13.5px;
    }
    .video-responsive-frame {
        border-width: 2px;
        border-radius: 12px;
    }
    .video-responsive-frame iframe {
        border-radius: 10px;
    }
}

@media (max-width: 540px) {
    .video-showcase-card {
        padding: 20px 10px;
        border-radius: 12px;
        margin: 10px 0 20px;
    }
    .video-showcase-header {
        margin-bottom: 18px;
    }
    .video-showcase-header h2 {
        font-size: 18px;
    }
    .video-showcase-header p {
        font-size: 12.5px;
    }
    .video-pill {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* -------------------------------------
   AVBOB Sponsorship & Partnership (Green Theme)
-------------------------------------- */
.avbob-sponsor-section {
    padding-top: 10px;
    padding-bottom: 30px;
}

.avbob-card {
    background: linear-gradient(135deg, #004d25 0%, #006837 55%, #00361a 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 77, 37, 0.35);
    border: 2px solid rgba(255, 213, 0, 0.45);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.avbob-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.avbob-logo-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 3px solid var(--gold);
    text-align: center;
}

.avbob-logo-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.avbob-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.avbob-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.avbob-lead {
    font-size: 14.5px;
    color: #e2f4ea;
    margin-bottom: 20px;
    line-height: 1.55;
}

.avbob-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.avbob-pillar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, background 0.2s;
}

.avbob-pillar:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.avbob-pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avbob-pillar-text h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.avbob-pillar-text p {
    font-size: 11.5px;
    color: #c9ebd8;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .avbob-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 25px;
        text-align: center;
    }
    .avbob-logo-box {
        max-width: 220px;
        margin: 0 auto;
    }
    .avbob-content h2 {
        font-size: 22px;
    }
    .avbob-pillars {
        text-align: left;
    }
}

@media (max-width: 540px) {
    .avbob-card {
        padding: 22px 15px;
        border-radius: 14px;
    }
    .avbob-content h2 {
        font-size: 19px;
    }
    .avbob-lead {
        font-size: 13.5px;
    }
    .avbob-pillars {
        grid-template-columns: 1fr;
    }
}



