/* ================================
   AB Performance - Services Content CSS
   ================================ */

.ab-performance-services-content-section {
    padding: 80px 20px;
}

.ab-performance-services-content-light {
    background-color: #f8f8f8;
}

.ab-performance-services-content-dark {
    background-color: #e8e8e8;
}

.ab-performance-services-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ab-performance-services-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Reverse layout for alternating sections */
.ab-performance-services-content-reverse {
    direction: rtl;
}

.ab-performance-services-content-reverse > * {
    direction: ltr;
}

/* Text Content */
.ab-performance-services-content-text h2 {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.ab-performance-services-content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #e1303a;
}

.ab-performance-services-content-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.4;
}

.ab-performance-services-content-text p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ab-performance-services-content-text p:last-child {
    margin-bottom: 0;
}

/* Image Content */
.ab-performance-services-content-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ab-performance-services-content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ab-performance-services-content-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .ab-performance-services-content-section {
        padding: 60px 20px;
    }
    
    .ab-performance-services-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ab-performance-services-content-reverse {
        direction: ltr;
    }
    
    .ab-performance-services-content-text h2 {
        font-size: 32px;
    }
    
    .ab-performance-services-content-subtitle {
        font-size: 17px;
    }
    
    .ab-performance-services-content-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ab-performance-services-content-section {
        padding: 40px 20px;
    }
    
    .ab-performance-services-content-text h2 {
        font-size: 28px;
    }
    
    .ab-performance-services-content-subtitle {
        font-size: 16px;
    }
    
    .ab-performance-services-content-text p {
        font-size: 14px;
    }
}