@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(to bottom, 
                rgba(0, 80, 0, 0.8) 65%, 
                rgba(139, 195, 74, 0.8) 95%, 
                rgba(255, 255, 255, 0.8) 100%);
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px; 
    margin-right: 10px;
    border-radius: 50%;
}

.logo h1 {
    margin: 0;
    font-size: 1.7em;
    line-height: 1.2;
    font-weight: 700;
}

.navbar {
    width: 100%;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    margin-left: 0;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease; 
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}


.navbar ul li a:not(.active):hover {
    color: #d4edda;
    background-color: rgba(255, 255, 255, 0.15); 
    transform: none;
}


.navbar ul li a.active {
    color: #333; 
    background-color: #e0e0e0; 
    font-weight: 600;
    transform: none;
    box-shadow: none;
}

.navbar ul li a i {
    font-size: 1em;
}

.emergency-btn {
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.emergency-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.mobile-emergency-item {
    display: none; 
}

.hamburger-menu {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger-menu.open i {
    transform: rotate(90deg);
    color: #d4edda;
}


.footer {
    background-color: #006400;
    color: #fff;
    padding: 40px 0;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-top-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.contact-us {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.follow-us {
    flex: 1;
    min-width: 280px;
}

.footer-logos {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos h4 {
    width: 100%;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.logo-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 150px;
    width: auto; 
    min-width: 70px; 
}

.logo-box img {
    max-height: 100%; 
    max-width: 100%; 
    width: auto;
    height: auto;
    display: block;
}

.footer h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.contact-item {
    background-color: #007B00;
    color: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1em;
    line-height: 1.2;
    margin-bottom: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background-color: #008D00;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.3em;
    margin-top: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    background-color: #007B00;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-item:hover {
    background-color: #008D00;
    transform: translateX(5px);
}

.social-item i {
    font-size: 1.3em;
}

@media (max-width: 992px) {
}

@media (max-width: 768px) {
    .emergency-btn {
        display: none;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        position: relative;
    }

    .header-top-row {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        width: auto;
        justify-content: flex-start;
        padding-right: 0;
        box-sizing: content-box;
    }

    .navbar {
        width: 100%;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
        opacity: 0;
        flex-direction: column;
        background-color: rgba(0, 80, 0, 0.9); 
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        position: absolute;
        top: 100%;
        left: 0;
        padding: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 10px 10px;
    }

    .navbar.active {
        max-height: 450px;
        opacity: 1;
        padding-bottom: 10px;
    }

    .navbar ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .navbar ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .navbar ul li a {
        display: flex;
        justify-content: center;
        padding: 10px 20px;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        transform: none;
        box-shadow: none;
        white-space: nowrap;
    }

    .navbar ul li:last-child a {
        border-bottom: none;
    }

    .navbar ul li a:hover {
        background-color: rgba(0, 100, 0, 0.7);
        color: #fff;
        transform: none;
    }

    
    .navbar ul li a.active {
        background-color: #d4edda; 
        color: #005000; 
        font-weight: 600;
        transform: none;
        box-shadow: none;
    }

    .hamburger-menu {
        display: block;
        position: static;
        right: auto;
        top: auto;
    }

    .mobile-emergency-item {
        display: block; 
        padding: 10px 0;
        border-bottom: none;
    }

    .emergency-btn-in-menu {
        display: flex;
        background-color: #e74c3c;
        color: #fff;
        padding: 12px 20px;
        border-radius: 25px;
        margin: 0 auto;
        text-decoration: none;
        font-weight: 600;
        gap: 8px;
        justify-content: center;
        align-items: center;
        width: fit-content;
        transition: background-color 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }

    .emergency-btn-in-menu:hover {
        background-color: #c0392b;
        transform: translateY(-2px);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-top-sections {
        flex-direction: column;
        align-items: center;
    }

    .contact-us,
    .follow-us,
    .footer-logos {
        min-width: unset;
        width: 100%;
    }

    .contact-us h4,
    .follow-us h4 {
        text-align: center;
    }

    .contact-item,
    .social-item {
        justify-content: center;
    }

    .logos-container {
        max-width: 100%;
        padding: 0;
        justify-content: center;
    }

    .logo-box {
        height: 60px;
        min-width: 60px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8em; 
    }
    .hamburger-menu {
        font-size: 1.5em;
    }
}
