@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   1. VARIABLES & TOKENS
   ========================================================================== */
:root {
  /* Color Palette - Deep Corporate Greens & Emerald Accents */
  /* Color Palette - Deep Corporate Navy Blue & Emerald Accents */
  --primary-50:  #f0f4f8;
  --primary-100: #d9e2ec;
  --primary-200: #bcccdc;
  --primary-300: #9fb3c8;
  --primary-400: #829ab1;
  --primary-500: #627d98;
  --primary-600: #486581;
  --primary-700: #334e68;
  --primary-800: #0d3652; /* Deep ocean */
  --primary-900: #061d31; 
  --primary-950: #031120;

  --accent-400: #34d399;
  --accent-500: #10b981;
  --accent-600: #059669;

  --gold-400: #fbbf24;
  --gold-500: #f59e0b;

  /* Neutrals */
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  /* Functional */
  --body-bg:     var(--gray-50);
  --text-main:   var(--gray-600);
  --text-heading: var(--gray-900);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* Spacing & Sizing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows - Premium Soft UI */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.4);

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE SETUP
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--body-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent-500); color: var(--white); }

a { text-decoration: none; color: inherit; transition: var(--transition-base); }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; transition: var(--transition-base); }
img { max-width: 100%; display: block; border-radius: var(--radius-sm); }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-display); 
  color: var(--text-heading); 
  font-weight: 700; 
  line-height: 1.25; 
}

.highlight { color: var(--accent-500); position: relative; display: inline-block; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-xs); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--primary-700);
  background: var(--primary-100); padding: 8px 16px; 
  border-radius: var(--radius-full); margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.section-label:hover {
  background: var(--primary-200); transform: translateY(-2px);
}

.section-title { font-size: var(--text-4xl); margin-bottom: 24px; color: var(--primary-950); font-weight: 800; letter-spacing: -0.02em; }
.section-desc { font-size: var(--text-lg); color: var(--gray-500); max-width: 650px; margin-bottom: 48px; line-height: 1.7; }

.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 32px; border-radius: var(--radius-full);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap; transition: var(--transition-base);
  position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.2);
  transform: translateX(-100%); transition: var(--transition-slow); z-index: -1;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary { 
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); 
  color: var(--white); 
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); 
}
.btn-primary:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); 
}

.btn-outline { 
  border: 2px solid rgba(255,255,255,0.3); 
  color: var(--white); 
  background: transparent; 
  backdrop-filter: blur(5px);
}
.btn-outline:hover { 
  border-color: var(--white); 
  background: rgba(255,255,255,0.1); 
  transform: translateY(-3px); 
}

/* ==========================================================================
   5. HEADER & NAVBAR
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 24px 0; transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 14px 0; 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px); 
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gray-200);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; z-index: 1001; }
.logo-img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: contain; box-shadow: var(--shadow-sm); }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--primary-900); line-height: 1.1; letter-spacing: -0.02em; }
.header:not(.scrolled) .logo-text { color: var(--gray-100); }
.header.scrolled .logo-text { color: var(--primary-900); }
.header:not(.scrolled) .logo-text span { display: block; color: var(--accent-600); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; }
.logo-text span { display: block; color: var(--accent-600); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em; }

/* Desktop Nav */
.nav-desktop { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; color: var(--primary-900); position: relative; padding: 6px 0; text-transform: capitalize; white-space: nowrap; }
/* By default on hero pages text is white, on scrolled it becomes dark. If no hero, we might need a specific class, but inner-hero is also dark, so white works! */
.header:not(.scrolled) .nav-link { color: var(--gray-300); }
.header.scrolled .nav-link { color: var(--gray-800); }

