

/* --- General Setup & Variables --- */
:root {
    --primary-blue: #0d99ff;
    --primary-green: #68c058;
    --dark-text: #333;
    --light-text: #666;
    --bg-light-gray: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --star-color: #ffc107;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

h1, h2, h3, h4 {
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #1e2a39; }
h3 { font-size: 1.25rem; }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header p {
 color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #007ae6;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #58a84a;
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: -10px;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px; 
  
    gap: 10px;
    text-decoration: none;
    font-size: 1.59rem;
    font-weight: 700;
    color: var(--dark-text);
}

.logo-icon {
    background-color: var(--primary-blue);
    color: white;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 26px;
    align-items: center;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

        /* Dropdown Styles */
        .dropdown {
            position: relative;
        }

        .nav-links ul {
            position: relative;
        }

        .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
        }

        .dropdown-toggle i {
            font-size: 0.7rem;
            transition: transform 0.3s;
        }

        .dropdown:hover .dropdown-toggle i,
        .dropdown.active .dropdown-toggle i {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: #e9f4ff;
            min-width: 360px;
            padding: 20px;
            border-radius: 10px;
            display: none;
            z-index: 9999;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            max-height: 600px;
            overflow-y: auto;
            margin-top: 0;
            padding-top: 17px;
            /* padding-bottom: 25px; */
            /* Hide scrollbar but keep scrollable */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }

        /* Bridge to maintain hover when moving to dropdown */
        .dropdown::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            height: 20px;
            display: none;
        }

        .dropdown:hover::after {
            display: block;
        }

        .dropdown-menu::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .dropdown:hover .dropdown-menu,
        .dropdown.active .dropdown-menu {
            display: flex;
            gap: 55px;
        }

        .dropdown-column {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .dropdown-column a {
            color: #1e2a39;
            text-decoration: none;
            font-weight: 440;
            white-space: nowrap;
            transition: color 0.3s;
        }

        .dropdown-column a:hover {
            color: var(--orange);
        }


/* --- Hero Section --- */
#hero {
    background: none !important;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- About Section --- */
#about {
    padding: 40px 0 60px 0;
    background: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height:400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text li i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
}

.stat-item:nth-child(1) h3 { color: var(--primary-blue); }
.stat-item:nth-child(2) h3 { color: var(--primary-green); }
.stat-item:nth-child(3) h3 { color: #fca63a; }

/* --- Services Section --- */
#services {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.service-card h3 { margin: 15px 0 10px; }
.service-card p { color: var(--light-text); }

.icon-wrapper { 
    width: 60px; 
    height: 60px; 
    border-radius: 12px; 
    display: grid; 
    place-items: center; 
    font-size: 1.8rem; 
    color: white; 
}

.icon-wrapper.red { background-color: #ffebee; color: #f44336; }
.icon-wrapper.orange { background-color: #fff3e0; color: #ff9800; }
.icon-wrapper.blue { background-color: #e3f2fd; color: #2196f3; }
.icon-wrapper.green { background-color: #e8f5e9; color: #4caf50; }
.icon-wrapper.purple { background-color: #f3e5f5; color: #9c27b0; }
.icon-wrapper.yellow { background-color: #fffde7; color: #fbc02d; }
.icon-wrapper.teal { background-color: #e0f2f1; color: #009688; }
.icon-wrapper.pink { background-color: #fce4ec; color: #e91e63; }
.icon-wrapper.brown { background-color: #efebe9; color: #795548; }
.icon-wrapper.navy { background-color: #e8eaf6; color: #3f51b5; }
.icon-wrapper.maroon { background-color: #fbe9e7; color: #bf360c; }
.icon-wrapper.olive { background-color: #f1f8e9; color: #689f38; }
.icon-wrapper.cyan { background-color: #e0f7fa; color: #00bcd4; }
.icon-wrapper.coral { background-color: #fff8e1; color: #ff7043; }
.icon-wrapper.indigo { background-color: #ede7f6; color: #673ab7; }
.icon-wrapper.dark { background-color: #263238; color: #333; }

.pest-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.custom-link { text-align: center; margin-top: 40px; }
.custom-link a { color: var(--primary-blue); text-decoration: none; font-weight: 500; }
.custom-link a:hover { text-decoration: underline; }

    /* --- Services Carousel Styles --- */
    .services-carousel-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .services-carousel {
        overflow: hidden;
        width: 100%;
    }

    .services-slide {
        display: none;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        animation: slideIn 0.5s ease;
    }

    .services-slide.active {
        display: grid;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .carousel-arrow {
        background: #4CAF50;
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .carousel-arrow:hover {
        background: #388E3C;
        transform: scale(1.1);
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
    }

    .carousel-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .carousel-dots .dot.active {
        background: #4CAF50;
        transform: scale(1.2);
    }
/* --- Clients Section --- */
#clients {
    padding: 60px 0;
    background-color: #ffffff;
    /* border-bottom: 1px solid var(--border-color); */
}

.client-logos-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client-logos-marquee {
    display: flex;
    gap: 30px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.client-logos-marquee:hover {
    animation-play-state: paused;
}

.client-logos-marquee .logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 120px;
    height: 70px;
    padding: 10px;
}

.client-logos-marquee .logo-item img {
    max-width: 100px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logos-marquee .logo-item:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Why Choose IPM Section --- */
#why-choose { 
    padding: 80px 0; 
    background-color: var(--bg-white); 
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.why-choose-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.why-icon.blue { background-color: #2196f3; }
.why-icon.green { background-color: #4caf50; }
.why-icon.yellow { background-color: #ffc107; }
.why-icon.green-dark { background-color: #2e7d32; }

.why-choose-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.why-choose-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-card:nth-child(5) {
        grid-column: 1 / -1;
        margin: 0 auto;
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Section --- */
#contact {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: flex-start;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3,
.contact-form-card h3 {
    margin-top: 0;
    margin-bottom: 35px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.icon-circle.phone { background-color: #1a9cff; }
.icon-circle.email { background-color: #31c471; }
.icon-circle.address { background-color: #f8af45; }

.contact-detail-text strong {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
    display: block;
    margin-bottom: 2px;
}

.contact-detail-text p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.btn-expert {
    background-color: #f8b045;
    color: white;
    width: 100%;
    justify-content: center;
    padding: 16px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e6f0;
    border-radius: 16px;
    background-color: #f8fafc;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a9b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(13, 153, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-gradient {
    width: 100%;
background: #68c058;    color: white;
    border: none;
    font-weight: 600;
    padding: 16px;
    font-size: 1.1rem;
    cursor: pointer;
    justify-content: center;
    border-radius: 16px;
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    background: #1e2a39;
    color: #aab2bd;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Chatbot Styles --- */

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 3rem; }

    .about-container { grid-template-columns: 1fr; }
    .about-image { max-width: 500px; margin: 0 auto; }
    .about-text { text-align: center; }
    .stats { justify-content: center; }

    .services-slide { grid-template-columns: repeat(2, 1fr); }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Reduce Get a Free Quote size (safe) */
.nav-container > .nav-btn {
    padding: 10px 22px;   /* slightly bigger */
    font-size: 0.9rem;    /* readable & clean */
    white-space: nowrap;
}

/* Increase space between Contact and button */
.nav-links {
    padding-right: 40px;
    flex: 1;

}



@media (max-width: 768px) {
    /* HEADER & NAVIGATION */
    header {
        padding: 6px 0 !important;
        height: auto !important;
    }

    header .container.nav-container {
        max-width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 8px !important;
        width: 100%;
        display: flex !important;
        gap: 5px;
    }

    header .logo {
        flex: 0 0 auto;
        margin-right: 0 !important;
        min-width: 0;
        order: 2;
    }

    header .logo-img {
        height: 45px !important;
        width: auto;
        display: block;
    }

    header .nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: var(--bg-white) !important;
        flex-direction: column !important;
        padding: 15px !important;
        margin: 0 !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
    }

    header .nav-links.active {
        display: flex !important;
    }

    header .nav-links ul {
        flex-direction: column !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    header .nav-links li {
        margin: 0 !important;
    }

    header .nav-btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0;
        flex: 0 0 auto;
        white-space: nowrap;
        order: 1;
        line-height: 1;
        width: auto !important;
        max-width: 110px !important;
    }

    header .btn.nav-btn {
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: 110px !important;
    }

    header .hamburger {
        display: block !important;
        position: relative !important;
        background: none !important;
        border: none !important;
        padding: 6px 8px !important;
        font-size: 1.4rem !important;
        cursor: pointer !important;
        color: var(--dark-text) !important;
        margin: 0 !important;
        flex-shrink: 0;
        order: 3;
    }

    /* DROPDOWN MENU - MOBILE */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: #f5f5f5 !important;
        box-shadow: none !important;
        min-width: auto !important;
        padding: 10px 0 !important;
        margin: 10px 0 !important;
        display: none !important;
        gap: 0 !important;
    }

    .dropdown.active .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
    }

    .dropdown-column {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .dropdown-column a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* HERO SECTION */
    #hero {
        padding: 60px 20px;
    }

    .hero-content h1 { 
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons { 
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* ABOUT SECTION */
    #about {
        padding: 40px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        max-width: 100%;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .about-text {
        text-align: left;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* STATS SECTION */
    .stats {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    /* SERVICES GRID */
    #services {
        padding: 40px 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* SERVICES CAROUSEL */
    .services-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }

    /* SLIDESHOW/CAROUSEL */
    .slideshow-container {
        width: 100%;
        height: 250px;
    }

    .slide img {
        height: 250px;
    }

    .about-slider {
        width: 100%;
        height: 250px;
    }

    .about-slide img {
        height: 200px;
    }

    /* INDUSTRY PESTS SECTION */
    #industry-pests {
        padding: 40px 20px;
    }

    .entity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .entity-card img {
        height: 180px;
    }

    .entity-card h3 {
        font-size: 1.1rem;
    }

    .entity-card p {
        font-size: 0.9rem;
        padding: 0 15px 15px;
    }

    /* TRUST BAR */
    .trust-item h4 {
        font-size: 1rem;
    }

    .trust-item p {
        font-size: 0.95rem;
    }

    /* CTA SECTION */
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    /* FLOW SECTION */
    .flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }

    .flow-step {
        padding: 20px 15px;
    }

    .flow-step span {
        font-size: 1.5rem;
    }

    .flow-step h4 {
        font-size: 1rem;
    }

    .flow-step p {
        font-size: 0.85rem;
    }

    .center {
        font-size: 1.8rem;
    }

    /* SECTION GENERAL */
    .section {
        padding: 40px 20px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 576px) {
    /* EXTRA SMALL DEVICES */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }

    /* HEADER - EXTRA SMALL */
    header .logo-img {
        height: 38px !important;
    }

    header .nav-btn,
    header .btn.nav-btn {
        padding: 5px 6px !important;
        font-size: 0.65rem !important;
        max-width: 100px !important;
    }

    header .hamburger {
        font-size: 1.2rem !important;
        padding: 5px 6px !important;
    }

    .container {
        padding: 0 12px;
    }

    .section {
        padding: 30px 12px;
    }

    /* HERO - EXTRA SMALL */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    /* BUTTONS - EXTRA SMALL */
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* SERVICES GRID - SINGLE COLUMN */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 15px;
    }

    /* SERVICES CAROUSEL - SINGLE COLUMN */
    .services-slide {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* INDUSTRY PESTS - SINGLE COLUMN */
    .entity-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .entity-card img {
        height: 150px;
    }

    /* SLIDESHOW */
    .slideshow-container {
        height: 200px;
    }

    .slide img {
        height: 200px;
    }

    .slide-btn {
        font-size: 1.4rem;
        padding: 6px 10px;
    }

    .about-slider {
        height: 200px;
    }

    .about-slide img {
        height: 150px;
    }

    .about-arrow {
        font-size: 1.4rem;
        padding: 6px 10px;
    }

    /* FLOW SECTION - SINGLE COLUMN */
    .flow {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 12px;
    }

    .flow-step {
        padding: 15px 10px;
    }

    .flow-step h4 {
        font-size: 0.9rem;
    }

    .flow-step p {
        font-size: 0.8rem;
    }

    /* STATS - SINGLE COLUMN */
    .stats {
        gap: 15px;
    }

    /* TRUST BAR - STACK */
    .trust-item h4 {
        font-size: 0.95rem;
    }

    .trust-item p {
        font-size: 0.9rem;
    }

    /* CTA SECTION */
    .cta-content h2 {
        font-size: 1.25rem;
    }

    /* CAROUSEL DOTS */
    .carousel-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }
}



.service-search {
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

#pestSearch {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
}

#pestSearch:focus {
    border-color: #4CAF50;
}

#pestList {
    list-style: none;
    margin: 5px 0 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
}

#pestList li {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95rem;
}

#pestList li:hover {
    background-color: #f4f6f8;
}


/* ===== ABOUT US SLIDESHOW (FINAL – DO NOT DUPLICATE) ===== */

.presence-section {
    max-width: 1100px;
    margin: 80px auto;
    text-align: center;
}

.slideshow-container {
    position: relative;
    width: 640px;          /* ⬅️ SMALLER, FIXED */
    height: 360px;         /* ⬅️ SMALLER, FIXED */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 300px;         /* ⬅️ IMAGE SIZE REDUCED */
    object-fit: cover;
    border-radius: 16px;
}

.caption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #333;
}

/* WHITE arrows ON image */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;   /* ⬅️ PURE WHITE */
    color: #000;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 20;
}

.slide-btn.left {
    left: 12px;
}

.slide-btn.right {
    right: 12px;
}

.slide-btn:hover {
    background: #f2f6ff;
}

.presence-section img {
    max-width: 640px !important;
    height: 300px !important;
    object-fit: cover;
}

/* ===== ISOLATED ABOUT US SLIDER (NO COLLISIONS) ===== */

.about-slider-section {
    max-width: 1100px;
    margin: 80px auto;
    text-align: center;
}

.about-slider {
    position: relative;
    width: 600px;        /* FIXED SIZE */
    height: 340px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.about-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.about-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-slide img {
    width: 100%;
    height: 260px;       /* IMAGE SIZE CONTROLLED */
    object-fit: cover;
    border-radius: 16px;
}

.about-caption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #333;
}

/* WHITE ARROWS ON IMAGE */
.about-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    font-size: 1.8rem;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.about-arrow.left {
    left: 10px;
}

.about-arrow.right {
    right: 10px;
}

/* FORCE resize Branch image (FINAL OVERRIDE) */
.about-slider img,
.presence-section img,
.slide img {
    width: 600px !important;
    max-width: 600px !important;
    height: 300px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
}

header .logo {
    margin-left: -12px;   /* pulls logo left */
}


/* LOGO IMAGE — FINAL */
header .logo-img {
    height: 70px;      /* BIGGER */
    width: auto;
    display: block;
}

.story-content p {
  margin-bottom: 18px;
  line-height: 1.7;
}



.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.chatbot-toggler:hover {
    transform: scale(1.1);
}

.chatbot-toggler .fa-times { display: none; }
body.show-chatbot .chatbot-toggler .fa-times { display: block; }
body.show-chatbot .chatbot-toggler .fa-comments { display: none; }

.chatbot {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 380px;
    max-width: 90%;
    max-height: 520px;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.chatbot-header-logo .logo-icon { background: rgba(255,255,255,0.2); }
.chatbot-close-btn { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }

.chatbot-log {
    flex-grow: 1;
    padding: 20px;
    list-style: none;
    overflow-y: auto;
}

.chatbot-log li { display: flex; margin-bottom: 15px; max-width: 90%; word-wrap: break-word; }
.chatbot-log .bot p { background-color: var(--bg-light-gray); color: var(--text-dark); border-radius: 0 15px 15px 15px; padding: 10px 15px; font-size: 0.9rem; }
.chatbot-log .user { justify-content: flex-end; }
.chatbot-log .user p { background-color: var(--primary-green); color: white; border-radius: 15px 0 15px 15px; padding: 10px 15px; font-size: 0.9rem; }

.chatbot-input-area { display: flex; padding: 10px 20px; border-top: 1px solid var(--border-color); gap: 10px; }
.chatbot-input { flex-grow: 1; border: 1px solid var(--border-color); padding: 10px; border-radius: 8px; outline: none; transition: border-color 0.2s; }
.chatbot-input:focus { border-color: var(--primary-blue); }

.chatbot-send-btn { background-color: var(--primary-blue); color: white; border: none; width: 45px; height: 45px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; transition: background-color 0.2s; }
.chatbot-send-btn:hover { background-color: #1c66e0; }



@media (max-width: 490px) {
    .chatbot {
        right: 15px;
        bottom: 80px;
        width: calc(100% - 30px);
        max-height: 70vh;
    }
    .chatbot-toggler {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
        font-size: 1.8rem;
    }
}


.chat-options {
  list-style: none;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-options li {
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  border: 1px solid #e2e8f0;
  transition: 0.2s;
}

.chat-options li:hover {
  background: var(--primary-blue);
  color: white;
}

.chat-options li.selected {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.chat-options button {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #28a745;
  color: white;
  cursor: pointer;
}


.slideshow-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;       /* remove extra spacing */
    padding: 0;           /* remove inner space */
    background: none;     /* REMOVE background */
    box-shadow: none;     /* remove any shadow */
}

.mySlides {
    display: none;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* SHOW FIRST IMAGE IMMEDIATELY */
.mySlides:first-child {
    display: block;
}

.service-link {
    text-decoration: none;   /* removes underline */
    color: inherit;          /* keeps text same color as card */
    display: block;          /* ensures full card is clickable */
}









/* Targeted Text Sizing for the Wide Bar */

.trust-bar-wide .trust-item h4 {
    font-size: 1.4rem !important; /* Increased size + !important to force change */
    color: #2c7aba;
    margin-bottom: 5px;
    font-weight: 700;
}

.trust-bar-wide .trust-item p {
    font-size: 1.1rem !important; /* Increased size + !important to force change */
    color: #000;
    font-weight: 600;
}



/* --- Trust Bar Styles --- */
.trust-bar {
    background-color: #f0f7ff; /* Light blue background from image */
    padding: 20px 0;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1100px; /* Adjust based on your container width */
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

/* --- Text Size Adjustments for Trust Bar Wide --- */

.trust-item h4 {
    color: #2c7aba; 
    /* Increased from 1.2rem to 1.6rem */
    font-size: 1.6rem; 
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.trust-item p {
    color: #000;
    font-weight: 600;
    margin: 0;
    /* Increased from 1.1rem to 1.4rem */
    font-size: 1.4rem; 
}

.trust-divider {
    width: 1px;
    height: 50px;
    background-color: #d1e3f3;
}

/* --- CTA Banner Styles --- */
.cta-banner {
    background-color: #f0f7ff; /* Main blue background */
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.cta-content {
    display: flex;
    justify-content: center;
      margin-top: 0;
     
}
/* 
CHANGE BACKGROUND OF BELOW */
.cta-section {
    padding: 0 0 1.5rem 0;        /* remove all extra space */
    margin: 0;           /* remove external spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  #ffffff;;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b; /* Bright red button */
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background 0.3s ease;
   
}

.cta-button:hover {
    background-color: #d90429;
    transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
        gap: 20px;
    }
    .trust-divider {
        display: none;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* --- Full Width Trust Bar --- */
.trust-bar-wide {
    width: 100%;
    background-color: #f0f7ff;
    
    /* Internal spacing (top/bottom) - reduce this to make the bar 'thinner' */
    padding: 30px 0; 
    
    /* External spacing - set margin-bottom to 0 to remove gap below */
    margin-top: 0; 
    margin-bottom: 0; 
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-content {
    width: 100%;
    max-width: 1200px; /* Limits text spreading too far on massive screens */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.trust-item {
    text-align: center;
    flex: 1;
}

.trust-item h4 {
    color: #2c7aba; /* Professional blue */
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.trust-item p {
    color: #000;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.trust-divider {
    width: 1px;
    height: 45px;
    background-color: #cbddec; /* Subtle blue divider */
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .trust-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .trust-divider {
        display: none; /* Hide dividers on mobile for a clean stack */
    }
    
    .trust-bar-wide {
        padding: 40px 0;
    }
}





/* --- Condensed IPM Process --- */
.section.light-bg {
    padding: 60px 20px;
    background: #f0f7ff;
}

.center {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #000000;
}

.flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Creates 4 equal columns */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2c7aba;
}

.flow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.flow-step span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c7aba;
    margin-bottom: 15px;
    opacity: 0.3; /* Makes the number look like a modern background element */
}

.flow-step h4 {
    color: #2c7aba;
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.flow-step p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .flow {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media (max-width: 600px) {
    .flow {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .center {
        font-size: 1.8rem;
    }
}







/* --- Industry Pests Section --- */
#industry-pests {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

/* Grid (same structure) */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card → changed to species style */
.entity-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.entity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Image on top (FIXED - smaller + cleaner) */
/* Image fills full width (NO gaps) */
.entity-card img {
    width: 100%;
    height: 250px; /* adjust if needed */
    object-fit: cover; /* fills completely */
    display: block;
    padding: 0; /* REMOVE spacing */
    margin: 0;
    border-radius: 20px 20px 0 0; /* match card top */
}
/* Title */
.entity-card h3 {
    margin: 15px 20px 5px;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Description */
.entity-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Carousel (renamed only, structure same) --- */
.entity-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.entity-carousel {
    overflow: hidden;
    width: 100%;
}

.entity-slide {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    animation: slideIn 0.5s ease;
}

.entity-slide.active {
    display: grid;
}

.entity-link {
    text-decoration: none;
    color: inherit;
}

.entity-link:hover {
    text-decoration: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Intro (clean + reusable) */
.section-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-intro h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-intro p {
    color: var(--grey); /* readable on white */
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Section Subtitle */

/* ===== CONTACT SECTION - ULTRA SMALL MOBILE (375px) ===== */
@media (max-width: 390px) {
    #contact {
        padding: 20px 0 !important;
    }

    #contact .container {
        padding: 0 8px !important;
        max-width: 100% !important;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 10px !important;
        width: 100%;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .contact-detail-item {
        gap: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}


.why-choose-card h3 {
    font-size: 1.0rem !important;
}

.why-choose-card p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}


/* Slideshow container */
.slideshow-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

/* Make all slideshow images same size */
.slideshow-container .mySlides {
    width: 100%;
    height: 300px;        /* same fixed height */
    object-fit: cover;    /* fills area evenly */
    display: none;        /* keep slideshow behavior */
    border-radius: 12px;  /* optional */
}

/* Mobile view */
@media (max-width: 768px) {
    .slideshow-container .mySlides {
        height: 250px;    /* same height on mobile */
    }
}


@media (max-width: 768px) {

    .about-container {
        gap: 0 !important;
        row-gap: 0 !important;
    }

    .about-image,
    .slideshow-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .about-text {
        margin-top: -80px !important; /* pulls text upward */
        padding-top: 0 !important;
    }

    .about-text h2 {
        margin-top: 0 !important;
    }
}

.map-container {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.map-container iframe {
    display: block;
}


.footer-text {
    color: white;
}

.credits-link {
    color: white;
    text-decoration: none;
}

.credits-link:hover {
    text-decoration: none;
    opacity: 0.8;
}


.deserve-section{
    margin-top: 60px;
}



.mySlides{
    position: relative !important;
}

.w3-display-bottomleft{
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;

    margin: 0 !important;
    z-index: 999 !important;
}

.w3-display-bottomleft{
    padding: 8px 14px !important;
}



/* .slideshow-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px auto;
    overflow: hidden;
    border-radius: 18px;
} */



/* ONLY founder slideshow */
/* .founderSlides {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: none;
    border-radius: 18px;
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.story-content p {
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 17px;
}

.academic-background {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.academic-text {
    flex: 1;
}

.academic-list {
    padding-left: 20px;
}

.academic-list li {
    margin-bottom: 12px;
}

.academic-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.academic-logos img {
    width: 120px;
    height: auto;
} */

/* Mobile Responsive */
/* @media (max-width: 768px) {

    .founderSlides {
        height: 300px;
    }

    .academic-background {
        flex-direction: column;
        text-align: center;
    }

    .academic-logos {
        justify-content: center;
    }
}



 */



 
.section-header h2{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}


.about-text h2{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}

.section-intro h2{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}

.section.light-bg .center{
    color: #2C5E9E !important;
    font-weight: 700 !important;
}



.btn.btn-primary.nav-btn{
    background-color: #68c058 !important;
    border-color: #68c058 !important;
}


/* .service-card h3{
    color: #2c7aba !important;
} */


.chatbot-header{
    background-color: #2C5E9E !important;
}

.chatbot-header .logo-icon{
    background-color: #2C5E9E !important;
}

.chatbot-send-btn{
    background-color: #2C5E9E !important;
}

.chatbot-send-btn:hover{
    background-color: #244f86 !important;
}

.chatbot-toggler{
    background-color: #2C5E9E !important;
}



.contact-info-card h3,
.contact-form-card h3{
    font-size: 1.3rem !important;
}


.icon-circle.facebook {
    background: #1877F2;
    color: white;
}

.contact-detail-text a {
    text-decoration: none;
    color: inherit;
}

.contact-detail-text a:hover {
    color: #1877F2;
}



.icon-circle.instagram {
    background: #E1306C;
    color: white;
}



.contact-detail-text p,
.contact-detail-text a {
    color: black;
}


.india-service{
    color: #2C5E9E;
    font-weight: 600;
    margin: 18px 0;
    font-size: 1.2rem;
}

.india-service i{
    margin-right: 8px;
}