/* ============================================
   BEND FAMILY THERAPY - STYLE.CSS
   Organized and Cleaned Up Version
   ============================================ */

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. RESET & BASE STYLES
   2. LAYOUT & CONTAINER
   3. HEADER & NAVIGATION
   4. HERO SECTION
   5. BUTTONS & CTA
   6. SECTIONS & CONTENT AREAS
   7. SERVICE CARDS & GRID
   8. TEAM SECTION
   9. INSURANCE BOX
   10. CONTACT SECTION
   11. FORMS
   12. MAP SECTION
   13. FOOTER
   14. BIO PAGES
   15. SERVICE PAGES
   16. MEDIA QUERIES - TABLET
   17. MEDIA QUERIES - MOBILE
   ============================================ */


/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-padding-top: 120px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #a7988b;
    line-height: 1.6;
    background: #f4f2f0;
}


/* ============================================
   2. LAYOUT & CONTAINER
   ============================================ */

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


/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */

header {
    background: #c8beb6;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

/* Logo */
.logo {
    font-size: 2rem;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 5px;
    z-index: 101;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #25aae1;
}

.nav-links a.btn {
    padding: 0.25rem 0.75rem;
    border-radius: 40%;
    font-size: 1.3rem;
}

.nav-links a.btn:hover {
    color: white;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}


/* ============================================
   4. HERO SECTION
   ============================================ */

.hero {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 41.67%; /* 500/1200 aspect ratio */
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    -webkit-text-stroke: 3px rgba(0,0,0,0.5);
    text-stroke: 3px rgba(0,0,0,0.5);
    paint-order: stroke fill;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    -webkit-text-stroke: 3px rgba(0,0,0,0.5);
    text-stroke: 3px rgba(0,0,0,0.5);
    paint-order: stroke fill;
}

.hero a[href^="tel"] {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    -webkit-text-stroke: 3px rgba(0,0,0,0.5);
    text-stroke: 3px rgba(0,0,0,0.5);
    paint-order: stroke fill;
}


/* ============================================
   5. BUTTONS & CTA
   ============================================ */

.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #2596be;
    color: white;
}

.btn-secondary {
    background: #C47f54;
    color: white;
}

.btn-full-width {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}


/* ============================================
   6. SECTIONS & CONTENT AREAS
   ============================================ */

.section {
    padding: 0 0 3rem 0;
}

.section-alt {
    background: white;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #25aae1;
	padding: 1rem 0 0 0;
    font-weight: 300;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto 3rem;
    max-width: 800px;
    color: #a7988b;
    line-height: 1.8;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    max-width: 800px;
    color: #a7988b;
    line-height: 1.8;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #a7988b;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* ============================================
   7. SERVICE CARDS & GRID
   ============================================ */

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    display: block;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.section-alt .service-card {
    background: white;
}

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

.service-icon {
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;
    position: relative;
    overflow: hidden;
}

.service-icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.service-card h3 {
    color: #00a79d;
    margin: 0;
    font-size: 1.5rem;
}


/* ============================================
   8. TEAM SECTION
   ============================================ */

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

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #c8beb6;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: #25aae1;
    margin-bottom: 0.5rem;
}

.team-member h4 a {
    color: #25aae1;
}

.team-member-link {
    text-decoration: none;
    color: #25aae1 !important;
}

.team-member-link:visited {
    color: #25aae1 !important;
}

.team-member-link:hover {
    color: #1e8bb5 !important;
    text-decoration: underline;
}

.team-photo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.team-photo-link:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.team-photo-link .team-photo {
    cursor: pointer;
}


/* ============================================
   9. INSURANCE BOX
   ============================================ */

.insurance-box {
    background: linear-gradient(135deg, #25aae1 0%, #00a79d 100%);
    color: white;
    padding: 2rem 3rem;
    margin-top; 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.insurance-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.insurance-main-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.insurance-secondary-text {
    font-size: 1rem;
}


/* ============================================
   10. CONTACT SECTION
   ============================================ */

.contact-info-top {
    text-align: center;
    margin: 0.5rem auto 3rem;
    max-width: 700px;
    color: #a7988b;
}

.contact-info-top p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info-top a {
    color: #25aae1;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info-top a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-details {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f4f2f0;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details a {
    color: #a7988b !important;
    text-decoration: none;
}

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

.contact-info-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f4f2f0;
}

.contact-info-section a {
    color: #a7988b !important;
    text-decoration: none;
}

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


/* ============================================
   11. FORMS
   ============================================ */

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f4f2f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #25aae1;
}

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

