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

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --font-main: 'Cairo', sans-serif;
  
  /* Color Palette */
  --clr-navy: #061827;
  --clr-navy-light: #0d2943;
  --clr-navy-dark: #030c14;
  --clr-aqua: #00D8FF;
  --clr-turquoise: #28F0D0;
  --clr-pearl: #F8FCFF;
  --clr-silver: #E8F1F5;
  --clr-gold: #D9B45B;
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(6, 24, 39, 0.75);
  --glass-border: rgba(0, 216, 255, 0.15);
  --glass-glow: rgba(40, 240, 208, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container sizes */
  --container-width: 1200px;
}

/* --- BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-turquoise) var(--clr-navy);
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--clr-navy);
  color: var(--clr-silver);
  font-family: var(--font-main);
  direction: rtl;
}

@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--clr-navy-light) 0%, var(--clr-navy) 70%);
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--clr-navy-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--clr-aqua), var(--clr-turquoise));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-turquoise);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--clr-pearl);
  font-weight: 700;
  line-height: 1.3;
}

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

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

/* Common Layout Wrapper */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: rgba(0, 216, 255, 0.08);
  border: 1px solid rgba(0, 216, 255, 0.2);
  color: var(--clr-turquoise);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--clr-pearl) 30%, var(--clr-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #a4b8c4;
  line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-aqua), var(--clr-turquoise));
  color: var(--clr-navy-dark);
  box-shadow: 0 4px 20px rgba(40, 240, 208, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-turquoise), var(--clr-aqua));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(40, 240, 208, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--clr-pearl);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--clr-aqua);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 216, 255, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, #FCE08F, var(--clr-gold));
  color: var(--clr-navy-dark);
  box-shadow: 0 4px 20px rgba(217, 180, 91, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 25px rgba(217, 180, 91, 0.4);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

/* --- STICKY GLASS HEADER --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background: rgba(6, 24, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(3, 12, 20, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 65px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 220px;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-silver);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to left, var(--clr-turquoise), var(--clr-aqua));
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--clr-turquoise);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--clr-pearl);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Safe viewport height - doesn't change when browser chrome toggles */
  padding-top: 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  background: linear-gradient(to top, rgba(6, 24, 39, 0.9), transparent);
  z-index: 2;
  opacity: 0.2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 3;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: opacity, transform;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(0, 216, 255, 0.07);
  border: 1px solid rgba(0, 216, 255, 0.2);
  color: var(--clr-aqua);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--clr-turquoise);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-turquoise);
  animation: pulseGlow 1.5s infinite alternate;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--clr-pearl) 20%, #d8ecf8 60%, var(--clr-turquoise) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.15rem;
  color: #a4b8c4;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-silver);
}

.trust-item svg {
  color: var(--clr-turquoise);
  width: 16px;
  height: 16px;
}

/* 3D Cleaning Sphere Container */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 500px;
  overflow: hidden;
}

.sphere-stage {
  position: relative;
  width: 380px;
  height: 380px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.cleaning-sphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(40, 240, 208, 0.1) 40%, rgba(6, 24, 39, 0.6) 80%);
  box-shadow: 
    inset 0 0 40px rgba(255, 255, 255, 0.4),
    inset -20px -20px 60px rgba(0, 0, 0, 0.7),
    0 10px 40px rgba(0, 216, 255, 0.25);
  backdrop-filter: blur(3px);
  animation: floatSphere 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sphere-wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(180deg, transparent 40%, rgba(40, 240, 208, 0.3) 60%, rgba(0, 216, 255, 0.5) 100%);
  border-radius: 43%;
  animation: waveSpin 12s linear infinite;
  z-index: 1;
}

.sphere-wave:nth-child(2) {
  bottom: 5px;
  border-radius: 40%;
  background: rgba(0, 216, 255, 0.25);
  animation: waveSpin 9s linear infinite reverse;
  z-index: 2;
}

.sphere-logo {
  width: 110px;
  height: 110px;
  z-index: 5;
  filter: drop-shadow(0 0 15px rgba(0, 216, 255, 0.8));
  animation: rotateLogo 15s linear infinite;
  opacity: 0.85;
}

.floating-element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(0, 216, 255, 0.1);
  backdrop-filter: blur(5px);
  z-index: 6;
  animation: floatElement 4s ease-in-out infinite alternate;
}