.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0%; height: 3px;
  background: var(--accent-500); transition: var(--transition-base); border-radius: 3px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.3s; stroke-width: 2.5; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 15px); left: 50%; transform: translateX(-50%) translateY(15px);
  min-width: 260px; background: var(--white); border-radius: var(--radius-lg); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); padding: 16px 0; 
  opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
  border: 1px solid var(--gray-100);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Small arrow top of dropdown */
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--white); border-top: 1px solid var(--gray-100); border-left: 1px solid var(--gray-100);
}
.nav-dropdown-item {
  display: flex; align-items: center; padding: 12px 24px; color: var(--gray-600);
  font-size: 0.95rem; font-weight: 600; transition: var(--transition-fast);
  position: relative;
}
.nav-dropdown-item:hover { background: var(--gray-50); color: var(--accent-600); padding-left: 32px; }
.nav-dropdown-item::before {
  content: '→'; position: absolute; left: 12px; opacity: 0; color: var(--accent-500);
  transform: translateX(-10px); transition: var(--transition-fast); font-weight: 800;
}
.nav-dropdown-item:hover::before { opacity: 1; transform: translateX(0); }

/* Mega Menu Feature */
.nav-dropdown-mega { 
  min-width: 700px; display: grid; grid-template-columns: repeat(3, 1fr); 
  gap: 8px; padding: 24px; border-radius: var(--radius-xl);
}

/* Mobile Menu Toggle */
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; cursor: pointer; border-radius: var(--radius-sm); z-index: 1002; transition: var(--transition-base); background: transparent; border: none; padding: 0; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--white); border-radius: 3px; transition: 0.3s; margin: 0 auto; }
.header.scrolled .menu-toggle span { background: var(--gray-900); }
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary-900); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary-900); }

/* Mobile Nav Structure */
.nav-mobile {
  position: fixed; inset: 0; background: rgba(255, 255, 255, 0.98); 
  backdrop-filter: blur(15px); z-index: 1001; 
  display: flex; flex-direction: column; padding: 120px 24px 40px;
  opacity: 0; visibility: hidden; transform: translateX(100%); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile.active, .nav-mobile.open { opacity: 1; visibility: visible; transform: translateX(0); }
.nav-mobile-links { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; flex: 1; }
.nav-mobile-link { 
  display: block; font-size: 1.3rem; font-weight: 800; font-family: var(--font-display);
  color: var(--gray-800); padding: 16px 20px; border-radius: var(--radius-md); 
  background: var(--gray-50); border: 1px solid var(--gray-100); transition: var(--transition-base);
}
.nav-mobile-link:hover { background: var(--primary-50); color: var(--accent-600); border-color: var(--primary-200); padding-left: 28px; }

/* ==========================================================================
   6. HERO SECTION (HOMEPAGE)
   ========================================================================== */
.hero { 
  position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  padding: 160px 0 80px; overflow: hidden; 
}
.hero-bg { 
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #062a4a 0%, #021223 100%);
}
.hero-bg::before { display: none; }
.hero-bg::after { display: none; }
.hero-bg::after {
  content: ''; position: absolute; width: 50vw; height: 50vw; 
  bottom: -10%; right: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.05) 0%, transparent 70%);
  filter: blur(80px);
}

/* Abstract Shapes */
.hero::after {
  content: ''; position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--accent-500) 0%, transparent 70%);
  opacity: 0.1; filter: blur(100px); z-index: 1; border-radius: 50%;
}
.hero-deco { display: none; }

.hero-content { position: relative; z-index: 3; width: 100%; max-width: 650px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid rgba(16, 185, 129, 0.4); border-radius: var(--radius-full); color: var(--accent-500); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 24px; background: rgba(16, 185, 129, 0.05); }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--accent-400); border-radius: 50%; box-shadow: 0 0 12px var(--accent-400); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.hero-title { font-size: clamp(3.5rem, 6vw, 5rem); color: var(--white); margin-bottom: 20px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; text-align: left; font-family: var(--font-display); }
.hero-desc { font-size: 1.15rem; color: var(--gray-300); margin-bottom: 35px; font-weight: 400; max-width: 100%; line-height: 1.7; text-align: left; margin-left: 0; }
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; width: 100%; }

/* Features Bar */
.hero-features-bar { position: relative; z-index: 3; padding: 0; border: none; background: transparent; width: 100%; max-width: 650px; }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; width: 100%; justify-items: start; }
@media(max-width: 768px) { .hero-features { grid-template-columns: 1fr; } }
.hero-feature { display: flex; align-items: center; gap: 12px; color: var(--gray-300); font-size: 0.95rem; font-weight: 500; }
.hero-feature svg { color: var(--accent-500); stroke-width: 3; width: 18px; height: 18px; }

