:root {
    --primary: #2c3e50;
    --accent: #e8a87c;
    /* Warm, welcoming tone suggested by behavioral services context */
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --spacing-unit: 1rem;
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.logo {
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

nav a {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-dark);
}

nav a:hover {
    color: var(--accent);
}

.cta-button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
}

.cta-button:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-color: #333;
    /* Fallback */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.squarespace-cdn.com/content/v1/6419e9f17d3522408ca40d3e/73312c04-013e-4cac-af38-ea91803134e4/krakenimages-Br-ayoAxFuQ-unsplash.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero .hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Services Grid */
.services,
.content-section {
    padding: 5rem 5%;
    background-color: var(--bg-light);
    flex-grow: 1;
}

.content-section {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: auto;
}

footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Mobile Nav Fix */
    /* Mobile Nav Fix */
    header {
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .cta-button {
        display: inline-block;
        /* Restore visibility */
        margin-top: 1rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Additional Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-content h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    /* Center the content including the image */
}

.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Content Images */
.content-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-image-right {
    float: right;
    width: 40%;
    max-width: 400px;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .content-image-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }

    .content-banner {
        height: 250px;
    }
}


.team-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Navigation CTA Button */
.nav-cta {
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .nav-cta {
        margin: 1rem auto 0;
        display: inline-block;
    }
}

/* Value Proposition Section */
.value-proposition {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.value-cta {
    text-align: center;
    margin-top: 3rem;
}

.value-cta .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.process-step {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: -0.5rem 0;
    }

    .process-step {
        max-width: 100%;
    }
}

/* Contact Section - Centered Layout */
.contact-content-centered {
    text-align: center;
    max-width: 600px;
}

.contact-intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 2rem;
}

.contact-info-box h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.contact-info-box h3:first-child {
    margin-top: 0;
}

.contact-info-box p {
    margin-bottom: 0;
    color: var(--text-dark);
}

.contact-info-box a {
    color: var(--accent);
    font-weight: 500;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

.contact-cta {
    display: inline-block;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Hero Button Enhancement */
.hero .hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 168, 124, 0.4);
}