/* Conditions Page Styles */
/* Hero Updates */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;  
    line-height: 1.6;
    max-width: 700px;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent);
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Condition Clusters Section */
.condition-clusters-section {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.condition-clusters-header {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.condition-clusters-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c6e49;
}

.condition-clusters-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Condition Clusters Layout */
.condition-clusters-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.condition-cluster-program-type {
    margin-bottom: 15px;
}

.program-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #e8f5e8;
    color: #2c6e49;
    border: 1px solid #c8e6c9;
} 

/* Sidebar */
.condition-clusters-sidebar {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #4c956c;
}

.filter-section h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #1d3557;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #2c6e49;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.clear-filters-btn:hover {
    color: #4c956c;
}

.filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #d8e2dc;
    padding-bottom: 15px;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
}

.filter-header h4 {
    font-size: 1rem;
    margin: 0;
    color: #1d3557;
    font-weight: 600;
}

.toggle-icon {
    color: #4c956c;
    transition: transform 0.3s ease;
}

.filter-group.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-content {
    display: none;
}

.filter-group.active .filter-content {
    display: block;
}

/* Filter Controls */
.radio-filter, .checkbox-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-container, .checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1d3557;
    user-select: none;
    transition: color 0.3s ease;
}

.radio-container:hover, .checkbox-container:hover {
    color: #2c6e49;
}

.radio-container input, .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radiomark, .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 1px solid #d8e2dc;
    transition: all 0.3s ease;
}

.radiomark {
    border-radius: 50%;
}

.checkmark {
    border-radius: 4px;
}

.radio-container:hover input ~ .radiomark,
.checkbox-container:hover input ~ .checkmark {
    border-color: #2c6e49;
}

.radio-container input:checked ~ .radiomark,
.checkbox-container input:checked ~ .checkmark {
    background-color: #2c6e49;
    border-color: #2c6e49;
}

.radiomark:after, .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .radiomark:after,
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .radiomark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Main Area */
.condition-clusters-main {
    padding: 0 10px;
}

.condition-clusters-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.results-count p {
    margin: 0;
    color: #1d3557;
    font-weight: 500;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 0.9rem;
    color: #1d3557;
}

#sort-by {
    padding: 10px 15px;
    border: 1px solid #d8e2dc;
    border-radius: 6px;
    background-color: white;
    color: #1d3557;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#sort-by:focus {
    border-color: #2c6e49;
    outline: none;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    min-height: 40px;
}

.active-filter {
    display: flex;
    align-items: center;
    background-color: #2c6e49;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.active-filter button {
    background: none;
    border: none;
    color: white;
    margin-left: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.active-filter button:hover {
    transform: scale(1.2);
}

/* Condition Clusters Grid */
.condition-clusters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.condition-cluster-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.condition-cluster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.condition-cluster-card-inner {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.condition-cluster-header {
    margin-bottom: 15px;
}

.condition-cluster-header h3 {
    font-size: 1.3rem;
    color: #1d3557;
    margin-bottom: 15px;
    font-weight: 600;
}

.condition-cluster-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.condition-chip {
    background-color: #f0f7f4;
    color: #2c6e49;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #d8e2dc;
}

.condition-cluster-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.condition-cluster-proof {
    background-color: #fefee3;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #4c956c;
}

.condition-cluster-proof p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.condition-cluster-proof strong {
    color: #2c6e49;
}

.condition-cluster-footer {
    text-align: right;
    margin-top: auto;
}

.explore-cluster-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c6e49;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #2c6e49;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.explore-cluster-btn:hover {
    background-color: #2c6e49;
    color: white;
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-results h3 {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.no-results p {
    color: #95a5a6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2c6e49;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.process-flow {
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c6e49, #4c956c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    flex-grow: 1;
    border: 1px solid #e8e8e8;
}

.step-content h3 {
    color: #1d3557;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-step:not(:last-child)::after {
    content: '↓';
    position: absolute;
    left: 25px;
    bottom: -30px;
    color: #4c956c;
    font-size: 20px;
}

/* Proof Strip */
.proof-strip-section {
    padding: 80px 0;
    color: black;
}

.proof-strip-section .section-header h2 {
    color: black;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.proof-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: black;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Therapy Preview */
.therapy-preview-section {
    padding: 80px 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.department-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border-top: 5px solid var(--dept-color, #2c6e49);
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.department-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--dept-color, #2c6e49), var(--dept-color-light, #4c956c));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.department-card h3 {
    color: #1d3557;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.department-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.department-link {
    display: inline-block;
    background-color: var(--dept-color, #2c6e49);
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.department-link:hover {
    background-color: #1d3557;
    transform: translateY(-2px);
}

/* Local Contact Strip */
.local-contact-strip {
    padding: 60px 0;
    background-color: #f0f7f4;
    margin: 60px 0;
}

.contact-info h3 {
    color: #1d3557;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item i {
    color: #2c6e49;
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    color: #1d3557;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.service-areas {
    margin-bottom: 30px;
}

.service-areas h4 {
    color: #1d3557;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-chips span {
    background-color: white;
    color: #2c6e49;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #d8e2dc;
}

.contact-cta {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-cta h4 {
    color: #1d3557;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-outline {
    padding: 12px 20px;
    border: 2px solid #2c6e49;
    color: #2c6e49;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #2c6e49;
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .condition-clusters-layout {
        grid-template-columns: 1fr;
    }
    
    .condition-clusters-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .condition-clusters-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .condition-clusters-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .process-step:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .condition-clusters-header h1 {
        font-size: 2rem;
    }
    
    .proof-stats {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }

    
    .contact-cta {
        text-align: center;
    }
}

.filter-header .filter-arrow {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.filter-header .fa-chevron-down {
    transform: rotate(0deg);
}

.filter-header .fa-chevron-up {
    transform: rotate(180deg);
}

.filter-group.active .filter-header .fa-chevron-down {
    transform: rotate(180deg);
}

.filter-group.active .filter-header .fa-chevron-up {
    transform: rotate(0deg);
}

        /* Card Grid Styles */
        .condition-cards-section {
            padding: 80px 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .condition-cards-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .condition-cards-header h1 {
            font-size: 2.5rem;
            color: #2c6e49;
            margin-bottom: 15px;
        }

        .condition-cards-header p {
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        .condition-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .condition-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            height: 100%;
        }

        .condition-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }

        .condition-card-inner {
            padding: 25px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .condition-card-header {
            margin-bottom: 15px;
        }

        .condition-card-header h3 {
            font-size: 1.3rem;
            color: #1d3557;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .condition-card-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }

        .condition-card-chip {
            background-color: #f0f7f4;
            color: #2c6e49;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid #d8e2dc;
        }

        .condition-card-description {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 15px;
            line-height: 1.5;
            flex-grow: 1;
        }

        .condition-card-proof {
            background-color: #fefee3;
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            border-left: 4px solid #4c956c;
        }

        .condition-card-proof p {
            margin: 0;
            font-size: 0.85rem;
            color: #555;
            line-height: 1.5;
        }

        .condition-card-proof strong {
            color: #2c6e49;
        }

        .condition-card-footer {
            text-align: right;
            margin-top: auto;
        }

        .explore-cluster-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #2c6e49;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 20px;
            border: 2px solid #2c6e49;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .explore-cluster-btn:hover {
            background-color: #2c6e49;
            color: white;
            transform: translateY(-2px);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .condition-cards-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .condition-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .condition-cards-header h1 {
                font-size: 2rem;
            }

            .condition-cards-grid {
                grid-template-columns: 1fr;
            }
        }


        