
:root{
    --green:#7dbb1e;
    --dark:#3a3a3c;
}


.topbar{
    background:var(--dark);
    color:#fff;
    font-size:14px;
    padding:10px 0;
}
.text-green{color:var(--green);}
.topbar i{margin-right:6px;}


.main-header{
    background:#fff;
    border-bottom:1px solid #eee;
    padding:15px 0;
    position:relative;
    z-index:999;
}

.logo-header img{
    max-height:60px;
}

.topbar-right a {
    color: inherit;
    text-decoration: none;
}

.topbar-right a:hover {
    text-decoration: underline;
}


.nav-menu ul{
    list-style:none;
    display:flex;
    gap:35px;
    margin:0;
    padding:0;
}
.nav-menu ul li{
    position:relative;
}
.nav-menu ul li a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    padding-bottom:6px;
}
.nav-menu ul li.active a::after,
.nav-menu ul li:hover a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:3px;
    background:var(--green);
}

.desktop-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.desktop-dropdown .dropdown-menu {
    background: #3a3a3c !important;
    border: 1px solid #222;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.dropdown-item {
    color: #dcdcdc;
    padding: 10px 20px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: #1c1c1c;
    color: #fff;
}



.quote-btn{
    background:var(--green);
    color:#fff;
    padding:14px 26px;
    font-weight:700;
    text-decoration:none;
    border-radius:2px;
}
.quote-btn:hover{
    background:#6aa916;
}



.mobile-menu-icon{
    font-size:26px;
    cursor:pointer;
    color:#222;
}


.mobile-sidebar{
    position:fixed;
    top:0;
    left:-280px;
    width:260px;
    height:100%;
    background:#fff;
    box-shadow:2px 0 25px rgba(0,0,0,.2);
    padding:20px;
    transition:.35s ease;
    z-index:99999;
}

.mobile-sidebar.active{
    left:0;
}


