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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafc;
    color: #333;
}

/* Navigation Styles */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

nav .logo img {
    height: 5rem;
    width: 7rem;
}

nav .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

nav .nav-menu li {
    margin-left: 20px;
}

nav .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav .nav-menu li a:hover,
nav .nav-menu li a.active {
    color: #007BFF;
}

nav .login-btn {
    background-color: #007BFF;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav .login-btn:hover {
    background-color: #0056b3;
}

/* Hero Section */
.schedule-hero {
    background-image: url('../img/schedule-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: #a5a3a3;
    text-align: center;
}

.schedule-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.schedule-hero-content p {
    font-size: 24px;
}

/* Schedule Section */
.schedule-section {
    padding: 60px 20px;
}

.schedule-filters {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 10px;
}

.schedule-filters select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

.schedule-table thead {
    background-color: #007BFF;
    color: #fff;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f4f6f8;
}

.class-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.class-slot .subject {
    font-weight: bold;
    margin-bottom: 5px;
}

.class-slot .grade {
    font-size: 14px;
    color: #666;
}

/* Schedule Notes */
.schedule-notes {
    background-color: #f4f6f8;
    padding: 40px 20px;
}

.schedule-notes h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.schedule-notes ul {
    list-style: disc;
    margin-left: 40px;
    font-size: 16px;
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-container > div {
    flex: 1 1 calc(25% - 20px);
}

.footer-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-container ul {
    list-style: none;
}

.footer-container ul li {
    margin-bottom: 10px;
}

.footer-container ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-container ul li a:hover {
    color: #fff;
}

.footer-container .social-links a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    text-decoration: none;
}

.footer-container .social-links a:hover {
    color: #fff;
}

.footer-container .stats p {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-container .newsletter form {
    display: flex;
    flex-direction: column;
}

.footer-container .newsletter input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-container .newsletter button {
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-container .newsletter button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    color: #ccc;
    margin-top: 40px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .schedule-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-filters select {
        width: 100%;
    }

    .footer-container > div {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    nav .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 200px;
        height: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: right 0.3s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    nav .nav-menu.active {
        right: 0;
    }

    nav .menu-toggle {
        display: block;
    }

    nav .nav-menu li {
        margin: 15px 0;
    }

    .schedule-hero-content h1 {
        font-size: 36px;
    }

    .schedule-hero-content p {
        font-size: 18px;
    }

    .schedule-filters {
        align-items: stretch;
    }

    .schedule-filters select {
        width: 100%;
        margin-bottom: 10px;
    }

    .schedule-table table,
    .schedule-table thead,
    .schedule-table tbody,
    .schedule-table th,
    .schedule-table td,
    .schedule-table tr {
        display: block;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tbody tr {
        margin-bottom: 15px;
    }

    .schedule-table td {
        padding: 10px;
        text-align: right;
        position: relative;
    }

    .schedule-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }

    .footer-container > div {
        flex: 1 1 100%;
    }
}