/* ==========================================================================
   7. INNER PAGE HERO (BANNERS)
   ========================================================================== */
.inner-hero { 
  position: relative; min-height: 45vh; display: flex; align-items: center; 
  justify-content: center; background: var(--primary-950); padding-top: 80px; 
  overflow: hidden; 
}
.inner-hero::before { 
  content: ""; position: absolute; inset: 0; 
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.85) 100%); z-index: 1; 
}
.inner-hero-bg { 
  position: absolute; inset: 0; background-image: url('hakkimizda.jpg'); 
  background-size: cover; background-position: center; opacity: 0.1;
}
.inner-hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 20px; }
.inner-hero-title { 
  font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; color: var(--white); 
  line-height: 1.1; margin-bottom: 16px; font-family: var(--font-display); letter-spacing: -0.02em;
}
.inner-hero-desc { color: var(--primary-100); font-size: var(--text-xl); font-weight: 400; opacity: 0.9; }

/* ==========================================================================
   8. SECTIONS & GENERAL GRIDS
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-dark { background: var(--primary-900); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: var(--gray-300); }
.section-dark .section-label { background: rgba(255,255,255,0.1); color: var(--primary-200); }

/* Universal Grids */
.about-grid, .advantages-grid, .services-grid, .pests-grid, .methods-grid, .references-grid {
  display: grid; gap: 40px;
}
.about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.services-grid, .pests-grid, .methods-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ==========================================================================
   9. CARDS (Services, Pests, Methods)
   ========================================================================== */
.service-card, .pest-card { 
  background: var(--white); border-radius: var(--radius-xl); overflow: hidden; 
  box-shadow: var(--shadow-md); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
  border: 1px solid var(--gray-200); display: flex; flex-direction: column;
}
.service-card:hover, .pest-card:hover { 
  transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary-300); 
}
.service-card-img-wrapper, .pest-card-img-wrapper {
  position: relative; height: 220px; overflow: hidden;
}
.service-card-img, .pest-card-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.service-card:hover .service-card-img, .pest-card:hover .pest-card-img { transform: scale(1.08); }

.service-card-content, .pest-card-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.service-card-title, .pest-card-title { font-size: 1.5rem; color: var(--gray-900); margin-bottom: 12px; }
.service-card-desc, .pest-card-desc { color: var(--gray-600); margin-bottom: 24px; flex: 1; }
.service-card-link, .pest-card-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-600);
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: auto;
}
.service-card-link svg, .pest-card-link svg { transition: transform 0.3s; }
.service-card:hover .service-card-link svg, .pest-card:hover .pest-card-link svg { transform: translateX(5px); color: var(--accent-500); }

/* Mission / Vision Cards */
.mv-cards { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
.mv-card { 
  background: var(--white); padding: 30px; border-radius: var(--radius-lg); 
  box-shadow: var(--shadow-sm); border-left: 6px solid var(--accent-500); 
  transition: var(--transition-base); 
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.mv-card-title { font-size: 1.4rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; color: var(--primary-900); font-family: var(--font-display); font-weight: 800; }

/* Advantages Cards */
.advantages-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.advantage-card { 
  background: var(--white); padding: 40px 30px; border-radius: var(--radius-xl); 
  box-shadow: var(--shadow-md); text-align: center; border: 1px solid var(--gray-100);
  transition: var(--transition-base); position: relative; z-index: 1; overflow: hidden;
}
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-100); }
.advantage-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--primary-50) 0%, transparent 100%);
  opacity: 0; transition: var(--transition-base); z-index: -1;
}
.advantage-card:hover::before { opacity: 1; }
.advantage-icon { 
  width: 80px; height: 80px; background: var(--primary-50); border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; 
  color: var(--accent-500); transition: var(--transition-base); border: 2px solid var(--primary-100);
}
.advantage-card:hover .advantage-icon { background: var(--accent-500); color: var(--white); border-color: var(--accent-400); transform: scale(1.1); }
.advantage-title { font-size: 1.3rem; color: var(--gray-900); margin-bottom: 16px; font-weight: 800; }
.advantage-desc { color: var(--gray-600); }

