/* --- Design System Variables and Global Reset --- */
:root {
   --color-primary: #181818;        
    --color-secondary: #181818;     
    --color-primary-light: #A3D3CD;  

    --color-accent: #2a3858;        

    --color-text-dark: #283633;    
    --color-text-half-dark: #808080;     
    --color-text-light: #181818;     

    --color-background-soft: #F4F2EB; 
    --color-white: #FFFFFF;          

    --color-success: #8DBE88;        
    --color-warning: #D98357; 
    --color-error: #c81f1f;  

    --color-active-bg: #E6EDE9;

    /* Typography */
    --font-family-body: 'Inter', 'Lato', 'Open Sans', sans-serif;
    --font-family-heading: 'Playfair Display', 'Inter', 'Lato', 'Open Sans', serif;

    /* Spacing & Radius */
    --spacing-unit: 1rem;
    --border-radius-base: 12px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Basic Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    /* Ensure the body flows naturally without gaps */
    position: relative; 
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.section-padding {
    padding: 4rem 0;
}

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

.text-left {
    text-align: left;
}

.hidden {
    display: none !important;
}

/* --- Typography Styles --- */
h1, h2, h3 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* --- Overrides for Headings within the Result Section --- */
.result-section h1, 
.result-section h2, 
.result-section h3,
.result-section .page-subtitle{
    /* Use the Soft Burnt Orange for high attention and warmth on the result page */
    color: var(--color-white); 
}

.remind-me-headline {
    color: var(--color-primary); 
} 

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--color-text-dark); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* --- Buttons (UPDATED FOR SIZE) --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem; 
    border-radius: var(--border-radius-base);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white); 
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: #344564;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: #cececc;
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #f8d78c;
    color: var(--color-primary);
}

/* --- Layout: Header and Navigation --- */
.header {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

/* LOGO STYLES (MODIFIED FOR TEXT LOGO) */
.logo {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    font-family: var(--font-family-heading);
    font-size: 1.8rem; /* Header logo size */
    font-weight: 800; /* Extra bold for display */
}

/* Text color for 'Focus' */
.logo-focus {
    color: var(--color-accent);
}

/* Text color for 'Find' */
.logo-find {
    color: var(--color-primary);
}

/* Footer Logo Styles */
.logo_footer {
    text-decoration: none;
    display: block; 
    line-height: 1;
    /* KEY CENTERING FIX: Confine the block's width to its content */
    width: fit-content;
    margin: 0 auto 1.5rem; /* Center and add margin to footer logo */
}

.logo-image {
    max-height: 80px; /* Adjust height as needed for the header */
    width: auto;
    display: block;
}

/* Ensure the logo in the footer is also styled appropriately */
.logo_footer .logo-image {
    max-height: 100px; /* Adjust height as needed for the footer */
}


/* END LOGO STYLES */

.nav-menu {
    display: none; /* Hidden on mobile */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
}

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

.hero {
    padding: 6rem 0;
    text-align: center;
    color: var(--color-text-dark);
    /* --- Background Image Properties for Full Cover --- */
    background-image: url('../images/hero.jpg');
    background-size: cover; /* **KEY:** This scales the image to cover the entire container */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling/repeating */
    /* REMOVED: background-color: #e7e6e4; (or set it as a fallback) */
    /* --- End Background Image Properties --- */
}


/* REMOVED .hero-text { text-align: center; } as it's now handled by parent */

.hero h1 {
    color: var(--color-primary); 
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    /* UPDATED: Applying the serif font (Playfair Display) for a distinct look */
    font-family: 'Playfair Display', serif; 
    font-weight: 900; /* Making it extra bold for impact */
}

.hero h1 .highlight {
    font-style: italic;
    color: #f09e10; 
}

.hero .subheadline {
    color: var(--color-primary); 
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 600;
}

.hero .microline {
    color: var(--color-text-half-dark); 
    font-size: clamp(1rem);
    font-weight: 600;
}

.hero-actions {
    /* **MODIFIED:** Now always horizontal and centered */
    display: flex;
    flex-direction: row; /* Changed from column to row for horizontal layout */
    gap: 1rem;
    max-width: 500px; /* Increased max-width */
    margin: 0 auto 3rem;
    justify-content: center; 
    flex-wrap: wrap; /* Added for better mobile fallback if screen is too narrow */
}

.hero-actions .btn {
    flex: 1; /* Make them share the space equally */
    width: auto; /* Resetting width from 100% to let flex work */
    min-width: 150px; /* Ensures buttons don't get too small on very narrow screens */
}

.hero-actions .btn-primary {
    background-color: #3c92e3;
    color: var(--color-white); 
    box-shadow: var(--shadow-soft);
}

.hero-actions .btn-primary:hover {
    background-color: #e3a13c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.hero-actions .btn-secondary {
    background-color: #cececc;
    color: var(--color-primary);
}

.hero-actions .btn-secondary:hover {
    background-color: #f8d78c;
    color: var(--color-primary);
}

.hero-card {
    background-color: rgba(231, 230, 228, 0.8);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-base);
    max-width: 40%; /* 40% width for desktop */
    margin: 0 0 0 15%; /* Left alignment with margin for desktop */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    text-align: left;
}

