/* ====== GENERAL RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ====== HEADER & NAVBAR ====== */
header {
    background: #0d6efd;
    color: white;
    padding: 15px 0;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background: #084298;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    margin-right: 20px;
}

/* ====== HERO (HOME PAGE) ====== */
.hero {
    position: relative;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.6)
      ),
      url('images/StudentTeaching.png') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
  
.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}
  
.hero p {
    font-size: 20px;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* ====== PAGE HEADER (OTHER PAGES) ====== */
.page-header {
    background: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #555;
}

/* ====== CONTENT SECTIONS ====== */
.content-section {
    padding: 40px 20px;
}

.content-section .container {
    max-width: 900px;
    margin: auto;
}

.light-bg {
    background: #f9f9f9;
}

/* ====== SYLLABUS LIST ====== */
.syllabus {
    list-style: none;
    padding-left: 0;
}

.syllabus li {
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-left: 5px solid #0d6efd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ====== BLOCKQUOTE ====== */
blockquote {
    margin-top: 20px;
    padding: 15px 20px;
    background: #e9f0ff;
    border-left: 5px solid #0d6efd;
    font-style: italic;
    color: #333;
}

/* ====== CARDS (HOME PAGE) ====== */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 300px;
    flex: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card h3 {
    color: #0d6efd;
    margin-bottom: 15px;
}

.card:hover {
    transform: scale(1.05);
}

/* ====== CONTACT FORM ====== */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
}

.contact-form label {
    margin: 12px 0 6px;
    font-weight: 600;
    color: #0d6efd;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0d6efd;
    outline: none;
}

.contact-form button {
    margin-top: 20px;
    padding: 14px;
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #084298;
}

/* ====== FOOTER ====== */
footer {
    background: #0d6efd;
    color: white;
    text-align: center;
    padding: 15px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background: #0d6efd;
        margin-top: 10px;
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cards-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .card {
        flex: none;
        width: 90%;
        max-width: 300px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-section {
        padding: 20px 10px;
    }

    .contact-form {
        width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 14px;
    }
}
