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

body {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fefefe;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #dee2e6;
}

.header-content {
    text-align: center;
}

.logo {
    font-size: 2.8rem;
    font-weight: normal;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.tagline {
    font-size: 1.3rem;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 2rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #495057;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #2c3e50;
    border-bottom-color: #6c757d;
}

main {
    padding: 0;
}

section {
    padding: 4rem 0;
}

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: normal;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #6c757d;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    cursor: pointer;
}
    button, .cta-button {
        cursor: pointer !important;
    }

.cta-button:hover {
    background: transparent;
    color: #2c3e50;
    transform: translateY(-2px);
}

.section-alt {
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: normal;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 2rem;
    text-align: center;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 2rem auto;
    max-width: 200px;
}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto;
}

.approach-card {
    background: white;
    padding: 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.approach-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.approach-card p {
    color: #6c757d;
    line-height: 1.6;
}

.subjects-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.subject-tag {
    background: #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: #495057;
    font-size: 1.05rem;
}

.pricing-box {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.price-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.price-note {
    font-size: 1rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 1rem;
}

.about-section {
    background: white;
    padding: 5rem 0;
}

.about-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin: 0 auto 3rem auto;
    display: block;
}

.about-content {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.modal-overlay {
    display: none;                    /* Hidden by default */
    position: fixed;                  /* Covers entire screen */
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);   /* Dark semi-transparent background */
    z-index: 1000;                    /* Above everything else */
    opacity: 0;
    transition: opacity 0.3s ease;    /* Smooth fade in/out */
}

.modal-overlay.show {
    opacity: 1;                       /* Visible when .show class added */
}

.modal-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);  /* Centered, slightly small */
    background: white;
    border-radius: 12px;
    max-width: 500px; width: 90%;
    max-height: 90vh; overflow-y: auto;
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translate(-50%, -50%) scale(1);    /* Full size when shown */
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 2rem 1rem 2rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer;
    color: #6c757d; width: 30px; height: 30px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0,0,0,0.1);
}

.modal-form {
    padding: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}
.form-field {
    margin-bottom: 1.5rem;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-field.error .error-message {
    display: block;
}

.modal-form input:focus, 
.modal-form select:focus, 
.modal-form textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.modal-form input.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    nav {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}