/* --- Media Query for Mobile Screens (Max-Width 768px) --- */
@media (max-width: 768px) {
    .hero-card {
        max-width: 80%; /* Increase to 80% width on smaller screens */
        /* Center the card and reduce left margin for better mobile display */
        margin: 2rem auto 3rem auto;
    }
}


/* --- FINAL STYLE: Trust Strip (from Process Steps) --- */
.process-steps {
    /* Main container styling for the strip look */
    text-align: center;
    background-color: var(--color-background-soft); 
    color: var(--color-text-dark); /* Using the darkest text color for prominence */
    font-size: 1.0em; /* Made text size larger */
    font-weight: 700; /* Made text bold */
    padding: 10px 15px;
    border-radius: var(--border-radius-base);
    margin: 20px auto; 
    max-width: 550px; 
    
    /* Make it a horizontal strip */
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
    align-items: center;
    gap: 10px; 
}

.process-steps .step {
    display: contents; /* Makes the children flex items of .process-steps */
}

.process-steps .step-box {
    /* Use flex on the box to keep icon and text aligned */
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    line-height: 1;
}

/* Hide the step badge, as it conflicts with the "strip" look */
.process-steps .step-badge {
    display: none;
}

/* Style the text and icons to be inline */
.process-steps .step-icon {
    font-size: 1.2em; /* Slightly larger icon */
    color: var(--color-accent); /* Keep accent color for icons */
}

.process-steps .step-text {
    /* Set specific font weight for safety */
    font-size: 1em; 
    font-weight: 700; 
}

/* --- Media Query for Mobile Screens (Max-Width 768px) --- */
@media (max-width: 768px) {
    .process-steps {
        font-size: 0.85em; 
        padding: 8px 10px;
        max-width: 90%;
        gap: 15px; /* Added a slightly wider gap for separation without the dots */
        justify-content: center;
    }
    
    .process-steps .step-box {
        gap: 3px;
    }

    .process-steps .step:not(:last-child) .step-box::after {
        margin-left: 5px;
    }

    .logo-image {
        max-width: 150px; /* Adjust this value as needed, e.g., 150px or 60% */
        height: auto;
    }
}

/* --- Section: Quiz (Grid Boxes) --- */
.quiz-section {
    background-color: var(--color-white);
}

