/* =========================================
BHARAT POWER ENTERPRISES - FOOTER
========================================= */

.bpe-footer {
    --bpe-navy: #061c2e;
    --bpe-navy-light: #0a2b45;
    --bpe-blue: #0f6bb6;
    --bpe-orange: #f26a1b;
    --bpe-white: #ffffff;
    --bpe-muted: #b9c8d5;

    position: relative;
    width: 100%;
    margin: 0;
    background: var(--bpe-navy);
    color: var(--bpe-white);
    font-family: inherit;
    isolation: isolate;
}

.bpe-footer *,
.bpe-footer *::before,
.bpe-footer *::after {
    box-sizing: border-box;
}

.bpe-footer a {
    text-decoration: none;
}

.bpe-footer-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* CTA SECTION */

.bpe-footer-cta {
    background: linear-gradient(110deg, #0f6bb6 0%, #08477d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bpe-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 38px;
}

.bpe-footer-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #ffd1b6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bpe-cta-inner h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.25;
}

.bpe-cta-inner p {
    margin: 0;
    color: #e1edf7;
    font-size: 15px;
    line-height: 1.7;
}

.bpe-footer-cta-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 13px 22px;
    border: 0;
    border-radius: 6px;
    background: var(--bpe-orange);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.bpe-footer-cta-btn:hover {
    background: #db5410;
    color: #fff;
    transform: translateY(-2px);
}

/* MAIN FOOTER */

.bpe-footer-main {
    padding: 65px 0 55px;
    background: var(--bpe-navy);
}

.bpe-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr 1.15fr;
    gap: 38px;
    align-items: start;
}

.bpe-footer-about,
.bpe-footer-links,
.bpe-footer-contact {
    min-width: 0;
}

.bpe-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    margin-bottom: 20px;
}

.bpe-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 75px;
    object-fit: contain;
}

.bpe-footer-about > p {
    margin: 0 0 22px;
    color: var(--bpe-muted);
    font-size: 14px;
    line-height: 1.9;
}

.bpe-footer-links h3,
.bpe-footer-contact h3 {
    position: relative;
    margin: 5px 0 27px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.bpe-footer-links h3::after,
.bpe-footer-contact h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    border-radius: 5px;
    background: var(--bpe-orange);
    content: "";
}

.bpe-footer-links ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bpe-footer-links li,
.bpe-footer-links a,
.bpe-footer-links li span {
    color: var(--bpe-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bpe-footer-links a {
    display: inline-block;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.bpe-footer-links a:hover {
    padding-left: 5px;
    color: #ff9d4d;
}

.bpe-footer-links a::before {
    margin-right: 8px;
    color: var(--bpe-orange);
    content: "›";
}

/* CONTACT DETAILS */

.bpe-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bpe-footer-contact h3 {
    width: 100%;
    margin-bottom: 4px;
}

.bpe-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    color: var(--bpe-muted);
}

.bpe-contact-icon {
    display: inline-flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: var(--bpe-navy-light);
    color: #ff9d4d;
    font-size: 16px;
}

.bpe-contact-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding-top: 2px;
}

.bpe-contact-item small {
    color: #8fa6b9;
    font-size: 12px;
}

.bpe-contact-item strong {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
}

a.bpe-contact-item:hover strong {
    color: #ff9d4d;
}

/* SOCIAL ICONS */

.bpe-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bpe-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: var(--bpe-navy-light);
    color: #fff;
    font-size: 17px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.bpe-footer-social a:hover {
    transform: translateY(-3px);
    border-color: var(--bpe-orange);
    background: var(--bpe-orange);
    color: #fff;
}

/* COPYRIGHT */

.bpe-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #041522;
}

.bpe-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.bpe-bottom-inner p,
.bpe-bottom-inner a {
    margin: 0;
    color: #aabac7;
    font-size: 12px;
    line-height: 1.7;
}

.bpe-bottom-inner a:hover {
    color: #ff9d4d;
}

/* FLOATING CONTACT BUTTONS */

.bpe-floating-contact {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bpe-floating-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 23px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bpe-floating-contact a:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.bpe-floating-contact .bpe-float-whatsapp {
    background: #25d366;
}

.bpe-floating-contact .bpe-float-call {
    background: #ff7400;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .bpe-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
    }

    .bpe-footer-main {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .bpe-footer-container {
        width: calc(100% - 32px);
    }

    .bpe-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .bpe-cta-inner h2 {
        font-size: 25px;
    }

    .bpe-cta-inner p {
        font-size: 14px;
    }

    .bpe-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .bpe-footer-main {
        padding: 42px 0;
    }

    .bpe-footer-logo img {
        max-width: 170px;
        max-height: 65px;
    }

    .bpe-footer-links h3,
    .bpe-footer-contact h3 {
        margin-bottom: 20px;
    }

    .bpe-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .bpe-floating-contact {
        right: 12px;
        bottom: 14px;
        gap: 9px;
    }

    .bpe-floating-contact a {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
