/* ========================================
   مركز بحوث الحشرات - Stylesheet
   ======================================== */

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

:root {
  --green: #1a7a2e;
  --green-dark: #0f5a1f;
  --green-light: #2eaa44;
  --green-pale: #e8f5ea;
  --gold: #d4a017;
  --gold-light: #f0c030;
  --dark: #1a1a1a;
  --dark2: #2d2d2d;
  --gray: #666;
  --gray-light: #f5f5f5;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font: 'Cairo', 'Tajawal', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); direction: rtl; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--gray-light); }
.bg-dark { background: var(--dark); }
.text-white { color: var(--white); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-family: var(--font);
  font-weight: 700; font-size: 15px; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,122,46,0.35); }
.btn-hero-primary { background: var(--gold); color: var(--dark); font-size: 16px; padding: 16px 36px; }
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,160,23,0.4); }
.btn-hero-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); font-size: 16px; padding: 16px 36px; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--green-dark); font-size: 16px; padding: 16px 36px; }
.btn-white:hover { background: var(--green-pale); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; font-size: 16px; padding: 16px 36px; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* ---- TOP BAR ---- */
.topbar { background: var(--green-dark); color: var(--white); padding: 8px 0; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-contact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-contact a { color: var(--white); }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-social a { color: var(--gold-light); font-weight: 700; }

/* ---- HEADER ---- */
.header {
  background: var(--white); position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: var(--transition);
}
.header.sticky { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

/* Logo */
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 32px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 20px; font-weight: 900; color: var(--green); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--gray); font-weight: 400; }

/* Nav */
.nav { margin-right: auto; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-weight: 600; font-size: 14px; color: var(--dark); transition: var(--transition);
}
.nav > ul > li > a:hover, .nav > ul > li > a.active { color: var(--green); background: var(--green-pale); }
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 200px;
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 9px 20px; font-size: 14px; font-weight: 500;
  color: var(--dark); transition: var(--transition); border-right: 3px solid transparent;
}
.dropdown li a:hover { color: var(--green); background: var(--green-pale); border-right-color: var(--green); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); transition: var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden; background: linear-gradient(135deg, #0d4d1a 0%, #1a7a2e 50%, #0a3d14 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { display: flex; align-items: center; gap: 60px; padding: 80px 20px; position: relative; z-index: 2; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,0.2); border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light); padding: 8px 18px; border-radius: 50px;
  font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title-main { display: block; font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.1; margin-bottom: 8px; }
.hero-title-sub { display: block; font-size: clamp(18px, 3vw, 26px); font-weight: 400; color: rgba(255,255,255,0.8); }
.hero-desc { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.8; margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 900; color: var(--gold-light); }
.stat-lbl { display: block; font-size: 13px; color: rgba(255,255,255,0.7); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-image { flex: 0 0 380px; }
.hero-img-wrap { display: flex; justify-content: center; align-items: center; }
.hero-img-circle {
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; position: relative;
  animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}
.hero-emoji-main { font-size: 100px; }
.floating-bug {
  position: absolute; font-size: 28px;
  animation: float 4s ease-in-out infinite;
  background: rgba(255,255,255,0.1); border-radius: 50%; padding: 8px;
}
.bug1 { top: 10%; right: 5%; animation-delay: 0s; }
.bug2 { top: 10%; left: 5%; animation-delay: 1s; }
.bug3 { bottom: 10%; right: 10%; animation-delay: 2s; }
.bug4 { bottom: 10%; left: 10%; animation-delay: 0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- FEATURES STRIP ---- */
.features-strip { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: relative; z-index: 5; }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.feature-item {
  display: flex; align-items: center; gap: 14px; padding: 24px 20px;
  border-left: 1px solid #eee; transition: var(--transition);
}
.feature-item:first-child { border-left: none; }
.feature-item:hover { background: var(--green-pale); }
.feature-icon { font-size: 32px; flex-shrink: 0; }
.feature-text h3 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.feature-text p { font-size: 12px; color: var(--gray); }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header--light { }
.section-tag {
  display: inline-block; background: var(--green-pale); color: var(--green);
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: 0.5px;
}
.section-tag--light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-title { font-size: clamp(24px, 4vw, 36px); font-weight: 900; color: var(--dark); margin-bottom: 14px; line-height: 1.3; }
.section-desc { font-size: 16px; color: var(--gray); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ---- SERVICES SECTION ---- */
.services-main-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border-radius: var(--radius-lg); overflow: hidden; display: block;
  position: relative; min-height: 280px; transition: var(--transition);
  color: var(--white);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card--insects { background: linear-gradient(135deg, #1a7a2e, #2eaa44); }
.service-card--rodents { background: linear-gradient(135deg, #5a3a1a, #8b5e2a); }
.service-card--sterilization { background: linear-gradient(135deg, #1a4a7a, #2a6aaa); }
.service-card-icon { font-size: 64px; padding: 36px 32px 12px; display: block; }
.service-card-content { padding: 0 32px 32px; }
.service-card-content h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.service-card-content p { font-size: 14px; opacity: 0.85; line-height: 1.7; margin-bottom: 20px; }
.service-link { font-size: 14px; font-weight: 700; opacity: 0.9; }

/* ---- INSECTS GRID ---- */
.insects-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.insect-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; background: var(--white); border-radius: var(--radius);
  border: 2px solid #eee; transition: var(--transition); text-align: center;
  font-size: 13px; font-weight: 600; color: var(--dark);
}
.insect-card:hover { border-color: var(--green); color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow); }
.insect-emoji { font-size: 36px; display: block; }

/* ---- WHY US ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-content .section-title { text-align: right; }
.why-content p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.why-list { margin-bottom: 32px; }
.why-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; font-weight: 500; border-bottom: 1px dashed #eee; }
.why-check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--green); color: var(--white); border-radius: 50%; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: var(--white); border-radius: var(--radius); padding: 28px 20px; border: 2px solid #eee; text-align: center; transition: var(--transition); }
.why-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.why-card-icon { font-size: 40px; margin-bottom: 12px; }
.why-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ---- PROCESS ---- */
.process-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.process-step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: var(--white); margin: 0 auto 16px; }
.step-content h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-content p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.step-arrow { font-size: 28px; color: rgba(255,255,255,0.3); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--dark);
  text-align: right; transition: var(--transition); gap: 16px;
}
.faq-question:hover { color: var(--green); }
.faq-icon { font-size: 22px; font-weight: 300; color: var(--green); flex-shrink: 0; transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer p { font-size: 15px; color: var(--gray); line-height: 1.8; padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--green); }

/* ---- CTA ---- */
.cta-section { position: relative; padding: 80px 0; background: linear-gradient(135deg, #0d4d1a, #1a7a2e); text-align: center; overflow: hidden; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { font-size: 32px; }
.footer-logo-main { font-size: 18px; font-weight: 900; color: var(--white); }
.footer-logo-sub { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-about { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-contact-info p { font-size: 14px; margin-bottom: 8px; }
.footer-contact-info a { color: var(--gold-light); }
.footer-heading { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-right: 6px; }
.footer-cta-btn { display: block; width: 100%; margin-bottom: 12px; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: wa-bounce 2s ease-in-out infinite;
}
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-float:hover { background: #1da851; transform: scale(1.1) !important; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0d4d1a, #1a7a2e);
  padding: 80px 0; text-align: center; color: var(--white);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 16px; opacity: 0.8; max-width: 600px; margin: 0 auto 24px; line-height: 1.7; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; opacity: 0.7; flex-wrap: wrap; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

/* ---- SERVICE PAGE ---- */
.service-detail { padding: 80px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.service-detail-content h2 { font-size: 28px; font-weight: 900; color: var(--green); margin-bottom: 16px; }
.service-detail-content p { font-size: 15px; color: var(--gray); line-height: 1.9; margin-bottom: 20px; }
.service-detail-content ul { margin: 16px 0 24px; }
.service-detail-content ul li { padding: 8px 0; font-size: 15px; border-bottom: 1px dashed #eee; display: flex; align-items: center; gap: 10px; }
.service-detail-content ul li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.service-sidebar { position: sticky; top: 90px; }
.sidebar-card { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.sidebar-card p { font-size: 14px; opacity: 0.85; margin-bottom: 24px; line-height: 1.7; }
.sidebar-card .btn { width: 100%; margin-bottom: 12px; }
.sidebar-links { background: var(--white); border-radius: var(--radius); border: 2px solid #eee; overflow: hidden; }
.sidebar-links h4 { padding: 16px 20px; font-weight: 700; background: var(--gray-light); border-bottom: 1px solid #eee; font-size: 15px; }
.sidebar-links ul li a { display: block; padding: 12px 20px; font-size: 14px; color: var(--dark); border-bottom: 1px solid #f0f0f0; transition: var(--transition); }
.sidebar-links ul li a:hover { color: var(--green); background: var(--green-pale); padding-right: 28px; }

/* ---- ABOUT PAGE ---- */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-placeholder { background: linear-gradient(135deg, var(--green), var(--green-light)); border-radius: var(--radius-lg); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 100px; }
.about-text h2 { font-size: 32px; font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.about-text p { font-size: 15px; color: var(--gray); line-height: 1.9; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--green-pale); border-radius: var(--radius); }
.value-icon { font-size: 24px; flex-shrink: 0; }
.value-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--gray); }

/* ---- CONTACT PAGE ---- */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 28px; font-weight: 900; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--green-pale); border-radius: var(--radius); border-right: 4px solid var(--green); }
.contact-item-icon { font-size: 28px; flex-shrink: 0; }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--gray); }
.contact-item a:hover { color: var(--green); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid #eee; border-radius: 8px;
  font-family: var(--font); font-size: 14px; color: var(--dark); transition: var(--transition);
  background: var(--white); direction: rtl;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,46,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }

/* ---- SERVICES LIST PAGE ---- */
.services-all { padding: 80px 0; }
.services-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-all-card {
  border-radius: var(--radius); border: 2px solid #eee; overflow: hidden;
  transition: var(--transition); display: block; color: var(--dark);
}
.service-all-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-all-card-top { background: linear-gradient(135deg, var(--green), var(--green-light)); padding: 32px; text-align: center; font-size: 56px; }
.service-all-card-body { padding: 24px; }
.service-all-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-all-card-body p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---- ANIMATIONS ---- */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid .feature-item:nth-child(4), .features-grid .feature-item:nth-child(5) { border-top: 1px solid #eee; }
  .services-main-grid { grid-template-columns: 1fr 1fr; }
  .services-main-grid .service-card:last-child { grid-column: 1 / -1; }
  .insects-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { gap: 40px; }
  .process-steps { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-all-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh; background: var(--white); z-index: 9999; padding: 80px 20px 40px; overflow-y: auto; box-shadow: -4px 0 20px rgba(0,0,0,0.15); transition: right 0.3s ease; }
  .nav.open { right: 0; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { padding: 14px 16px; font-size: 16px; border-bottom: 1px solid #eee; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--green-pale); border-radius: 0; padding: 0; }
  .dropdown li a { padding: 10px 32px; font-size: 14px; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .hero .container { flex-direction: column; padding: 60px 20px; text-align: center; }
  .hero-image { display: none; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .services-main-grid { grid-template-columns: 1fr; }
  .insects-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-all-grid { grid-template-columns: 1fr; }
  .why-content .section-title { text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .insects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 60px; height: 1px; }
}