.quiz-headline {
    font-size: 1.65rem; /* Slightly larger than h2, but smaller than h1 */
    font-weight: 500;   /* Medium weight for readability */
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 3rem; /* Center the element and add a large margin below */
    color: var(--color-text-dark);
    font-family: var(--font-family-body); /* Use body font for a more informational tone */
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.quiz-highlight {
    font-style: italic;
    font-weight: 800;
    color: #f09e10; 
}

/* NEW STYLING FOR WIDER BUTTON */
.quiz-button-wrapper {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.quiz-button-wrapper .btn {
    width: 100%;
}
/* END NEW STYLING */

/* Hide the actual checkbox input */
.quiz-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style the custom clickable box (the label) */
.quiz-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: var(--border-radius-base);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Icon styling (UPDATED to target Font Awesome icons) */
.quiz-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

/* Checked state styling (UPDATED COLORS) */
.quiz-option input[type="checkbox"]:checked + label {
    border-color: var(--color-secondary);
    background-color: var(--color-active-bg);
    box-shadow: 0 0 0 4px rgba(205, 73, 66, 0.3);
    transform: scale(1.02);
}

.quiz-option input[type="checkbox"]:checked + label .quiz-icon {
    color: var(--color-secondary);
}

/* Quiz Result */
#quiz-result {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background-color: #f0f8ff;
}

/* ... (Quiz Section continues below) ... */



.quiz-container {
    max-width: 700px;
    margin: 2rem auto;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-soft);
}

/* Progress Bar */
#progress-bar-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem; 
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%; 
    background-color: #f8d78c; 
    transition: width 0.4s ease-in-out;
}

/* Question Content */
.question-headline {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

/* Answer Options (The 4 clickable boxes) */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Hide the unused checkbox input from the previous version */
.quiz-option input[type="checkbox"] {
    display: none;
}

/* Style the custom clickable box (the label) */
.quiz-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px; 
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quiz-option label:hover {
    background-color: #f5f5f5;
}

/* Selected state using the .selected class, which will be added by JS */
.quiz-option.selected label {
    background-color: #f8d78c;
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(205, 73, 66, 0.3);
    transform: scale(1.02);
}

@media (max-width: 768px){
    /* KEEP: Desktop Quiz Grid: 4 columns */
    .quiz-options {
        grid-template-columns: 1fr;
    }
}


/* Quiz Result Container Styles */
#quiz-results-container {
    /* Inherits .quiz-container styles */
}

.result-section {
    padding: 6rem 0;
    text-align: center;
    color: var(--color-text-dark);
    /* --- Background Image Properties for Full Cover --- */
    background-image: url('../images/hero.jpg');
    background-size: cover; /* **KEY:** This scales the image to cover the entire container */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling/repeating */
    /* REMOVED: background-color: #e7e6e4; (or set it as a fallback) */
    /* --- End Background Image Properties --- */
}

.quiz-box {
    background-color: #e7e6e4;
}




#result-animal-name {
    color: var(--color-secondary);
}

/* --- Section: Result Card (NEW STYLES) --- */
.result-card {
    background-color: #e7e6e4;
    padding: 2.5rem 2rem; 
    border-radius: var(--border-radius-base); /* Rounded corners */
    max-width: 500px; /* Max width to contain the card */
    margin: 2rem auto 3rem; /* Centering and spacing */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow for prominence */
    border: 1px solid #eee; /* Subtle border */
    text-align: center; /* Center content inside the card */
}

.result-card .animal-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-base); /* Rounded corners */
}

.result-card .animal-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark); /* Use dark color for name */
}

