/* About Us 2 Page Specific Styles - Inspired by original About Us */

.container-custom {
    max-width: 1200px;
}

/* Hero Section */
.about2-hero-section {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about2-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

section.about2-section i {
    color: #ff382e !important;
}

.about2-hero-content h1 {
    letter-spacing: -1px;
}

.about2-hero-content .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

/* Common Components */
.sub-label-red {
    color: #ff382e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about2-img-wrapper img {
    transition: transform 0.5s ease;
}

.about2-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Image shown at its own proportions — never cropped, never stretched.
   It scales down to fit the column but is not forced to the height of the
   adjacent content column, so no part of the image is cut off. */
.about2-img-fill {
    position: relative;
    width: 100%;
    align-self: center;
}

.about2-img-fill img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Stepped Image Implementation (Notch) */
.about2-stepped-container {
    height: 100%;
    min-height: 400px;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.08));
    display: flex;
    flex-direction: column;
}

.about2-stepped-wrapper {
    position: relative;
    height: 100%;
    flex-grow: 1;
    border-radius: 20px;
    overflow: hidden;
    clip-path: polygon(0 20%, 35% 20%, 35% 0, 100% 0, 100% 100%, 0 100%);
    background: #fff; /* fallback */
}

.about2-stepped-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about2-stepped-wrapper:hover img {
    transform: scale(1.05);
}

.about2-section .display-5 {
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.about2-paragraph {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Feature Repeaters */
.about2-feature-item {
    margin-bottom: 1.5rem;
}

.about2-feature-item h4 {
    color: #212529;
    font-size: 1.25rem;
    font-weight: 700;
}

.about2-feature-icon {
    width: 40px;
    margin-bottom: 15px;
}

/* Stats Section */
.about2-stat-box {
    text-align: center;
    padding: 20px;
   background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border: 1px solid #ffe2e2;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
   
    transition: all 0.3s ease;
    height: 100%;
}

.about2-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.15);
    border-color: #ff4d4d;
}

.about2-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff382e;
    margin-bottom: 5px;
}

.about2-stat-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
}

/* Buttons */
.btn-brand-red {
    background: #ff4d4d;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 12px 30px;
    border-radius: 5px;
}

.btn-brand-red:hover {
    background: #e60000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2) !important;
}

