/* Geely Final Premium Footer Stylings */

.site-footer {
    background-color: #21262A;
    /* Matches screenshot background */
    color: var(--secondary-color);
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: 1px solid #2b2e34;
}

.footer-container {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    width: 100%;
}

.footer-brand-header img {
    width: 160px;
}

.inner_footer_menu {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    width: 75%;
}

.inner_footer_brand {
    width: 25%;
}

/* 1. Branding Column */
.footer-col-branding {
    flex: 2;
    margin-bottom: 40px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.logo-divider {
    color: var(--footer-color);
}

.footer-description {
    color: var(--footer-color);
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #363C41;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #3f434b;
    transform: translateY(-2px);
}


.footer-license-notice {
    color: var(--footer-color);
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 40px;
}

.footer-copyright-section {
    font-size: 14px;
    line-height: 16px;
}

.copy-text {
    color: var(--footer-color);
    padding-bottom: 8px;
}

.legal-inline-links a {
    color: var(--footer-color);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-inline-links a:hover {
    color: var(--secondary-color);
}

.pipe-divider {
    margin: 0 8px;
    color: var(--footer-color);
}

/* 2. Navigation Columns */
.footer-col-nav {
    flex: 1;
    margin-bottom: 30px;
}

.footer-nav-title {
    font-size: 20px;
    line-height: 26px;
    padding-bottom: 15px;
    color: var(--secondary-color);
    font-family: 'Inter';
}

/* Arrow Icon is hidden on desktop */
.arrow-icon {
    display: none;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    /* Always visible on desktop */
}

.footer-nav-list li {
    padding-bottom: 15px;
}

.footer-nav-list a {
    color: var(--footer-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 33px;
    transition: color 0.2s;
}

.footer-nav-list a:hover {
    color: var(--secondary-color);
}

/* 3. Customer Care & App Download Section */
.footer-col-right {
    flex: 1.2;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.download-app-section {
    margin-top: 50px;
}

.download-title {
    font-size: 16px;
    padding-bottom: 20px;
    color: var(--secondary-color);
    font-family: 'Inter';
}

.app-badge-grid {
    display: flex;
    gap: 20px;
    align-items: center;
}

.app-badge-grid a {
    background-color: #363C41;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.app-badge-grid a:hover {
    transform: translateY(-2px);
}

/* Mobile Responsive Accordion */
@media (max-width: 991px) {
    .site-footer {
        padding: 50px 0 30px;
    }

    .footer-container {
        flex-direction: column;
        gap: 0px;
    }

    .inner_footer_menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .inner_footer_brand {
        width: 100%;
    }

    .footer-col-branding {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-brand-header {
        justify-content: flex-start;
    }

    .footer-brand-header img {
        width: 130px;
    }

    .footer-description,
    .footer-license-notice {
        display: none;
    }

    .footer-col-nav {
        width: 100%;
        border-bottom: 1px solid #2b2e34;
        padding-bottom: 0px;
        margin-bottom: 0;
    }

    .footer-nav-title {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 1px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #262C31;
        margin-bottom: 10px;
        padding: 10px;
        font-family: 'Inter';
    }

    /* Accordion Arrow inside media query */
    .arrow-icon {
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--secondary-color);
        border-bottom: 2px solid var(--secondary-color);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: 10px;
        position: relative;
        top: -2px;
    }

    .footer-col-nav.active .arrow-icon {
        transform: rotate(-135deg);
        top: 2px;
    }

    /* Accordion List inside media query */
    .footer-nav-list {
        display: none;
        padding-bottom: 20px;
        padding-top: 10px;
    }

    .footer-col-nav.active .footer-nav-list {
        display: block;
    }

    .footer-nav-list a {
        font-size: 15px;
        line-height: 21px;
    }

    .download-app-section {
        margin-top: 40px;
        text-align: left;
    }

    .app-badge-grid {
        justify-content: flex-start;
    }

    .why-buy-section {
        padding-bottom: 0;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .footer-container {
        gap: 30px;
    }

    .footer-brand-header {
        gap: 10px;
        margin-bottom: 15px;
    }

    .footer-brand-header img {
        width: 150px;
    }

    .footer-nav-list a {
        font-size: 14px;
        line-height: 26px;
    }

    .footer-brand-header img {
        width: 115px;
    }

    .footer-nav-title {
        font-size: 14px;
        line-height: 24px;
    }

    .footer-copyright-section {
        font-size: 12px;
        line-height: 21px;
    }

    .inner_footer_brand {
        width: 30%;
    }

    .inner_footer_menu {
        gap: 30px;
        width: 70%;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .footer-container {
        gap: 55px;
    }

    .footer-brand-header img {
        width: 140px;
    }

    .inner_footer_menu {
        gap: 60px;
    }
}