:root {
    --primary: #E63946;
    --secondary: #F77F00;
    --tertiary: #FFD166;
    --button-start: var(--secondary);    --button-end: var(--primary);
    --text-dark: #1D1D1D;
    --text-light: #fff;
    --text-muted: #6c757d;
}

.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.footer-links a {
    color: var(--text-light);
    font-size: 1.4rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    will-change: color; /* Add this */
}

.footer-links a:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.footer-social {
    display: flex;    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
}

.social-link img {
    width: 40px;
    height: 40px;
}

.social-link:hover img {
    width: 45px;
    height: 45px;
}

.map-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 3rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    width: 100%;
    max-width: 1400px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--tertiary);
    text-decoration: none;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-links {
        align-items: center;
    }

    .map-container {
        height: 300px;
        margin: 2rem auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem;
    }

    .footer-social {
        gap: 1.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom p {
        font-size: 1.2rem; /* Adjust as needed */
    }
}