/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: #1e3a5f;
    color: #ffffff;
    padding: 60px 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Section */
.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Links */
.footer-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section-item {
    transition: all 0.3s ease;
}

.footer-section-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #14b8a6;
    transition: width 0.3s ease;
}

.footer-section-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-section-link:hover::before {
    width: 100%;
}

/* Subscribe Form */
.footer-section.subscribe {
    grid-column: span 1;
}

.footer-section-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-form-input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form-input:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(255, 255, 255, 0.1);
}

.footer-form-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.footer-form-btn:active {
    transform: translateY(0);
}

/* Social Links */
.footer-social-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #14b8a6;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-link.instagram {
    background: #3b5998;
}

.footer-social-link.x {
    background: #1da1f2;
}

.footer-social-link.youtube {
    background: #ff0000;
}
.footer-social-link.tiktok {
    background: #000000;
}

.footer-social-link .social-icon-text {
    font-weight: 700;
    font-size: 16px;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.footer-social-link .iconfont {
    font-size: 26px;
}

/* Bottom Section */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-lang i {
    font-size: 16px;
}

.footer-payments {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-payment-item {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 500;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .footer-section.subscribe {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-section.subscribe {
        grid-column: span 1;
    }

    .footer-section-title {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 10px;
    }

    .footer-payments {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .footer-bottom-text,
    .footer-bottom-link {
        font-size: 13px;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}
