
/* ==========================================
   FOOTER - MI HUBBUL QUR'AN
========================================== */

.footer-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ==========================================
   CONTACT & MAPS SECTION
========================================== */

.footer-contact-section {
    padding: 100px 0;
    background: #F3FAFA;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 55px;
}

.footer-contact-left {
    min-width: 0;
}

.footer-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #D9900C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.footer-contact-left h2 {
    max-width: 580px;
    margin: 0 0 23px;
    color: #07535D;
    font-size: clamp(30px, 3.3vw, 44px);
    font-weight: 800;
    line-height: 1.35;
}

.footer-contact-left h2 span {
    display: block;
    color: #009FAE;
}

.footer-contact-description {
    max-width: 550px;
    margin: 0 0 35px;
    color: #47686D;
    font-size: 14px;
    line-height: 2;
}

/* CONTACT CARDS */

.footer-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 100px;
    padding: 20px;
    border: 1px solid #D9EAEC;
    border-radius: 17px;
    background: #FFFFFF;
    transition: transform .3s ease, box-shadow .3s ease;
}

.footer-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,127,142,.08);
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 49px;
    height: 49px;
    border-radius: 13px;
    background: #E4F5F6;
    color: #009FAE;
    font-size: 22px;
    font-weight: 700;
}

.footer-contact-icon span {
    font-size: inherit;
}

.footer-contact-card:first-child .footer-contact-icon span {
    font-size: 14px;
}

.footer-contact-card-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.footer-contact-label {
    color: #718C90;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-contact-value,
.footer-contact-card-text a {
    color: #07535D;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact-card-text a:hover {
    color: #009FAE;
}

/* MAPS */

.footer-contact-right {
    overflow: hidden;
    min-height: 520px;
    border: 12px solid #FFFFFF;
    border-radius: 28px;
    background: #D9EAEC;
    box-shadow: 0 15px 45px rgba(0,127,142,.08);
}

.footer-contact-right iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.footer-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 35px;
    text-align: center;
}

.footer-map-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    margin-bottom: 23px;
    border-radius: 23px;
    background: #E4F5F6;
    color: #009FAE;
    font-size: 48px;
}

.footer-map-placeholder h3 {
    margin: 0 0 13px;
    color: #07535D;
    font-size: 22px;
}

.footer-map-placeholder p {
    max-width: 320px;
    margin: 0;
    color: #47686D;
    font-size: 13px;
    line-height: 1.9;
}

/* ==========================================
   MAIN FOOTER
========================================== */

.site-footer {
    position: relative;
    padding: 85px 0 0;
    background: #009FAE;
    color: #FFFFFF;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 55px;
    padding-bottom: 75px;
}

/* BRAND */

.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

/* LOGO FOOTER */

.footer-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 75px;
    height: 75px;

    background: transparent;
    border-radius: 0;
}

.footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-heading h3 {
    margin: 0 0 7px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
}

.footer-brand-heading span {
    color: #FFD06A;
    font-size: 12px;
    font-weight: 700;
}

.footer-brand p {
    max-width: 350px;
    margin: 0;
    color: #E4F5F6;
    font-size: 13px;
    line-height: 2;
}

/* LINKS */

.footer-links h3,
.footer-about h3 {
    position: relative;
    margin: 15px 0 38px;
    padding-bottom: 18px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.footer-links h3::after,
.footer-about h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    border-radius: 3px;
    background: #F5AD24;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links ul li {
    margin: 0;
    padding: 0;
}

.footer-links ul a {
    color: #E4F5F6;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-links ul a:hover {
    color: #FFD06A;
}

/* ABOUT */

.footer-about p {
    margin: 0 0 25px;
    color: #E4F5F6;
    font-size: 13px;
    line-height: 2;
}

.footer-about a {
    display: inline-flex;
    align-items: center;
    padding: 11px 19px;
    border-radius: 50px;
    background: #F5AD24;
    color: #07535D;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.footer-about a:hover {
    background: #FFD06A;
}

/* COPYRIGHT */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.20);
}

.footer-bottom p {
    margin: 0;
    color: #E4F5F6;
    font-size: 12px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1100px) {
    .footer-contact-grid {
        gap: 30px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px;
    }

    .footer-contact-card {
        padding: 15px;
    }
}

@media (max-width: 900px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-right,
    .footer-contact-right iframe,
    .footer-map-placeholder {
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-contact-section {
        padding: 65px 0;
    }

    .footer-contact-left h2 {
        font-size: 30px;
    }

    .footer-contact-cards {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .footer-contact-card {
        min-height: 85px;
    }

    .footer-contact-right {
        border-width: 7px;
        border-radius: 20px;
    }

    .footer-contact-right,
    .footer-contact-right iframe,
    .footer-map-placeholder {
        min-height: 330px;
    }

    .site-footer {
        padding-top: 65px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 50px;
    }

    .footer-links h3,
    .footer-about h3 {
        margin-bottom: 25px;
    }

    .footer-links ul {
        gap: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-contact-card {
        transition: none;
    }

    .footer-contact-card:hover {
        transform: none;
    }
}
