/* Footer Section */
footer {
    width: 100%;
    background-color: #ffffff;
    color: #333333;
}

/* Footer Top */
#footerTop {
    background-color: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-top-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 700;
    color: #f4a51c;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-column-title i {
    display: none;
}

.footer-column-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 13px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.footer-link:hover {
    color: #f4a51c;
    margin-left: 4px;
}

.footer-description {
    font-size: 12px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin: 12px 0;
}

.footer-feature {
    font-size: 11px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

.footer-btn {
    padding: 0;
    background-color: transparent;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-btn img {
    height: 40px;
    width: 100%;
    max-width: none;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-start;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4a51c;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #f4a51c;
    color: #ffffff;
    transform: translateY(-4px);
}

/* Footer Center */
#footerCenter {
    background-color: #f9f9f9;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-center-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-center-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-center-column {
    display: flex;
    flex-direction: column;
}

.footer-center-title {
    font-size: 14px;
    font-weight: 700;
    color: #f4a51c;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 16px;
}

.footer-center-content {
    font-size: 12px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
}

.footer-center-content strong {
    color: #333333;
    font-weight: 600;
}

.footer-center-content ul {
    list-style: none;
    margin: 12px 0;
    padding-left: 0;
}

.footer-center-content li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.footer-center-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f4a51c;
    font-weight: 700;
}

/* Footer Bottom */
#footerBottom {
    background-color: #ffffff;
    padding: 24px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 0;
}

.footer-bottom-row.payment-row {
    justify-content: center;
}

.footer-bottom-row.copyright-row {
    flex-direction: column;
    text-align: center;
}

.footer-bottom-row.links-row {
    justify-content: center;
    gap: 32px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-title {
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    margin-right: 12px;
}

.payment-icon {
    width: 100px;
    height: 70px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.payment-icon:hover {
    border-color: #f4a51c;
    box-shadow: 0 2px 8px rgba(244, 165, 28, 0.2);
}

.footer-copyright {
    font-size: 12px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    line-height: 1.8;
}

.footer-copyright strong {
    color: #333333;
    font-weight: 600;
}

.footer-copyright-line {
    display: block;
    margin: 4px 0;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom-link {
    font-size: 12px;
    color: #666666;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    color: #f4a51c;
}

/* Desktop View */
@media (min-width: 1024px) {
    #footerTop {
        display: block;
        padding: 32px 0;
    }

    #footerCenter {
        display: block;
        padding: 32px 0;
    }

    .footer-top-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .footer-center-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .footer-column-title i {
        display: none;
    }

    .footer-column-content {
        display: flex;
    }

    .footer-bottom-row {
        justify-content: center;
        padding: 12px 0;
    }

    .payment-methods {
        justify-content: center;
        gap: 12px;
    }

    .payment-icon {
        width: 50px;
        height: 35px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 32px;
    }

    #footerBottom {
        padding: 16px 0;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1023px) {
    #footerTop {
        display: block;
    }

    #footerCenter {
        display: block;
    }

    .footer-top-container {
        padding: 0 12px;
    }

    .footer-top-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .footer-center-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .footer-column-title i {
        display: none;
    }

    .footer-column-content {
        display: flex;
    }

    .footer-bottom-row.payment-row {
        flex-direction: row;
        justify-content: center;
    }

    .payment-methods {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    #footerTop {
        display: block;
        padding: 20px 0;
    }

    #footerCenter {
        display: none;
    }

    .footer-top-container {
        padding: 0 12px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-column {
        border-bottom: 1px solid #e0e0e0;
        padding: 16px 0;
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column-title {
        font-size: 13px;
        margin-bottom: 0;
        justify-content: space-between;
    }

    .footer-column-title i {
        display: inline-block;
        font-size: 14px;
        color: #f4a51c;
        transition: transform 0.3s ease;
    }

    .footer-column-content {
        display: none;
        margin-top: 12px;
    }

    .footer-column-content.active {
        display: flex;
    }

    .footer-column-content {
        flex-direction: column;
        gap: 8px;
    }

    .footer-link {
        font-size: 12px;
    }

    .footer-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .footer-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 11px;
    }

    .footer-social {
        gap: 8px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-bottom-container {
        padding: 0 12px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

    .footer-bottom-row.payment-row {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .payment-methods {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
        width: 100%;
    }

    .payment-title {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 12px;
        font-size: 13px;
    }

    .payment-icon {
        width: calc(16.666% - 5px);
        height: 35px;
        font-size: 12px;
        min-width: 45px;
        flex: 0 1 calc(16.666% - 5px);
    }

    .footer-copyright {
        text-align: center;
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-copyright-line {
        display: block;
        margin: 4px 0;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .footer-bottom-link {
        font-size: 12px;
        color: #666666;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column-content.active {
    animation: fadeIn 0.3s ease-out;
}

.footer-column-title i.active {
    transform: rotate(180deg);
}
