/* =============================================================================
   Footer — shared styles loaded on every page
   ============================================================================= */

:root {
    --font-tasa: "TASA Orbiter", sans-serif;
    --footer-green: #c2f971;
    --accent: #c2f971;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, select,
[class*="font-heading-"] * {
    font-family: "TASA Orbiter", sans-serif !important;
}

.footer-area {
    background-color: #1a1a1a;
    padding: 0 45px;
    overflow-x: hidden;
}

@media only screen and (max-width: 991px) {
    .footer-area {
        padding: 0 15px;
    }
}

/* 4-column grid */
.footer-area-inner {
    display: grid;
    gap: 60px 80px;
    grid-template-columns: 1fr 180px 200px 280px;
    padding-top: 70px;
    padding-bottom: 70px;
    align-items: start;
}

@media only screen and (max-width: 1919px) {
    .footer-area-inner {
        padding-top: 65px;
        padding-bottom: 65px;
        gap: 60px 70px;
        grid-template-columns: 1fr 175px 195px 265px;
    }
}

@media only screen and (max-width: 1399px) {
    .footer-area-inner {
        padding-top: 55px;
        padding-bottom: 55px;
        grid-template-columns: 1fr 160px 185px 240px;
        gap: 50px 50px;
    }
}

@media only screen and (max-width: 1199px) {
    .footer-area-inner {
        padding-top: 50px;
        padding-bottom: 50px;
        gap: 45px 40px;
        grid-template-columns: auto auto auto;
    }
}

.footer-area .footer-area-inner > * {
    min-width: 0;
}

/* Desktop: social lives inside contact column, standalone hidden */
.footer-col-social { display: none; }
.footer-social-in-contact { display: block; }

/* Mobile: standalone shown full-width, inline hidden */
@media only screen and (max-width: 767px) {
    .footer-col-social { display: block !important; grid-area: social; }
    .footer-social-in-contact { display: none !important; }
}

@media only screen and (max-width: 767px) {
    .footer-area {
        padding: 0 20px;
    }

    .footer-area-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "brand      services"
            "quicklinks contact"
            "social     social";
        gap: 36px 24px;
    }

    .footer-col-brand      { grid-area: brand; }
    .footer-col-services   { grid-area: services; }
    .footer-col-quicklinks { grid-area: quicklinks; }
    .footer-col-contact    { grid-area: contact; }
    .footer-col-social     { grid-area: social; }

    /* All nav links wrap on mobile — override any page CSS */
    .footer-area .footer-nav-list li,
    .footer-area .footer-nav-list li a {
        white-space: normal !important;
        word-break: break-word !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }

    /* Services column — allow wrapping at readable size */
    .footer-col-services .title { font-size: 16px !important; }
    .footer-col-services .footer-nav-list li { font-size: 15px !important; padding: 4px 0; }
    .footer-col-services .footer-nav-list li a { font-size: 15px !important; }

    /* Quick links and contact titles stay on one line */
    .footer-col-quicklinks .title,
    .footer-col-contact .title {
        font-size: 16px;
        white-space: nowrap;
    }

    /* Contact info readable and not cut off */
    .footer-area .footer-contact-info li a,
    .footer-area .footer-contact-info li span {
        font-size: 13px !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }
}

/* Logo */
.footer-area .footer-logo img {
    max-height: 44px;
}

@media only screen and (max-width: 1199px) {
    .footer-area .footer-logo img {
        max-height: 36px;
    }
}

/* Tagline / info text */
.footer-area .info-text {
    max-width: 300px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Partner section */
.footer-partner {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-partner-label {
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
}

.footer-partner-badge {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Column titles */
.footer-area .footer-widget-wrapper .title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

@media only screen and (max-width: 1199px) {
    .footer-area .footer-widget-wrapper .title {
        font-size: 20px;
    }
}

/* Nav lists */
.footer-area .footer-nav-list {
    margin-top: 22px;
}

.footer-area .footer-nav-list li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
    padding: 5px 0;
    white-space: nowrap;
}

.footer-area .footer-nav-list li a {
    color: rgba(255, 255, 255, 0.62);
    display: inline-flex;
    align-items: center;
    gap: 0;
    transition: color 0.25s ease, gap 0.25s ease;
    white-space: nowrap;
}

.footer-area .footer-nav-list li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--footer-green);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.25s ease, transform 0.25s ease, margin-right 0.25s ease;
    margin-right: 0;
}

.footer-area .footer-nav-list li a:hover {
    color: var(--footer-green);
    gap: 8px;
}

.footer-area .footer-nav-list li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Contact info */
.footer-contact-info {
    margin-top: 18px !important;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}

.footer-contact-info li i {
    color: var(--footer-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-info li a,
.footer-contact-info li span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact-info li a:hover {
    color: #ffffff;
}

/* Social subtitle */
.footer-social-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 0;
}

/* Social links */
.footer-area .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.footer-area .social-links li {
    line-height: 1;
}

.footer-area .social-links li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-area .social-links li a:hover {
    background-color: var(--footer-green);
    border-color: var(--footer-green);
    color: #ffffff;
    transform: scale(1.1);
}

/* Copyright bar */
.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-area-inner {
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 575px) {
    .copyright-area-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }
}

.copyright-area .copyright-text .text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.copyright-area .copyright-text .text strong {
    color: #ffffff;
    font-weight: 600;
}

.copyright-area .copyright-terms a,
.copyright-area .copyright-terms span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
}

.copyright-area .copyright-terms a:hover {
    color: #ffffff;
}
