/* --- Global & Font Definitions --- */
body {
    font-family: 'Montserrat', sans-serif;
    text-align: left; 
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8; /* Light Gray Background */
}

/* Theme Colors */
:root {
    --primary-color: #144917; /* Deep Forest Green (Headings, strong accents) */
    --secondary-color: #588157; /* Softer Sage Green (Buttons, highlights) */
    --accent-color: #a3b18a; /* Muted Green/Khaki Accent (for subtle highlights/icons) */
    --light-bg: #fff;
    --dark-bg: #344e41; /* Darker Green/Gray Footer Background */
    --max-width: 1200px; /* Defines max content width */
}

/* Central Content Wrapper (Replaces Bootstrap .container) */
.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px; /* Padding for mobile screens */
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    margin-top: 0;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; 
    line-height: 1.7; 
    margin-bottom: 15px;
}

/* --- ANIMATION DEFINITIONS --- */
@keyframes heroZoom {
    0% { transform: scale(1.0); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1.0); }
}
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes buttonPulsate {
    0% { transform: scale(1.0); }
    50% { transform: scale(1.02); } 
    100% { transform: scale(1.0); }
}
.animated-content {
    opacity: 0; 
    animation: slideUpFadeIn 1s ease-out forwards;
}

/* --- Buttons --- */
.btn-nav, .btn-hero, .btn-cta, .btn-footer, .btn-submit, .btn-contact-provider {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s; 
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.btn-hero:hover, .btn-nav:hover, .btn-cta:hover, .btn-footer:hover, .btn-submit:hover, .btn-contact-provider:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px); 
    animation: buttonPulsate 0.5s ease-in-out forwards; 
}


/* --- Header & Navigation --- */
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: var(--max-width); 
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

/* 1. NEW CSS BLOCK: Sets the larger size for the image using the new class */
.logo-img {
    height: 80px; /* Adjust this value (e.g., 60px, 100px) for your desired size */
    width: auto; /* Ensures image maintains aspect ratio */
    margin: 0; /* Ensures no extra margin interferes with alignment */
    padding: 0; /* Ensures no extra padding interferes with alignment */
}

/* 2. ADJUSTED CSS: Increases the font size for the accompanying text */
.logo span {
    font-size: 1.5em; /* Increased size to match the taller logo */
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0; /* Ensures list has no vertical margin */
}

/* 3. ADJUSTED CSS: Tweak to menu links to help alignment */
nav ul a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    
    /* Reduced vertical padding to prevent mis-alignment inside the Flex container */
    padding: 3px 5px; 
    
    /* Ensure the link behaves as a block element for precise alignment */
    display: inline-block; 
    
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--secondary-color);
}
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: var(--max-width); 
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

/* 1. NEW CSS BLOCK: Sets the larger size for the image using the new class */
.logo-img {
    height: 70px; /* Adjust this value (e.g., 60px, 100px) for your desired size */
    width: auto; /* Ensures image maintains aspect ratio */
    margin: 0; /* Ensures no extra margin interferes with alignment */
    padding: 0; /* Ensures no extra padding interferes with alignment */
}

/* 2. ADJUSTED CSS: Increases the font size for the accompanying text */
.logo span {
    font-size: 1.5em; /* Increased size to match the taller logo */
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0; /* Ensures list has no vertical margin */
}

/* 3. ADJUSTED CSS: Tweak to menu links to help alignment */
nav ul a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    
    /* Reduced vertical padding to prevent mis-alignment inside the Flex container */
    padding: 2px 10px; 
    
    /* Ensure the link behaves as a block element for precise alignment */
    display: inline-block; 
    
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--secondary-color);
}
/* --- Hero Section --- */
/* --- CAROUSEL BASE STYLES --- */
.carousel-section {
    position: relative;
    height: 100vh; /* Full height for the hero section */
    width: 100%;
    overflow: hidden; /* Key to hide slides not currently visible */
}

.carousel-track-container {
    height: 100%;
    /* We are controlling visibility with opacity and current-slide class in JS, 
       so the transform transition is less critical here but can be kept */
    transition: transform 0.3s ease-in-out; 
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute; /* Stack slides on top of each other */
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    /* Initially hide all slides by default */
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Smooth fade effect when changing slides */
}

/* Only the active slide is visible */
.carousel-slide.current-slide {
    opacity: 1;
    z-index: 10;
}

