/* CSS Variables */
:root {
    --primary-teal: #0b7a75;
    --primary-teal-hover: #08605c;
    --bg-light: #f4f5f7;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --font-family: 'Inter', sans-serif;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-dark); line-height: 1.6; background-color: #ffffff; }
a { text-decoration: none; color: inherit; cursor: pointer; transition: color 0.2s; }
img { max-width: 100%; height: auto; border-radius: 8px; }

/* Layout & Containers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.page-header { padding: 60px 0 40px; text-align: center; background-color: var(--bg-light); margin-bottom: 40px;}
.page-header h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.page-header p { font-size: 1.125rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; }

/* Buttons */
.btn { 
    display: inline-block; 
    background-color: var(--primary-teal); 
    color: #ffffff; 
    font-weight: 500; 
    padding: 14px 28px; 
    border-radius: 50px; 
    transition: background-color 0.3s ease; 
    font-size: 1rem; 
    border: none; 
    cursor: pointer; 
    text-align: center; 
    line-height: 1.4; 
}.btn:hover { background-color: var(--primary-teal-hover); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-teal); color: var(--primary-teal); }
.btn-outline:hover { background-color: var(--primary-teal); color: white; }

/* Header / Nav */
header { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eaeaea; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; color: var(--text-dark); }
.nav-links { display: flex; gap: 16px; font-size: 0.95rem; font-weight: 500; color: var(--text-gray); }
.nav-links a.active-link { color: var(--primary-teal); font-weight: 600; }
.nav-links a:hover { color: var(--primary-teal); }

.nav-item {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 240px;
    display: none;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-gray);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-teal);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.logo-primary { color: var(--text-dark); }
.logo-secondary { color: var(--primary-teal); }

/* Home Page Styles */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-bottom: 40px; padding-top: 40px;}
.hero-img-container img { width: 100%; height: 600px; object-fit: cover; border-radius: 8px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-content p { font-size: 1.125rem; color: var(--text-gray); margin-bottom: 32px; max-width: 90%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: 0.95rem; }
.hero-meta span { 
    background: var(--bg-light); 
    color: var(--text-dark); 
    padding: 6px 16px; 
    border-radius: 999px; 
    border: 1px solid #e5e7eb; 
    font-weight: 500; 
    text-align: center; 
    line-height: 1.4; 
}.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #ffffff; padding: 32px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
.card h2, .card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--text-gray); font-size: 1rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-step { display: flex; align-items: flex-start; gap: 16px; }
.step-number { background-color: #e5e7eb; color: var(--text-dark); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.875rem; font-weight: 600; flex-shrink: 0; }

/* Specialties Page Styles */
.specialty-row { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 80px; 
}

.specialty-content { 
    text-align: center; 
    max-width: 800px; 
    width: 100%; 
    background: #ffffff; 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid #eaeaea; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); 
}

.specialty-content h2 { 
    font-size: 2rem; 
    margin-bottom: 16px; 
    color: var(--primary-teal); 
}

.specialty-content p { 
    margin-bottom: 16px; 
    color: var(--text-gray); 
}

.specialty-content ul { 
    margin-bottom: 16px; 
    color: var(--text-gray); 
    list-style-position: inside; 
}

/* This replaces your inline HTML styles */
.specialty-content .btn { 
    margin-top: 16px; 
}

/* --- NEW OCD ANXIETY PAGE STYLES --- */
.page-header p.hero-disclaimer { 
    margin-top: 16px; 
    font-size: 0.875rem; 
    color: var(--text-gray); 
}
.page-padding { padding: 0 24px; }
.main-content-section { max-width: 900px; margin: 0 auto; padding-top: 64px; padding-bottom: 24px; }
.center-cta-wrapper { text-align: center; margin-bottom: 64px; }

/* Symptoms & Hooks on OCD*/
.hero-hook { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; line-height: 1.3; text-align: center; }
.symptom-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: 850px; margin: 0 auto 40px; }
.symptom-card { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #eaeaea; border-top: 4px solid var(--primary-teal); text-align: left; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: transform 0.2s ease; }
.symptom-card:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.05); }
.symptom-card h3 { color: var(--text-dark); margin-top: 0; margin-bottom: 12px; font-size: 1.125rem; }
.symptom-card p { color: var(--text-gray); margin: 0; font-size: 1rem; line-height: 1.6; }

