/* css/family-therapy.css */

/* Page Hero */
.page-hero.family-therapy-hero {
    background: linear-gradient(rgba(13, 148, 136, 0.8), rgba(13, 148, 136, 0.9)), url('../images/family-therapy-hero.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 180px 0 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-hero.family-therapy-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.page-hero.family-therapy-hero .hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.2s both;
}

.page-hero.family-therapy-hero .highlight {
    color: var(--accent-light);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.breadcrumbs a {
    color: var(--accent-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--white);
    font-weight: 600;
}

/* Program Overview */
.program-overview {
    padding: 80px 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.overview-text {
    flex: 1;
}

.overview-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.overview-text > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 1.8rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.overview-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--white);
}

.image-caption p {
    font-style: italic;
    text-align: center;
    font-size: 0.95rem;
}

.image-caption i {
    color: var(--accent-light);
    margin-right: 5px;
}

/* Why Family Therapy */
.why-family-therapy {
    background-color: var(--light-color);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Therapy Approaches - Updated for single row */
.therapy-approaches {
    padding: 80px 0;
}

.approaches-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--light-color);
}

.approaches-container::-webkit-scrollbar {
    height: 8px;
}

.approaches-container::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.approaches-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-light);
    border-radius: 4px;
}

.approach-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.approach-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.approach-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.approach-header h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.approach-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.approach-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* Program Structure */
.program-structure {
    background-color: var(--light-color);
    padding: 80px 0;
}

.structure-content {
    max-width: 900px;
    margin: 0 auto;
}

.structure-phase {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.structure-phase:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 80px;
    bottom: -40px;
    width: 2px;
    background-color: var(--primary-light);
}

.phase-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.phase-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.phase-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.phase-content > p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.phase-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.detail i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Who Should Attend */
.who-should-attend {
    padding: 80px 0;
}

.attendees-content {
    max-width: 800px;
    margin: 0 auto;
}

.attendee-group {
    margin-bottom: 40px;
}

.attendee-group h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.attendee-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.attendee {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.attendee:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.attendee i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.attendee span {
    color: var(--text-color);
    font-weight: 500;
}

.attendee-note {
    background-color: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.attendee-note i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.attendee-note p {
    margin: 0;
    color: var(--text-color);
}

/* Getting Started */
.getting-started {
    background-color: var(--light-color);
    padding: 80px 0;
}

.started-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.started-text {
    flex: 1;
}

.started-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.started-text > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.step-info p {
    color: var(--text-light);
    margin: 0;
}

.started-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.started-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-note {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(13, 148, 136, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
}

.image-note p {
    margin: 0;
    font-size: 0.9rem;
}

.image-note i {
    margin-right: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .approach-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .overview-content,
    .started-content {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-hero.family-therapy-hero {
        padding: 150px 0 60px;
        min-height: 50vh;
    }
    
    .page-hero.family-therapy-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero.family-therapy-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-grid,
    .attendee-list {
        grid-template-columns: 1fr;
    }
    
    .key-features {
        grid-template-columns: 1fr;
    }
    
    .approach-card {
        flex: 0 0 calc(100% - 0px);
    }
    
    .structure-phase {
        flex-direction: column;
        text-align: center;
    }
    
    .structure-phase:not(:last-child)::after {
        left: 50%;
        top: 70px;
        bottom: -40px;
        transform: translateX(-50%);
    }
    
    .phase-details {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .page-hero.family-therapy-hero h1 {
        font-size: 2rem;
    }
    
    .overview-text h2,
    .started-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
}