/* ================================
   AB Performance - Intro Section CSS
   ================================ */

.ab-performance-intro {
    padding: 100px 20px;
    background-color: #ffffff;
}

.ab-performance-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* --------------------------------
   Left: Image
   -------------------------------- */
.ab-performance-intro-image {
    position: relative;
}

.ab-performance-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    position: relative;
    z-index: 2;
}

/* Decorative accent behind image */
.ab-performance-intro-image-accent {
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    background: linear-gradient(135deg, #e1303a 0%, #E9A329 100%);
    border-radius: 10px;
    z-index: 1;
}

/* --------------------------------
   Right: Content
   -------------------------------- */
.ab-performance-intro-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 12px;
    padding-bottom: 18px;
    position: relative;
}

/* H2 Underline */
.ab-performance-intro-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #e1303a, #E9A329);
    border-radius: 2px;
}

.ab-performance-intro-content h2 span {
    color: #e1303a;
}

.ab-performance-intro-content > p {
    font-size: 17px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 18px;
}

.ab-performance-intro-content > p:last-of-type {
    margin-bottom: 30px;
}

/* --------------------------------
   Outcomes Grid
   -------------------------------- */
.ab-performance-intro-outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 35px;
}

.ab-performance-intro-outcome {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ab-performance-intro-outcome:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

/* Icon */
.ab-performance-intro-outcome-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.ab-performance-intro-outcome-icon i {
    font-size: 17px;
    color: #e1303a;
    transition: all 0.3s ease;
}

.ab-performance-intro-outcome:hover .ab-performance-intro-outcome-icon {
    background-color: #e1303a;
}

.ab-performance-intro-outcome:hover .ab-performance-intro-outcome-icon i {
    color: #ffffff;
}

/* Text */
.ab-performance-intro-outcome-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
    padding-bottom: 0;
    position: relative;
}

.ab-performance-intro-outcome-text p {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------
   CTA Button
   -------------------------------- */
.ab-performance-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ab-performance-intro-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.ab-performance-intro-btn:hover {
    background-color: #e1303a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 48, 58, 0.3);
}

.ab-performance-intro-btn:hover i {
    transform: translateX(3px);
}

/* ================================
   Global H2/H3 Underline Styles
   (Can be used across sections)
   ================================ */
.ab-performance-h2-underline {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 12px;
}

.ab-performance-h2-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #e1303a, #E9A329);
    border-radius: 2px;
}

.ab-performance-h2-underline.ab-performance-h2-underline-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.ab-performance-h3-underline {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.ab-performance-h3-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #e1303a, #E9A329);
    border-radius: 2px;
}

/* ================================
   Responsive Design
   ================================ */

/* Tablet */
@media (max-width: 968px) {
    .ab-performance-intro {
        padding: 80px 20px;
    }
    
    .ab-performance-intro-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ab-performance-intro-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .ab-performance-intro-image-accent {
        top: 15px;
        left: -15px;
        right: 15px;
        bottom: -15px;
    }
    
    .ab-performance-intro-content {
        text-align: center;
    }
    
    .ab-performance-intro-content h2 {
        font-size: 34px;
    }
    
    .ab-performance-intro-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ab-performance-intro-content > p {
        font-size: 16px;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ab-performance-intro-outcomes {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }
    
    .ab-performance-intro-outcome {
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ab-performance-intro {
        padding: 70px 20px;
    }
    
    .ab-performance-intro-container {
        gap: 40px;
    }
    
    .ab-performance-intro-image-accent {
        top: 12px;
        left: -12px;
        right: 12px;
        bottom: -12px;
    }
    
    .ab-performance-intro-content h2 {
        font-size: 30px;
        padding-bottom: 16px;
        margin-bottom: 10px;
    }
    
    .ab-performance-intro-content h2::after {
        width: 60px;
    }
    
    .ab-performance-intro-content > p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }
    
    .ab-performance-intro-content > p:last-of-type {
        margin-bottom: 25px;
    }
    
    .ab-performance-intro-outcomes {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ab-performance-intro-outcome {
        padding: 16px;
        gap: 12px;
    }
    
    .ab-performance-intro-outcome-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 8px;
    }
    
    .ab-performance-intro-outcome-icon i {
        font-size: 16px;
    }
    
    .ab-performance-intro-outcome-text h3 {
        font-size: 15px;
    }
    
    .ab-performance-intro-outcome-text p {
        font-size: 13px;
    }
    
    .ab-performance-intro-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ab-performance-intro {
        padding: 60px 15px;
    }
    
    .ab-performance-intro-image-accent {
        top: 10px;
        left: -10px;
        right: 10px;
        bottom: -10px;
    }
    
    .ab-performance-intro-content h2 {
        font-size: 26px;
    }
    
    .ab-performance-intro-content > p {
        font-size: 15px;
    }
    
    .ab-performance-intro-outcome {
        padding: 14px;
    }
}