/* ==========================================
   R3S - WHY CHOOSE US / ABOUT SECTION
========================================== */

.r3s-about-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

/* MAIN GRID */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

/* ==========================================
   LEFT IMAGE AREA
========================================== */

.about-visual {
    position: relative;
    padding: 0 25px 25px 0;
}

.about-image-main {
    position: relative;
    height: 520px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 2;
    background: var(--bg-secondary);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

.about-visual:hover .about-image-main img {
    transform: scale(1.045);
}

/* RED DECORATIVE SHAPE */

.about-accent-shape {
    position: absolute;
    width: 65%;
    height: 65%;
    right: 0;
    bottom: 0;
    border: 7px solid var(--r3s-primary);
    border-radius: 18px;
    z-index: 1;
}

/* IMAGE LABEL */

.about-image-label {
    position: absolute;
    left: 18px;
    bottom: 45px;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 17px;
    border-radius: 10px;

    background: rgba(0, 0, 0, .83);
    color: #FFFFFF;

    backdrop-filter: blur(12px);
    max-width: calc(100% - 55px);
}

.about-label-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--r3s-primary);
    border-radius: 9px;
    font-size: 20px;
}

.about-image-label strong,
.about-image-label span {
    display: block;
}

.about-image-label strong {
    font-size: 13px;
    font-weight: 800;
}

.about-image-label span {
    font-size: 10px;
    color: rgba(255, 255, 255, .75);
    margin-top: 3px;
}

/* TRUST BADGE */

.about-trust-badge {
    position: absolute;
    right: 0;
    top: 35px;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 13px 17px;
    background: var(--card-bg);
    color: var(--text-primary);

    border: 1px solid var(--border-color);
    border-radius: 11px;

    box-shadow: var(--shadow-md);
}

.about-badge-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(221, 3, 17, .10);
    color: var(--r3s-primary);
    font-size: 19px;
}

.about-trust-badge strong,
.about-trust-badge span {
    display: block;
}

.about-trust-badge strong {
    font-size: 13px;
    font-weight: 800;
}

.about-trust-badge span {
    color: var(--text-secondary);
    font-size: 10px;
}

/* ==========================================
   RIGHT CONTENT AREA
========================================== */

.about-content {
    position: relative;
}

/* EYEBROW */

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--r3s-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 18px;
}

.about-eyebrow span {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--r3s-primary);
}

/* HEADING */

.about-content h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(32px, 3.1vw, 44px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -1.2px;

    margin-bottom: 23px;
}

.about-content h2 span {
    color: var(--r3s-primary);
}

/* DESCRIPTION */

.about-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
}

/* FEATURES GRID */

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
    margin-bottom: 35px;
}

/* FEATURE ITEM */

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--text-primary);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

/* CHECK ICON */

.feature-check {
    width: 23px;
    height: 23px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFFFFF;
    background: var(--r3s-primary);
    border-radius: 50%;

    font-size: 13px;

    transition: transform .3s ease;
}

.about-feature:hover .feature-check {
    transform: scale(1.15) rotate(8deg);
}

/* BOTTOM CONTENT */

.about-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;

    padding-top: 27px;
    border-top: 1px solid var(--border-color);
}

/* LEADERSHIP */

.about-leadership {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-leadership>i {
    color: var(--r3s-primary);
    font-size: 25px;
}

.about-leadership strong,
.about-leadership small {
    display: block;
}

.about-leadership strong {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.about-leadership small {
    color: var(--text-secondary);
    font-size: 10px;
    margin-top: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    .about-grid {
        gap: 45px;
    }

    .about-image-main {
        height: 460px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .about-features {
        column-gap: 12px;
    }

    .about-feature {
        font-size: 12px;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .r3s-about-section {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-visual {
        padding: 0 15px 15px 0;
    }

    .about-image-main {
        height: 360px;
        border-radius: 13px;
    }

    .about-accent-shape {
        border-width: 5px;
        border-radius: 13px;
    }

    .about-trust-badge {
        top: 170px;
        padding: 9px 7px;
        right: 9px;
    }

    .about-image-label {
        left: 10px;
        bottom: 27px;
        padding: 10px 12px;
    }

    .about-content h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .about-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-features {
        column-gap: 12px;
        row-gap: 16px;
    }

    .about-feature {
        font-size: 12px;
        align-items: flex-start;
    }

    .about-bottom {
        gap: 20px;
    }

}

/* SMALL MOBILE */

@media (max-width: 380px) {

    .about-image-main {
        height: 310px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
        row-gap: 13px;
    }

    .about-feature {
        font-size: 13px;
    }

}

/* DARK MODE */

[data-theme="dark"] .about-image-main {
    background: #222222;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .about-image-main img,
    .about-feature .feature-check {
        transition: none !important;
    }

}


/* ABOUT SCROLL REVEAL */

.about-reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;

    transition-delay: var(--about-delay, 0ms);
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