.fe-1 { top: 10%; right: 5%; animation-delay: 0s; }
.fe-2 { bottom: 15%; left: 0%; animation-delay: 0.5s; color: var(--clr-gold); }
.fe-3 { top: 60%; right: 0%; animation-delay: 1s; color: var(--clr-aqua); }
.fe-4 { top: -5%; left: 15%; animation-delay: 1.5s; }

.floating-element svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px currentColor);
}

.bubble-particle {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6) 0%, rgba(0, 216, 255, 0.1) 70%);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5), 0 2px 10px rgba(0, 216, 255, 0.15);
  animation: bubbleRise 10s linear infinite;
  z-index: 2;
}

.sparkle-particle {
  position: absolute;
  pointer-events: none;
  color: var(--clr-gold);
  filter: drop-shadow(0 0 8px var(--clr-gold));
  animation: sparkleBlink 3s ease-in-out infinite;
  z-index: 4;
}

/* --- QUICK SERVICES SECTION --- */
.services-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Sweep Shimmer effect */
.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(0, 216, 255, 0.15) 50%, transparent 55%);
  transition: var(--transition-slow);
  transform: translate(-30%, -30%) rotate(45deg);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 240, 208, 0.4);
  box-shadow: 0 15px 35px rgba(0, 216, 255, 0.15), 0 0 15px rgba(40, 240, 208, 0.1);
}

.service-card:hover::before {
  transform: translate(30%, 30%) rotate(45deg);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 216, 255, 0.08);
  border: 1px solid rgba(0, 216, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--clr-turquoise);
  color: var(--clr-navy-dark);
  box-shadow: 0 0 15px var(--clr-turquoise);
  transform: scale(1.05) rotate(-5deg);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 3px currentColor);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--clr-pearl);
}

.service-card p {
  font-size: 0.9rem;
  color: #a4b8c4;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Double buttons inside service card */
.service-actions {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  align-items: center;
}

.service-card-btn {
  flex-grow: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-navy-dark);
  background: var(--clr-turquoise);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: var(--transition-fast);
}

.service-card-btn:hover {
  background: var(--clr-aqua);
  box-shadow: 0 4px 10px rgba(0, 216, 255, 0.2);
}

.service-card-btn svg {
  width: 14px;
  height: 14px;
}

.service-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-wa-btn:hover {
  background: #25D366;
  color: #fff;
}

.service-wa-btn svg {
  width: 16px;
  height: 16px;
}

/* --- QUALITY ASSURANCE SECTION (Timeline/Checklist) --- */
.quality-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 10% 50%, rgba(40, 240, 208, 0.03) 0%, transparent 60%);
  overflow: hidden;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quality-image-box {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(6, 24, 39, 0.6) 0%, rgba(13, 41, 67, 0.8) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.quality-3d-visual {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 216, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 216, 255, 0.1);
  animation: pulseGlowCircle 3s infinite alternate;
}

.quality-3d-visual svg {
  width: 100px;
  height: 100px;
  color: var(--clr-turquoise);
  filter: drop-shadow(0 0 10px var(--clr-turquoise));
}

.quality-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quality-item {
  display: flex;
  gap: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 16px;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.quality-item:hover {
  border-color: rgba(40, 240, 208, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 216, 255, 0.05);
}

.quality-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 216, 255, 0.08);
  border: 1px solid rgba(0, 216, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  flex-shrink: 0;
}

.quality-item:hover .quality-icon {
  background: var(--clr-turquoise);
  color: var(--clr-navy-dark);
}

.quality-icon svg {
  width: 22px;
  height: 22px;
}

.quality-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--clr-pearl);
}

.quality-info p {
  font-size: 0.88rem;
  color: #a4b8c4;
  line-height: 1.6;
}

/* --- CLIENT PATHS SECTION (Split layout) --- */
.client-paths-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 90% 50%, rgba(0, 216, 255, 0.03) 0%, transparent 60%);
  overflow: hidden;
}

.client-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.path-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem 2.25rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
}

/* Top corner highlight tag */
.path-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--clr-aqua), var(--clr-turquoise));
  opacity: 0.3;
}

.path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 216, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 216, 255, 0.08);
}

.path-card:hover::after {
  opacity: 1;
}

