/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Inter', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #f4f4f4;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-logo {
    display: flex;
    align-items: center;
}

.phone {
    font-size: 1rem;
    color: #5F7F6A; /* Muted sage green */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.phone::before {
    content: "📞"; /* Single icon via CSS */
    margin-right: 0.5rem; /* Space between icon and number */
    font-size: 1em; /* Smaller size */
}

.top-bar {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu li a {
    text-decoration: none;
    color: #333; /* Default menu color */
    font-weight: 500;
    display: block;
}

.nav-menu li a:hover {
    color: #5F7F6A; /* Muted sage green on hover */
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    .top-bar {
        margin: 0.5rem 0;
    }
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu li {
        margin: 0.5rem 0;
    }
}

/* Hero Section with Gradient Background */
.hero {
    background: linear-gradient(135deg, #F5E8C7 0%, #D8E2DC 100%); /* Warm gradient */
    text-align: center;
    padding: 1.8rem 1rem; /* Reduced from 2rem to 1.8rem (10% lower) */
    color: #333;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1.8rem; /* Reduced from 2rem to 1.8rem (10% lower) */
}

.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #5F7F6A; /* Muted sage green */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #5F7F6A; /* Muted sage green */
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #5F7F6A; /* Muted sage green */
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background-color: #4A6A57; /* Slightly darker green */
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .button {
        padding: 0.6rem 1.2rem;
    }
    .hero {
        padding: 1.6rem 1rem; /* Slightly adjusted for mobile to maintain proportion */
    }
    .hero-content {
        padding: 1.6rem; /* Slightly adjusted for mobile */
    }
}

/* About Section */
#about {
    padding: 3rem 1rem;
    text-align: center;
}

.about-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    max-height: 624px;
    overflow: auto;
}

.about-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #5F7F6A;
    font-weight: 400;
    text-align: left;
}

.about-text p {
    font-size: 0.9em;
    margin-bottom: 1rem;
    text-align: left;
}

.about-text a {
    color: #5F7F6A;
    text-decoration: none;
    font-weight: 500;
}

.about-text a:hover {
    text-decoration: underline;
}

.profile-photo {
    width: 390px;
    height: auto;
    max-height: 624px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #5F7F6A; /* Greenish border */
    display: block;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    .about-text {
        text-align: center;
        max-height: none;
    }
    .about-text h3 {
        text-align: center;
    }
    .about-text p {
        text-align: center;
    }
    .profile-photo {
        width: 312px;
        max-height: 312px;
    }
}

/* Dream Therapy Section */
#dream-therapy {
    background-color: #f9f9f9;
    padding: 3rem 1rem;
    text-align: center;
}

#dream-therapy h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #5F7F6A;
    font-weight: 600;
}

.therapy-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start; /* Align text and image at the top */
}

.therapy-image {
    flex: 1;
    width: 255px; /* Reduced by 15% from 300px */
    height: 400px;
    object-fit: cover;
    border-radius: 10px; /* Matching profile photo */
    border: 2px solid #5F7F6A; /* Matching greenish border */
}

.therapy-text {
    flex: 1;
    padding: 0 1.5rem; /* No top padding, kept side padding */
    max-width: 345px; /* Adjusted to 300px + 15% of original width (45px) */
    overflow-y: auto;
    text-align: left;
}

.therapy-text p {
    font-size: 0.9em;
    margin-top: 0; /* Remove default margin to align with image top */
}

@media (max-width: 600px) {
    .therapy-container {
        flex-direction: column;
        align-items: center;
    }
    .therapy-image {
        width: 100%;
        height: 300px; /* Adjusted height for mobile */
        border-radius: 10px; /* Matching profile photo on mobile */
    }
    .therapy-text {
        max-width: 100%;
        height: auto;
        padding: 1.5rem; /* Restore padding on mobile */
    }
}

/* FAQ Section */
#faq {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f9f9f9;
}

#faq h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #5F7F6A;
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #5F7F6A;
    font-weight: 500;
}

.faq-item p {
    font-size: 0.9em;
    color: #333;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .faq-container {
        padding: 0 1rem;
    }
}

/* Contact Section */
#contact {
    padding: 3rem 1rem;
    text-align: center;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #5F7F6A;
    font-weight: 600;
}

#contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

#contact label {
    display: block;
    margin: 0.5rem 0;
    font-weight: 500;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact button {
    padding: 0.8rem 1.5rem;
    background-color: #5F7F6A;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

#contact button:hover {
    background-color: #4A6A57;
}

@media (max-width: 600px) {
    #contact form {
        padding: 0 1rem;
    }
    #contact button {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer p {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 600px) {
    footer {
        padding: 1rem 0.5rem;
    }
}