/* Reset and Base Styles */
.sugar-footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sugar-footer {
    background: #ffffff !important;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    color: #333;
}

/* Desktop Layout */
.sugar-footer__desktop {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 80px;
}

.sugar-footer__mobile {
    display: none;
}

/* Brand Section */
.sugar-footer__brand {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sugar-footer__logo img {
    height: 30px;
    width: auto;
}

.sugar-footer__contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sugar-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sugar-footer__contact-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.sugar-footer__icon {
    font-size: 16px;
    width: 29;
    height: 22;
}

.sugar-footer__social {
    display: flex;
    /* gap: 12px; */
}

.sugar-footer__social-link {
    color: #9D9D9D;
    display: flex;
    width: 32px;
    height: 32px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sugar-footer__social-link:hover {
    color: #0056b3;;
}

/* Links Grid */
.sugar-footer__links-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: flex-end;
    gap: 20px;
}

.sugar-footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sugar-footer__column-title {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sugar-footer__link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sugar-footer__link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sugar-footer__link:hover {
    /* text-decoration: none;
    color: #b2bdc5; */
    color: #007bff;
}

/* Special Links */
.sugar-footer__partners {
    margin-top: 16px;
}

.sugar-footer__partners-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sugar-footer__partners-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.sugar-footer__partners-icon {
    font-size: 16px;
}

/* Bottom Section */
.sugar-footer__bottom {
    border-top: 1px solid #e9ecef;
    background-color: #fff;
}

.sugar-footer__bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sugar-footer__legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sugar-footer__legal-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.sugar-footer__legal-link:hover {
    color: #333;
    text-decoration: underline;
}

.sugar-footer__language-select {
    background-color: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

.sugar-footer__copyright {
    max-width: 1200px;
    /* margin: 0 auto;
    padding: 0 20px 24px; */
}

.sugar-footer__copyright p {
    font-size: 14px;
    color: #6c757d;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .sugar-footer__desktop {
        display: none;
    }

    .sugar-footer__mobile {
        display: block;
        padding: 24px 20px;
    }

    .sugar-footer__mobile-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 24px;
        border: 2px dashed #007bff;
        border-radius: 8px;
        margin-bottom: 24px;
    }

    .sugar-footer__mobile-sections {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .sugar-footer__mobile-section {
        border: 1px solid #e9ecef;
        border-radius: 4px;
        overflow: hidden;
    }

    .sugar-footer__mobile-toggle {
        width: 100%;
        background-color: #fff;
        border: none;
        padding: 16px;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.2s ease;
    }

    .sugar-footer__mobile-toggle:hover {
        background-color: #f8f9fa;
    }

    .sugar-footer__toggle-icon {
        font-size: 12px;
        transition: transform 0.2s ease;
        color: #FF7D0F;
    }

    .sugar-footer__mobile-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: #f8f9fa;
    }

    .sugar-footer__mobile-section--active .sugar-footer__mobile-content {
        padding: 16px;
    }

    .sugar-footer__mobile-content .sugar-footer__link-list {
        gap: 8px;
    }

    .sugar-footer__mobile-content .sugar-footer__partners {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e9ecef;
    }

    /* Mobile Bottom Section */
    .sugar-footer__bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .sugar-footer__legal-links {
        gap: 16px;
        font-size: 13px;
    }

    .sugar-footer__language-select {
        align-self: stretch;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .sugar-footer__desktop {
        gap: 40px;
        padding: 40px 20px;
    }

    .sugar-footer__brand {
        flex: 0 0 240px;
    }

    .sugar-footer__links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Small desktop adjustments */
@media (max-width: 1200px) and (min-width: 1025px) {
    .sugar-footer__links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}