/* =========================================================
   BAOBAB RENEWAL - FOOTER COMMON
   ========================================================= */

.footer_area {
    background: linear-gradient(135deg, #14274e, #1c355e);
    color: rgba(255, 255, 255, 0.88);
    position: relative;
}

.footer_area h3,
.footer_area .f_title h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer_area,
.footer_area p,
.footer_area div,
.footer_area span,
.footer_area li,
.footer_area a {
    color: rgba(255, 255, 255, 0.84);
}

.footer_area a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer_area .footer_inner {
    align-items: flex-start;
}

.footer_area .footer-logo,
.footer_area .logo_h,
.footer_area img {
    display: inline-block;
}

.footer_area .copy_right_text {
    margin-top: 20px;
}

/* simple footer used in detail pages */
.footer_area:not(.footer-modern) {
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer_area:not(.footer-modern) .footer_inner > [class*="col-"] {
    margin-bottom: 18px;
}

.footer_area:not(.footer-modern) .footer_inner > .col-lg-5:first-child,
.footer_area:not(.footer-modern) .footer_inner > .col-sm-6:first-child {
    display: flex;
    align-items: flex-start;
    padding-top: 8px;
}

.footer_area:not(.footer-modern) .footer_inner > .col-lg-5:last-child,
.footer_area:not(.footer-modern) .footer_inner > .col-sm-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer_area:not(.footer-modern) h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.3;
}

.footer_area:not(.footer-modern) .footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.footer_area:not(.footer-modern) .footer-contact-line img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.95;
    flex: 0 0 18px;
}

.footer_area:not(.footer-modern) .footer-address {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer_area:not(.footer-modern) .footer-copyright {
    margin-top: 10px;
    line-height: 1.7;
}

/* refined footer used on index */
.footer-modern {
    background: linear-gradient(135deg, #10213d, #1f3c72);
}

.footer-modern .footer-copy-text {
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.8;
}

.footer-modern .footer-info-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.footer-modern .footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 12px;
}

.footer-modern .copyright {
    margin-top: 8px;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .footer_area:not(.footer-modern) .footer_inner > [class*="col-"] {
        margin-bottom: 26px;
    }
}

@media (max-width: 767px) {
    .footer_area {
        text-align: left;
    }

    .footer_area:not(.footer-modern) .footer_inner {
        align-items: flex-start;
    }

    .footer_area:not(.footer-modern) .footer_inner > .col-lg-5:first-child,
    .footer_area:not(.footer-modern) .footer_inner > .col-sm-6:first-child {
        padding-top: 0;
    }

    .footer-modern .footer-info-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .footer-modern .footer-meta {
        flex-direction: column;
        gap: 6px;
    }
}