form .btn {
    display: block;
    margin: 0 auto;
}

.form-message {
    display: none;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hipaa-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.hipaa-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hipaa-notice strong {
    color: #664d03;
}

.hipaa-notice a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
}

.hipaa-notice a:hover {
    color: #003d82;
}


/* ============================================
   12. MAP SECTION
   ============================================ */

.contact-map {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-container {
    width: 100%;
    height: 450px;
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    border: 0;
    border-radius: 15px;
    height: 100%;
}

.map-mobile {
    display: none;
}

.map-desktop {
    display: block;
}

.map-heading {
    color: #25aae1;
    margin-bottom: 1rem;
    font-weight: 300;
}

.map-button-container {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
}

.map-details {
    margin-top: 1.5rem;
    color: #a7988b;
}

.map-details a {
    color: #a7988b !important;
    text-decoration: none;
}

.map-details a:hover {
    text-decoration: underline;
}

.map-address {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.map-address p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.map-address a {
    color: #a7988b !important;
    text-decoration: none;
}

.map-address a:hover {
    text-decoration: underline;
}


/* ============================================
   13. FOOTER
   ============================================ */

footer {
    background: #c8beb6;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-minimal {
    text-align: center;
    padding: 0.5rem 0 1rem 0;
}

.footer-minimal h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-contact {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-separator {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-address {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-address a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-address a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}


/* ============================================
   14. BIO PAGES
   ============================================ */

/* Reduce section bottom padding for bio pages */
.bio-container .section,
section:has(.bio-container) {
    padding-bottom: 0;
}

.bio-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
}

.bio-sidebar {
    float: right;
    width: 400px;
    padding: 4rem 0 1rem 2rem;
}

.bio-photo {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-name {
    color: #00a79d;
    padding-top: .5rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
}

.bio-content {
    padding-top: 0.5rem;
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section-header {
    color: #25aae1;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.bio-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #a7988b;
    text-align: justify;
}

.bio-section p:last-child {
    margin-bottom: 0;
}

.bio-section ul {
    margin: 1rem 0 1.5rem 2rem;
    padding: 0;
}

.bio-section ul li {
    margin-bottom: 0.5rem;
    color: #a7988b;
    line-height: 1.8;
    font-size: 1.1rem;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.bio-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.bio-list li:before {
    content: "•";
    color: #25aae1;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.bio-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.bio-card h3 {
    color: #25aae1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 300;
}

.bio-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bio-card p:last-child {
    margin-bottom: 0;
}

.bio-card a {
    color: #25aae1;
    text-decoration: none;
}

.bio-card a:hover {
    text-decoration: underline;
}

.bio-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bio-list-simple li {
    padding: 0.5rem 0;
    color: #a7988b;
}


/* ============================================
   15. SERVICE PAGES
   ============================================ */

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
    background: #c8beb6;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.slide-dots {
    text-align: center;
    padding: 1rem;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* Reduce section bottom padding for service pages */
.service-container .section,
section:has(.service-container) {
    padding-bottom: 0;
}

.service-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-title {
    color: #25aae1;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.service-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
    color: #a7988b;
}

.service-section {
    margin-bottom: 2rem;
}

.service-section:last-of-type {
    /*margin-bottom: 3rem;*/
}

.service-section-header {
    color: #25aae1;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.service-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #a7988b;
    text-align: justify;
}

.service-section p:last-child {
    margin-bottom: 0;
}

.service-section ul {
    margin-left: 1.5rem;
    color: #a7988b;
}

.service-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}


/* ============================================
   16. MEDIA QUERIES - TABLET (768px - 1023px)
   ============================================ */

@media (max-width: 1023px) {
    /* Navigation */
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

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

    /* Sections */
    .section-title {
        font-size: 2.5rem;
    }

    .section-intro,
    .contact-intro {
        font-size: 1rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Service Grid */
    .service-card-link {
        flex: 0 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Team Grid */
    .team-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-photo {
        width: 200px;
        height: 200px;
    }

    /* Contact Container */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        height: auto;
    }

    .map-container {
        height: 450px;
        flex: none;
    }

    /* Bio Pages */
    .bio-container {
        padding: 0.75rem 2rem 3rem 2rem;
    }
    
    .bio-sidebar {
        /*margin-left: 2rem;*/
    }
    
    .bio-photo {
        /*width: 200px;*/
        aspect-ratio: 2/3;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .bio-name {
        font-size: 1.5rem;
    }

    .bio-section-header {
        font-size: 1.3rem;
    }

    .bio-section p {
        font-size: 1rem;
    }

    /* Service Pages */
    .service-title {
        font-size: 2.5rem;
    }

    .service-intro {
        font-size: 1rem;
    }

    .service-section-header {
        font-size: 1.5rem;
    }

    .service-section p {
        font-size: 1rem;
    }
}


/* ============================================
   17. MEDIA QUERIES - MOBILE (0px - 767px)
   ============================================ */

@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Header & Navigation */
    header {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 80px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 150px;
        background: #c8beb6;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 1.25rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Hero */
    .hero-image-wrapper {
        padding-bottom: 75%;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        min-width: 200px;
        max-width: 280px;
        width: auto;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-intro,
    .contact-intro {
        font-size: 1rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Service Grid */
    .services-grid {
        gap: 1.5rem;
    }

    .service-card-link {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Team Grid */
    .team-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Insurance Box */
    .insurance-box {
        padding: 2rem 1.5rem;
    }

    .insurance-box h3 {
        font-size: 1.5rem;
    }

    /* Contact Section */
    .contact-form,
    .contact-map {
        padding: 2rem 1.5rem;
    }

    .contact-map {
        height: auto;
    }

    .map-container {
        height: 300px;
        flex: none;
    }

    .map-mobile {
        display: block;
    }

    .map-desktop {
        display: none;
    }

    /* Footer */
    .footer-minimal {
        padding: 1.5rem 0;
    }

    .footer-contact {
        font-size: 0.95rem;
    }

    .footer-separator {
        margin: 0 0.5rem;
    }

    /* Bio Pages */
    .bio-container {
        padding: 2rem 1rem;
    }

    .bio-sidebar {
        position: static;
        text-align: center;
        width: 100%;
        float: none;
        padding: 0 0 0 0;
    }

    .bio-photo {
        width: 250px;
        aspect-ratio: 2/3;
        height: auto;
        margin: 0 auto 0.5rem;
        float: none;
    }

    .bio-name {
        font-size: 1.4rem;
        margin-bottom: 0;
        color: #00a79d;
    }

    .bio-section-header {
        font-size: 1.3rem;
    }

    .bio-section p {
        font-size: 1rem;
    }

    /* Service Pages */
    .service-container {
        padding: 0 1rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-intro {
        font-size: 1rem;
    }

    .service-section-header {
        font-size: 1.3rem;
    }

    .service-section p {
        font-size: 1rem;
    }
}

@media (max-width: 479px) {
    /* Hero adjustments for very small screens */
    .hero-image-wrapper {
        padding-bottom: 100%; /* Increase height to accommodate content */
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
        font-weight: 400;
        -webkit-text-stroke: 2px rgba(0,0,0,0.6);
        text-stroke: 2px rgba(0,0,0,0.6);
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
        font-weight: 500;
        line-height: 1.4;
        -webkit-text-stroke: 2px rgba(0,0,0,0.6);
        text-stroke: 2px rgba(0,0,0,0.6);
    }

    .hero-content {
        width: 95%;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        font-weight: 600;
    }

    /* Section title adjustments */
    .section-title {
        font-size: 2rem;
        font-weight: 400;
    }

    /* Intro text adjustments */
    .section-intro,
    .contact-intro {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Footer */
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }

    /* Bio section adjustments */
    .bio-section p {
        font-size: 1rem;
    }

    /* Service section adjustments */
    .service-section p {
        font-size: 1rem;
    }
}