/* --- HERO OVERLAY & CONTENT STYLING --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    z-index: 20; /* Ensure content is above the slide image */
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.cole {
   
    
    /* Key change: Use 'align-items: center;' to vertically center the content */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers items horizontally along the main (vertical) axis */
    align-items: center;     /* Centers items vertically along the cross (horizontal) axis */

    text-align: center;
    color: white;
    padding: 0 20px;
    z-index: 30; 
}
.coc{
 color: #c0cbc7;}

.btn-hero {
    /* Example button styling—adjust to match your site's theme */
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    background-color:var(--secondary-color); 
    color: white;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
    transition: background-color var(--dark-bg), border-color 0.3s;
}

.btn-hero:hover {
    background-color: transparent;
    border-color:var(--dark-bg);
}

/* --- NAVIGATION BUTTONS (Arrows) --- */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30; /* Above all content */
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: background 0.3s;
    /* Center the arrow icon inside the button */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-button:hover {
    background:var(--dark-bg);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* --- PURE CSS ARROW SHAPES --- */
/* The span inside the button becomes the arrow container */
.arrow-left,
.arrow-right {
    display: block;
    width: 10px;        /* Controls the width of the arrow line */
    height: 10px;       /* Controls the height of the arrow line */
    border-top: 3px solid white; /* Thickness and color of the arrow */
    border-left: 3px solid white; /* Thickness and color of the arrow */
}

/* Rotate and position the left arrow */
.arrow-left {
    transform: rotate(-45deg);
    margin-right: 2px; /* Pull it slightly left to center visually */
}

/* Rotate and position the right arrow */
.arrow-right {
    transform: rotate(135deg);
    margin-left: 2px; /* Pull it slightly right to center visually */
}

/* --- NAVIGATION DOTS --- */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 10px;
}

.carousel-indicator {
    background-color:var(--secondary-color);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicator.current-slide {
    background-color: var(--secondary-color); /* Active dot color */
    transform: scale(1.2);
}

/* --- General Grid and Flex Layouts --- */
/* 3-Column Grid for cards (Home Intro, Home Services, About Values) */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
/* 2-Column Grid for contact info, provider details */
.two-col-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 40px;
    align-items: start;
    margin: 40px 0;
}


/* --- Home Intro Cards --- */
.intro-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    height: 100%; 
}
.intro-card:hover{
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);

}
.intro-card h3 {
    color: var(--secondary-color);
    margin-top: 0;
    font-weight: 600;
}

/* --- Service & Blog Cards --- */
.service-card, .blog-post-card {
    background-color: var(--light-bg);
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); 
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; 
    display: flex;
    flex-direction: column;
}
.service-card:hover, .blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); 
}
.service-card img, .blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.service-card .card-content, .blog-post-card .card-content {
    padding: 15px;
    flex-grow: 1;
}
.blog-post-card .card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9em;
    margin-top: auto; /* Pushes footer to the bottom */
}

.service-card h4, .blog-post-card h5 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 700;
}

/* --- Provider Details (Left Image, Right Text) --- */
.provider-flex {
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
}
.provider-photo-container {
    flex-shrink: 0;
    text-align: center;
}
.provider-photo {
    width: 291px;
    height: 342px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);}
    