.btn-outline-brand {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-outline-brand:hover {
    background: #fff;
    color: #333;
}

/* Industry Cards */
.about2-industry-card {
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border: 1px solid #ffe2e2;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.about2-industry-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #ff4d4d;
}

.about2-industry-card img {
    height: 50px;
    margin-bottom: 20px;
}

.about2-industry-card h5 {
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}

.about2-industry-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Final CTA - "Ready to get started?" style */
.about2-cta-section {
    background: linear-gradient(90deg, #444444 0%, #6e1c23 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about2-cta-section h2 {
    font-size: 3.5rem !important;
    font-family: 'Oswald', sans-serif;
    color: #fff !important;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

/* "APPLY NOW" pill button */
.btn-about2-cta {
    display: inline-flex;
    align-items: center;
    background: #ffffff !important;
    padding: 8px 8px 8px 30px !important;
    border-radius: 60px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-about2-cta .btn-text {
    color: #ff382e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-right: 15px;
}

.btn-about2-cta .btn-icon {
    width: 44px;
    height: 44px;
    background: #ff3b3b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-about2-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about2-cta-subtext {
    color: #ffffff;
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Nested Subsections under "What We Stand For" parent */
.about2-stand-parent .about2-subsections {
    border-top: 1px dashed rgba(255, 77, 77, 0.25);
    padding-left: 2.5rem;
    margin-left: 0.5rem;
}

.about2-stand-parent .about2-subsection {
    position: relative;
    padding: 0.25rem 0 0.25rem 2rem;
    border-left: 4px solid var(--echeck-red, #ff3b3b);
}

.about2-stand-parent .about2-subsection::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 1.1rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--echeck-red, #ff3b3b);
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(255, 59, 59, 0.25);
}

.about2-stand-parent .about2-subsection-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #222;
}

.about2-stand-parent .about2-subsection-title::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--echeck-red, #ff3b3b);
    vertical-align: middle;
    margin-right: 0.65rem;
    transform: translateY(-4px);
}

/* ============================================
   What We Stand For — V2 (pillar cards + tabs)
   ============================================ */
.about2-stand-v2 .about2-stand-header {
    max-width: 880px;
}

/* Pillar cards */
.about2-pillars {
    margin-top: 2.5rem;
}

.about2-pillar-card {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border: 1px solid #ffe2e2;
    border-radius: 16px;
    padding: 36px 24px 28px;
    text-align: center;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.about2-pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff4d4d, #ff8a8a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.about2-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(255, 77, 77, 0.15);
    border-color: #ffd6d6;
}

.about2-pillar-card:hover::before {
    transform: scaleX(1);
}

.about2-pillar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff1f1 0%, #ffe2e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease;
}

.about2-pillar-card:hover .about2-pillar-icon {
    transform: rotate(-6deg) scale(1.05);
    background: linear-gradient(135deg, #ff4d4d 0%, #ff7070 100%);
}

.about2-pillar-icon i {
    font-size: 1.85rem;
    color: #ff382e !important;
    transition: color 0.4s ease;
}

.about2-pillar-card:hover .about2-pillar-icon i {
    color: #fff !important;
}

.about2-pillar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.about2-pillar-desc {
    font-size: 0.92rem;
    color: #6c757d;
    line-height: 1.65;
    margin: 0;
}

/* Tabs */
.about2-tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* border-bottom: 1px solid #eee; */
}
section.about2-stand-v2  {
    background: #f9f9f9 !important;
}

.about2-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 28px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
}

.about2-tab-btn i {
    color: #6c757d !important;
    transition: color 0.3s ease;
}

.about2-tab-btn:hover {
    color: #ff382e;
}

.about2-tab-btn:hover i {
    color: #ff382e !important;
}

.about2-tab-btn.active {
    color: #ff382e;
    border-bottom-color: #ff4d4d;
    background: linear-gradient(180deg, rgba(255, 77, 77, 0.04) 0%, rgba(255, 77, 77, 0) 100%);
}

.about2-tab-btn.active i {
    color: #ff382e !important;
}

.about2-tab-content {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f3f3;
}

.about2-tab-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.about2-tab-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: #ff4d4d;
    border-radius: 2px;
}

/* Stat tiles (inside Experience tab) */
.about2-stat-tile {
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border: 1px solid #ffe2e2;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about2-stat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255, 77, 77, 0.12);
}

.about2-stat-tile .about2-stat-number {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
    color: #ff382e;
    margin-bottom: 6px;
}

.about2-stat-tile .about2-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #555;
}

/* Compliance feature chips */
.about2-sec-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff7f7;
    border: 1px solid #ffe2e2;
    border-radius: 10px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.about2-sec-chip:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    transform: translateX(4px);
}

.about2-sec-chip i {
    color: #ff382e !important;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.about2-sec-chip:hover i,
.about2-sec-chip:hover span {
    color: #fff !important;
}

.about2-sec-chip span {
    font-size: 0.92rem;
    font-weight: 600;
    color: #222;
    transition: color 0.3s ease;
}

@media (max-width: 991px) {
    .about2-tab-content {
        padding: 24px 18px;
    }

    .about2-tab-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .about2-tab-heading {
        font-size: 1.4rem;
    }

    .about2-pillar-card {
        padding: 28px 20px 22px;
    }
}

@media (max-width: 575px) {
    .about2-tab-nav {
        justify-content: flex-start !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .about2-tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .about2-hero-section {
        height: 350px;
    }

    .about2-cta-section {
        text-align: center;
        padding: 60px 0;
    }

    .about2-cta-section h2 {
        font-size: 2.5rem !important;
    }

    .about2-stand-parent .about2-subsections {
        padding-left: 0;
        margin-left: 0;
    }

    .about2-stand-parent .about2-subsection {
        padding-left: 1.25rem;
        border-left-width: 3px;
    }

    .about2-stand-parent .about2-subsection::before {
        left: -8px;
        width: 12px;
        height: 12px;
        box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(255, 59, 59, 0.25);
    }

    .about2-stand-parent .about2-subsection-title {
        font-size: 1.45rem;
    }
}
