/* Footer Section */

.footer {
    width: 100%;
    background-color: var(--color-primary);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 4rem 0 2rem 0;
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-column h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.footer-column p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-smooth);
    display: inline-block;
    width: fit-content;
}

.footer-link:hover {
    color: rgb(83, 202, 99);
    transform: translateX(4px);
}

/* Footer Logo Mini */
.footer-logo-mini {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Footer Logo */
.footer-logo {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgb(83, 202, 99);
    margin: 0 0 0.5rem 0;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.8rem 0;
}

/* Billing Info */
.footer-billing-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-billing-info p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Contact Info */
.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgb(83, 202, 99);
}

.footer-contact-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact-text a {
    color: rgb(83, 202, 99);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.footer-contact-text a:hover {
    text-decoration: underline;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-social-link:hover {
    background-color: rgb(83, 202, 99);
    border-color: rgb(83, 202, 99);
    color: var(--color-primary);
    transform: translateY(-4px);
}

/* Divider */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.footer-legal-link:hover {
    color: rgb(83, 202, 99);
}

/* Back to Top Button */
.footer-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.footer-top-btn:hover {
    background-color: rgb(83, 202, 99);
    border-color: rgb(83, 202, 99);
    color: var(--color-primary);
    transform: translateY(-4px);
}

.footer-top-btn svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* LAPTOP (1024px - 1200px) */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 3rem 0 1.5rem 0;
    }

    .footer-column h3 {
        font-size: 1rem;
    }

    .footer-logo-img {
        width: 36px;
        height: 36px;
    }
}

/* TABLET (768px - 1024px) */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 3rem 0 1rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    .footer-legal {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .footer-column p {
        font-size: 0.85rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-logo-img {
        width: 32px;
        height: 32px;
    }

    .footer-billing-info p {
        font-size: 0.75rem;
    }
}

/* MOBILE LANDSCAPE (480px - 768px) */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0 1rem 0;
    }

    .footer-column {
        gap: 1rem;
    }

    .footer-column h3 {
        font-size: 0.9rem;
        letter-spacing: 0.8px;
    }

    .footer-column p {
        font-size: 0.8rem;
    }

    .footer-link {
        font-size: 0.8rem;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

    .footer-logo-img {
        width: 30px;
        height: 30px;
    }

    .footer-billing-info p {
        font-size: 0.7rem;
    }

    .footer-divider {
        margin: 1.5rem 0;
    }

    .footer-bottom {
        padding: 1rem 0;
        gap: 1rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-legal {
        gap: 1rem;
    }

    .footer-legal-link {
        font-size: 0.75rem;
    }

    .footer-social {
        justify-content: center;
    }
}

/* MOBILE SMALL (360px - 480px) */
@media (max-width: 360px) {
    .footer-container {
        padding: 0 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0 0.8rem 0;
    }

    .footer-column {
        gap: 0.8rem;
    }

    .footer-column h3 {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .footer-column p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .footer-link {
        font-size: 0.75rem;
    }

    .footer-logo {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }

    .footer-logo-img {
        width: 28px;
        height: 28px;
    }

    .footer-billing-info p {
        font-size: 0.65rem;
    }

    .footer-contact-icon {
        width: 16px;
        height: 16px;
    }

    .footer-contact-text {
        font-size: 0.75rem;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
    }

    .footer-social-link svg {
        width: 16px;
        height: 16px;
    }

    .footer-divider {
        margin: 1rem 0;
    }

    .footer-bottom {
        padding: 0.8rem 0;
        gap: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }

    .footer-legal-link {
        font-size: 0.7rem;
    }

    .footer-top-btn {
        width: 36px;
        height: 36px;
    }

    .footer-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* 4K (2560px+) */
@media (min-width: 2560px) {
    .footer-container {
        padding: 0 4rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
        padding: 6rem 0 3rem 0;
    }

    .footer-column h3 {
        font-size: 1.4rem;
    }

    .footer-column p {
        font-size: 1.1rem;
    }

    .footer-link {
        font-size: 1.1rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-tagline {
        font-size: 1rem;
    }

    .footer-logo-img {
        width: 50px;
        height: 50px;
    }

    .footer-billing-info p {
        font-size: 1rem;
    }

    .footer-bottom {
        padding: 3rem 0;
    }

    .footer-copyright {
        font-size: 1rem;
    }

    .footer-legal-link {
        font-size: 1rem;
    }

    .footer-social-link {
        width: 50px;
        height: 50px;
    }

    .footer-social-link svg {
        width: 24px;
        height: 24px;
    }

    .footer-top-btn {
        width: 50px;
        height: 50px;
    }

    .footer-top-btn svg {
        width: 24px;
        height: 24px;
    }
}