/* ==========================================================================
   10. CONTACT, REGIONS & FOOTER
   ========================================================================== */
.contact-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-bottom: 60px; }
.contact-card {
  background: var(--white); padding: 40px 30px; border-radius: var(--radius-xl); text-align: center; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md); transition: var(--transition-base); position: relative; overflow: hidden;
}
.contact-card:hover { transform: translateY(-8px); border-color: var(--accent-500); box-shadow: var(--shadow-hover); }
.contact-card-icon { 
  width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; 
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
.contact-card-label { font-size: 0.95rem; color: var(--gray-500); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.contact-card-value { font-weight: 800; color: var(--gray-900); font-size: 1.25rem; font-family: var(--font-display); }

/* Regions */
.regions-wrapper { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; max-width: 900px; margin: 0 auto; }
.regions-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.region-item { 
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.08); 
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-base); font-size: 1.1rem; font-weight: 600;
}
.region-item:hover { background: rgba(255,255,255,0.15); border-color: var(--accent-500); transform: translateX(5px); }
.region-dot { width: 10px; height: 10px; background: var(--accent-500); border-radius: 50%; box-shadow: 0 0 15px var(--accent-500); }

/* Footer */
.footer { background: var(--primary-950); color: var(--gray-400); padding: 100px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 80px; }
.footer-title { color: var(--white); font-size: 1.3rem; margin-bottom: 24px; font-weight: 800; font-family: var(--font-display); }
.footer .logo-text { color: var(--white); }
.footer .logo-text span { color: var(--accent-500); }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-link { color: var(--gray-400); transition: var(--transition-base); display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.footer-link::before { content: '›'; font-size: 1.5rem; color: var(--primary-600); line-height: 1; transition: var(--transition-base); }
.footer-link:hover { color: var(--white); transform: translateX(8px); }
.footer-link:hover::before { color: var(--accent-500); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 0.95rem; }

/* Contact Socials */
.contact-socials { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.social-link { 
  width: 60px; height: 60px; background: var(--primary-50); border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; color: var(--primary-700); 
  transition: var(--transition-base); border: 2px solid transparent;
}
.social-link:hover { background: var(--accent-500); color: var(--white); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   11. FLOATING ELEMENTS
   ========================================================================== */
.whatsapp-float { 
  position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; 
  background: #25d366; color: white; border-radius: 50px; 
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 100; 
  display: flex; align-items: center; justify-content: center; 
  transition: var(--transition-base); animation: float-icon 3s ease-in-out infinite;
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #25d366; animation: expand 2s infinite; z-index: -1;
}
@keyframes expand { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes float-icon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); background: #128c7e; animation: none; }
.whatsapp-float svg { width: 36px; fill: white; }

.scroll-top { 
  position: fixed; bottom: 30px; left: 30px; width: 55px; height: 55px; 
  background: var(--primary-800); color: white; border-radius: 50%; 
  opacity: 0; visibility: hidden; transition: var(--transition-base); 
  box-shadow: var(--shadow-md); z-index: 99; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-500); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   12. RESPONSIVE MEDIA QUERIES (OPTIMIZED)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); }
  .inner-hero-title { font-size: clamp(2.2rem, 4.5vw, 4rem); }
}

