/* =================================
   Footer Styles
   ================================= */
.site-footer {
    background-color: #FAF9FF;
    color: #444;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    opacity: 0.5;
    z-index: -1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.footer-heading {
    color: #1e1a47;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #54A409;
    border-radius: 3px;
}

/* Mobile Responsive Styles */
@media (max-width: 767.98px) {
    .footer-grid {
        gap: 30px;
    }
    
    .footer-heading {
        margin-bottom: 15px;
        font-size: 18px;
    }
    
    .footer-about-text {
        font-size: 14px;
    }
    
    .footer-links ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .footer-links a {
        padding: 8px 0;
        display: block;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    
    .social-links {
        margin-top: 20px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0 5px;
    }
}

@media (max-width: 575.98px) {
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* About Section */
.footer-about {
    padding-right: 20px;
}

.footer-about-text {
    margin-bottom: 20px;
    color: #666;
}

/* Quick Links */
.footer-links {
    padding: 0 15px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: #54A409;
    padding-left: 8px;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #54A409;
}

.footer-menu a:hover::before,
.footer-menu a:focus::before {
    left: -10px;
    opacity: 1;
}

/* Contact Info */
.footer-contact {
    padding-left: 15px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    color: #54A409;
    font-size: 18px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-label {
    display: block;
    font-weight: 500;
    color: #1e1a47;
    margin-bottom: 5px;
}

.contact-link,
.contact-address {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover,
.contact-link:focus {
    color: #54A409;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    color: #1e1a47;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover,
.social-link:focus {
    background: #c8e7ab;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(84, 164, 9, 0.3);
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Follow Us Section */
.follow-us-section {
    background: #54A409;
    padding: 40px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.follow-us-section::before, .cta-wave-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
    z-index: 0;
}

.follow-us-section .container {
    position: relative;
    z-index: 1;
}

.follow-us-heading {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.follow-us-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
}

.follow-us-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 25px;
    font-size: 16px;
    line-height: 1.6;
}

.follow-us-section .social-links {
    justify-content: center;
    margin-top: 25px;
}

.follow-us-section .social-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    margin: 0 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.follow-us-section .social-link:hover {
    background: white;
    color: #54A409;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Flip phone icon to face right */
.fa-phone-alt {
    transform: scaleX(-1) !important;
}

/* Footer Bottom */
.footer-bottom {
    background: #d3ef9a;
    padding: 20px 0;
    text-align: center;
    color: rgba(3, 3, 3, 0.7);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #54A409;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    
    .footer-contact {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-heading {
        font-size: 18px;
    }
    
    .footer-top {
        padding: 50px 0 20px;
    }
}
