footer {
    padding: 80px 0 40px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    position: relative;
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }
}

/* Footer Grid Container */
.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 25px;
        gap: 50px;
    }
}

/* ============================================
   FOOTER BRAND SECTION - CENTERED
   ============================================ */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Footer Logo Image */
.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

/* Footer Description */
.footer-brand p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 350px;
}

/* Social Links Container */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Individual Social Link */
.social-link {
    width: 54px;
    height: 54px;
    background: rgba(169, 169, 169, 0.25);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(105, 105, 105, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 22px;
}

/* Light Theme Social Links */
body:not(.dark-theme) .social-link {
    background: rgba(169, 169, 169, 0.25);
    color: rgba(105, 105, 105, 0.7);
}

/* Dark Theme Social Links */
body.dark-theme .social-link {
    background: rgba(169, 169, 169, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

/* Social Link Hover */
.social-link:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 119, 85, 0.4);
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: 14px;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .footer-logo-img {
        height: 40px;
    }

    .footer-brand p {
        font-size: 14px;
        max-width: 100%;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        padding-left: 25px;
        padding-right: 25px;
        font-size: 13px;
    }

    .social-link {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-logo-img {
        height: 45px;
    }

    .footer-brand p {
        max-width: 300px;
    }
}

/* ============================================
   DARK THEME ADJUSTMENTS
   ============================================ */

body.dark-theme footer {
    background: var(--off-white);
    border-top-color: var(--border-light);
}

body.dark-theme .footer-bottom {
    border-top-color: var(--border-light);
}

/* ============================================
   ADDITIONAL ENHANCEMENTS (OPTIONAL)
   ============================================ */

/* Smooth fade-in animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to footer sections (optional) */
.footer-brand,
.footer-column {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-brand {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}
