/* --- Basic Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0a58ca;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #212529;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #495057;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.1;
}

.main-nav {
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.2s ease-in-out;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.2s ease-in-out;
    left: 0;
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

/* --- Hero Section with Parallax --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/banner-optimized.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

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

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

.cta-button {
    display: inline-block;
    background-color: #6a994e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* --- Page Sections --- */
.page-section {
    padding: 5rem 2rem;
}

.alt-background {
    background-color: #f8f9fa;
}

.section-container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Expertise Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature-item {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.psych-teaser {
    font-style: italic;
    color: #6c757d;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid #6a994e;
    padding-left: 1rem;
}

/* --- Our Approach Section --- */
.approach-steps {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6a994e;
    line-height: 1;
}

.step-content h4 {
    margin-bottom: 0.3rem;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    background-color: #343a40;
    color: #fff;
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: #fff;
}

.cta-section .cta-button {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* --- Footer --- */
.main-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
}

/*
=========================================
--- MOBILE RESPONSIVE STYLES ---
=========================================
*/
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav li:last-child a {
        border-bottom: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    body.nav-open .main-nav {
        display: block;
    }
    
    body.nav-open .hamburger-icon { background: transparent; }
    body.nav-open .hamburger-icon::before { transform: rotate(45deg) translate(5px, 5px); }
    body.nav-open .hamburger-icon::after { transform: rotate(-45deg) translate(5px, -5px); }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 4rem 1.5rem;
    }

    .hero-background {
        height: 100%;
    }

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

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

    .page-section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/*
=========================================
--- CONTACT PAGE & FORM STYLES ---
=========================================
*/

.form-container {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #495057;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #6a994e;
    box-shadow: 0 0 0 3px rgba(106, 153, 78, 0.25);
}

.form-container .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-container {
        padding: 1.5rem;
    }
}

/*
=========================================
--- UTILITY & SINGLE-PAGE STYLES ---
=========================================
*/
.centered-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}