
.topbar {
    background: #3a3a3c;
    padding: 8px 0;
    color: #fff;
    font-size: 14px;
}
.topbar-left span i {
    margin-right: 6px;
}
.topbar-right a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: 0.3s;
}
.topbar-right a:hover {
    color: #e8e8e8;
}


.main-header {
    background: #fff;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-header img {
    border-radius: 50%;
    width: 70px;
}


.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.nav-menu ul li {
    position: relative;
}
.nav-menu ul li a {
    color: #234;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    /* padding: 12px 10px; */
    transition: all 0.3s;
}
.nav-menu ul li a:hover {
    color: #fff;
    color: #28a745;
    border-radius: 8px;
    /* padding: 10px 14px; */
}
.dropdown-arrow {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s;
}



.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: #3a3a3c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.quote-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}
.arrow-circle {
    background: #00324a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.quote-btn:hover .arrow-circle { background: #001b29; }


.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;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}








/* MOBILE FIX: push text below logo */
@media (max-width: 768px) {
    .footer-col.about p {
        margin-top: 80px !important;
        position: relative;
        z-index: 1;
    }

    .footer-col.about a.logo-header {
        position: relative;
        z-index: 2;
        display: inline-block;
    }

    .footer-col.about img {
        max-width: 160px;
        height: auto;
    }
}