.provider-details-content {
    flex-grow: 1;
}
.provider-details-content ul {
    list-style: none;
    padding: 0;
}
.provider-details-content ul li {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}
.provider-details-content i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- Insurance Logos Layout (Grid for easy alignment) --- */
.insurance-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}
.logo-box {
    background-color: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100px; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.logo-box:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.accepted-insurance img {
    max-height: 90px;
    width: auto;
    max-width: 100%;
    filter: grayscale(80%); 
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
.logo-box:hover img {
    filter: grayscale(0%); 
    opacity: 1;
}

/* --- Contact Form/Info Layout --- */
.contact-form-layout {
    display: flex;
    gap: 40px;
    padding: 50px 0;
}
.contact-form-box, .contact-details-box {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.contact-details-box h3 {
    color: var(--secondary-color);
}
.contact-details-box ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.contact-details-box ul li {
    margin-bottom: 10px;
    display: flex;
}
.contact-details-box i {
    color: var(--accent-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
/* Fee Schedule */
.fee-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.fee-list li:last-child {
    border-bottom: none;
}
.fee-list span {
    font-size: 1.1em;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}
.form-textarea {
    resize: vertical;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-col {
    flex: 1;
}

/* --- Telehealth CTA (Full Width) --- */
.telehealth-cta {
    background-color: var(--dark-bg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    background-attachment: fixed;
}
.cta-overlay {
    background-color: rgba(52, 78, 65, 0.7); 
    padding: 40px;
    border-radius: 10px;
}
.telehealth-cta h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 10px;
}
.telehealth-cta p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding-top: 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
    border-bottom: 1px solid #455a4e;
}
.footer-branding, .quick-links, .schedule-info {
    flex: 1;
    padding: 0 20px;
}
.footer-branding {
    max-width: 350px;
}
.footer-branding h4, .quick-links h4, .schedule-info h4 {
    color: white;
    margin-top: 0;
}
.schedule-info ul {
    list-style: none;
    padding: 0;
}
.schedule-info li {
    margin-bottom: 8px;
}
.schedule-info i {
    color: var(--accent-color);
    margin-right: 8px;
}
.quick-links ul {
    list-style: none;
    padding: 0;
}
.quick-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 4px 0;
}
.quick-links a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding: 15px 20px;
    background-color: #2c443b;
    font-size: 0.9em;
}

/* --- Media Queries for Responsiveness (Pure CSS) --- */
@media (max-width: 992px) {
    /* 3-Column Layouts switch to 2 columns */
    .three-col-grid, .insurance-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* 2-Column Layouts switch to 1 column */
    .two-col-grid, .provider-flex, .contact-form-layout {
        display: block;
    }
    .provider-flex {
        padding: 30px 0;
    }
    .provider-photo-container {
        margin-bottom: 30px;
    }
    .contact-form-box, .contact-details-box {
        margin-bottom: 30px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    /* Footer Stack */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-branding, .quick-links, .schedule-info {
        padding: 20px 0;
        border-bottom: 1px solid #455a4e;
    }
    .quick-links ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    /* All Grids switch to 1 column */
    .three-col-grid, .service-cards-grid, .insurance-logos-grid {
        grid-template-columns: 1fr;
    }
    /* Navigation Stack */
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        margin-top: 15px;
    }
    .btn-nav {
        margin-top: 15px;
    }
    .hero-section h1 {
        font-size: 2em;
    }
}

/* ... (Your existing CSS code goes here) ... */

/* --- Capability Statement Base Styles (New Section) --- */
.capability-statement-container {
    max-width: var(--max-width); /* Use your existing max width */
    margin: 40px auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Added subtle shadow */
}

/* --- Headers and Titles --- */
.statement-header h1 {
    font-size: 2em;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.capability-statement-container h2 {
    font-size: 1.5em;
    color: var(--secondary-color); /* Use secondary color for section headers */
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
}

.capability-statement-container .icon {
    font-size: 1.2em;
    margin-right: 8px;
    color: var(--secondary-color); 
}

/* --- Lists (Core Competencies & Differentiators) --- */
.core-competencies ul,
.differentiators ul,
.naics-codes ul {
    list-style: none;
    padding-left: 0;
}

.core-competencies li,
.differentiators li,
.naics-codes li {
    background: #fcfcfc; /* Very light background for list items */
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color); /* Subtle accent border */
}

/* --- Past Performance Grid (Responsive Layout) --- */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.performance-item {
    padding: 15px;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.performance-item h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-top: 0;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

/* --- Certifications & Registrations Flex Layout --- */
.cert-details {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; 
}

.cert-table-wrapper,
.naics-codes {
    flex: 1;
    min-width: 280px;
}

.cert-table-wrapper h3,
.naics-codes h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 15px;
}

.cert-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f7f7f7;
    border-radius: 4px;
    overflow: hidden;
}

.cert-table-wrapper th,
.cert-table-wrapper td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cert-table-wrapper th {
    background-color: #e8e8e8;
    width: 35%;
    font-weight: 600;
    color: #555;
}

/* --- Contact Information Footer --- */
.contact-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #eff3ee; /* Very light, complementary green */
    border-radius: 6px;
    border-top: 4px solid var(--secondary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Media Query Adjustment for Stacking Registrations on Mobile */
@media (max-width: 600px) {
    .cert-details {
        flex-direction: column;
        gap: 20px;
    }
}

