:root {
    --primary-red: #123B70;
    --dark-red: #0B2545;
    --light-red: #EAF2FB;
    --accent-gold: #D6A63A;
    --gold-hover: #B88922;
    --text-dark: #1E242B;
    --text-muted: #5A6470;
    --bg-light: #F5F8FC;
    --white: #FFFFFF;
    --border-color: #DFE7F1;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans',sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display',serif
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: auto;
    padding: 0 20px
}

.section-pad {
    padding: 75px 0
}

.bg-soft {
    background: var(--bg-light)
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px
}

.section-tag {
    color: var(--primary-red);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 12px
}

.section-header p {
    color: var(--text-muted)
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: .3s
}

.btn-red {
    background: var(--primary-red);
    color: white
}

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

.btn-gold {
    background: var(--accent-gold);
    color: #181818
}

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

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent
}

    .btn-outline:hover {
        background: white;
        color: var(--primary-red)
    }

/* TOP BAR */
.top-bar {
    background: var(--dark-red);
    color: white;
    padding: 8px 0;
    font-size: .82rem
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.top-ticker {
    display: flex;
    align-items: center;
    gap: 10px
}

.badge-pulse {
    background: var(--accent-gold);
    color: #111;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 800
}

.top-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

    .top-links a:hover {
        color: var(--accent-gold)
    }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px #0000000d
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 8px
}

.brand-text h1 {
    font-size: 1.4rem;
    color: var(--primary-red);
    line-height: 1.2
}

.brand-text p {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: .5px
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px
}

.nav-item {
    position: relative
}

.nav-link {
    display: block;
    padding: 10px 13px;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 700
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary-red);
        background: var(--light-red)
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: white;
    border-top: 3px solid var(--primary-red);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s
}

.nav-item:hover .dropdown-menu, .nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none
}

.dropdown-menu a {
    display: block;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    font-size: .87rem
}

    .dropdown-menu a:hover {
        background: var(--light-red);
        color: var(--primary-red)
    }

.btn-apply-nav {
    background: var(--primary-red);
    color: white;
    padding: 10px 17px;
    border-radius: 6px;
    font-weight: 700
}

.mobile-toggle {
    display: none;
    border: 0;
    background: var(--light-red);
    color: var(--primary-red);
    padding: 8px 13px;
    font-size: 1.5rem;
    border-radius: 6px;
    cursor: pointer
}

/* HERO */
.hero-section {
    color: white;
    padding: 100px 0 125px;
    background: linear-gradient( 120deg, #0B2545ee, #123B70d9, #1E242Bce ), url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.hero-content {
    max-width: 760px
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid var(--accent-gold);
    background: #c59b2730;
    color: #fde68a;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 20px
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 18px
}

.hero-content p {
    font-size: 1.05rem;
    color: #f3f4f6;
    max-width: 650px;
    margin-bottom: 28px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

/* METRICS */
.metrics-strip {
    margin-top: -55px;
    position: relative;
    z-index: 2
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: white;
    border-top: 4px solid var(--accent-gold);
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.metric-card {
    text-align: center;
    padding: 25px 16px;
    border-right: 1px solid var(--border-color)
}

    .metric-card:last-child {
        border: 0
    }

    .metric-card h3 {
        font-size: 2rem;
        color: var(--primary-red)
    }

    .metric-card p {
        font-size: .85rem;
        color: var(--text-muted);
        font-weight: 600
    }

/* GENERAL CARDS */
.card-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 3px 12px #00000008
}

.desk-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px
}

.notice-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px
}

.tab-btn {
    border: 0;
    padding: 9px 13px;
    background: #eee;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer
}

    .tab-btn.active {
        background: var(--primary-red);
        color: white
    }

.notice-list li {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color)
}

.notice-date {
    min-width: 70px;
    background: var(--light-red);
    color: var(--primary-red);
    font-weight: 800;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: .75rem
}

.notice-title {
    font-weight: 700;
    color: var(--text-dark)
}

    .notice-title:hover {
        color: var(--primary-red)
    }

.notice-list p {
    color: var(--text-muted);
    font-size: .85rem;
    margin-top: 4px
}

.principal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px
}

.principal-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--light-red);
    color: var(--primary-red);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.2rem
}

.principal-header h4 {
    font-size: 1.15rem
}

.principal-header p {
    font-size: .83rem;
    color: var(--text-muted)
}

.principal-card p {
    margin-bottom: 14px;
    color: var(--text-muted)
}

/* COURSES */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px
}

.filter-btn {
    border: 1px solid var(--border-color);
    background: white;
    padding: 9px 14px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer
}

    .filter-btn.active, .filter-btn:hover {
        background: var(--primary-red);
        color: white;
        border-color: var(--primary-red)
    }

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

.course-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 2px 9px #00000005;
    transition: .3s
}

    .course-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow)
    }

.course-badge {
    display: inline-block;
    color: var(--primary-red);
    background: var(--light-red);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .75rem;
    font-weight: 800;
    margin-bottom: 10px
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px
}

