/* Guava-Inspired Professional Color Palette */
:root {
    --guava-coral: #E8737F;
    --guava-rose: #C85A6E;
    --guava-light: #F4A3A8;
    --guava-peach: #FFB5BA;
    --guava-blush: #FFC9CD;
    --deep-rose: #A64D5F;
    --warm-taupe: #7A5C5C;
    --cream: #FFF8F9;
    --peachy-cream: #FFF0F2;
    --soft-blush: #FFE5E8;
    --text-primary: #3E3E3E;
    --text-secondary: #5A5A5A;
    --text-light: #7A7A7A;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(200, 90, 110, 0.08);
    --shadow-md: 0 6px 24px rgba(200, 90, 110, 0.12);
    --shadow-lg: 0 12px 40px rgba(200, 90, 110, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--cream);
}

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

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

header {
    background: linear-gradient(135deg, var(--white) 0%, var(--peachy-cream) 100%);
    padding: 1.5rem 0;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--guava-light), var(--guava-coral), var(--guava-light)) 1;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-rose) 0%, var(--guava-coral) 50%, var(--guava-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: var(--transition);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--guava-coral), var(--guava-rose));
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover {
    color: var(--deep-rose);
    background: var(--soft-blush);
}

nav a:hover::after {
    width: 70%;
}

main {
    padding: 0;
}

section {
    padding: 4rem 0;
}

.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--peachy-cream) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 115, 127, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--deep-rose);
    font-weight: 700;
    line-height: 1.15;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -1px;
}

.hero h1 br {
    display: block;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.hero-image {
    width: 100%;
    max-width: 450px;
    height: 450px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
    position: relative;
    margin-left: auto;
    display: block;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    max-width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--guava-coral) 0%, var(--guava-light) 100%);
    border-radius: 20px;
    z-index: -1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--guava-coral) 0%, var(--guava-rose) 100%);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(232, 115, 127, 0.3);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 115, 127, 0.4);
    background: linear-gradient(135deg, var(--guava-rose) 0%, var(--deep-rose) 100%);
}

button, .cta-button {
    cursor: pointer !important;
}

.section-alt {
    background: linear-gradient(135deg, var(--soft-blush) 0%, var(--cream) 100%);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--deep-rose);
    font-weight: 700;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--guava-coral), var(--guava-rose));
    margin: 1rem auto 0;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    height: 3px;
    background: linear-gradient(to right, transparent, var(--guava-light), var(--guava-coral), var(--guava-light), transparent);
    margin: 3rem auto;
    max-width: 250px;
    border-radius: 3px;
}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.approach-card {
    background: var(--white);
    padding: 3rem 3rem 3rem 4rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border-left: 6px solid var(--guava-coral);
}

.approach-card:nth-child(2) {
    border-left-color: var(--guava-rose);
}

.approach-card:nth-child(3) {
    border-left-color: var(--guava-light);
}

.approach-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.approach-card-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-rose);
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.approach-card-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
}

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

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.subject-category {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid transparent;
}

.subject-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--guava-coral);
}

.subject-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--deep-rose);
    font-weight: 700;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.subject-tag {
    background: linear-gradient(135deg, var(--soft-blush) 0%, var(--peachy-cream) 100%);
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--deep-rose);
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: 2px solid var(--guava-light);
    transition: var(--transition);
    cursor: default;
    display: inline-block;
    margin: 0.4rem;
}

.subject-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 115, 127, 0.25);
    background: linear-gradient(135deg, var(--guava-coral) 0%, var(--guava-rose) 100%);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.pricing-box {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--soft-blush);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--guava-coral);
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--guava-coral), var(--guava-light), var(--guava-coral));
}

.pricing-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--deep-rose) 0%, var(--guava-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.price-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.price-note {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--soft-blush);
    text-align: center;
    grid-column: 1 / -1;
}

.about-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--peachy-cream) 100%);
    padding: 6rem 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-photo {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
    outline: 4px solid var(--guava-coral);
    transition: var(--transition);
    position: sticky;
    top: 2rem;
}

.about-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 50px rgba(232, 115, 127, 0.3);
    outline-color: var(--guava-rose);
}

.about-content {
    font-size: 1.2rem;
    line-height: 1.9;
}

.about-content p {
    margin-bottom: 1.8rem;
    color: var(--text-primary);
}

.about-content p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 0.9;
    margin-right: 0.5rem;
    color: var(--guava-coral);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

footer {
    background: linear-gradient(135deg, var(--deep-rose) 0%, var(--warm-taupe) 100%);
    color: var(--cream);
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--guava-coral), var(--guava-light), var(--guava-peach), var(--guava-light), var(--guava-coral));
}

.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, var(--soft-blush) 0%, var(--white) 100%);
    padding: 2rem 2rem 1rem 2rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--guava-coral);
}

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--peachy-cream); border: 2px solid var(--guava-coral);
    font-size: 1.5rem; cursor: pointer;
    color: var(--guava-coral); width: 38px; height: 38px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--guava-coral);
    color: white;
    transform: rotate(90deg);
}

.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 3px rgba(220, 53, 69, 0.15);
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
    font-weight: 500;
}

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

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--guava-coral);
    box-shadow: 0 0 0 3px rgba(232, 115, 127, 0.15);
}

.modal-form input.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    transition: var(--transition);
}

.modal-form button[type="submit"] {
    background: linear-gradient(135deg, var(--guava-coral) 0%, var(--guava-rose) 100%);
    transition: var(--transition);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

.modal-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 115, 127, 0.35);
}
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-image {
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .hero-image-wrapper::before {
        max-width: 350px;
        height: 350px;
    }

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

    .approach-card {
        padding: 2.5rem 2rem 2.5rem 3rem;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-photo {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container, .container-narrow {
        padding: 0 1.5rem;
    }

    nav {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .logo {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-image {
        max-width: 280px;
        height: 280px;
    }

    .hero-image-wrapper::before {
        max-width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.15rem;
    }

    .approach-card {
        padding: 2rem 1.5rem 2rem 2.5rem;
    }

    .approach-card-content h3 {
        font-size: 1.6rem;
    }

    .pricing-box {
        padding: 2rem;
    }

    .price {
        font-size: 2.8rem;
    }

    .about-photo {
        height: 300px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

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

    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
}

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

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