/* Add animation to footer menu */
.footer-menu li a {
    position: relative;
    overflow: hidden;
}

.footer-menu li a::after {
/* Map embed responsive wrapper */
.map-embed {
    position: relative;
    width: 100%;
    /* 16:9 aspect ratio */
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-top: 1rem;
}
.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tweak footer for smaller screens */
@media (max-width: 900px) {
    .footer {
        padding: 3rem 6%;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
        gap: 2rem;
    }
    .footer-section h3 {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 2.5rem 5% 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .social-icon {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.6rem;
    }
    .footer-section p,
    .footer-menu li a,
    .footer-bottom p {
        font-size: 1.3rem;
    }
    .map-embed {
        padding-top: 66.66%; /* a little taller on small screens for usability */
    }
}
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main);
    transition: width 0.3s ease;
}

.footer-menu li a:hover::after {
    width: 100%;
}
/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 7% 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--main);
}

.footer-section p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon i {
    font-size: 2.2rem;
    color: var(--main);
    transition: all 0.3s ease;
    z-index: 2;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover i {
    color: #fff;
    transform: scale(1.1);
}

.footer-section i {
    color: var(--main);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: #ccc;
}

/* Footer Menu Styles */
.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 1.2rem;
}

.footer-menu li a {
    color: #ccc;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.footer-menu li a i {
    color: var(--main);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--main);
    transform: translateX(5px);
}

.footer-menu li a:hover i {
    transform: translateX(3px);
}
/* Responsive Footer */