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

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

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

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #1e3a8a;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #0d9488;
}

.btn-primary {
    background: #0d9488;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #0f766e;
}

.btn-secondary {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0;
}

.hero-content {
    flex: 1;
    padding: 0 5%;
}

.hero h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #475569;
}

.hero-image {
    flex: 1;
    padding: 0 5%;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about, .courses, .why, .contact {
    padding: 5rem 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img, .tutor-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.course-grid, .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card, .why-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.course-card:hover, .why-item:hover {
    transform: translateY(-5px);
}

.course-card h3, .why-item h3 {
    color: #0d9488;
    margin-bottom: 1rem;
}

.tutor-image {
    margin-top: 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
}

footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
}