.result-card .animal-description p {
    color: var(--color-text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.result-card .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.result-card .animal-description .arrow-list {
    /* Overrides the text-align: center from the parent .result-card */
    text-align: left;
    
    /* Ensure the list itself aligns to the left */
    width: fit-content; /* Helps contain the list width if needed */
    max-width: 100%;
    margin-left: 0; /* Resetting automatic center margins */
    margin-right: auto;
    
    /* Remove default list styling (dots) */
    list-style: none;
    padding-left: 0; /* Remove padding for custom bullets */
}

.result-card .animal-description .arrow-list li {
    /* Ensures the list item text is dark, overriding the white text on the result card */
    color: var(--color-text-dark); 
    
    /* Add padding for the custom arrow icon */
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px; /* Space between list items */
    line-height: 1.4;
}

.result-card .animal-description .arrow-list li::before {
    content: '›'; /* Unicode character for a small forward arrow */
    color: var(--color-primary); /* Use a primary color for the bullet, or var(--color-text-dark) */
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.4; /* Match line height for vertical alignment */
}

.result-card .result-tip-box {
    /* Box Styling */
    background-color: var(--color-white); /* White background */
    border-radius: 12px;                  /* 12px rounded corners */
    padding: 20px;
    margin: 20px auto;                     /* Adds vertical spacing and helps center the box */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
    text-align: left;
    color: var(--color-text-dark); 
}

.result-card .result-tip-box h3 {
    color: var(--color-text-dark);
    font-size: 1.15em;
    margin-top: 0;
    margin-bottom: 15px;
}


.result-card .result-tip-box .arrow-list {
    text-align: left;
    list-style: none;
    padding-left: 0; 
    margin-left: 0; 
    margin-right: auto;
}

.result-card .result-tip-box .arrow-list li {
    color: var(--color-text-dark); 
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px; 
    line-height: 1.4;
}

.result-card .result-tip-box .arrow-list li::before {
    content: '›'; 
    color: var(--color-primary); 
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.4; 
}

.result-card h1, 
.result-card h2, 
.result-card h3{
    /* Use the Soft Burnt Orange for high attention and warmth on the result page */
    color: var(--color-text-dark); 
}

.result-fallback  p{
 color: var(--color-white); 
}

.disclaimer-text {
    margin-top: 15px; 
    font-size: 0.9em; 
    color: var(--color-text-light);
}

.disclaimer-sig {
    margin-top: 15px; 
    font-size: 0.9em; 
    text-align: right;
    color: var(--color-text-light);
}
/* --- END Result Card Styles --- */


/* --- Section: $1 Offer --- */
.offer-section {
    text-align: center;
}

.offer-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    max-width: 450px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.offer-box h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price-anchor {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-anchor del {
    color: #ccc;
    margin-right: 10px;
}

.offer-box .btn-primary {
    width: 100%;
    margin: 1rem 0 0.5rem;
}

.offer-microcopy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Modal Form --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content ul {
    /* Re-adds the standard list indentation */
    padding-left: 40px; 
    
    /* Also ensure the list style is set, usually 'disc' for bullets */
    list-style-type: disc; 
}

/* Full FAQ Modal Specific styling */
#full-faq-modal .modal-content {
    max-width: 800px;
}

#full-faq-modal .accordion-item {
    background-color: var(--color-background-soft);
    margin-bottom: 0.5rem;
    box-shadow: none; 
    border: 1px solid #eee;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    flex: 1;
}

#form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #e6ffe6;
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
}

/* --- Section: FAQ Accordion --- */
.faq-section {
    background-color: #e7e6e4;
}

.accordion {
    max-width: 800px;
    margin: 2rem auto 0;
}

.full-accordion {
    margin-top: 1rem;
}

.accordion-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-base);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: background-color 0.2s;
}

/* Hover State */
.accordion-header:hover {
    background-color: #f8d78c;
}

/* ACTIVE/OPEN STATE (UPDATED COLORS) */
.accordion-item.active .accordion-header {
    background-color: #f09e10;
    border-left: 5px solid #f8d78c;
    border-radius: 0; 
    padding-left: calc(1rem - 5px);
}

/* Ensure the hover state on an active item is still visible */
.accordion-item.active .accordion-header:hover {
    background-color: #f8d78c;
}
/* END OF ACTIVE/OPEN STATE STYLES */

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    border-top: 1px solid #eee;
    /* --- ADD THIS LINE TO FIX ALIGNMENT --- */
    text-align: left; 
}

.accordion-content p {
    
    font-size: 0.95rem;
    /* Optional: Ensure paragraphs also align left */
    text-align: left;
}

.accordion-content ul {
    /* Re-adds the standard list indentation */
    padding-left: 40px; 
    
    /* Also ensure the list style is set, usually 'disc' for bullets */
    list-style-type: disc; 
}

