:root {
    --primary-color: #587E5C;
    /* Sage Green */
    --secondary-color: #f1f2ea;
    /* Warm Sand/Off-white */
    --accent-color: #D6CFC1;
    /* Muted Beige */
    --text-color: #1a4d2e;
    /* Dark Green/Grey */
    --text-light: #FFFFFF;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2 {
    font-weight: 500;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;

}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);

}
h3 {
    color: var(--text-color);
}

h4 {
    color: var(--primary-color);
    font-weight: 500;

}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-light);
    /* Keep light on video bg */
    border-color: var(--text-light);
}

.btn-small {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-small:hover {
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 77, 46, 0.6);
    /* Dark Green tint */
}

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

.hero-text-container {
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    /* Wrap around content */
}


.hero-text-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Tint */
    /* Gaussian blur */
    filter: blur(15px);
    z-index: -1;
}

.hero-text {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .hero-text {
        font-size: 1.1rem;
    }
}

.hero-subtext {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

/* Sticky Nav */
.sticky-nav {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    align-items: center;
}

.logo img {
    width: auto;
    height: 3rem;
    margin-right: 1rem;
}

@media (max-width: 600px) {
    .logo img {
        height: 2rem;
    }
}

.nav-links {
    display: inline-flex;
    align-items: center;
    /* centers button content vertically */
    vertical-align: middle;
    /* aligns with text */
    list-style: none;
    gap: 1.75rem;
}

.nav-links a {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .mobile-nav-btn a::after {
    content: none;
    /* removes pseudo-element */
}

.mobile-nav-btn a {
    color: var(--text-light);
}

/* Base: ensure clean bar transforms */
.mobile-menu-toggle {
    display: none;
    /* shown in media query */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;


}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform-origin: center;
    /* rotate around center */
}

/* Active → turn into X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem 2rem;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);

        /* animation states */
        display: flex;
        /* so children can stack when open */
        flex-direction: column;
        gap: 1rem;

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        /* avoid clicking when closed */
        visibility: hidden;
        /* avoid focus/tabbing when closed */
        transition: var(--transition);
        z-index: 10;
    }

    .nav-links.active {
        max-height: 500px;
        /* big enough for your list */
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: var(--transition);
    }
}

/* Sections */
.section {
    padding: 2rem 2rem;
}

@media (max-width: 768px) {
    .section {
        padding: 2rem .5rem;
    }
}

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

.center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-light {
    background-color: #FFFFFF;
}

/* Service Higlights */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

/* Force wrapping rules so we never end up with 3 in a row */
@media (min-width: 500px) and (max-width: 999px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr); /* only 2 across */
  }
}

@media (min-width: 1000px) {
  .service-list {
    grid-template-columns: repeat(4, 1fr); /* only 4 across */
  }}


.service {
  border-radius: 15px;
  overflow: hidden;
  font-size: 1.3rem;
  font-weight: 500;
}

.service-image {
  position: relative;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 77, 46, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

/* Therapists Grid */
.therapists-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 1.5rem;
}




.therapist-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);

    padding: 1.5rem;

}


.profile-pic {
    float: left;
    width: 220px;              /* visible box */
    height: 264px;
    margin: 0 2rem 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;          /* crop happens here */
    display: block;
    position: relative;

}



/* The actual image inside */
.profile-pic img {
    width: 120%;               /* make image wider than box */
    height: 100%;
    object-fit: cover;
    object-position: center;   /* center crop */
    transform: translateX(-5%); /* crop 10% from left */
}

/* smoller */
@media (max-width: 1000px) {    
    .profile-pic {
    width: 160px;              /* visible box */
    height: 192px;
    }

}
/* last h4 paragraph has more margin */
.last {
    margin-bottom: 2rem;
}

/* Mobile: full width, no crop */
@media (max-width: 768px) {
    .therapists-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .profile-pic {
        float: none;
        width: 100%;
        height: auto;
        margin: 0 0 1rem 0;
        overflow: visible;
    }

    .profile-pic img {
        width: 100%;
        height: auto;
        transform: none;
        border-radius: 8px;
    }
    .last {
        margin-bottom: 1.25rem;
    }
}




/* Therapist Methods */


.therapist-methods {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: .25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.therapist-methods li {
    background: var(--secondary-color);
    font-size: 0.95rem;
    padding: .25rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
}




/* Methods List */
.methods-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.methods-list li {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.methods-list li:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Location */

.map-container {
  display: flex;
  max-width: 1000px;
  gap: 1rem;
}


.location-content {
    flex: 0 0 30%;
    margin: auto 1rem auto;
}

.location-content a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.location-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.location-content a:hover::after {
    width: 100%;
}

/* Map Iframe */

.responsive-iframe {
    position: relative;
    overflow: hidden;
    height:0;
    width: 60%;
    padding-bottom: 30%;
    border-radius: 10px;
    margin: 1rem auto;
}

.responsive-iframe iframe {
    border: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .responsive-iframe {
        width: 100%;
        padding-bottom: 75%;
    }
    .map-container {
        gap: 1rem;
        display: block;
}    
}

/* Contact Iframe */

.contact-iframe {
    position: relative;
    overflow: hidden;
    height:0;
    width: 100%;
    padding-bottom: 50%;
    border-radius: 10px;
    margin: 1rem auto;
}

.contact-iframe iframe {
    border: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .contact-iframe {
        width: 100%;
        padding-bottom: 100%;
    }
}

/* contact form */
.section-form {
    padding: 1rem 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer img {
    width: auto;
    height: 4em;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* email length */
.short__email {
    display: none;
}

@media (max-width: 600px) {
    .short__email {
        display: inline-block;
    }

    .long__email {
        display: none;
    }
}

/* Social list */

.footer__link:hover,
.social-list__link:hover,
.long__email:hover,
.short__email:hover {

    color: var(--accent-color);
}

.footer__link:hover,
.long__email:hover,
.short__email:hover {
    text-decoration: underline;
}

.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 1em 0;
    padding: 0;
}

.social-list__item {
    margin: .5em;
}
/* center Psychology Today verified badge */
.sx-verified-seal,
.sx-verified-seal img {
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    vertical-align: middle;
}

/* ensure parent container centers inline elements */
.verified-seal-wrap {
    text-align: center;
    margin: 1rem auto;
}