
/* =========================================
   ANKIT CONNECT - COMMON FOOTER
   Deep Blue + Orange | Responsive
========================================= */

.ac-footer {
    --ac-footer-bg: #06213b;
    --ac-footer-orange: #ff6417;
    --ac-footer-text: #d2e0ef;
    --ac-footer-muted: #a8c0d8;

    width: 100%;
    background: var(--ac-footer-bg);
    color: var(--ac-footer-text);
    font-family: inherit;
    margin-top: 0;
    position: relative;
    isolation: isolate;
}

.ac-footer,
.ac-footer * {
    box-sizing: border-box;
}

.ac-footer-container {
    width: min(100% - 40px, 1475px);
    margin: 0 auto;
    padding: 55px 0 18px;
}

.ac-footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr 1fr;
    gap: 38px;
    align-items: start;
}

.ac-footer-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.ac-footer-brand-name strong {
    color: var(--ac-footer-orange);
}

.ac-footer-brand-name small {
    display: block;
    color: var(--ac-footer-muted);
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: .1px;
}

.ac-footer-brand-icon {
    width: 53px;
    height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 15px;
    background: var(--ac-footer-orange);
    color: #fff;
    font-size: 30px;
}

.ac-footer-brand > p {
    color: var(--ac-footer-text);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px;
    max-width: 370px;
}

.ac-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 23px;
}

.ac-footer-trust span {
    padding: 9px 11px;
    border: 1px solid #34516c;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.ac-footer-heading {
    display: table;
    width: fit-content;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
    margin: 5px 0 19px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--ac-footer-orange);
}

.ac-footer-column > a {
    display: block;
    width: fit-content;
    color: var(--ac-footer-text);
    font-size: 13.5px;
    line-height: 1.55;
    text-decoration: none;
    margin: 0 0 7px;
    overflow-wrap: anywhere;
    transition: color .2s ease, transform .2s ease;
}

.ac-footer-column > a:hover,
.ac-footer-bottom a:hover {
    color: var(--ac-footer-orange);
}

.ac-footer-column > a:hover {
    transform: translateX(3px);
}

.ac-footer-subheading {
    margin-top: 28px;
    margin-bottom: 18px;
}

.ac-footer .ac-social-heading {
    margin-bottom: 13px;
}

.ac-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-social-icons a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #34516c;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease,
                transform .2s ease;
}

.ac-social-icons a:hover {
    background: var(--ac-footer-orange);
    border-color: var(--ac-footer-orange);
    color: #fff;
    transform: translateY(-3px);
}

.ac-footer-column .ac-whatsapp-link {
    color: #71e4a0;
    margin-top: 9px;
}

.ac-footer-column .ac-whatsapp-link:hover {
    color: #a5f4c3;
}

.ac-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #203c56;
}

.ac-footer-bottom p {
    margin: 0;
    color: var(--ac-footer-muted);
    font-size: 12px;
    line-height: 1.8;
}

.ac-footer-bottom a {
    color: var(--ac-footer-muted);
    text-decoration: none;
}

.ac-footer-bottom strong {
    color: var(--ac-footer-text);
}

/* Tablet */
@media (max-width: 1100px) {
    .ac-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px 28px;
    }

    .ac-footer-brand {
        grid-column: span 2;
    }

    .ac-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .ac-footer-container {
        width: min(100% - 32px, 100%);
        padding-top: 38px;
    }

    .ac-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .ac-footer-brand {
        grid-column: 1 / -1;
    }

    .ac-footer-brand-name {
        font-size: 25px;
    }

    .ac-footer-brand > p {
        max-width: none;
    }

    .ac-footer-heading {
        font-size: 14px;
    }

    .ac-footer-column > a {
        font-size: 12.5px;
    }

    .ac-footer-bottom {
        margin-top: 30px;
        padding-top: 18px;
    }

    .ac-footer-bottom p {
        font-size: 11.5px;
    }
}

@media (max-width: 360px) {
    .ac-footer-grid {
        grid-template-columns: 1fr;
    }

    .ac-footer-brand {
        grid-column: auto;
    }
}