.mobile-sidebar span{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.mobile-logo img{
    max-height:60px;
}

.close-btn{
    font-size:22px;
    cursor:pointer;
}

/* MOBILE NAV */
.mobile-nav{
    list-style:none;
    padding:0;
    margin:0;
}

.mobile-nav li{
    border-bottom:1px solid #eee;
}

.mobile-nav li a{
    display:block;
    padding:14px 0;
    font-size:16px;
    font-weight:600;
    color:#222;
    text-decoration:none;
}

.mobile-nav li a:hover{
    color:#7dbb1e;
}

/* MOBILE DROPDOWN */
.mobile-dropdown > a{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.mobile-submenu{
    display:none;
    padding-left:15px;
}

.mobile-submenu li a{
    font-size:15px;
    padding:10px 0;
}

/* MOBILE CTA */
.quote-btn-mobile{
    background:#7dbb1e;
    color:#fff !important;
    text-align:center;
    padding:14px;
    border-radius:4px;
    margin-top:20px;
}
@media(min-width:992px){

.desktop-dropdown{
    position:relative;
}

.desktop-dropdown .dropdown-menu{
    position:absolute;
    top:120%;
    left:0;
    min-width:230px;
    background:#fff !important;
    border-radius:6px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    padding:10px 0;
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
}

.desktop-dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    top:100%;
}

.desktop-dropdown .dropdown-menu li a{
    display:block;
    padding:10px 20px;
    font-size:15px;
    font-weight:500;
    color:#000;
}

/* .desktop-dropdown .dropdown-menu li a:hover{
    background:#f5f5f5;
} */
}









.mobile-menu-icon { font-size: 26px; cursor: pointer; }

.mobile-sidebar {
    position: fixed;
    top: 0; left: -280px;
    width: 260px; height: 100%;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    padding: 20px;
    transition: 0.35s ease;
    z-index: 9999;
}

.mobile-sidebar.active { left: 0; }

.mobile-sidebar span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-logo img {
    border-radius: 50%;
    width: 80px;
}

.close-btn {
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav { list-style: none; padding: 0; margin: 0; max-height: 80vh; overflow-y: auto; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid #eee; position: relative; }
.mobile-nav li a { font-size: 16px; color: #234; font-weight: 500; text-decoration: none; display: block; }
.mobile-nav li a:hover { color: #28a745; }

.mobile-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-submenu {
    display: none;
    padding-left: 15px;
    margin-top: 8px;
    max-height: 250px;
    overflow-y: auto;
}
.mobile-submenu li a { font-size: 15px; padding: 8px 0; color: #333; }
.quote-btn-mobile {
    display: block;
    margin-top: 20px;
    background: #3a3a3c;
    color: #fff !important;
    padding: 12px;
    text-align: center;
    border-radius: 40px;
}


@media(max-width: 991px){
    .logo-header { position: absolute; left: 50%; transform: translateX(-50%); }
    .topbar { display: none; }
    .main-header { padding: 18px 0; }
    .nav-menu { display: none !important; }
}





@media (min-width: 992px) {

    /* Parent */
    .desktop-dropdown {
        position: relative;
    }

    /* Dropdown menu */
    .desktop-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;

        display: block;               /* Required for hover */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        background: #28a745;
        border-radius: 12px;
        border: none;
        padding: 12px 0;

        box-shadow: 0 15px 40px rgba(0,0,0,0.15);

        transform: translateY(12px);
        transition: all 0.25s ease;
        z-index: 9999;
    }

    /* Show dropdown on hover */
    .desktop-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Dropdown items */
    .desktop-dropdown .dropdown-item {
        color: #fff;
        font-size: 15px;
        padding: 10px 22px;
        white-space: nowrap;
        transition: background 0.25s ease;
    }

    .desktop-dropdown .dropdown-item:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    /* Arrow rotation */
    .desktop-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}



@media (max-width: 991px) {

    .mobile-quote-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-quote-btn .quote-btn {
        padding: 8px 18px;
        font-size: 14px;
        height: auto;
    }
}






/* Footer Main Container */
.pest-footer {
    background: #3a3a3c; 
    padding: 70px 0 30px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Titles */
.pest-footer h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Paragraph */
.pest-footer p {
    font-size: 16px;
    color: #d7e5e7;
    line-height: 1.7;
}

/* Lists */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li::before {
    content: "•";
    color: #fff;
    font-weight: bold;
}

.footer-col ul li a {
    text-decoration: none;
    color: #e0f0f2 !important;
    font-size: 16px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #2DAC4A;
}

/* Footer contact links */
.footer-col.contact a {
    color: #ffffff; /* White links */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col.contact a:hover {
    color: #ffffff; /* Keep white on hover */
}

/* Contact Icons */
.icon-circle {
    width: 46px;
    height: 46px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003344;
    font-size: 18px;
    margin-right: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 17px;
}

/* Divider Line */
.footer-line {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 40px auto;
    width: 95%;
}

/* Bottom Footer */
.footer-bottom {
    max-width: 1300px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 45px;
}

.footer-logo span {
    font-size: 26px;
    color: #fff !important;
    font-weight: 700;
}

/* Social Icons */
.footer-social a {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 12px;
    transition: 0.3s;
}

.footer-social a:hover {
    border-color: #2DAC4A;
    color: #2DAC4A;
}

/* Copyright */
copyright {
    font-size: 16px;
}

@media (min-width: 992px) {

.desktop-dropdown {
    position: relative;
}

.desktop-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform .25s ease;
}

.desktop-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* DROPDOWN BOX */
.desktop-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
    min-width: 240px;
    border-radius: 6px;
    padding: 10px 0;

    box-shadow: 0 15px 35px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .25s ease;

    z-index: 9999;
}

.desktop-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 22px;
    font-weight: 500;
    color: #333;
}

.dropdown-menu li a:hover {
    background: #f4f4f4;
}

}
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-dropdown i {
    transition: transform .3s ease;
}

.mobile-dropdown.active i {
    transform: rotate(180deg);
}


















/* FOOTER */
.site-footer {
    background: #222;
    color: #ccc;
    position: relative;
}

/* TOP */
.footer-top {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* LOGO */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 40px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 700;
    color: #7dbb1e;
}

.footer-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
}

/* INFO */
.footer-info {
    list-style: none;
    padding: 0;
}

.footer-info li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-info i {
    color: #7dbb1e;
    margin-right: 8px;
}

/* TITLES */
.footer-col h4 {
    color: #7dbb1e;
    margin-bottom: 20px;
    font-size: 18px;
}

/* POSTS */
.footer-post {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.footer-post a {
    color: #fff;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.footer-post span {
    font-size: 12px;
    color: #7dbb1e;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: #7dbb1e;
}

/* NEWSLETTER */
.newsletter-form {
    display: flex;
    background: #1a1a1a;
}

.newsletter-form input {
    border: none;
    padding: 12px;
    width: 100%;
    background: transparent;
    color: #fff;
}

.newsletter-form button {
    background: #7dbb1e;
    border: none;
    padding: 0 18px;
    color: #fff;
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-social a:hover {
    background: #7dbb1e;
}

/* BOTTOM */
.footer-bottom {
    background: #1a1a1a;
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
}

.footer-bottom span {
    color: #7dbb1e;
}

/* BACK TO TOP */
.back-to-top {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 42px;
    height: 42px;
    background: #7dbb1e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
