/* 
 * CSS stylesheet for "الدرع المثالي لمكافحة الحشرات والتعقيم بالرياض"
 * 100% Native, Modern, Responsive, and Performance-Optimized
 */

/* ==========================================================================
   1. VARIABLES & THEMING
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #0F172A;      /* Deep Slate / Navy Blue */
  --primary-light: #1E293B;      /* Secondary Slate */
  --accent-color: #10B981;       /* Premium Emerald Green */
  --accent-hover: #059669;       /* Darker Emerald */
  --accent-soft: rgba(16, 185, 129, 0.08);
  --text-dark: #0F172A;          /* Charcoal Black */
  --text-muted: #475569;         /* Slate Grey */
  --text-light: #F8FAFC;         /* Soft Off-White */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;           /* Ultra Light Grey (Slate 50) */
  --bg-slate: #F1F5F9;           /* Light Slate Grey (Slate 100) */
  --border-color: #E2E8F0;       /* Fine Slate Border */
  
  /* Bento Specific Palettes */
  --bento-bg-dark: #022C22;      /* Deep Forest Green - matches the emerald-900 look */
  --bento-border-dark: #047857;  /* Accent border for dark cards */
  
  /* Typography */
  --font-sans: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 12px 20px -8px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-accent: 0 10px 20px -3px rgba(16, 185, 129, 0.25);
  
  /* Layout Sizing & Spacing */
  --container-max-width: 1240px;
  --header-height: 76px;
  --announcement-height: 40px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Large Curved Radii for Bento Grid Blocks */
  --border-radius-sm: 16px;      /* Pill/badge/small button standard */
  --border-radius-md: 24px;      /* Bento small elements */
  --border-radius-lg: 32px;      /* Bento standard cards */
  --border-radius-xl: 40px;      /* Major Bento background blocks */
}

/* ==========================================================================
   2. GLOBAL RESETS & STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-light); /* Sleek slate-50 background for bento grids */
  color: var(--text-dark);
  line-height: 1.6;
  text-align: right;
  overflow-x: hidden;
  font-weight: 400;
}

/* Scrollbar design */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Utility Helpers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.text-emerald { color: var(--accent-color); }
.w-full { width: 100%; }
.inline { display: inline-block; }
.inline-block { display: inline-block; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Sections Layout */
section {
  padding: 80px 0;
  position: relative;
}

/* Button UI system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800; /* Extra bold headings / buttons */
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 16px; /* High-end rounded corners for buttons */
  transition: all var(--transition-normal);
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
}
.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.25);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 20px;
}

.icon-btn {
  vertical-align: middle;
}
.icon-btn-lg {
  vertical-align: middle;
}

/* ==========================================================================
   3. ANNOUNCEMENT & HEADER
   ========================================================================== */
.announcement-bar {
  background-color: var(--primary-color);
  color: var(--text-light);
  height: var(--announcement-height);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  position: relative;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.announcement-link {
  color: var(--accent-color);
  text-decoration: underline;
  margin-right: 5px;
}
.announcement-link:hover {
  color: var(--text-light);
}

/* Header - Floating Bento Bar */
.main-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  height: var(--header-height);
  position: sticky;
  top: 15px;
  left: 0;
  right: 0;
  margin: 15px auto;
  width: calc(100% - 40px);
  max-width: var(--container-max-width);
  border-radius: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: var(--bg-white);
  border-color: rgba(226, 232, 240, 0.8);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 55px;
}

.logo-img {
  max-height: 100%;
  width: auto;
}

/* Navigation List */
.nav-menu {
  display: block;
}

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

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  right: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-normal);
}

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

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 1001;
}

.hamburger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile overlay menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  transition: right var(--transition-slow);
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.close-menu-btn {
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1;
}

.close-menu-btn:hover {
  color: var(--primary-color);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-slate);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-color);
  padding-right: 8px;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
  background-color: transparent; /* Background handled by body's slate-50 */
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch; /* Cards stretch to equal height */
  gap: 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  background-color: var(--bento-bg-dark); /* Rich emerald-900 backdrop */
  color: var(--text-light);
  padding: 50px;
  border-radius: var(--border-radius-xl); /* rounded-[2.5rem] */
  border: 1px solid var(--bento-border-dark);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

/* Elegant wave overlay inside dark bento block to match design */
.hero-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(circle at 100% 150%, #ffffff 24%, transparent 24%),
                    radial-gradient(circle at 0% 150%, #ffffff 24%, transparent 24%);
  background-size: 40px 40px;
  pointer-events: none;
}

.trust-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399; /* Bright emerald text */
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-blur: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--bg-white);
  letter-spacing: -0.01em;
}

.hero-title .highlight {
  color: #34D399; /* Vibrant emerald highlight */
  position: relative;
  z-index: 1;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  background-color: rgba(52, 211, 153, 0.15);
  bottom: 4px;
  left: 0;
  z-index: -1;
  border-radius: 4px;
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(248, 250, 252, 0.75); /* Soft white text */
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  margin-top: 10px;
  z-index: 2;
}