.path-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--clr-pearl), var(--clr-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.path-desc {
  font-size: 0.9rem;
  color: #a4b8c4;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.path-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.path-services-list li {
  font-size: 0.92rem;
  color: var(--clr-silver);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.path-services-list li svg {
  color: var(--clr-turquoise);
  width: 16px;
  height: 16px;
}

.path-cta-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

/* --- WHY US SECTION (Orbit Graphic) --- */
.why-us {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 10% 50%, rgba(0, 216, 255, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.feature-item:hover {
  border-color: rgba(40, 240, 208, 0.3);
  box-shadow: 0 10px 25px rgba(0, 216, 255, 0.08);
  transform: translateY(-4px);
}

.feature-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--clr-turquoise);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--clr-aqua), var(--clr-turquoise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-num span {
  width: 25px;
  height: 1px;
  background: rgba(0, 216, 255, 0.3);
}

.feature-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: #a4b8c4;
  line-height: 1.6;
}

.orbit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.orbit-center {
  width: 140px;
  height: 140px;
  background: var(--glass-bg);
  border: 2px solid var(--clr-turquoise);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(40, 240, 208, 0.25), inset 0 0 20px rgba(40, 240, 208, 0.1);
  z-index: 10;
  animation: pulseOrbitCenter 3s infinite alternate;
}

.orbit-logo {
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 0 8px rgba(0, 216, 255, 0.6));
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(0, 216, 255, 0.25);
  border-radius: 50%;
  z-index: 1;
}

.ring-1 {
  width: 260px;
  height: 260px;
  animation: rotateClockwise 25s linear infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;
  animation: rotateCounterClockwise 35s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--clr-navy-light);
  border: 1px solid var(--clr-aqua);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.orbit-node:hover {
  transform: scale(1.15);
  background: var(--clr-turquoise);
  color: var(--clr-navy-dark);
  box-shadow: 0 0 15px var(--clr-turquoise);
}

.orbit-node svg {
  width: 22px;
  height: 22px;
}

.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.node-3 { top: 50%; left: 0; transform: translate(-50%, -50%); }
.node-4 { top: 50%; right: 0; transform: translate(50%, -50%); }

/* --- BEFORE / AFTER SECTION --- */
/* --- BEFORE / AFTER SECTION (UPGRADED) --- */
.before-after {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(40, 240, 208, 0.04) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.before-after-card {
  background: rgba(6, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 1.75rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-normal), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--transition-bounce), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.before-after-card:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 240, 208, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(40, 240, 208, 0.1);
}

.before-after-card .card-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-pearl);
  margin-bottom: 0.5rem;
}

.before-after-card .card-header p {
  font-size: 0.85rem;
  color: var(--clr-silver);
  line-height: 1.5;
}

.slider-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  touch-action: pan-y;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slide-before {
  z-index: 1;
}

.slide-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  z-index: 2;
  overflow: hidden;
}

.slide-after .slide-img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Ensure the inner image inside slide-after matches the container's aspect ratio/width precisely to prevent visual shift */
.slider-container .slide-after .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(6, 24, 39, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--clr-pearl);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  z-index: 10;
  pointer-events: none;
}

.label-before {
  right: 1rem;
}

.label-after {
  left: 1rem;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(40, 240, 208, 0.8);
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(40, 240, 208, 0.6);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(6, 24, 39, 0.85);
  border: 2px solid rgba(40, 240, 208, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(40, 240, 208, 0.8);
  box-shadow: 0 0 12px rgba(40, 240, 208, 0.3), 0 4px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.slider-container:hover .slider-button,
.slider-container.dragging .slider-button {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: rgba(0, 216, 255, 1);
  color: rgba(0, 216, 255, 1);
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.5), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slider-button svg {
  width: 16px;
  height: 16px;
}

.before-after-card .card-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
}

.result-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-silver);
  backdrop-filter: blur(5px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.result-pill:hover {
  background: rgba(40, 240, 208, 0.04);
  border-color: rgba(40, 240, 208, 0.2);
  color: var(--clr-pearl);
}

.result-pill svg {
  color: var(--clr-turquoise);
  width: 14px;
  height: 14px;
}

.btn-whatsapp-small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.btn-whatsapp-small:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}

.before-after-cta-box {
  background: linear-gradient(135deg, rgba(6, 24, 39, 0.6), rgba(6, 24, 39, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  margin-top: 5rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-normal);
}

.before-after-cta-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-pearl);
  margin-bottom: 1.5rem;
}

.before-after-cta-box .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .before-after-cta-box {
    padding: 2rem;
  }
  .before-after-cta-box h3 {
    font-size: 1.4rem;
  }
}



