
/* =========================
   RESET & GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #F4F7FB;
    color: #202C3D;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid #E8EDF4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo h2 {
    font-size: 19px;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.3;
}

.logo span {
    color: var(--muted);
    font-size: 12px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #68768A;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2878D0;
}

.btn-login {
    background: #173B70;
    color: white;
    padding: 11px 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login:hover {
    background: #2878D0;
}


/* =========================
   HERO
========================= */

.hero {
    background: linear-gradient(
        120deg,
        #173B70,
        #2878D0
    );
    padding: 75px 0;
    color: white;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    max-width: 650px;
}

.tagline {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 43px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #A9D4FF;
}

.hero-text p {
    color: #DCEBFA;
    max-width: 520px;
    font-size: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #173B70;
    padding: 13px 23px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-card {
    width: 320px;
    flex-shrink: 0;
    background: white;
    color: #202C3D;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-label {
    color: #8793A5;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-card h3 {
    color: #173B70;
    font-size: 21px;
    margin-top: 5px;
}

.calendar-icon {
    width: 45px;
    height: 45px;
    background: #EAF3FF;
    color: #2878D0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 25px;
}

.hero-divider {
    height: 1px;
    background: #E9EDF3;
    margin: 22px 0;
}

.hero-card h2 {
    color: #173B70;
    font-size: 29px;
    margin-top: 5px;
}

.hero-card p {
    color: #8793A5;
    font-size: 13px;
}

.school-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0F9F3;
    color: #25844A;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: bold;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #2FB66A;
    border-radius: 50%;
}


/* =========================
   MAIN CONTENT
========================= */

.main-content {
    padding-top: 50px;
    padding-bottom: 60px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-label {
    font-size: 10px;
    color: #2878D0;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    color: #173B70;
    font-size: 23px;
    margin: 4px 0;
}

.section-heading p {
    color: #8793A5;
    font-size: 13px;
}

.date-badge {
    background: white;
    padding: 10px 16px;
    border: 1px solid #E6ECF3;
    border-radius: 8px;
    font-size: 13px;
    color: #173B70;
    font-weight: bold;
}


/* =========================
   STATISTICS
========================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border: 1px solid #E9EEF5;
    padding: 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 17px;
    box-shadow: 0 3px 12px rgba(20,50,90,0.03);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 23px;
}

.icon-blue {
    background: #EAF3FF;
    color: #2878D0;
}

.icon-purple {
    background: #F2EDFF;
    color: #8255D8;
}

.icon-orange {
    background: #FFF2E6;
    color: #E78A34;
}

.stat-card span {
    color: #8793A5;
    font-size: 12px;
}

.stat-card h2 {
    color: #173B70;
    font-size: 21px;
}


/* =========================
   CONTENT GRID
========================= */

.content-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 25px;
    align-items: start;
}

.schedule-section,
.announcement-section {
    background: white;
    border: 1px solid #E9EEF5;
    border-radius: 13px;
    padding: 25px;
    min-width: 0;
    box-shadow: 0 3px 12px rgba(20,50,90,0.03);
}

.schedule-heading {
    margin-bottom: 20px;
}


/* =========================
   FILTER
========================= */

.filter-box {
    margin-bottom: 20px;
}

.filter-box label {
    display: block;
    color: #536277;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.filter-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDE5EF;
    border-radius: 8px;
    background: white;
    color: #173B70;
    outline: none;
    font-size: 13px;
}


/* =========================
   DAY TABS
========================= */

.day-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.day-btn {
    padding: 9px 15px;
    background: #F4F7FB;
    border: none;
    border-radius: 7px;
    color: #718096;
    cursor: pointer;
    white-space: nowrap;
    font-size: 12px;
    transition: 0.3s;
}

.day-btn:hover,
.day-btn.selected {
    background: #173B70;
    color: white;
}


/* =========================
   TABLE
========================= */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 550px;
}

thead {
    background: #F4F7FB;
}

th {
    color: #536277;
    font-size: 11px;
    text-align: left;
    padding: 14px 12px;
    white-space: nowrap;
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid #EDF1F6;
    color: #64748B;
    font-size: 12px;
}

td strong {
    color: #173B70;
}

.time {
    color: #2878D0;
    font-weight: bold;
    white-space: nowrap;
}

.room-badge {
    background: #EAF3FF;
    color: #2878D0;
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
}

.demo-note {
    color: #9AA6B5;
    font-size: 11px;
    margin-top: 15px;
}


/* =========================
   ANNOUNCEMENT
========================= */

.announcement-card {
    display: flex;
    gap: 13px;
    padding: 17px 0;
    border-bottom: 1px solid #EDF1F6;
}

.announcement-card:last-child {
    border-bottom: none;
}

.announcement-icon {
    min-width: 35px;
    height: 35px;
    background: #FFF2E6;
    color: #E78A34;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-weight: bold;
}

.announcement-date {
    color: #2878D0;
    font-size: 10px;
}

.announcement-card h3 {
    color: #173B70;
    font-size: 13px;
    margin: 5px 0;
}

.announcement-card p {
    color: #8793A5;
    font-size: 12px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #173B70;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer h3 {
    font-size: 16px;
}

.footer p {
    color: #C3D5EA;
    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-text h1 {
        font-size: 34px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    .nav-content {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        gap: 20px;
        overflow-x: auto;
    }

    .nav-menu a {
        white-space: nowrap;
        font-size: 12px;
    }

    .btn-login {
        font-size: 11px;
        padding: 9px 12px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 31px;
    }

    .hero-card {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .schedule-section,
    .announcement-section {
        padding: 17px;
    }

    .date-badge {
        font-size: 11px;
        padding: 8px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    }
    
}
