/* Hero Section */
.hero-section {
    background-color: #306B77;
    background-image: url('/images/massachusetts-hero-1024.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 123, 137, 0.7);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

/* Logo in hero */
.brand-visual img {
    height: 100px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Hero text */
.hero-text {
    color: white;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.subheading {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content .lead {
    font-size: 1.1rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-image: url('/images/massachusetts-hero-768.jpg');
        min-height: 400px;
    }

    .brand-visual img {
        height: 80px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .subheading {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        background-image: url('/images/massachusetts-hero-320.jpg');
        min-height: 350px;
        padding: 2rem 1rem;
    }

    .brand-visual img {
        height: 60px;
    }

    .brand-name {
        font-size: 1.75rem;
    }

    .subheading {
        font-size: 1.1rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }
}

/* Bio Card */
.bio-card {
    background: linear-gradient(135deg, #0077b6, #2a9d8f);
    color: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 2rem auto;
    max-width: 1200px;
}

    .bio-card h2 {
        color: white;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

/* Other sections */
.intro, .cta-banner {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

    .intro h2, .cta-banner h2 {
        font-size: 2rem;
        color: #306B77;
        margin-bottom: 1.5rem;
    }

/* Service cards */
.services-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

    .services-links .card {
        background: #f8f9fa;
        border: 2px solid #58c8c8;
        padding: 2rem;
        border-radius: 12px;
        flex: 1;
        min-width: 280px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .services-links .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .services-links .card h3 {
            color: #306B77;
            margin-bottom: 1rem;
        }

/* EMDR Stats */
.emdr-stat {
    margin: 2rem auto;
    background: #fffbe6;
    border-left: 4px solid #FFD166;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 700px;
}

/* Tools section */
.tools-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: thin;
}

.carousel-img {
    flex: 0 0 auto;
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .carousel-img:hover {
        transform: scale(1.05);
    }

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