/* --- SERVICE JOURNEY SECTION (Timeline) --- */
.journey {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left, var(--clr-aqua), var(--clr-turquoise));
  box-shadow: 0 0 10px var(--clr-turquoise);
  transition: width 0.1s linear;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--clr-navy-light);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: #a4b8c4;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
  position: relative;
}

.timeline-step.active .step-node {
  border-color: var(--clr-turquoise);
  color: var(--clr-turquoise);
  box-shadow: 0 0 20px rgba(40, 240, 208, 0.4);
  background: var(--clr-navy);
}

.step-node-icon {
  position: absolute;
  bottom: -5px;
  left: -5px;
  width: 22px;
  height: 22px;
  background: var(--clr-turquoise);
  border-radius: 50%;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-normal);
}

.timeline-step.active .step-node-icon {
  opacity: 1;
  transform: scale(1);
}

.timeline-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: var(--transition-normal);
}

.timeline-step.active h4 {
  color: var(--clr-turquoise);
}

.timeline-step p {
  font-size: 0.85rem;
  color: #a4b8c4;
  line-height: 1.6;
}

/* --- SERVICE AREAS SECTION (Interactive Map) --- */
.areas-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 216, 255, 0.04) 0%, transparent 60%);
  overflow: hidden;
}

.areas-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4rem;
}

.map-container {
  position: relative;
  width: 100%;
  height: 380px;
  background: rgba(6, 24, 39, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 216, 255, 0.05);
  backdrop-filter: blur(5px);
}

.map-svg-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.pin-glow {
  width: 12px;
  height: 12px;
  background-color: var(--clr-turquoise);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--clr-turquoise);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pin-glow::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--clr-turquoise);
  border-radius: 50%;
  animation: pulseGlowCircle 2s infinite linear;
}

.pin-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(3, 12, 20, 0.85);
  border: 1px solid var(--clr-aqua);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  color: var(--clr-pearl);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(5px);
}

.map-pin:hover .pin-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pin-dammam { top: 40%; left: 62%; }
.pin-khobar { top: 45%; left: 67%; }
.pin-dhahran { top: 48%; left: 64%; }
.pin-qatif { top: 32%; left: 58%; }
.pin-jubail { top: 22%; left: 45%; }
.pin-ahsa { top: 72%; left: 75%; }

.areas-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.area-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--clr-silver);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.area-pill:hover {
  background: rgba(0, 216, 255, 0.08);
  border-color: var(--clr-aqua);
  color: var(--clr-aqua);
  transform: translateY(-2px);
}

.districts-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-pearl);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.districts-title span {
  flex-grow: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.districts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.district-item {
  font-size: 0.85rem;
  color: #a4b8c4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.district-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--clr-turquoise);
  opacity: 0.6;
}

/* --- TRUST STATS SECTION --- */
.stats-section {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(13, 41, 67, 0.35) 0%, rgba(6, 24, 39, 0.98) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* Background glowing effect in stats section */
.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(40, 240, 208, 0.06) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 216, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Staggered entrance animation helper classes triggered by JS */
.stats-section.revealed .stat-card.reveal-item {
  opacity: 0;
  transform: translateY(35px);
  animation: statsFadeIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  will-change: opacity, transform;
}

.stats-section.revealed .stat-card:nth-child(1) { animation-delay: 0.1s; }
.stats-section.revealed .stat-card:nth-child(2) { animation-delay: 0.25s; }
.stats-section.revealed .stat-card:nth-child(3) { animation-delay: 0.4s; }
.stats-section.revealed .stat-card:nth-child(4) { animation-delay: 0.55s; }

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

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 240, 208, 0.35);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 40px rgba(0, 216, 255, 0.12);
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.15) rotate(5deg);
  background: rgba(40, 240, 208, 0.15);
  color: var(--clr-turquoise);
  box-shadow: 0 0 20px rgba(40, 240, 208, 0.3);
}

.stat-card:hover .stat-number {
  transform: scale(1.05);
}

.stat-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 216, 255, 0.05);
  border: 1px solid rgba(0, 216, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--clr-aqua);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--clr-pearl);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--clr-pearl) 30%, var(--clr-turquoise) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: -0.5px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 700;
  color: #a4b8c4;
  letter-spacing: 0.2px;
}

