/* Style the footer component. */
/* =========================================================
   FOOTER.CSS — Global Multi-Column Footer
   Figma Node: 1149:1329 (CTA / Footer Component)
   ========================================================= */

.footer-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 70px;
    padding-bottom: 20px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 2;
    margin-top: calc(-1 * var(--radius-xl));
}

.footer-section .footer-top {
    gap: 70px;
    margin-bottom: var(--space-2xl);
}

/* Col 1: Brand (Figma node 1149:1316: max-w: 327px) */
.footer-section .footer-col-brand {
    width: 100%;
    max-width: 327px;
}

.footer-section .footer-brand-wrap {
    margin-bottom: 10px;
}

.footer-section .footer-brand-logo {
    width: 208px;
    max-width: 100%;
    height: auto;
}

.footer-section .footer-brand-info {
    gap: 5px;
}

/* Figma node 1143:904: Source Serif 4 medium 24px/32px text-white */
.footer-section .footer-brand-title {
    color: var(--color-white);
}

/* Figma node 1143:903: Inter 16px/28px text-white */
.footer-section .footer-col p {
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
    color: var(--color-white);
}

.footer-section .social-link {
    width: 30px;
    height: 30px;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-section .social-link:hover {
    color: var(--color-primary);
    transform: scale(1.15);
}

.footer-section .social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Col 2: Quick Links (Figma node 1149:1317: max-w: 140px) */
.footer-section .footer-col-quick {
    width: 100%;
    max-width: 140px;
}

/* Col 3: Services (Figma node 1149:1320: max-w: 215px) */
.footer-section .footer-col-services {
    width: 100%;
    max-width: 215px;
}

/* Col 4: Legal (Figma node 1149:1323: max-w: 178px) */
.footer-section .footer-col-legal {
    width: 100%;
    max-width: 178px;
}

/* Col 5: Contact (Figma node 1149:1325: max-w: 273px) */
.footer-section .footer-col-contact {
    width: 100%;
    max-width: 273px;
}

/* Column Headings: Source Serif 4 medium 24px/32px text-white */
.footer-section .footer-col .footer-heading {
    color: var(--color-white);
}

.footer-section .footer-link {
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.footer-section .footer-link:hover {
    color: var(--color-primary);
}

.footer-section .footer-contact-item {
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
    color: var(--color-white);
}

.footer-section .footer-contact-item a {
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.footer-section .footer-contact-item a:hover {
    color: var(--color-primary);
}

/* Divider Line: Figma node 1143:902 */
.footer-section .footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    margin-bottom: var(--space-2xl);
}

/* Bottom Bar: Figma node 1149:1327: Inter 14px/20px */
.footer-section .footer-bottom p {
    font-size: var(--font-size-p5);
    line-height: var(--line-height-p5);
    color: var(--color-white);
}

.footer-section .footer-disclaimer {
    max-width: 538px;
    margin-left: auto;
}

/* Responsive */
@media (max-width: 1199px) {
    .footer-section {
        padding-top: 60px;
    }

    .footer-section .footer-top {
        flex-wrap: wrap;
        gap: var(--space-2xl) 30px;
    }

    .footer-section .footer-col-brand {
        max-width: 100%;
        width: 100%;
    }

    .footer-section .footer-col-quick,
    .footer-section .footer-col-services,
    .footer-section .footer-col-legal,
    .footer-section .footer-col-contact {
        max-width: 100%;
        flex: 1 1 auto;
        width: auto;
    }
}

@media (max-width: 991px) {
    .footer-section {
        padding-top: 50px;
    }

    .footer-section .footer-top {
        gap: var(--space-2xl) 20px;
    }

    .footer-section .footer-col-brand {
        max-width: 100%;
        width: 100%;
    }

    .footer-section .footer-col-quick,
    .footer-section .footer-col-services,
    .footer-section .footer-col-legal,
    .footer-section .footer-col-contact {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 15px);
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-section {
        padding-top: 40px;
    }

    .footer-section .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-section .footer-disclaimer {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width:575px) {
    .footer-section .footer-top {
        flex-direction: column;
    }

    .footer-section .footer-col-brand,
    .footer-section .footer-col-quick,
    .footer-section .footer-col-services,
    .footer-section .footer-col-legal,
    .footer-section .footer-col-contact {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
    .footer-section .footer-brand-wrap{margin-bottom: 0;}
}

/* Layout utilities used by the reference footer and WordPress menus. */
.footer-section { position: relative; }
.footer-section > .container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 20px;
}
.footer-section .footer-brand-title,
.footer-section .footer-heading {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    margin: 0;
}
.footer-section .footer-col p,
.footer-section .footer-bottom p {
    margin: 0;
}
.footer-section .footer-links .ngt-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-section .footer-links .ngt-menu-item {
    margin: 0;
    padding: 0;
}
.footer-section .footer-top,
.footer-section .footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.footer-section .footer-top { width: 100%; }
.footer-section .footer-col,
.footer-section .footer-brand-info,
.footer-section .footer-links {
    display: flex;
    flex-direction: column;
}
.footer-section .footer-col { gap: 20px; }
.footer-section .footer-links { gap: 10px; }
.footer-section .footer-brand-wrap,
.footer-section .footer-socials {
    display: flex;
    align-items: center;
}
.footer-section .footer-brand-logo { display: block; object-fit: contain; }
.footer-section .footer-socials { gap: 12px; }
.footer-section .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-section .footer-link { display: block; }
.footer-section .footer-bottom { gap: 30px; }
.footer-section .footer-copyright { flex-shrink: 0; }
@media (max-width: 1199px) {
    .footer-section .footer-contact-item a { overflow-wrap: anywhere; }
}

/* Responsive gap utilities from NGT-HTML/css/utilities.css. */
@media (max-width: 1199px) {
    .footer-section .footer-col { gap: 18px; }
    .footer-section .footer-bottom { gap: 26px; }
}

@media (max-width: 991px) {
    .footer-section .footer-col { gap: 16px; }
    .footer-section .footer-bottom { gap: 24px; }
}

@media (max-width: 767px) {
    .footer-section .footer-socials { gap: 10px; }
    .footer-section .footer-bottom { gap: 12px; }
}
