/* ==========================================
   BHARAT POWER ENTERPRISES - ABOUT PAGE
   All styles are isolated to this page.
========================================== */

.bpe-about-page {
    --bpe-about-blue: #174b70;
    --bpe-about-blue-dark: #102f49;
    --bpe-about-orange: #f47721;
    --bpe-about-text: #526170;
    --bpe-about-light: #f4f7fa;
    color: #172b3a;
    overflow: hidden;
}

.bpe-about-page,
.bpe-about-page * {
    box-sizing: border-box;
}

.bpe-about-page img {
    display: block;
    max-width: 100%;
}

.bpe-about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.bpe-about-hero {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    background: #102f49;
    isolation: isolate;
    padding: 65px 0 80px;
}

.bpe-about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 30, 47, 0.96) 0%,
            rgba(14, 44, 67, 0.87) 55%,
            rgba(13, 39, 59, 0.62) 100%
        ),
        url("{{ asset('frontend/images/panel-wide.jpeg') }}") center/cover
            no-repeat;
}

.bpe-about-breadcrumb {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-bottom: 48px;
    color: #e2eaf0;
    font-size: 13px;
}

.bpe-about-breadcrumb a {
    color: #ffad69;
    text-decoration: none;
}

.bpe-about-hero-content {
    max-width: 760px;
}

.bpe-about-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--bpe-about-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
}

.bpe-about-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(35px, 5vw, 57px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.bpe-about-hero h1 span,
.bpe-about-field-content h2 span,
.bpe-about-cta h2 span {
    color: #ff9a4c;
}

.bpe-about-hero-content > p {
    max-width: 630px;
    margin: 0;
    color: #d9e3eb;
    font-size: 16px;
    line-height: 1.9;
}

.bpe-about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.bpe-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: 0.25s ease;
}

.bpe-about-btn-orange {
    background: var(--bpe-about-orange);
    color: #fff !important;
}

.bpe-about-btn-orange:hover {
    background: #df6411;
    transform: translateY(-2px);
}

.bpe-about-btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff !important;
}

.bpe-about-btn-outline:hover {
    background: #fff;
    color: var(--bpe-about-blue-dark) !important;
}

.bpe-about-section {
    padding: 95px 0;
    background: #fff;
}

.bpe-about-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 75px;
}

.bpe-about-image-wrap {
    position: relative;
    min-width: 0;
    padding: 0 35px 38px 0;
}

.bpe-about-main-image {
    width: 100%;
    height: 455px;
    object-fit: cover;
    border-radius: 5px;
}

.bpe-about-small-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 190px;
    object-fit: cover;
    border: 7px solid #fff;
    border-radius: 5px;
}

.bpe-about-image-badge {
    position: absolute;
    top: 22px;
    left: -12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 19px;
    background: var(--bpe-about-orange);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bpe-about-image-badge strong {
    font-size: 27px;
    font-weight: 900;
}

.bpe-about-image-badge span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 1px;
}

.bpe-about-intro-content h2,
.bpe-about-section-heading h2,
.bpe-about-why-content h2 {
    margin: 0 0 22px;
    color: #172b3a;
    font-size: clamp(29px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.bpe-about-intro-content h2 span,
.bpe-about-section-heading h2 span,
.bpe-about-why-content h2 span {
    color: var(--bpe-about-blue);
}

.bpe-about-intro-content p,
.bpe-about-why-content p {
    margin: 0 0 16px;
    color: var(--bpe-about-text);
    font-size: 14px;
    line-height: 1.9;
}

.bpe-about-intro-content .bpe-about-lead {
    color: #30485a;
    font-size: 16px;
    font-weight: 600;
}

.bpe-about-check-list {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.bpe-about-check-list > div {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #2b4050;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
}

.bpe-about-check-list > div span {
    display: inline-flex;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: #198044;
    font-size: 12px;
}

.bpe-about-capabilities {
    padding: 90px 0;
    background: var(--bpe-about-light);
}

.bpe-about-section-heading {
    max-width: 720px;
    margin: 0 auto 43px;
    text-align: center;
}

.bpe-about-section-heading > p {
    max-width: 570px;
    margin: 0 auto;
    color: var(--bpe-about-text);
    font-size: 14px;
    line-height: 1.8;
}

.bpe-about-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.bpe-about-capability-card {
    position: relative;
    min-width: 0;
    padding: 30px 23px;
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 5px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.bpe-about-capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(16, 47, 73, 0.09);
}

.bpe-about-card-number {
    position: absolute;
    top: 22px;
    right: 20px;
    color: #d8e0e7;
    font-size: 25px;
    font-weight: 850;
}

.bpe-about-card-icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 5px;
    background: #edf4f9;
    color: var(--bpe-about-blue);
    font-size: 26px;
}

.bpe-about-capability-card h3 {
    margin: 0 0 13px;
    color: #18384f;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.bpe-about-capability-card p {
    margin: 0;
    color: var(--bpe-about-text);
    font-size: 13px;
    line-height: 1.85;
}

.bpe-about-field-banner {
    position: relative;
    display: flex;
    min-height: 440px;
    align-items: center;
    padding: 75px 0;
    background: #102f49;
    isolation: isolate;
}

.bpe-about-field-banner > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bpe-about-field-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(8, 29, 46, 0.96) 0%,
        rgba(10, 34, 52, 0.86) 54%,
        rgba(10, 34, 52, 0.35) 100%
    );
}