/* Responsive stats section */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .stat-card {
    padding: 2.5rem 1.5rem;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Fits 4 cards beautifully in 2x2 grid */
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 216, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 216, 255, 0.08);
}

.stars-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

.stars-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--clr-silver);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 216, 255, 0.1);
  border: 1px solid rgba(0, 216, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.8rem;
  color: #a4b8c4;
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 10% 50%, rgba(40, 240, 208, 0.03) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(0, 216, 255, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  font-family: var(--font-main);
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  transition: var(--transition-fast);
}

.faq-item.active .faq-question h3 {
  color: var(--clr-turquoise);
}

.faq-icon-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-silver);
  transition: var(--transition-normal);
}

.faq-item.active .faq-icon-box {
  transform: rotate(180deg);
  color: var(--clr-turquoise);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem 2rem;
  color: #a4b8c4;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- FINAL CTA SECTION --- */
.final-cta {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(6, 24, 39, 0.95) 0%, rgba(13, 41, 67, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 216, 255, 0.1);
  backdrop-filter: blur(15px);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(40, 240, 208, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 5;
  max-width: 750px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--clr-pearl) 30%, var(--clr-turquoise) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 1.15rem;
  color: #a4b8c4;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* --- FOOTER --- */
.main-footer {
  background: var(--clr-navy-dark);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 3rem 0;
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-logo-box {
  margin-bottom: 1.5rem;
  max-width: 240px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #a4b8c4;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-turquoise);
}

.footer-contact-link svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--clr-pearl);
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #a4b8c4;
}

.footer-links a:hover {
  color: var(--clr-turquoise);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #728490;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* --- DYNAMIC FLOATING BUTTONS / STICKY BAR --- */
.desktop-floating-actions {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 990;
  transition: opacity 0.3s ease;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-4px);
}

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

.float-phone {
  background-color: var(--clr-aqua);
}

.float-quote {
  background-color: var(--clr-gold);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(3, 12, 20, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  z-index: 999;
  overflow: hidden;
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.mobile-sticky-grid .btn {
  padding: 0.7rem 0.35rem;
  font-size: 0.8rem;
  border-radius: 10px;
  gap: 0.3rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-grid svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.has-mobile-bar {
  padding-bottom: 82px;
}

/* --- QUANTITY ESTIMATOR MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--clr-navy-light);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(40, 240, 208, 0.15);
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem;
  background: rgba(3, 12, 20, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-pearl), var(--clr-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--clr-silver);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--clr-turquoise);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-pearl);
}

.form-control {
  background: rgba(3, 12, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  color: var(--clr-pearl);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-normal);
  outline: none;
}

.form-control:focus {
  border-color: var(--clr-turquoise);
  box-shadow: 0 0 10px rgba(40, 240, 208, 0.25);
  background: rgba(3, 12, 20, 0.7);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.05rem;
}

.success-message {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(40, 240, 208, 0.1);
  border: 2px solid var(--clr-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-turquoise);
  box-shadow: 0 0 20px rgba(40, 240, 208, 0.3);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon-box svg {
  width: 36px;
  height: 36px;
}

.success-message h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-pearl);
}

.success-message p {
  color: #a4b8c4;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- MOTION & STAGGER REVEALS --- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  animation: revealUp 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: opacity, transform;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.25s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.55s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.7s; }

/* --- KEYFRAME ANIMATIONS --- */
@keyframes revealUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 5px var(--clr-turquoise); }
  100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px var(--clr-turquoise); }
}

@keyframes floatSphere {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes waveSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateLogo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes floatElement {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes bubbleRise {
  0% { transform: translateY(100%) scale(0.6); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-200px) scale(1.1); opacity: 0; }
}

@keyframes sparkleBlink {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(90deg); opacity: 1; }
}

@keyframes pulseOrbitCenter {
  0% { box-shadow: 0 0 25px rgba(40, 240, 208, 0.25); border-color: var(--clr-turquoise); }
  100% { box-shadow: 0 0 45px rgba(0, 216, 255, 0.45); border-color: var(--clr-aqua); }
}

@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes pulseGlowCircle {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes scaleIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  .section-title { font-size: 2rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-badge, .hero-cta, .trust-strip {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
    height: 300px;
    overflow: hidden;
  }
  
  .floating-element {
    display: none !important;
  }
  
  .sphere-stage {
    width: 260px;
    height: 260px;
  }
  
  .sphere-logo {
    width: 75px;
    height: 75px;
  }
  
  .quality-grid, .why-us-grid, .areas-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .quality-image-box {
    height: 280px;
  }
  
  .client-paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-grid .orbit-visual {
    order: -1;
    height: 340px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Spacing & Above the fold prioritization */
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .container {
    padding-inline: 16px;
    max-width: 100%;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browser chrome */
    background: var(--clr-navy-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    z-index: 1000;
    padding: 2rem;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
  }
  
  .nav-menu.active {
    right: 0;
    visibility: visible;
  }
  
  .nav-link {
    font-size: 1.3rem;
  }
  
  .header-actions {
    display: none;
  }

  /* Above the Fold optimization */
  .hero {
    padding-top: 90px;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    margin-bottom: 1rem;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: normal;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-visual {
    height: 160px; /* Highly compact height for visual to push text and buttons up */
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .sphere-stage {
    width: 140px;
    height: 140px;
  }

  .sphere-logo {
    width: 45px;
    height: 45px;
  }

  .floating-element {
    display: none; /* Hide heavy icons on mobile to prevent CLS and lag */
  }

  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta .btn {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-width: 0;
  }

  .trust-strip {
    gap: 0.75rem;
    padding-top: 1rem;
  }
  
  /* Timeline Responsive (Vertical) */
  .timeline-line {
    top: 0;
    left: auto;
    right: 27px;
    width: 2px;
    height: 90%;
  }
  
  .timeline-progress {
    width: 100%;
    height: 0;
    transition: height 0.1s linear;
  }
  
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: right;
  }
  
  .timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: right;
  }
  
  .step-node {
    margin: 0;
    flex-shrink: 0;
  }
  
  .timeline-step-content {
    padding-top: 0.5rem;
    flex: 1;
    min-width: 0;
  }

  .client-paths-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card::after {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .desktop-floating-actions {
    display: none;
  }
  
  .mobile-sticky-bar {
    display: block;
  }
  
  .cta-box {
    padding: 3rem 1.25rem;
    border-radius: 20px;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .before-after-cta-box .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .before-after-cta-box .cta-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  /* Orbit Visual Responsive (Why-us section) */
  .orbit-visual {
    height: 280px;
    overflow: hidden;
  }
  .orbit-center {
    width: 90px;
    height: 90px;
  }
  .orbit-logo {
    width: 45px;
    height: 45px;
  }
  .ring-1 {
    width: 170px;
    height: 170px;
  }
  .ring-2 {
    width: 240px;
    height: 240px;
  }

  /* Quality section mobile */
  .quality-grid {
    gap: 2.5rem;
  }

  .quality-image-box {
    height: 220px;
  }

  /* All sections: reduce padding on mobile */
  .services-section,
  .quality-section,
  .client-paths-section,
  .why-us,
  .before-after,
  .journey,
  .areas-section,
  .testimonials,
  .faq-section,
  .final-cta {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Services Grid & Card responsiveness */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    padding: 1.75rem 1.5rem;
    min-width: 0;
  }

  .service-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin-top: auto;
  }

  .service-card-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.9rem;
    border-radius: 10px;
    height: 44px;
    max-width: 100%;
    min-width: 0;
  }

  .service-wa-btn {
    width: 100%;
    height: 44px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    max-width: 100%;
    min-width: 0;
  }

  .service-wa-btn::after {
    content: "واتساب مباشر";
  }

  .service-wa-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Path cards mobile */
  .path-card {
    padding: 2rem 1.5rem 1.75rem;
  }

  /* Areas grid mobile */
  .areas-grid {
    gap: 2.5rem;
  }

  .map-container {
    height: 260px;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 1.25rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
  }

  /* Footer column responsiveness */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Bottom bar padding */
  .has-mobile-bar {
    padding-bottom: 82px !important;
  }

  /* Testimonial/stat card mobile */
  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .stat-card {
    padding: 2rem 1.5rem;
  }

  /* Service illustration mobile */
  .service-illustration-box {
    width: min(240px, 100%);
    height: min(240px, 100%);
    max-width: 100%;
  }

  /* Enforce strict hardware-accelerated clipping to prevent animated decorations from causing overflow */
  .hero-visual,
  .cleaning-sphere,
  .quality-image-box,
  .orbit-visual,
  .service-illustration-box {
    transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
  }

  /* ===== MOBILE SAFETY NET ===== */
  /* Prevent accidental horizontal drag/swipe */
  html {
    touch-action: pan-y;
  }

  /* Prevent long text from overflowing */
  body {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Hero title word safety */
  .hero-title {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Hero badge must not exceed viewport */
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  /* Disable all horizontal motion on mobile — fade up only */
  .hero-content,
  .reveal-stagger > *,
  .stats-section.revealed .stat-card.reveal-item {
    will-change: opacity, transform;
  }

  /* Ensure NO section exceeds viewport */
  section,
  .main-footer,
  .main-header {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
  
  .districts-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Slider label and button scaling on very small mobile screens */
  .slide-label {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    top: 0.5rem;
  }
  .label-before { right: 0.5rem; }
  .label-after { left: 0.5rem; }
  .slider-button {
    width: 32px;
    height: 32px;
  }
  .slider-button svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================
   ADDITIONAL STYLES FOR SERVICE PAGES
   ========================================== */

/* Nav Dropdown for Services */
.nav-item.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  margin-right: 0.35rem;
  display: inline-block;
  transition: transform var(--transition-fast);
  color: var(--clr-turquoise);
}

.nav-item.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%) translateY(12px);
  width: 280px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--glass-glow);
  border-radius: 12px;
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-silver);
  transition: var(--transition-fast);
  text-align: right;
  border-right: 2px solid transparent;
}

.dropdown-menu li a:hover {
  background: rgba(0, 216, 255, 0.08);
  color: var(--clr-turquoise);
  border-right-color: var(--clr-turquoise);
  padding-right: 1.5rem;
}

/* Mobile Dropdown styles */
@media (max-width: 768px) {
  .nav-item.has-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .nav-item.has-dropdown .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 1;
    visibility: visible;
    background: rgba(3, 12, 20, 0.4);
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    transition: max-height var(--transition-normal);
  }
  
  .nav-item.has-dropdown.active .dropdown-menu {
    max-height: 600px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-menu li a {
    text-align: center;
    font-size: 1.05rem;
    padding: 0.6rem 1rem;
  }
  
  .dropdown-menu li a:hover {
    background: rgba(0, 216, 255, 0.05);
    padding-right: 1rem;
  }
}

/* Breadcrumbs Section */
.breadcrumb-section {
  background: rgba(3, 12, 20, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  margin-top: 80px; /* Offset for sticky header */
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .breadcrumb-section {
    margin-top: 65px;
    padding: 1rem 0;
  }
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a4b8c4;
}

.breadcrumb-item a {
  color: var(--clr-turquoise);
}

.breadcrumb-item a:hover {
  color: var(--clr-aqua);
  text-decoration: underline;
}

.breadcrumb-item::after {
  content: '>';
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  margin-right: 0.25rem;
}

.breadcrumb-item:last-child::after {
  display: none;
}

.breadcrumb-item.active {
  color: var(--clr-silver);
  font-weight: 600;
}

/* Service Inner Layouts & Checklist */
.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin-bottom: 2rem;
}

@media (max-width: 580px) {
  .service-checklist {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.checklist-item:hover {
  background: rgba(0, 216, 255, 0.03);
  border-color: rgba(0, 216, 255, 0.15);
  transform: translateY(-2px);
}

.checklist-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(40, 240, 208, 0.1);
  color: var(--clr-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-icon svg {
  width: 14px;
  height: 14px;
}

.checklist-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-silver);
  line-height: 1.4;
}

/* Solution Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 240, 208, 0.35);
  box-shadow: 0 10px 25px rgba(0, 216, 255, 0.08);
}

.process-step-num {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-turquoise), var(--clr-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.process-step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-pearl);
}

.process-step-card p {
  font-size: 0.85rem;
  color: #a4b8c4;
  line-height: 1.5;
}

/* Service Page Split Layouts */
.split-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .split-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.split-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-illustration-box {
  width: min(380px, 100%);
  height: min(380px, 100%);
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 216, 255, 0.15) 0%, transparent 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.service-illustration-sphere {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18) 0%, rgba(40, 240, 208, 0.08) 50%, rgba(6, 24, 39, 0.55) 100%);
  box-shadow: 
    inset 0 0 25px rgba(255, 255, 255, 0.25),
    inset -10px -10px 40px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(0, 216, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatSphere 5s ease-in-out infinite alternate;
}

.service-illustration-sphere svg {
  width: 90px;
  height: 90px;
  color: var(--clr-turquoise);
  filter: drop-shadow(0 0 10px var(--clr-turquoise));
}

@media (max-width: 768px) {
  .service-illustration-box {
    width: 240px;
    height: 240px;
  }
  .service-illustration-sphere {
    width: 160px;
    height: 160px;
  }
  .service-illustration-sphere svg {
    width: 55px;
    height: 55px;
  }
}


/* ==========================================
   20. PREMIUM BLOG & ARTICLES STYLING
   ========================================== */
.blog-hero {
  padding: 8rem 0 4rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(40, 240, 208, 0.04) 0%, transparent 70%);
  position: relative;
  text-align: center;
}

.blog-search-box {
  max-width: 600px;
  margin: 2.5rem auto 1.5rem auto;
  position: relative;
}

.blog-search-bar {
  width: 100%;
  padding: 1.15rem 3.5rem 1.15rem 1.5rem;
  background: rgba(6, 24, 39, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-normal), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-search-bar:focus {
  border-color: var(--clr-turquoise);
  box-shadow: 0 0 15px rgba(40, 240, 208, 0.25);
  outline: none;
}

.blog-search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-silver);
  pointer-events: none;
}

.category-tags {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.category-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-silver);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
  background: rgba(40, 240, 208, 0.1);
  border-color: var(--clr-turquoise);
  color: var(--clr-turquoise);
  transform: translateY(-2px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-card {
  background: rgba(6, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-normal), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--transition-bounce), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 240, 208, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(40, 240, 208, 0.1);
}

.blog-card-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 24, 39, 0.8);
  border: 1px solid var(--clr-turquoise);
  color: var(--clr-turquoise);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(5px);
  z-index: 2;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--clr-silver);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-pearl);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.blog-card-title:hover {
  color: var(--clr-turquoise);
}

