/* ==========================================================================
   VIP PEST CONTROL - PREMIUM CORPORATE STYLESHEET
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --clr-navy: #0F2B5B;
    --clr-green: #70C143;
    --clr-navy-light: #1A3E7A;
    --clr-green-dark: #5A9D35;
    --clr-white: #FFFFFF;
    --clr-bg-light: #F8F9FA;
    --clr-text-dark: #1A1A1A;
    --clr-text-muted: #555555;
    --clr-border: #EAEAEA;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-subheading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(15, 43, 91, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 43, 91, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 43, 91, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

/* --- Global Resets & Basics --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-dark);
    line-height: 1.6;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--clr-navy);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-navy { background-color: var(--clr-navy); }
.bg-green { background-color: var(--clr-green); }

.text-white { color: var(--clr-white) !important; }
.text-green { color: var(--clr-green); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 8px;
}

.subtitle {
    font-family: var(--font-subheading);
    color: var(--clr-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-subheading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-green);
    color: var(--clr-white);
    box-shadow: 0 8px 20px rgba(112, 193, 67, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(112, 193, 67, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Loader --- */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--clr-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--clr-bg-light);
    border-top-color: var(--clr-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Header & Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-white);
    transition: var(--transition-smooth);
}

.header.scrolled .logo-text {
    color: var(--clr-navy);
}

.logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

.header.scrolled .logo img {
    height: 40px;
}

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

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--clr-white);
    transition: var(--transition-fast);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--clr-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-green);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-white);
    cursor: pointer;
}

.header.scrolled .mobile-toggle {
    color: var(--clr-navy);
}

/* --- 1. Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&q=80&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 43, 91, 0.9) 0%, rgba(15, 43, 91, 0.7) 50%, rgba(112, 193, 67, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--clr-white);
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--clr-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* --- 2. Why Choose Us --- */
.grid {
    display: grid;
    gap: 30px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.icon-card {
    background: var(--clr-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--clr-green);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(112, 193, 67, 0.1);
    color: var(--clr-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    transition: var(--transition-smooth);
}

.icon-card:hover .icon-wrapper {
    background-color: var(--clr-green);
    color: var(--clr-white);
}

.icon-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.icon-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* --- 3. Our Services --- */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
    position: relative;
    background: var(--clr-white);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: -20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--clr-navy);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15, 43, 91, 0.2);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--clr-green);
}

.service-card h3 {
    font-size: 1.125rem;
    transition: var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--clr-green);
}

/* --- 4. Industries We Serve --- */
.industries-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.industry-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-subheading);
    transition: var(--transition-smooth);
    cursor: default;
}

.industry-tag:hover {
    background: var(--clr-green);
    border-color: var(--clr-green);
    transform: translateY(-3px);
}

/* --- 5. About Us --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.rounded-img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--clr-green);
    color: var(--clr-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(112, 193, 67, 0.3);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.about-content h2 {
    font-size: 2.25rem;
    margin: 12px 0 24px;
}

.about-content p {
    color: var(--clr-text-muted);
    margin-bottom: 20px;
    font-size: 1.125rem;
}

/* --- 6. Process --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clr-border);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--clr-white);
    border: 2px solid var(--clr-green);
    color: var(--clr-navy);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background: var(--clr-green);
    color: var(--clr-white);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* --- 7. Trust Numbers --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-text {
    font-family: var(--font-subheading);
    font-size: 1.125rem;
    opacity: 0.9;
}

/* --- 8. Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--clr-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.review-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-text-muted);
    margin-bottom: 30px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer .avatar {
    font-size: 3rem;
    color: var(--clr-border);
}

.reviewer h4 {
    margin-bottom: 4px;
}

.reviewer span {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

/* --- 9. FAQ --- */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    background: var(--clr-white);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 24px;
    font-family: var(--font-subheading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    color: var(--clr-green);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--clr-green);
}

.accordion-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--clr-text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 24px 20px;
    max-height: 200px;
}

/* --- 10. Contact Section --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info .subtitle {
    margin-bottom: 8px;
    display: block;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(112, 193, 67, 0.1);
    color: var(--clr-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.contact-card a, .contact-card p {
    color: var(--clr-text-muted);
    transition: var(--transition-fast);
}

.contact-card a:hover {
    color: var(--clr-green);
}

.contact-form-wrapper {
    background: var(--clr-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--clr-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--clr-bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-green);
    background: var(--clr-white);
    box-shadow: 0 0 0 4px rgba(112, 193, 67, 0.1);
}

/* --- 11. Footer --- */
.footer {
    background: #0A1E40; /* Darker Navy */
    color: var(--clr-white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--clr-green);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--clr-white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--clr-green);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--clr-green);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom .designer {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Floating Actions --- */
.floating-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-white);
    font-size: 1.25rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    bottom: 30px;
    left: 30px;
    background: #25D366;
}

.call {
    bottom: 90px;
    left: 30px;
    background: var(--clr-navy);
}

.back-to-top {
    bottom: 30px;
    right: 30px;
    background: var(--clr-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-container, .contact-split { gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .header.scrolled { padding: 15px 0; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--clr-navy);
        flex-direction: column;
        justify-content: center;
        padding: 50px 20px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; align-items: center; width: 100%; }
    .mobile-toggle { display: block; z-index: 1001; }
    
    .hero h1 { font-size: 2.5rem; }
    .about-container { grid-template-columns: 1fr; }
    .experience-badge { right: 20px; bottom: 20px; }
    
    .process-timeline { flex-direction: column; gap: 30px; }
    .process-timeline::before {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: 100%;
    }
    .process-step { display: flex; align-items: center; text-align: left; gap: 20px; }
    .step-number { margin: 0; flex-shrink: 0; }
    
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-split { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 30px; }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .experience-badge { padding: 15px; }
    .experience-badge .years { font-size: 2rem; }
}
