/* --- 1. GLOBAL RESETS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- 2. COLORS --- */
:root {
    --primary: #0056b3; /* Deep Blue */
    --secondary: #e6f0ff; /* Light Blue */
    --accent: #ff9900; /* Orange */
    --dark: #222;
    --light: #fff;
    --gray: #f4f4f4;
}

/* --- 3. UTILITIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }
.text-center { text-align: center; }
.bg-secondary { background-color: var(--secondary); }
.bg-light { background-color: #fff; }

/* --- 4. BUTTONS & FORMS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}
.btn:hover { background: #e68a00; transform: translateY(-2px); }

.search-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 50px;
    display: flex; gap: 10px;
    max-width: 500px; margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.search-input { flex: 1; border: none; padding: 10px 20px; outline: none; border-radius: 50px; }
.search-btn { background: var(--primary); color: white; border: none; padding: 10px 25px; border-radius: 50px; cursor: pointer; font-weight: bold; }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; }

/* --- 5. HEADER & NAV --- */
header { background: var(--light); box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--dark); font-size: 1rem; }
.nav-links a:hover { color: var(--primary); }

/* Dropdown (Desktop) */
.dropdown { position: relative; display: inline-block; }
.dropbtn { padding-bottom: 20px; } /* Extends hover area */
.dropdown-content {
    display: none; position: absolute; background-color: #fff;
    min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-top: 4px solid var(--accent); border-radius: 0 0 5px 5px;
    top: 40px; left: 0; z-index: 1000;
}
.dropdown-content a { color: var(--dark); padding: 12px 16px; display: block; border-bottom: 1px solid #f1f1f1; }
.dropdown-content a:hover { background-color: var(--secondary); color: var(--primary); padding-left: 20px; }
.dropdown:hover .dropdown-content { display: block; }
.arrow { font-size: 0.8rem; margin-left: 5px; }

/* --- 6. HAMBURGER MENU (MOBILE) --- */
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--primary); }