.blog-card-desc {
  font-size: 0.85rem;
  color: var(--clr-silver);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-card-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--clr-turquoise);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.blog-card-link:hover {
  gap: 0.6rem;
}


/* --- ARTICLE DETAILS PAGE --- */
.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.article-header {
  padding: 6rem 0 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--clr-silver);
  margin-top: 1.25rem;
  font-weight: 700;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-item svg {
  color: var(--clr-turquoise);
}

.article-content {
  color: var(--clr-pearl);
  line-height: 1.9;
  font-size: 1.1rem;
}

.article-content p {
  margin-bottom: 1.75rem;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-pearl);
  margin: 3rem 0 1.25rem 0;
  border-right: 4px solid var(--clr-turquoise);
  padding-right: 0.75rem;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-pearl);
  margin: 2.25rem 0 1rem 0;
}

.article-content strong {
  color: #fff;
  font-weight: 800;
}

/* Sidebar & TOC */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.toc-box {
  background: rgba(6, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clr-pearl);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--clr-silver);
  text-decoration: none;
  font-weight: 700;
  display: block;
  transition: color 0.2s ease, padding-right 0.2s ease;
}

.toc-link:hover {
  color: var(--clr-turquoise);
  padding-right: 0.25rem;
}

/* highlight / checklist */
.highlight-box {
  background: rgba(40, 240, 208, 0.05);
  border-right: 4px solid var(--clr-turquoise);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-turquoise);
  margin-bottom: 0.5rem;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.checklist-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 2rem 0;
}

.checklist-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.checklist-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist-li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  align-items: center;
}

.checklist-li svg {
  color: var(--clr-turquoise);
  flex-shrink: 0;
}

/* Article Inline CTA Card */
.article-cta-card {
  background: linear-gradient(135deg, rgba(6, 24, 39, 0.8) 0%, rgba(6, 24, 39, 0.5) 100%);
  border: 1px solid rgba(40, 240, 208, 0.25);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(40, 240, 208, 0.05);
}

.article-cta-card h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.article-cta-card p {
  font-size: 0.95rem;
  color: var(--clr-silver);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile TOC Accordion Button */
.mobile-toc-btn {
  display: none;
  width: 100%;
  background: rgba(6, 24, 39, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  text-align: right;
  margin-bottom: 1.5rem;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1024px) {
  .mobile-toc-btn {
    display: inline-flex;
  }
  .sidebar-sticky .toc-box {
    display: none;
  }
  .sidebar-sticky .toc-box.active {
    display: block;
    margin-bottom: 1.5rem;
  }
}


