/* ========================================
   THERAPY SECTION - Enhanced Alternating Layout
   ======================================== */

/* Therapy Highlights Section */
.therapy-highlights {
    padding: 6rem 2rem;
    background: var(--gradient-bg);
    position: relative;
}

.therapy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--yellow-primary);
}

.section-header h2 span.accent-green {
    color: var(--green-primary);
}

.section-header h2 span.accent-red {
    color: var(--red-primary);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Therapy List - Alternating Layout */
.therapy-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.therapy-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.therapy-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--yellow-lightest) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.therapy-item:hover::before {
    opacity: 1;
}

.therapy-item:hover {
    box-shadow: 0 20px 50px rgba(252, 195, 0, 0.15);
    transform: translateY(-5px);
}

/* Alternate image position */
.therapy-item:nth-child(even) .item-image-wrapper {
    order: 2;
}

/* Image Wrapper with Overlay Effect */
.item-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.therapy-item:hover .item-image {
    transform: scale(1.08);
}

/* Gradient Overlay with Icon */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 195, 0, 0.85) 0%, rgba(0, 146, 68, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.therapy-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 4rem;
    color: var(--white);
    transform: scale(0.8) rotate(-10deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.therapy-item:hover .image-overlay i {
    transform: scale(1) rotate(0deg);
}

/* Content Section */
.item-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}

.item-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.therapy-item:hover .item-content h3 {
    color: var(--yellow-primary);
}

.item-content p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .therapy-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .therapy-item:nth-child(even) .item-image-wrapper {
        order: 1;
    }

    .item-image-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .therapy-highlights {
        padding: 4rem 2rem;
    }

    .therapy-list {
        gap: 3rem;
    }

    .therapy-item {
        padding: 2rem;
    }

    .item-content h3 {
        font-size: 1.5rem;
    }

    .therapy-item:nth-child(2),
    .therapy-item:nth-child(4) {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 640px) {
    .therapy-highlights {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .therapy-item {
        padding: 1.5rem;
    }

    .item-image-wrapper {
        height: 220px;
    }

    .item-content h3 {
        font-size: 1.3rem;
    }
}