/* White clean bento button for the primary CTA inside the dark card */
.hero-ctas .btn-primary {
  background-color: var(--bg-white);
  color: var(--bento-bg-dark);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-ctas .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Stats in Hero Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  z-index: 2;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #34D399; /* Beautiful bright gold-green */
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

/* Hero Image Section */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.hero-image-glow {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  top: 5%;
  left: 5%;
  border-radius: 50%;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-slow);
}

.hero-main-img:hover {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  border: 1px solid var(--border-color);
}

.badge-guarantee {
  bottom: 30px;
  right: -20px;
  border-right: 4px solid var(--accent-color);
  animation: floatUp 4s ease-in-out infinite;
}

.badge-inspection {
  top: 40px;
  left: -20px;
  border-left: 4px solid var(--accent-color);
  animation: floatDown 4.5s ease-in-out infinite;
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
}

.badge-tick {
  font-size: 1.4rem;
  font-weight: 900;
  color: #25D366;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

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

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================================================
   5. TRUST BAR (BENEFITS)
   ========================================================================== */
.trust-bar {
  background-color: transparent;
  border: none;
  padding: 20px 0 40px;
  z-index: 5;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.2);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.trust-card-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: transparent;
}

.section-header {
  margin-bottom: 50px;
  max-width: 680px;
}

.sub-heading {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  background-color: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 15px;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg); /* rounded-[2rem] spacing */
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: transparent;
  transition: background var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.service-card:hover::before {
  background-color: var(--accent-color);
}

.service-icon-wrapper {
  width: 68px;
  height: 68px;
  background-color: #ECFDF5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  transform: rotate(-5deg) scale(1.05);
}

