/* ==========================================================================
   Redesigned site footer (hmis-footer)
   Lighter, better-organised replacement for the old .hmis_footer-section
   markup. Kept scoped to its own classes so it can't clash with the rest
   of style.min.css.
   ========================================================================== */

.hmis-footer {
    background: #E8F2FE;
    border-top: 1px solid #B7CCE1;
    padding: 56px 0 24px;
}

.hmis-footer .container {
    max-width: 1400px;
}

/* ---- single row: brand / offices / links / newsletter ---- */

.hmis-footer-top {
    margin-bottom: 8px;
}

@media (min-width: 992px) {
    .hmis-footer-top > [class*="col-lg-"] {
        border-right: 1px solid #C7D6E5;
    }

    .hmis-footer-top > [class*="col-lg-"]:last-child {
        border-right: none;
    }
}

.hmis-footer-brand .footer-logo {
    max-width: 190px;
    margin-bottom: 18px;
}

.hmis-footer-brand p {
    max-width: 280px;
}

.hmis-footer-brand .hmis-footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #1C3665;
}

.hmis-footer-brand .hmis-footer-contact i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    color: #1C3665;
}

.hmis-footer-brand .hmis-footer-contact a {
    color: #1C3665;
}

.hmis-footer-brand .hmis-footer-contact a:hover {
    color: #0b1f42;
}

.hmis-footer-subnote {
    font-size: 13px;
    opacity: .75;
    margin: -4px 0 18px 40px;
}

.hmis-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.hmis-footer-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #1C3665;
    font-size: 15px;
    transition: .25s ease-in;
}

.hmis-footer-social a:hover {
    background: #FFCED4;
    color: #3D2930;
    transform: translateY(-2px);
}

.hmis-footer-title {
    color: #1C3665;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.hmis-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: #4A90A4;
}

.hmis-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hmis-footer-links li {
    margin-bottom: 12px;
}

.hmis-footer-links a {
    color: #1C3665;
    opacity: .85;
    transition: .2s ease-in;
}

.hmis-footer-links a:hover {
    opacity: 1;
    padding-left: 4px;
}

.hmis-footer-newsletter-text {
    max-width: 260px;
}

/* ---- newsletter input: keep text clear of the round send button ---- */

.hmis-footer .footer-section-inp input {
    padding-right: 54px;
    font-size: 14px;
}

.hmis-footer .footer-mailsend {
    right: 6px;
    top: 6px;
}

.hmis-footer .get-updates-action-btn {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- offices column (plain list, no card) ---- */

.hmis-footer-office-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
}

.hmis-footer-office-item:last-child {
    margin-bottom: 0;
}

.hmis-office-pin {
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 14px;
    color: #1C3665;
}

.hmis-footer-office-item h6 {
    color: #1C3665;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.hmis-footer-office-item p {
    color: #1C3665;
    opacity: .8;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---- bottom bar ---- */

.hmis-footer-divider {
    border-top: 1px solid #B7CCE1;
    opacity: 1;
    margin: 28px 0 20px;
}

.hmis-footer-bottom {
    color: #1C3665;
    font-size: 14px;
    gap: 12px;
}

.hmis-footer-bottom .footer-link {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hmis-footer-bottom .footer-link a {
    color: #1C3665;
}

.hmis-footer-bottom p {
    color: #1C3665;
}

@media (max-width: 991px) {
    .hmis-footer {
        padding: 44px 0 20px;
    }

    .hmis-footer-bottom {
        justify-content: center !important;
        text-align: center;
    }

    .hmis-footer-brand p,
    .hmis-footer-newsletter-text {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .hmis-footer-top > .col-6,
    .hmis-footer-top > [class*="col-"] {
        margin-bottom: 8px;
    }
}