.bpe-about-field-content {
    max-width: 670px;
}

.bpe-about-field-content h2,
.bpe-about-cta h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.2;
}

.bpe-about-field-content p,
.bpe-about-cta p {
    max-width: 560px;
    margin: 0 0 25px;
    color: #e0e8ee;
    font-size: 14px;
    line-height: 1.9;
}

.bpe-about-process-section {
    background: #fff;
}

.bpe-about-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bpe-about-process-card {
    position: relative;
    min-width: 0;
    padding: 28px 22px;
    border-top: 3px solid var(--bpe-about-orange);
    background: #f6f8fa;
}

.bpe-about-process-number {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--bpe-about-orange);
    font-size: 30px;
    font-weight: 850;
}

.bpe-about-process-card h3 {
    margin: 0 0 12px;
    color: #18384f;
    font-size: 19px;
    font-weight: 800;
}

.bpe-about-process-card p {
    margin: 0;
    color: var(--bpe-about-text);
    font-size: 13px;
    line-height: 1.85;
}

.bpe-about-why {
    padding: 90px 0;
    background: var(--bpe-about-light);
}

.bpe-about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.bpe-about-why-content > .bpe-about-btn {
    margin-top: 12px;
}

.bpe-about-why-list {
    display: grid;
    gap: 0;
    padding: 8px 28px;
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 5px;
}

.bpe-about-why-item {
    display: flex;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid #e8edf1;
}

.bpe-about-why-item:last-child {
    border-bottom: 0;
}

.bpe-about-why-item > span {
    display: flex;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    background: #edf4f9;
    color: var(--bpe-about-blue);
    font-size: 14px;
    font-weight: 850;
}

.bpe-about-why-item h3 {
    margin: 0 0 7px;
    color: #18384f;
    font-size: 16px;
    font-weight: 800;
}

.bpe-about-why-item p {
    margin: 0;
    color: var(--bpe-about-text);
    font-size: 13px;
    line-height: 1.8;
}

.bpe-about-cta {
    padding: 75px 0;
    background: var(--bpe-about-blue-dark);
}

.bpe-about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.bpe-about-cta h2 {
    margin-bottom: 14px;
}

.bpe-about-cta p {
    margin-bottom: 0;
}

.bpe-about-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.bpe-about-phone {
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.bpe-about-phone:hover {
    color: #ffad69 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .bpe-about-section,
    .bpe-about-capabilities,
    .bpe-about-why {
        padding: 70px 0;
    }

    .bpe-about-intro-grid,
    .bpe-about-why-grid {
        gap: 38px;
    }

    .bpe-about-main-image {
        height: 380px;
    }

    .bpe-about-small-image {
        height: 145px;
    }

    .bpe-about-capability-grid,
    .bpe-about-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bpe-about-cta-inner {
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bpe-about-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bpe-about-hero {
        min-height: auto;
        padding: 45px 0 65px;
    }

    .bpe-about-breadcrumb {
        margin-bottom: 34px;
    }

    .bpe-about-hero h1 {
        font-size: clamp(32px, 9vw, 43px);
        letter-spacing: -0.7px;
    }

    .bpe-about-hero-content > p {
        font-size: 14px;
    }

    .bpe-about-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bpe-about-btn {
        width: 100%;
    }

    .bpe-about-section,
    .bpe-about-capabilities,
    .bpe-about-why {
        padding: 58px 0;
    }

    .bpe-about-intro-grid,
    .bpe-about-why-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .bpe-about-image-wrap {
        padding-right: 22px;
        padding-bottom: 30px;
    }

    .bpe-about-main-image {
        height: 330px;
    }

    .bpe-about-small-image {
        width: 43%;
        height: 125px;
        border-width: 5px;
    }

    .bpe-about-image-badge {
        left: 0;
        top: 15px;
    }

    .bpe-about-intro-content h2,
    .bpe-about-section-heading h2,
    .bpe-about-why-content h2 {
        font-size: 31px;
    }

    .bpe-about-section-heading {
        margin-bottom: 30px;
    }

    .bpe-about-capability-grid,
    .bpe-about-process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .bpe-about-capability-card {
        padding: 25px 22px;
    }

    .bpe-about-field-banner {
        min-height: 400px;
        padding: 60px 0;
    }

    .bpe-about-field-overlay {
        background: rgba(8, 29, 46, 0.84);
    }

    .bpe-about-field-content h2,
    .bpe-about-cta h2 {
        font-size: 32px;
    }

    .bpe-about-why-list {
        padding: 5px 18px;
    }

    .bpe-about-why-item {
        gap: 13px;
    }

    .bpe-about-cta {
        padding: 58px 0;
    }

    .bpe-about-cta-inner {
        flex-direction: column;
        gap: 28px;
    }

    .bpe-about-cta-actions {
        width: 100%;
        align-items: stretch;
    }

    .bpe-about-phone {
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .bpe-about-hero h1 {
        font-size: 30px;
    }

    .bpe-about-intro-content h2,
    .bpe-about-section-heading h2,
    .bpe-about-why-content h2 {
        font-size: 28px;
    }

    .bpe-about-main-image {
        height: 280px;
    }
}