@media (max-width: 768px) {
    .hamburger { display: block; z-index: 200; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed; right: -100%; top: 70px;
        flex-direction: column; background-color: white;
        width: 70%; height: 100vh; text-align: left;
        transition: 0.3s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 20px; align-items: flex-start;
    }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; margin: 0; }
    .nav-links a { display: block; padding: 15px 25px; border-bottom: 1px solid #f4f4f4; }
    
    /* Mobile Dropdown Logic */
    .dropdown:hover .dropdown-content { display: none; } /* Disable hover on mobile */
    .dropdown-content { position: relative; top: 0; width: 100%; box-shadow: none; border-top: none; background: #f8faff; display: none; padding-left: 20px; }
    .dropdown-content.show-drop { display: block; } /* JS toggles this */
    .rotate-arrow { transform: rotate(180deg); display: inline-block; }
}

/* --- 7. HERO & LAYOUTS --- */
.hero-wrapper {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1600x900?text=Pest+Control+India');
    background-size: cover; background-position: center;
    padding: 80px 0; color: var(--light);
}

/* THE SPLIT LAYOUT (Crucial for Hero and Sections) */
.split-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-text h1 { font-size: 2.8rem; margin-bottom: 15px; line-height: 1.2; }
.hero-form-card {
    background: var(--light); color: var(--dark); padding: 30px;
    border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-top: 5px solid var(--accent);
}

/* --- 8. CARDS & GRIDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card {
    background: var(--light); padding: 20px; text-align: center;
    border: 1px solid #eee; border-radius: 8px; transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.service-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.testimonial-card { background: var(--secondary); padding: 20px; border-radius: 8px; font-style: italic; }

/* --- 9. TRUST SECTION --- */
.trust-section { background-color: #f8faff; padding: 80px 0; overflow: hidden; }
.trust-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-box { background: white; padding: 15px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--accent); }
.feature-icon { font-size: 1.5rem; display: block; margin-bottom: 5px; }
.feature-title { font-weight: bold; font-size: 1rem; }
.trust-image-container { position: relative; }
.trust-image-container img { border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.trust-badge {
    position: absolute; bottom: -60px; right: 140px;
    background: var(--primary); color: white; padding: 10px 20px;
    border-radius: 10px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- 10. USP BAR & PROCESS --- */
.usp-bar { background: var(--primary); color: var(--light); padding: 15px 0; }
.usp-list { display: flex; justify-content: space-around; flex-wrap: wrap; font-weight: bold; gap: 10px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.step-circle {
    width: 60px; height: 60px; background: var(--primary); color: var(--light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 15px auto; font-weight: bold;
}

/* --- 11. FOOTER --- */
footer { background: #222; color: #fff; padding: 40px 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }

/* --- 12. MOBILE OVERRIDES (Layouts) --- */
@media (max-width: 768px) {
    .split-layout, .trust-wrapper { grid-template-columns: 1fr; gap: 30px; } /* Stack Grids */
    .hero-text h1 { font-size: 2rem; }
    .trust-badge { right: 100px; bottom: -60px; }
    .usp-list { font-size: 0.9rem; }
}/* --- MOBILE BOTTOM BAR --- */
.mobile-bottom-bar {
    display: none; /* Hidden on Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    height: 65px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    height: 100%;
}

/* Specific Colors for Icons */
.bar-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: currentColor; /* Inherits text color */
}

/* Call Button Styling */
.bar-item.call {
    color: #0056b3; /* Blue */
    border-top: 3px solid transparent;
}

/* WhatsApp Button Styling (The Pill Look) */
.bar-item.whatsapp {
    color: #25D366;
    border-top: 3px solid transparent;
}

/* Get Quote Button Styling (Highlighted) */
.bar-item.quote {
    background-color: var(--accent); /* Orange Background */
    color: #fff; /* White Text */
    border-radius: 5px;
    margin: 8px 5px; /* Small margin to make it look like a button */
    height: 45px; /* Shorter than bar */
    flex-direction: row; /* Icon next to text */
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.bar-item.quote .bar-icon {
    fill: #fff;
    margin-bottom: 0;
}

/* Show only on Mobile */
@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    /* Add padding to body so the bar doesn't cover content */
    body {
        padding-bottom: 70px;
    }
}/* --- FLOATING ACTION BUTTONS (The "Separate Icons" Look) --- */

.floating-btn {
    position: fixed;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999; /* Always on top */
    transition: transform 0.3s ease;
    text-decoration: none; /* Removes underline */
}

/* Hover Effect: Grow slightly */
.floating-btn:hover {
    transform: scale(1.1);
}

/* 1. LEFT BUTTON (Phone - Orange) */
.floating-btn.left {
    left: 20px;
    background-color: #ff5722; /* Matches the image orange */
    animation: pulse-orange 2s infinite;
}

/* 2. RIGHT BUTTON (WhatsApp - Green) */
.floating-btn.right {
    right: 20px;
    background-color: #25D366; /* WhatsApp Green */
    animation: pulse-green 2s infinite;
}

/* Icon Styling */
.floating-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* --- OPTIONAL: PULSE ANIMATION --- */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 87, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Adjustment: Slightly smaller to fit screens better */
@media (max-width: 768px) {
    .floating-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
    }
    .floating-icon {
        width: 28px;
        height: 28px;
    }
}.service-icon { 
    font-size: 2.5rem; /* Icon size */
    margin-bottom: 15px; 
    display: inline-block; 
    color: var(--primary); /* Makes icons Blue */
    transition: 0.3s;
}

/* Optional: Icon turns Orange on Hover */
.service-card:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}.feature-icon {
    font-size: 1.8rem; /* Adjust size */
    margin-bottom: 10px;
    display: block;
    color: var(--primary); /* Blue color */
    transition: 0.3s;
}

/* Hover Effect: Icon changes color when hovering the box */
.feature-box:hover .feature-icon {
    color: var(--accent); /* Changes to Orange */
    transform: translateY(-3px);
}/* Styling for Icons inside the Dropdown Menu */
.drop-icon {
    width: 20px;       /* Fixed width aligns text nicely */
    margin-right: 8px; /* Space between icon and text */
    color: var(--primary); /* Blue color for icons */
    text-align: center;
}

/* Hover effect: Icon turns orange when you hover the link */
.dropdown-content a:hover .drop-icon {
    color: var(--accent);
}/* --- WHY CHOOSE US SECTION --- */

.choose-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent; /* Hidden border for hover effect */
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--accent); /* Orange line appears on hover */
}

/* Circular Icon Container */
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--secondary); /* Light Blue Background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: 0.3s;
}

/* Icon Style */
.icon-circle i {
    font-size: 1.8rem;
    color: var(--primary); /* Blue Icon */
}

/* Hover Effect: Circle turns Blue, Icon turns White */
.choose-card:hover .icon-circle {
    background-color: var(--primary);
}
.choose-card:hover .icon-circle i {
    color: #fff;
}

.choose-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark);
}

.choose-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}/* --- LOGO IMAGE STYLING --- */
.logo-img {
    max-height: 55px; /* Fits inside the 70px navbar */
    width: auto;
    vertical-align: middle;
}
/* Adjust navbar padding if needed */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px; /* Increased slightly for the logo */
}