.accordion-content ol {
    /* Re-adds the standard list indentation */
    padding-left: 40px; 
    
}

/* --- Section: Social Proof (Testimonials & Clinician) --- */
.social-proof-grid {
    display: flex;
    gap: 2rem;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--color-background-soft);
    padding: 1.5rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-soft);
    font-style: italic;
}

.rating {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.clinician-card {
    padding: 1.5rem;
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-base);
    text-align: center;
}

/* Clinician image placeholder color */
.clinician-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.clinician-card .quote {
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.clinician-card .credentials {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-bar-full {
    background-color: var(--color-error); /* Using the defined red/error color */
    color: var(--color-white);           /* Text inside is white */
    padding: 1rem 0;                     /* Add vertical padding */
    width: 100%;                         /* Ensures it spans the full width */
    margin-top: 1rem;                    /* Separates it from the links above */
    text-align: center;                  /* Centers the text within the bar */
}

.disclaimer {
    color: var(--color-white);
    margin: 0 auto; /* Ensure no unwanted margin */
    font-size: 1rem;
    font-weight: 250;
    max-width: 90%; /* Optional: Keep the disclaimer text from getting too wide on large screens */
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem var(--spacing-unit);
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
    text-align: center;
}

/* --- Desktop & Two-Column Layout (Media Queries) --- */
@media (min-width: 800px) {

    /* KEEP: Sticky CTA */
    .sticky-cta {
        width: auto;
        right: 1rem;
        left: auto;
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
    }

    /* KEEP: Nav Menu */
    .nav-menu {
        display: block;
        /* FIX: Use margin-left: auto to push the nav menu next to the button */
        margin-left: auto;
    }

    .header-content {
        gap: 2rem;
    }

    

    /* KEEP: Two-column layout for social proof starting at 800px */
    .social-proof-grid {
        display: flex;
        gap: 2rem;
    }
}

/* --- NEW STYLE: Equal-Width Buttons in Results CTA --- */
.cta-group {
    display: flex; /* Make it a flex container */
    gap: 10px;     /* Space between buttons */
    width: 100%; 
    max-width: 450px; /* Constrains the max width of the button group */
    margin: 10px auto; /* Center the group and add vertical margin */
    align-items: stretch; /* Ensures buttons stretch to match the height of the tallest one (default flex behavior, but explicit) */
}

.cta-group button {
    /* CRITICAL FIX: Make buttons share space equally */
    flex: 1; 
}

@media (min-width: 1100px) {
    
    /* KEEP: Social Proof Grid */
    .social-proof-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .testimonials-container {
        gap: 1rem;
    }

    .clinician-card {
        align-self: start;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clinician-card .quote {
        text-align: center;
    }
}

/* --- NEW STYLE: Stacked CTA Group (Results Page) --- */

/* Ensures the container allows the buttons to stack naturally */
.cta-group-stacked {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center buttons horizontally */
    gap: 15px; /* Space between the primary and secondary buttons */
    margin-top: 10px;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 450px; /* Constrains the max width of the button group */
    margin-left: auto;
    margin-right: auto;
}

/* Primary Button - Enforce Full Width */
.btn-full-width {
    width: 100%; /* Makes the primary button span the width of the cta-group-stacked container */
}

/* Secondary Button - Style */
.btn-secondary {
    /* Base style for a secondary action: lighter background, primary text/border */
    background-color: #cececc;
    color: var(--color-primary); /* Use your accent color for the text */
    /*border: 2px solid var(--color-white);*/
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #f8d78c;
}

/* Secondary Button - Smaller Size and Look */
.btn-small {
    /* This makes the secondary button smaller than the primary one */
    font-size: 0.95rem; /* Slightly smaller text */
    /*padding: 8px 18px;*/ /* Slightly smaller padding */
    max-width: 70%; /* Ensures it's visibly smaller than the full-width primary button */
    border-radius: var(--border-radius-base);
    text-align: center;
}