body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333333;
    background-color: #f7f7f7;
}



nav {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.nav-right a {
    margin-left: 20px;
    text-decoration: none;
    color: #23395d;
    font-weight: bold;
}

.nav-right a:hover {
    color: #4d6fa3;
}

.contact-button {
    display: inline-block;
    background-color: #23395d;
    color: white !important;
    padding: 10px 18px;
    border-radius: 6px;
}

.nav-right a.contact-button:hover {
    background-color: #4d6fa3;
    color: white !important;
}

.nav-left {
    color: #23395d;
    font-weight: bold;
    font-size: 1.1rem;
}


html {
    scroll-behavior: smooth;
}

header {
    background-color: #23395d;
    color: white;
    padding: 50px;
}


.intro {
    font-size: 1.2rem;
    max-width: 600px;
}

.credentials {
    font-weight: bold;
    margin-top: 25px;
}

.hero-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background-color: white;
    color: #23395d;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

.hero-button:hover {
    background-color: #e8edf5;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image img {
    width: 280px;
    border-radius: 50%;
    border: 5px solid white;
}

h1 {
    margin-top: 0;
    font-size: 3rem;
}

h2 {
    color: #23395d;
}

header h2 {
    color: white;
}

.tagline {
    font-weight: bold;
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 50px 40px;
    scroll-margin-top: 70px;
}

.columns {
    display: flex;
    gap: 50px;
}

.columns div {
    flex: 1;
}

.testimonial {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #23395d;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial h3 {
    margin-top: 0;
    color: #23395d;
}

.testimonial p {
    line-height: 1.8;
}

.testimonial p:last-child {
    margin-bottom: 0;
}


footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #23395d;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #e8edf5;
}

@media (max-width: 800px) {

    nav {
        flex-direction: column;
        padding: 15px 10px;
    }

    .nav-left {
        margin-bottom: 10px;
    }

    .nav-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-right a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .contact-button {
        margin-top: 5px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .columns {
        flex-direction: column;
    }

    .subject-cards {
    flex-direction: column;
    }

    .qualification-cards {
        flex-direction: column;
    }

    .features {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

   header {
        padding: 35px 20px;
    }

    .hero-image img {
        width: 220px;
    }

   section {
        padding: 40px 20px;
    }

    .features {
        padding: 25px 20px;
    }


}

.features {
    display: flex;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 40px;
}

.feature {
    flex: 1;
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.feature h3 {
    color: #23395d;
    margin-top: 0;
}

.feature p {
    margin-bottom: 0;
}

.email-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: #23395d;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
}

.email-button:hover {
    background-color: #4d6fa3;
}

.subject-cards {
    display: flex;
    gap: 25px;
}

.subject-card {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.subject-card h3 {
    color: #23395d;
    margin-top: 0;
    font-size: 1.3rem;
}

.subject-levels {
    font-weight: bold;
    color: #4d6fa3;
}

.subject-card p:last-child {
    margin-bottom: 0;
}

.qualification-cards {
    display: flex;
    gap: 25px;
}

.qualification-card {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.qualification-card h3 {
    color: #23395d;
    margin-top: 0;
    font-size: 1.3rem;
}

.qualification-card ul {
    padding-left: 20px;
}

.qualification-card li {
    margin-bottom: 10px;
}

.qualification-card li:last-child {
    margin-bottom: 0;
}