footer {
    background-color: #000;
    padding: 30px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom)); 
    width: 100%;
}

.footerContentWrapper {
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footerImgWrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.socialWrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footerIconBorder {
    border: 3px solid;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.footerIconBorder:hover,
.footerIconBorder:focus-visible {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.footerIcons {
    text-decoration: none;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerIcons:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 50%;
}

.callUs {
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
}

.callUs:hover,
.callUs:focus-visible {
    text-decoration: underline;
}

hr {
    color: #fff;
    opacity: 0.2;
}

.tel {
    color: #fff;
}

.address {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.footerImgs {
    height: 20vh;
    height: 20svh;
    width: auto;
    object-fit: contain; 
    border-radius: 0.25rem;
    max-height: 140px; 
    max-width: 100%;
}

.contDetailsWrapperFooter {
    display: grid;
    color: #fff;
    font-weight: 700;
    text-align: left;
    gap: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.patchngPower {
    color: white;
}

.patchngPower a {
    color: white !important;
}


.footer-cookie-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    opacity: 0.6;
    transition: opacity 0.2s;
    font-family: inherit;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-cookie-btn:hover,
.footer-cookie-btn:focus-visible {
    opacity: 1;
}

.copyrightPowered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 2rem;
    width: 100%;
}

.copyrightPowered p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    color: #fff !important;
}

.footer-legal-links a,
.footer-legal-links button {
    color: #fff !important;
    font-size: 0.75rem;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: #aaa !important;
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════ */

/* ── Large screens (≥1200px) ── */
@media (min-width: 1200px) {
    .footerContentWrapper {
        max-width: 1400px;
    }
}

/* ── Desktop (992px–1199px) ── */
@media (min-width: 992px) and (max-width: 1199px) {
    .footerContentWrapper {
        max-width: 1100px;
    }
}

/* ── Tablet (≤991px) ── */
@media (max-width: 991px) {
    .footerContentWrapper {
        flex-direction: column;
        gap: 20px;
    }

    .footerImgWrapper {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contDetailsWrapperFooter {
        text-align: center;
    }
}

/* ── Tablet and below (≤768px) ── */
@media (max-width: 768px) {
    footer {
        padding: 25px 20px calc(25px + env(safe-area-inset-bottom));
    }

    .footerContentWrapper {
        width: 95%;
        flex-direction: column;
        gap: 20px;
    }

    .footerImgs {
        height: auto;
        max-height: 120px;
        max-width: 160px;
    }

    .footerImgWrapper {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .address {
        font-size: 0.95rem;
    }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
    footer {
        padding: 20px 15px calc(20px + env(safe-area-inset-bottom));
    }

    .footerContentWrapper {
        width: 100%;
    }

    .address {
        font-size: 0.875rem;
    }

    .footerImgs {
        max-height: 100px;
        max-width: 130px;
    }

    .footerIconBorder {
        width: 40px;
        height: 40px;
        padding: 4px;
        border-width: 2px;
    }

    .socialWrapper {
        gap: 10px;
    }

    .footer-legal-links {
        gap: 0.5rem;
    }
}

/* ── Very small mobile (≤360px) ── */
@media (max-width: 360px) {
    footer {
        padding: 15px 10px calc(15px + env(safe-area-inset-bottom));
    }

    .footerImgs {
        max-height: 80px;
    }
}

/* ── Landscape phone ── */
@media (max-height: 430px) and (orientation: landscape) {
    footer {
        padding-top: 15px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }

    .footerContentWrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-around;
        gap: 15px;
    }

    .footerImgWrapper {
        flex-direction: column;
        gap: 8px;
    }

    .footerImgs {
        max-height: 60px;
    }
}