/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
}

/* ================= HERO SECTION ================= */
.contact-hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
}

.note-msg {
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.6;
    opacity: 0.95;
}

.contact-hero-section img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ================= CLASS BUTTONS ================= */
.class-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 20px;
}

.class-buttons button {
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    background: #667eea;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.class-buttons button:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

/* ================= BOOK SECTIONS ================= */
.book-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.book-section h3 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #444;
}

/* ================= TABLE ================= */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

table th {
    background: #667eea;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-size: 0.9rem;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

table tr:hover {
    background: #f3f5ff;
}

/* Stationery row */
.stationery td {
    background: #764ba2;
    color: #fff;
    text-align: center;
    font-weight: 500;
}
/* Note heading styling */
.contact-hero-subtitle-note {
    font-weight: bold;
    color: #d9534f; /* Alert red color */
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Common styling for note messages */
.note-msg {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Light grey background */
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #d9534f; /* Left border highlight */
    border-radius: 4px;
    max-width: 600px; /* Optional: Width control */
}

/* Specific styling for the mandatory part to make it stand out */
.note-msg:last-of-type {
    font-weight: 600;
    color: #000;
    background-color: #fff3cd; /* Light yellow warning background */
    border-left-color: #856404; /* Darker yellow/brown border */
}
/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-section {
        text-align: center;
    }

    .contact-hero-section .row {
        flex-direction: column;
    }

    .contact-hero-section img {
        margin-top: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .contact-hero-title {
        font-size: 1.6rem;
    }

    .note-msg {
        font-size: 0.85rem;
    }

    .class-buttons {
        gap: 8px;
    }

    .class-buttons button {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    table th, table td {
        font-size: 0.8rem;
        padding: 8px;
    }

    .book-section {
        padding: 10px;
    }
}

/* Extra Small (Phones <400px) */
@media (max-width: 400px) {
    table th, table td {
        font-size: 0.75rem;
    }

    .class-buttons button {
        padding: 6px 10px;
    }
}