.service-icon {
  width: 44px;
  height: 44px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-bullets {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: 900;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: var(--accent-hover);
  padding-right: 4px;
}

/* ==========================================================================
   7. WHY CHOOSE US
   ========================================================================== */
.why-us-section {
  background-color: transparent; /* Seamless blend on page */
  overflow: hidden;
  padding: 80px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch; /* stretch to equal height */
}

.why-us-visual {
  position: relative;
  display: flex;
  justify-content: center;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.why-us-glow {
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: 5%;
  left: 5%;
  z-index: 1;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-color);
}

.why-badge {
  position: absolute;
  top: 40px;
  right: 40px;
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.why-badge-title {
  font-weight: 800;
  font-size: 1.1rem;
}

.why-badge-sub {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 600;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background-color: var(--bento-bg-dark); /* Premium dark emerald bento card */
  color: var(--text-light);
  border-radius: var(--border-radius-xl);
  border: 1px solid var(--bento-border-dark);
  padding: 50px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

/* Elegant radial pattern for why choose us bento block */
.why-us-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.section-desc-light {
  color: rgba(248, 250, 252, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
  z-index: 2;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.check-mark {
  font-weight: 900;
  font-size: 1.1rem;
}

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 6px;
}

.feature-text p {
  color: rgba(248, 250, 252, 0.65);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   8. PROCESS STEPS SECTION
   ========================================================================== */
.steps-section {
  background-color: transparent; /* Smooth container flow */
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 20px;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px 35px;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.2);
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-color);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: 25px;
  right: 25px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.step-arrow {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: bold;
}

.step-success-badge {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* ==========================================================================
   9. COVERAGE SECTION (SERVICE AREAS)
   ========================================================================== */
.coverage-section {
  background-color: var(--bg-light);
  padding-bottom: 60px;
}

.coverage-box {
  background: linear-gradient(135deg, var(--bento-bg-dark) 0%, #012019 100%);
  border-radius: var(--border-radius-xl);
  padding: 60px;
  color: var(--text-light);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--bento-border-dark);
  position: relative;
}

/* Add grid accent pattern inside coverage block */
.coverage-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: linear-gradient(0deg, #ffffff 1px, transparent 1px),
                    linear-gradient(90deg, #ffffff 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

.coverage-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
}

.coverage-lead {
  color: rgba(248, 250, 252, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
}

.regions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 10px 0;
}

.region-pill {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.5;
  transition: all var(--transition-fast);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-color);
  flex-shrink: 0;
}

.region-pill strong {
  color: var(--accent-color);
  white-space: nowrap;
}

.coverage-action {
  margin-top: 10px;
}

/* Abstract Radar coverage map visualizer */
.coverage-map-visual {
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
}

.pulse-ring {
  position: absolute;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  animation: radarPulse 4s infinite linear;
  opacity: 0;
}

.ring-1 {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.ring-2 {
  width: 160px;
  height: 160px;
  animation-delay: 1.3s;
}

.ring-3 {
  width: 240px;
  height: 240px;
  animation-delay: 2.6s;
}

.map-center-pin {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-head {
  width: 18px;
  height: 18px;
  background-color: var(--accent-color);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 15px var(--accent-color);
}

.pin-label {
  margin-top: 12px;
  background-color: var(--bg-white);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  border: 1px solid var(--accent-color);
}

@keyframes radarPulse {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   10. CLIENT REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  background-color: var(--bg-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.2);
}

.review-stars {
  color: #FBBF24; /* Warm Gold stars */
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.review-comment {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: normal; /* Elegant premium sans font is clean */
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.review-card:nth-child(2) .author-avatar {
  background-color: var(--accent-color);
}

.review-card:nth-child(3) .author-avatar {
  background-color: #3B82F6; /* Accent blue */
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   11. FINAL CALL TO ACTION (CTA)
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--bento-bg-dark) 0%, #011C16 100%);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--bento-border-dark);
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
  bottom: -300px;
  left: -200px;
  z-index: 1;
  border-radius: 50%;
}

.cta-container {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 50px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: 40px;
  max-width: 680px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.btn-cta-main {
  background-color: var(--bg-white);
  color: var(--bento-bg-dark);
}
.btn-cta-main:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-cta-whatsapp {
  background-color: #25D366;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 45px;
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-trust .divider {
  opacity: 0.3;
}

/* ==========================================================================
   12. FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: #0B0F19; /* Ultra Dark slate background */
  color: #94A3B8;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 55px;
  width: auto;
  align-self: flex-start;
  filter: brightness(1.1);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.f-badge {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--accent-color);
  font-weight: 700;
}

.footer-title {
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  right: 0;
}

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

.footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-right: 4px;
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-contact-item strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
}

.footer-phone-link {
  font-weight: 800;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.footer-whatsapp-link {
  font-weight: 800;
  color: #25D366;
}

.footer-bottom {
  background-color: #060910;
  padding: 25px 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ==========================================================================
   13. STICKY ACTION BAR FOR MOBILE (>= 44px targets)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 15px rgba(15, 23, 42, 0.12);
  display: none; /* Hidden on desktop */
  grid-template-columns: 1fr 1fr;
  z-index: 998;
  border-top: 1px solid var(--border-color);
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--bg-white);
  height: 100%;
}

.sticky-call {
  background-color: var(--accent-color);
}

.sticky-call:hover {
  background-color: var(--accent-hover);
}

.sticky-whatsapp {
  background-color: #25D366;
}

.sticky-whatsapp:hover {
  background-color: #128C7E;
}

/* ==========================================================================
   14. ANIMATION & SYSTEM SUPPORT
   ========================================================================== */
/* Intersection observer dynamic transitions - only active if JS is enabled */
.js-enabled .animate-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js-enabled .animate-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pulse-dot, .pulse-ring, .floating-badge {
    animation: none !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   15. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {
  .nav-menu {
    display: none; /* Hide navigation links on tablet/mobile */
  }
  
  .hamburger-btn {
    display: flex; /* Show Hamburger menu */
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-main-img {
    max-width: 420px;
    margin: 0 auto;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .why-us-visual {
    order: 2;
  }
  
  .why-img {
    max-width: 480px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .step-card {
    padding: 30px;
  }
  
  .step-arrow {
    display: none; /* No arrows on vertical mobile timeline */
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .region-pill {
    justify-content: flex-start;
    text-align: right;
  }
  
  .coverage-action {
    display: flex;
    justify-content: center;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .main-header {
    height: 70px;
  }
  
  .btn-call-header, .btn-whatsapp-header {
    display: none; /* Hide buttons in mobile header, we have the sticky bottom bar instead */
  }
  
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .coverage-box {
    padding: 40px 20px;
  }
  
  .mobile-sticky-bar {
    display: grid; /* Show sticky bar on mobile */
  }
  
  /* Prevent content cutting by mobile bottom sticky bar */
  body {
    padding-bottom: 60px;
  }
}

/* Tiny Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .floating-badge {
    display: none; /* Hide floating badges on very small phones to prevent layout overlap */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-logo {
    align-self: center;
  }
  
  .brand-col {
    text-align: center;
  }
  
  .footer-badges {
    justify-content: center;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   16. DEVELOPER DOWNLOAD WIDGET (PREVIEW ONLY)
   ========================================================================== */
.dev-download-widget {
  position: fixed;
  bottom: 80px; /* high enough so it doesn't block the mobile sticky bar */
  left: 20px;
  z-index: 10000;
  animation: floatUp 3s ease-in-out infinite;
}

.dev-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
  border: 2px solid var(--accent-color);
  transition: all var(--transition-normal);
  direction: rtl;
}

.dev-download-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: scale(1.05);
  box-shadow: var(--shadow-accent);
}

/* Hide or shrink on small screens */
@media (max-width: 768px) {
  .dev-download-widget {
    bottom: 75px;
    left: 10px;
  }
  .dev-download-btn {
    padding: 10px 14px;
    font-size: 0.78rem;
  }
}
