
:root {
    --primary-blue: #007BFF;
    --softer-blue: #6C757D;
    --light-background: #F8F9FA;
    --white: #FFFFFF;
    --dark-text: #343A40;
    --heading-font: 'Merriweather', serif;
    --body-font: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--body-font);
    background-color: var(--light-background);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.5rem;
}

.hamburger {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.nav-menu ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: bold;
}

.nav-menu ul li a:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-family: var(--heading-font);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Classes Section */
.class-cards {
    display: grid;
    gap: 1.5rem;
}

.card {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--heading-font);
    margin-bottom: 0.5rem;
}

/* Teachers Section */
.teacher-cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.teacher-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.teacher-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.teacher-card h4 {
    font-family: var(--heading-font);
}

/* Contact Section */
.contact-content {
    display: grid;
    gap: 2rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    width: 100%;
    border: none;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
}


/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.modal-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--softer-blue);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-center a {
    color: var(--softer-blue);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-center a:hover {
    text-decoration: underline;
}