/* Gold Standard Box on OCD*/
.gold-standard-box { background-color: var(--bg-light); border: 1px solid #eaeaea; border-radius: 12px; padding: 32px; margin: 40px auto 32px; max-width: 800px; text-align: center; }
.gold-standard-box h2 { color: var(--primary-teal); margin-top: 0; font-size: 1.5rem; margin-bottom: 16px; }
.gold-standard-text { font-size: 1.125rem; line-height: 1.7; color: var(--text-gray); margin: 0; }
.highlight-text { background-color: #e6f7f6; padding: 2px 6px; border-radius: 4px; color: var(--primary-teal); font-weight: 700; }

/* New Step Cards Layout on OCD*/
.centered-header { font-size: 1.75rem; margin-top: 48px; margin-bottom: 16px; color: var(--text-dark); text-align: center; font-weight: 700; }
.centered-subtext { margin-bottom: 40px; line-height: 1.7; text-align: center; color: var(--text-gray); font-size: 1.125rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.steps-wrapper { display: grid; gap: 20px; max-width: 800px; margin: 0 auto 32px; }
.step-card { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 24px; display: flex; align-items: flex-start; gap: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.step-number-circle { background: var(--primary-teal); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.step-card-content h3 { margin: 0 0 8px 0; font-size: 1.25rem; color: var(--text-dark); }
.step-card-content p { margin: 0; color: var(--text-gray); line-height: 1.6; }

/* Logistics & Profile Box on OCD*/
.logistics-box { border: 1px solid #eaeaea; border-radius: 8px; padding: 32px; margin: 48px auto; background-color: #fff; max-width: 800px; }
.logistics-box h3 { margin-top: 0; color: var(--text-dark); margin-bottom: 24px; font-size: 1.5rem; text-align: center; }
.logistics-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.logistics-list li { padding-left: 32px; position: relative; font-weight: 500; color: var(--text-gray); line-height: 1.5; }
.logistics-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-teal); font-weight: bold; font-size: 1.25rem; background: var(--bg-light); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.logistics-profile-box { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; justify-content: center; margin-bottom: 48px; }
.profile-img { border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-light); flex-shrink: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.profile-content { flex: 1; min-width: 250px; }
.logistics-box .profile-name { margin-top: 0; margin-bottom: 12px; text-align: left; font-size: 1.5rem; color: var(--text-dark); }
.profile-bio { color: var(--text-gray); line-height: 1.6; font-size: 1.125rem; margin-top: 0; margin-bottom: 16px; }
.profile-credentials { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; border-top: 1px solid #eaeaea; padding-top: 12px; }

/* CTA Box on ocd*/
.cta-box { text-align: center; background-color: var(--bg-light); border: 1px solid #eaeaea; padding: 64px 32px; border-radius: 12px; margin: 60px auto 24px; max-width: 800px; box-shadow: 0 10px 25px rgba(0,0,0, 0.02); }
.cta-box h2, .cta-box h3 { color: var(--text-dark); margin-bottom: 16px; font-size: 2rem; margin-top: 0; }
.cta-box p { color: var(--text-gray); font-size: 1.125rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.form-embed-wrapper { width: 100%; max-width: 500px; margin: 0 auto; }

/* Bottom Footer Override on ocd*/
.footer-cta { margin-bottom: 24px; }
.footer-heading { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 8px; }
.footer-subtext { font-size: 1.1rem; color: var(--text-gray); margin: 0; }
.footer-link { color: var(--primary-teal); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
/* --- Depression Page Extracted Styles --- */

/* Utility Helpers */
.mt-32 { margin-top: 32px; }
.pt-0 { padding-top: 0 !important; }

/* Intro Section */
.intro-wrapper { 
    max-width: 800px; 
    margin: 0 auto 48px auto; 
    text-align: center; 
}
.intro-heading { 
    font-size: 2.25rem; 
    font-weight: 700; 
    color: var(--text-dark); 
    margin-bottom: 32px; 
}
.intro-text { 
    font-size: 1.15rem; 
    color: var(--text-gray); 
    line-height: 1.6; 
    max-width: 600px; 
    margin: 0 auto; 
}

/* Transition Section */
.transition-wrapper { 
    max-width: 800px; 
    margin: 0 auto 64px auto; 
    text-align: center; 
    padding: 0 24px; 
}
.transition-heading { 
    font-size: 2rem; 
    font-weight: 700; 
    color: var(--text-dark); 
    margin-bottom: 16px; 
}
.transition-text { 
    font-size: 1.25rem; 
    color: var(--text-gray); 
    line-height: 1.6; 
    max-width: 650px; 
    margin: 0 auto; 
}


/* About Page Styles */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; column-gap: 60px; row-gap: 24px; align-items: flex-start; }
.about-content h2 { font-size: 2rem; margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; font-size: 1.1rem; }
.credentials-list { background: var(--bg-light); padding: 24px; border-radius: 8px; margin-top: 32px; }
.about-sidebar { grid-column: 1; grid-row: 1 / span 2; }
.philosophy-section { grid-column: 2; grid-row: 1; }
.about-me-section { grid-column: 2; grid-row: 2; }

/* Blog Page Styles */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.blog-card { border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: transform 0.2s; cursor: pointer; display: flex; flex-direction: column; height: 100%;}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.blog-img { height: 200px; background-color: #ddd; object-fit: cover; width: 100%; }
.blog-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column;}
.blog-tag { color: var(--primary-teal); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.blog-content h2 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.blog-content p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1;}
.read-more { font-weight: 600; color: var(--primary-teal); margin-top: auto;}

/* Contact Page Styles */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 16px; }
.contact-info p { margin-bottom: 12px; color: var(--text-gray); }

/* Privacy Policy / Legal Content */
.legal-content { max-width: 800px; margin: 0 auto; padding: 0 0 80px; }
.legal-content .effective-date { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 24px; }
.legal-content p { font-size: 1.0625rem; margin-bottom: 20px; color: var(--text-dark); }
.legal-content h2 { font-size: 1.375rem; font-weight: 600; color: var(--primary-teal); margin-top: 32px; margin-bottom: 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content ul { margin: 0 0 24px 1.25rem; line-height: 1.75; }
.legal-content li { margin-bottom: 8px; color: var(--text-dark); }
.legal-content .contact-details { margin-top: 8px; line-height: 1.7; }
.legal-content .contact-details a { color: var(--primary-teal); }
.legal-content .contact-details a:hover { text-decoration: underline; }
.legal-content .section-divider { border: none; border-top: 1px solid #eaeaea; margin: 48px 0 32px; }
.legal-content .cta-block { text-align: center; background: var(--bg-light); padding: 40px; border-radius: 8px; margin-top: 32px; }
.legal-content .cta-block h3 { font-size: 1.25rem; margin-bottom: 16px; }

/* Footer */
footer { text-align: center; padding: 40px 0; font-size: 0.875rem; color: var(--text-gray); border-top: 1px solid #eaeaea; margin-top: 40px;}

/* Responsive Design */
@media (max-width: 768px) {
    .hero, .grid-2, .process-grid, .specialty-row, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.75rem; }
    header { flex-direction: column; gap: 16px; }
    
    .hero-img-container img { 
        height: 350px; 
        object-position: 50% 20%; 
    } 

    /* NEW LAYOUT RULES for hero section on mobile-- from lazy vibe coding approach instead of messing with html*/
    .hero {
        display: flex;
        flex-direction: column;
        gap: 0; /* Turns off the desktop gap so we can use existing margins */
    }
    
    .hero-content {
        display: contents; /* Makes the wrapper "disappear" for layout purposes */
    }

    .hero-img-container {
        order: 2; /* Pushes the image below the paragraphs (which default to 0) */
        margin-bottom: 32px; 
    }

    .hero-meta {
        order: 3; /* Pushes the bubbles below the image */
    }

    .hero .btn {
        order: 4; /* Pushes the button to the very bottom */
    }
    /* CENTER THE TEXT AND BUTTON on hero index page */
    .hero-content h1, 
    .hero-content p {
        text-align: center;
        margin-left: auto; /* Keeps the paragraph blocks centered */
        margin-right: auto;
    }

    .hero .btn {
        margin: 0 auto; /* Centers the button to match the text */
        display: block;
        width: fit-content;
    }

    /* CENTER THE BUBBLES on hero index page */
    .hero-meta {
        justify-content: center;
    }

    /* PERFECT MOBILE SANDWICH & CENTERING FOR ABOUT PAGE */
    .about-grid { 
        display: flex; 
        flex-direction: column; 
        gap: 0; /* Prevents hidden flexbox gaps */
    }
    section.about-grid {
        padding-top: 8px;    /* Pulls "My Therapy Philosophy" up towards the header */
        padding-bottom: 8px; /* Pulls the footer up closer to the button */
    }

    .philosophy-section { 
        order: 1; 
        text-align: center; /* Centers Philosophy text */
    }
    
    .about-sidebar { 
        order: 2; 
        margin: 32px 0; /* Tighter sandwich gap around image */
    }
    
    .about-me-section { 
        order: 3; 
        text-align: center; /* Centers About Me text */
    }
    
    .about-me-section .btn {
        margin: 24px auto 0; /* Centers the button and adds proper top spacing */
        display: block;
        width: fit-content;
    }
    
}


/* Make it stack neatly on mobile */
@media (max-width: 768px) {
    .step-card { 
        flex-direction: column; 
        gap: 8px; 
    }
    .step-card-title {
        flex: auto;
    }

    
    .logistics-box .profile-name {
            text-align: center;
    
    }
    .logistics-box .profile-bio {
        text-align: center;
    }
    .logistics-box .profile-credentials {
        text-align: center;
    }
    
}