.footer__container {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 60px 30px 30px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    min-height: 400px;
    border-top: 1px solid var(--navbar-border);
}

.footer__content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--navbar-border);
    width: 100%;
}

/* Brand Section */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.footer__logo {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer__logo-icon {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.footer__logo-badge {
    background-color: #ec3750;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: inline-block;
    transform: rotate(-2deg);
    box-shadow: 0 2px 8px rgba(236, 55, 80, 0.3);
}

.footer__tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 20px 0;
    display: block;
}

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

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.5;
}

.footer__contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #ec3750;
    display: block;
}

/* Links Section */
.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

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

.footer__heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-color);
    letter-spacing: 0.5px;
    display: block;
}

.footer__link {
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: block;
}

.footer__link:hover {
    color: var(--accent-color);
    padding-left: 8px;
    opacity: 1;
}

/* Social Section */
.footer__social {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    visibility: visible;
    min-height: 48px;
}

.footer__social-icon {
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--navbar-hover);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
    visibility: visible !important;
}

.footer__social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-4px);
    color: white; /* Icon should likely be white on accent bg */
}

.footer__social-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: currentColor; /* Use text color */
}

/* Bottom Section */
.footer__bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 20px;
    display: block;
    visibility: visible;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 40px;
}

.footer__copyright {
    margin: 0;
    color: var(--text-color);
    font-size: 14px;
    display: block;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__legal-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer__legal-link:hover {
    color: #ec3750;
}

.footer__separator {
    color: #808080;
    display: inline-block;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__social {
        justify-content: center;
    }
}

@media screen and (max-width: 640px) {
    .footer__container {
        padding: 40px 20px 20px;
    }

    .footer__content {
        gap: 30px;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__brand {
        align-items: center;
        text-align: center;
    }
    
    .footer__contact {
        align-items: center;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer__social {
        gap: 15px;
        justify-content: center;
    }

    .footer__social-icon {
        width: 44px;
        height: 44px;
    }
    
    .footer__legal {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .footer__container {
        padding: 30px 12px 15px;
        min-height: auto;
    }

    .footer__content {
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer__tagline {
        font-size: 16px;
    }

    .footer__link {
        font-size: 13px;
    }

    .footer__heading {
        font-size: 14px;
    }

    .footer__social-icon {
        width: 40px;
        height: 40px;
    }

    .footer__social-icon svg {
        width: 22px;
        height: 22px;
    }

    .footer__copyright,
    .footer__legal-link {
        font-size: 12px;
    }
}