.course-card p {
    font-size: .88rem;
    color: var(--text-muted)
}

.course-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    font-size: .83rem;
    color: var(--text-muted)
}

.course-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

    .course-actions .btn {
        padding: 9px 14px;
        font-size: .85rem
    }

/* GALLERY */
.gallery-section {
    background: var(--bg-light)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 250px;
    background: #eee;
    box-shadow: var(--shadow)
}

    .gallery-item:nth-child(1), .gallery-item:nth-child(6) {
        grid-column: span 2
    }

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

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

.gallery-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 30px 18px 16px;
    color: white;
    font-weight: 800;
    background: linear-gradient(transparent,rgba(20,10,10,.85))
}

    .gallery-caption small {
        display: block;
        color: #fde68a;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 5px
    }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: #080c18ed;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 80px
}

    .gallery-lightbox.active {
        display: flex
    }

    .gallery-lightbox img {
        max-width: 90vw;
        max-height: 82vh;
        object-fit: contain;
        border-radius: 10px
    }

.gallery-close, .gallery-prev, .gallery-next {
    position: absolute;
    border: 0;
    background: #ffffff20;
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center
}

.gallery-close {
    top: 18px;
    right: 24px
}

.gallery-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%)
}

.gallery-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%)
}

    .gallery-close:hover, .gallery-prev:hover, .gallery-next:hover {
        background: var(--primary-red)
    }

.gallery-footer {
    text-align: center;
    margin-top: 35px
}

/* FACILITIES */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px
}

.facility-card h3 {
    margin-bottom: 8px
}

.facility-card p {
    color: var(--text-muted);
    font-size: .9rem
}

/* CONTACT */
.contact-box {
    text-align: center;
    background: var(--light-red);
    border: 1px solid #D6E3F2;
    padding: 40px;
    border-radius: 16px;
}

    .contact-box h2 {
        font-size: 2.2rem;
        color: var(--primary-red);
        margin: 10px 0
    }

    .contact-box p {
        color: var(--text-muted);
        margin-bottom: 20px
    }

.contact-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

/* FOOTER */
.site-footer {
    background: #1E242B;
    color: white;
    padding: 55px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 25px
}

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

    .footer-brand img {
        width: 55px;
        height: 55px;
        object-fit: contain;
        background: white;
        border-radius: 6px
    }

    .footer-brand h3 {
        font-size: 1.1rem
    }

    .footer-brand span {
        font-size: .72rem;
        color: #cbd5e1
    }

.footer-col h4 {
    margin-bottom: 15px;
    color: #fde68a
}

.footer-col li {
    margin: 8px 0;
    font-size: .86rem;
    color: #d1d8e2
}

.footer-col a:hover {
    color: var(--accent-gold)
}

.footer-bottom {
    margin-top: 35px;
    padding: 17px 0;
    border-top: 1px solid #ffffff22;
    text-align: center;
    color: #cbd5e1;
    font-size: .82rem
}

/* COURSE MODAL */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px
}

    .modal-backdrop.active {
        display: flex
    }

.modal-card {
    background: white;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    border-radius: 14px;
    padding: 30px;
    position: relative
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: #eee;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer
}

.modal-card h2 {
    margin: 12px 0
}

.modal-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0
}

.modal-card li {
    margin: 7px 0
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px
}

/* RESPONSIVE */
@media(max-width:1050px) {
    .mobile-toggle {
        display: block
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px;
        box-shadow: var(--shadow)
    }

        .nav-menu.active {
            display: flex
        }

    .nav-link {
        padding: 12px
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 0;
        padding-left: 15px
    }

    .nav-item.open .dropdown-menu {
        display: block
    }

    .desk-grid {
        grid-template-columns: 1fr
    }

    .courses-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:700px) {
    .top-links {
        gap: 8px
    }

    .top-bar-inner {
        justify-content: center
    }

    .hero-section {
        padding: 70px 0 100px
    }

    .hero-content h2 {
        font-size: 2.2rem
    }

    .metrics-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .metric-card:nth-child(2) {
        border-right: 0
    }

    .metric-card:nth-child(1), .metric-card:nth-child(2) {
        border-bottom: 1px solid var(--border-color)
    }

    .section-pad {
        padding: 55px 0
    }

    .section-header h2 {
        font-size: 1.9rem
    }

    .courses-grid, .grid-3 {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .gallery-item:nth-child(1), .gallery-item:nth-child(6) {
        grid-column: span 1
    }

    .gallery-item {
        height: 210px
    }

    .gallery-lightbox {
        padding: 50px 12px
    }

    .gallery-prev {
        left: 8px
    }

    .gallery-next {
        right: 8px
    }

    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 20px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .brand-logo {
        width: 52px;
        height: 52px
    }

    .brand-text h1 {
        font-size: 1.05rem
    }

    .contact-box {
        padding: 28px 18px
    }
}
.notice-empty {
    display: block;
    padding: 20px;
    color: #647184;
    font-size: 14px;
    text-align: center;
}

.notice-list li {
    align-items: flex-start;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}