/* Modern Header and Footer Styles */
:root {
    --main-green: #282828; /* Using the green from your existing design */
    --light-green: #1a7a5a;
    --dark-green: #074530;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --off-white: #e9ecef;
    --black: #1a1a1a;
    --nav-height: 54px; /* Navigation height for spacing */
}

/* Make sure body has proper spacing for fixed nav */
body {
    padding-top: 54px !important; /* Force padding to accommodate fixed navbar */
    margin: 0;
}



/* Footer Styles */
.modern-footer {
    background-color: var(--main-green);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-logo {
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact-info div {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact-info i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-social {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Google Map Footer Styles */
.footer-map {
    margin-top: 10px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.footer-map iframe:hover {
    filter: grayscale(0%);
}

/* Responsive styles */
@media (max-width: 992px) {
    .header-top:before {
        width: 0;
    }
    
    .header-top {
        background: var(--main-green);
    }
    
    /* Keep navbar fixed on mobile too */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
    }
    
    .contact-info-wrapper {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
        margin-right: 10px;
    }
    
    .quote-btn-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-links h5 {
        margin-top: 20px;
    }
}