@media (max-width: 991px) {
  .about-grid, .regions-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid, .pests-grid, .methods-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .section { padding: 80px 0; }
  .hero-features-bar { display: none; } /* Hide complicated bar on tablet */
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 50px; min-height: auto; }
  .inner-hero { min-height: 40vh; padding: 100px 0 40px; }
  .section-title { font-size: 2.2rem; }
  .section-desc { font-size: 1rem; margin-bottom: 30px; }
  .contact-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .regions-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-actions { flex-direction: column; width: 100%; max-width: none; gap: 12px; }
  .btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .nav-mobile-menu { min-width: 90vw; padding: 20px; } /* Ensure menu doesn't overflow */
  .section { padding: 60px 0; }
  .logo-text { font-size: 1.1rem; }
  .logo-img { width: 36px; height: 36px; } /* Safety sizing for old logo if reverted */
  .footer-col { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; line-height: 1.2; }
  .inner-hero-title { font-size: 2rem; }
  .advantage-card, .service-card, .pest-card { padding: 20px; }
  .container { padding: 0 20px; }
  .hero-desc { font-size: 1rem; }
  .pests-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  
  /* Modal tweaks for small phones */
  .pest-modal, .service-modal { border-radius: 12px; max-height: 90vh; }
  .pest-modal-body, .service-modal-body { padding: 16px; }
  .pest-modal-header, .service-modal-header { padding: 16px; }
  .pest-modal-footer, .service-modal-footer { padding: 16px; }
}


/* ==========================================================================
   REFERENCES HOVER ANIMATION
   ========================================================================== */
.reference-item {
  cursor: pointer;
  will-change: transform;
}
.reference-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border-top-color: var(--primary-600) !important;
}
.reference-item > div {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.reference-item:hover > div {
  background: var(--accent-500) !important;
  color: white !important;
  transform: scale(1.2) rotate(8deg) !important;
}
.reference-item h3 {
  transition: color 0.3s ease !important;
}
.reference-item:hover h3 {
  color: var(--accent-600) !important;
}


/* Premium Pest Card Hover Effects */
.pest-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 18, 35, 0.1);
}
.pest-card:hover .pest-image-wrapper img {
  transform: scale(1.08) !important;
}
.pest-card:hover .pest-title {
  color: var(--accent-500) !important;
}


/* Premium Service Card Hover Effects */
.service-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 18, 35, 0.1);
}
.service-card:hover .service-image-wrapper img {
  transform: scale(1.08) !important;
}
.service-card:hover .service-title {
  color: var(--accent-500) !important;
}


/* FORCE MOBILE MENU VISIBILITY FIX */
@media (max-width: 1024px) {
  .menu-toggle { 
      display: flex !important; 
      visibility: visible !important; 
      opacity: 1 !important; 
      z-index: 9999 !important; 
      background: transparent !important;
      border: none !important;
  }
  .menu-toggle span { background: var(--white) !important; box-shadow: 0 1px 2px rgba(255,255,255,0.8); }
  .header.scrolled .menu-toggle span { background: var(--gray-900) !important; }
  
  .logo { 
      flex-shrink: 1; 
      max-width: calc(100% - 60px); 
      overflow: hidden; 
  }
  .logo-text { 
      font-size: 1rem !important; 
      white-space: normal; 
      line-height: 1.1; 
  }
  .logo-text span { 
      font-size: 0.9rem !important; 
  }
  .header-inner { 
      flex-wrap: nowrap !important; 
      justify-content: space-between !important;
  }
}

@media (max-width: 400px) {
  .logo-text { font-size: 0.85rem !important; }
  .logo-img { width: 30px !important; height: 30px !important; }
  .nav-mobile { padding-top: 100px !important; }
}

/* BULLETPROOF MENU TOGGLE FIX */
@media (max-width: 1024px) {
  .header-inner {
      position: relative !important;
      display: flex !important;
      justify-content: flex-start !important;
      padding-right: 80px !important; /* Make room for absolute button */
  }
  
  .menu-toggle { 
      position: absolute !important;
      right: 20px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      
      display: flex !important; 
      flex-direction: column !important;
      visibility: visible !important; 
      opacity: 1 !important; 
      z-index: 99999 !important; 
      
      width: 40px !important;
      height: 40px !important;
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      margin: 0 !important;
  }
  
  .menu-toggle span { 
      background: var(--white) !important; 
      width: 30px !important; 
      height: 3px !important; 
      display: block !important;
      box-shadow: 0 1px 1px rgba(255,255,255,0.8);
      transition: all 0.3s ease;
  }
  
  .header.scrolled .menu-toggle span { background: var(--gray-900) !important; }

  /* Ensure the mobile nav itself takes full screen */
  .nav-mobile {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      padding-top: 100px !important;
      z-index: 10000 !important;
  }
}
