/* =============================================
   MIZAN LAW — MAIN STYLESHEET
   ============================================= */

/* Skip navigation (accessibility) */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: #fff;
  padding: 12px 28px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 9999;
  transition: top .2s ease;
  white-space: nowrap;
}
.skip-nav:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0D2B1F;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --green-400: #74C69D;
  --green-200: #B7E4C7;
  --green-100: #D8F3DC;
  --green-50:  #F0FAF3;

  --white:     #FFFFFF;
  --gray-50:   #F8F9FA;
  --gray-100:  #F1F3F5;
  --gray-200:  #E9ECEF;
  --gray-300:  #DEE2E6;
  --gray-400:  #CED4DA;
  --gray-500:  #ADB5BD;
  --gray-600:  #868E96;
  --gray-700:  #495057;
  --gray-800:  #343A40;
  --gray-900:  #212529;

  --text-primary:   #1C1C1E;
  --text-secondary: #6B7280;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic:  'Cairo', 'Segoe UI', Tahoma, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 18px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 36px rgba(0,0,0,.11), 0 4px 16px rgba(0,0,0,.05);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.14);

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);  /* easeOutQuad — smooth & natural */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);     /* gentle spring for bouncy elements */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);          /* easeOutExpo — luxurious slide-in */
  --transition: .6s var(--ease);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-arabic); }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 { font-family: var(--font-arabic); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,67,50,.28);
}
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,.2);
}
.btn-sm  { padding: 10px 20px; font-size: .82rem; }
.btn-lg  { padding: 14px 30px; font-size: .9rem; }
.btn-full { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 8px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled .nav-link      { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--green-700); background: var(--green-50); }
.navbar.scrolled .hamburger span { background: var(--gray-800); }
.navbar.scrolled .lang-toggle   { color: var(--green-700); border-color: var(--green-200); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 92px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: var(--transition);
}
.navbar.scrolled .logo-img {
  height: 72px;
  max-width: 320px;
}
.footer-brand .logo-img {
  height: 64px;
  max-width: 200px;
}
.footer-brand .logo {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.35));
}
@media (max-width: 768px) {
  .logo-img { height: 64px; max-width: 280px; }
  .navbar.scrolled .logo-img { height: 56px; max-width: 240px; }
}
@media (max-width: 480px) {
  .logo-img { height: 54px; max-width: 230px; }
  .navbar.scrolled .logo-img { height: 48px; max-width: 200px; }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-family: var(--font-arabic);
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1003;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.navbar.scrolled .hamburger:hover { background: var(--gray-100); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,15,8,.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.nav-backdrop.visible { opacity: 1; visibility: visible; }

/* =============================================
   SECTIONS
   ============================================= */
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 6px 17px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero::after {
  content: '';
  /* position: absolute; */
  /* bottom: -1px; */
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; width: 100%; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 48px;
  align-items: center;
}

/* Hero Text */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: var(--green-400);
  padding: 9px 20px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.1);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.hero-title span { color: var(--green-400); }

.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

/* Stats */
.hero-stats { display: flex; align-items: center; gap: 28px; }
.stat { display: flex; flex-direction: column; }
.stat-top { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-suffix { font-size: 1.35rem; font-weight: 700; color: var(--green-400); }
.stat-label  {
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: .03em;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.14); }

/* Form Card */
.hero-form-wrapper { position: relative; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  border-radius: 0 0 4px 4px;
}
.form-card-header { margin-bottom: 24px; }
.form-card-header h3 { font-size: 1.5rem; margin-bottom: 8px; letter-spacing: -.01em; }
.form-card-header p  { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; }

/* Form Elements */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: .02em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.form-group .label-hint {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea { font-family: var(--font-arabic); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(64,145,108,.13);
}
.form-group input::placeholder { color: var(--gray-400); }
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23868E96' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
html[dir="rtl"] .form-group select {
  background-position: left 14px center;
  padding-right: 16px;
  padding-left: 42px;
}
.form-group input.invalid,
.form-group select.invalid { border-color: #E53E3E; box-shadow: 0 0 0 3px rgba(229,62,62,.1); }
.form-group textarea { resize: vertical; min-height: 104px; line-height: 1.55; }

/* Form card highlight when CTA is clicked */
.form-card.highlight-pulse { animation: formPulse 0.7s ease; }
@keyframes formPulse {
  0%   { box-shadow: var(--shadow-xl); }
  45%  { box-shadow: 0 0 0 8px rgba(64,145,108,.3), var(--shadow-xl); }
  100% { box-shadow: var(--shadow-xl); }
}
.form-group input.input-focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(64,145,108,.2);
}

.form-success { text-align: center; padding: 20px 0 8px; }
.success-icon {
  width: 64px; height: 64px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 700;
  margin: 0 auto 18px;
}
.form-success h4 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p  { color: var(--text-secondary); font-size: .92rem; line-height: 1.65; }

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 96px;
  left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 2px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; }
  50%      { opacity: 1; }
}

/* =============================================
   SERVICES SECTION (HOME) — horizontal slider
   ============================================= */
.services-section { padding-top: 120px; }

.services-slider-wrap {
  position: relative;
  padding: 0 8px;
}

.services-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 28px;
  margin: -8px -4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-grid::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-50), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--green-400);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { opacity: 1; }

/* Navigation arrows */
.services-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}
.services-nav:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 10px 26px rgba(27,67,50,.28);
}
.services-nav:active { transform: translateY(-50%) scale(.94); }
.services-nav[disabled] {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}
.services-nav[disabled]:hover {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--gray-200);
  box-shadow: none;
}
.services-nav svg { width: 20px; height: 20px; }
.services-nav-prev { left: -18px; }
.services-nav-next { right: -18px; }
html[dir="rtl"] .services-nav-prev { left: auto; right: -18px; }
html[dir="rtl"] .services-nav-next { right: auto; left: -18px; }
html[dir="rtl"] .services-nav svg { transform: scaleX(-1); }

.service-icon {
  width: 54px; height: 54px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative; z-index: 1;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--green-700); }
.service-card:hover .service-icon { background: var(--green-700); }
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.service-card p {
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.service-link {
  color: var(--green-700);
  font-size: .82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  position: relative; z-index: 1;
}
.service-link:hover { gap: 10px; color: var(--green-800); }

.services-footer { text-align: center; margin-top: 48px; }

/* =============================================
   ABOUT (HOME) — editorial dark layout
   ============================================= */
.why-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 70%, #0e3020 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  opacity: .7;
}
.why-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.why-bg-orb-1 {
  top: -160px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(82,183,136,.28), transparent 65%);
}
.why-bg-orb-2 {
  bottom: -200px; left: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(27,67,50,.5), transparent 60%);
}
html[dir="rtl"] .why-bg-orb-1 { right: auto; left: -160px; }
html[dir="rtl"] .why-bg-orb-2 { left: auto; right: -120px; }

.why-section .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

/* Intro */
.why-intro { position: sticky; top: 140px; }
.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 22px;
}
.why-eyebrow-line {
  width: 38px;
  height: 1.5px;
  background: var(--green-400);
  border-radius: 2px;
}
.why-title {
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.why-title em {
  font-style: normal;
  color: var(--green-400);
  position: relative;
}
.why-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), transparent);
  border-radius: 3px;
  opacity: .6;
}
html[dir="rtl"] .why-title em::after {
  background: linear-gradient(270deg, var(--green-400), transparent);
}
.why-lead {
  color: rgba(255,255,255,.72);
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 480px;
}
.why-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: var(--transition);
}
.why-cta svg {
  width: 16px; height: 16px;
  transition: transform .3s ease;
}
html[dir="rtl"] .why-cta svg { transform: scaleX(-1); }
.why-cta:hover {
  background: var(--green-400);
  border-color: var(--green-400);
  color: var(--green-900);
}
.why-cta:hover svg { transform: translateX(4px); }
html[dir="rtl"] .why-cta:hover svg { transform: scaleX(-1) translateX(4px); }

/* Numbered editorial list */
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.why-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  transition: padding .35s ease, background .35s ease;
  position: relative;
}
.why-item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.why-item::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--green-400);
  transition: width .45s ease;
}
html[dir="rtl"] .why-item::before { left: auto; right: 0; }
.why-item:hover {
  padding-inline-start: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), transparent);
}
html[dir="rtl"] .why-item:hover {
  background: linear-gradient(270deg, rgba(255,255,255,.04), transparent);
}
.why-item:hover::before { width: 60px; }

.why-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--green-400);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .3s ease, transform .3s ease;
}
.why-item:hover .why-num {
  color: var(--white);
  transform: translateY(-2px);
}

.why-item-body h4 {
  font-size: 1.08rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.why-item-body p {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin: 0;
}

/* Trust strip */
.why-trust {
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 44px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.why-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}
.why-trust-item strong {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.why-trust-item strong span {
  font-size: 1.15rem;
  color: var(--green-400);
  margin-inline-start: 2px;
}
.why-trust-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}
.why-trust-sep {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent);
  flex-shrink: 0;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--green-800);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.8rem,3vw,2.6rem); color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 38px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--gray-900); color: rgba(255,255,255,.65); padding: 68px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 52px;
}
.footer-brand .logo { display: block; margin-bottom: 18px; }
.footer-brand p { font-size: .845rem; line-height: 1.75; color: rgba(255,255,255,.42); max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: .845rem; color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-links a:hover { color: var(--green-400); padding-left: 5px; }
html[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 5px; }

.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--green-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: .845rem; color: rgba(255,255,255,.45); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  padding: 140px 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-content { text-align: center; }
.page-hero h1 { font-size: clamp(2rem,5vw,3.5rem); color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.68); font-size: 1.08rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 20px;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.breadcrumb a { color: var(--green-400); transition: var(--transition); }
.breadcrumb a:hover { color: var(--green-300); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 20px; }
.about-text p  { color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }

.about-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.about-stat-card:hover { border-color: var(--green-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-stat-card:first-child {
  background: var(--green-800);
  border-color: transparent;
  grid-column: span 2;
}
.about-stat-card:first-child .about-stat-num  { color: var(--green-400); }
.about-stat-card:first-child .about-stat-label { color: rgba(255,255,255,.65); }
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label { font-size: .845rem; color: var(--text-secondary); font-weight: 500; }

.values-section { background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--green-400); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card-icon {
  width: 60px; height: 60px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.value-card:hover .value-card-icon { background: var(--green-700); }
.value-card-icon svg { width: 26px; height: 26px; stroke: var(--green-700); transition: var(--transition); }
.value-card:hover .value-card-icon svg { stroke: var(--white); }
.value-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 12px; }
.value-card p  { color: var(--text-secondary); font-size: .845rem; line-height: 1.7; }

/* =============================================
   SERVICES PAGE
   ============================================= */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card-full {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
}
.service-card-full:hover {
  border-color: var(--green-400);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card-full h3 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card-full p  { color: var(--text-secondary); font-size: .875rem; line-height: 1.75; margin-bottom: 22px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  background: var(--green-50);
  color: var(--green-700);
  padding: 4px 13px;
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 600;
}

/* Process */
.process-section { background: var(--gray-50); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 14%; right: 14%;
  height: 1px;
  background: var(--gray-200);
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step-num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-700);
  margin: 0 auto 22px;
  transition: var(--transition);
}
.process-step.active .process-step-num,
.process-step:hover .process-step-num {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: scale(1.08);
}
.process-step h4 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.process-step p  { color: var(--text-secondary); font-size: .82rem; line-height: 1.65; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin-bottom: 14px; }
.contact-info > p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 38px; font-size: .96rem; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 46px; height: 46px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--green-700); }
.contact-item-text strong { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.contact-item-text span  { font-size: .875rem; color: var(--text-secondary); line-height: 1.6; }

.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-secondary); font-size: .88rem; margin-bottom: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: .875rem;
  border: 1.5px dashed var(--gray-300);
  margin-top: 64px;
}
.map-placeholder svg { width: 32px; height: 32px; stroke: var(--gray-400); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--green-700);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
html[dir="rtl"] .back-to-top { right: auto; left: 32px; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green-800); transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; stroke: var(--white); }

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 44px 16px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-inline-start: 4px solid var(--green-500);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(0,0,0,.15), 0 4px 14px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px) scale(.96);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), visibility .35s;
  overflow: hidden;
}
html[dir="rtl"] .toast {
  right: auto;
  left: 24px;
  padding: 16px 18px 16px 44px;
}
.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-icon svg { width: 20px; height: 20px; }
.toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.005em;
}
.toast-msg {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
html[dir="rtl"] .toast-close { right: auto; left: 10px; }
.toast-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}
.toast-close svg { width: 14px; height: 14px; }
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  transform-origin: left center;
  transform: scaleX(0);
}
html[dir="rtl"] .toast-progress { transform-origin: right center; }
.toast.visible .toast-progress {
  animation: toastProgress 5s linear forwards;
}
@keyframes toastProgress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

@media (max-width: 520px) {
  .toast {
    top: 12px;
    right: 12px;
    left: 12px;
    min-width: 0;
    max-width: none;
  }
  html[dir="rtl"] .toast { right: 12px; left: 12px; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content   { grid-template-columns: 1fr; gap: 48px; }
  .hero           { padding: 120px 0 80px; min-height: auto; }
  .hero-form-wrapper { max-width: 600px; margin-inline: auto; }
  .hero-desc      { max-width: 100%; }
  .why-grid       { grid-template-columns: 1fr; gap: 48px; }
  .why-intro      { position: static; }
  .why-trust      { padding: 26px 32px; gap: 20px; }
  .about-story    { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: repeat(2, 1fr); }

  .service-card   { flex: 0 0 calc((100% - 24px) / 2); }
  .services-nav-prev { left: -10px; }
  .services-nav-next { right: -10px; }
  html[dir="rtl"] .services-nav-prev { left: auto; right: -10px; }
  html[dir="rtl"] .services-nav-next { right: auto; left: -10px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .hero      { padding: 96px 0 72px; }
  .page-hero { padding: 104px 0 64px; }

  /* Mobile Nav — right drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(290px, 80vw);
    background: var(--green-900);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding: 80px 20px 40px;
    transform: translateX(105%);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,.35);
    overflow-y: auto;
  }

  /* RTL: slide from left */
  html[dir="rtl"] .nav-links {
    right: auto;
    left: 0;
    transform: translateX(-105%);
    box-shadow: 8px 0 40px rgba(0,0,0,.35);
  }

  /* Open state — override BOTH ltr and rtl transforms */
  .nav-links.open,
  html[dir="rtl"] .nav-links.open {
    transform: translateX(0) !important;
  }

  .nav-link {
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,.75);
    border-inline-start: 3px solid transparent;
    transition: var(--transition);
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.09);
    border-inline-start-color: var(--green-400);
  }

  /* Lang toggle stays visible in navbar on mobile */
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .why-item           { grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; }
  .why-num            { font-size: 1.65rem; }
  .why-item-body h4   { font-size: 1rem; }
  .why-trust          { flex-wrap: wrap; padding: 24px 20px; gap: 18px; margin-top: 52px; }
  .why-trust-sep      { display: none; }
  .why-trust-item     { flex: 1 1 42%; }
  .why-trust-item strong { font-size: 1.85rem; }

  .service-card       { flex: 0 0 86%; padding: 28px 24px; }
  .services-slider-wrap { padding: 0; }
  .services-nav       { width: 42px; height: 42px; }
  .services-nav-prev  { left: -6px; }
  .services-nav-next  { right: -6px; }
  html[dir="rtl"] .services-nav-prev { left: auto; right: -6px; }
  html[dir="rtl"] .services-nav-next { right: auto; left: -6px; }
  .services-full-grid { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .process-steps      { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .form-row           { grid-template-columns: 1fr; }
  .about-visual-grid  { grid-template-columns: 1fr 1fr; }
  .about-stat-card:first-child { grid-column: span 2; }
  .footer-grid        { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom      { flex-direction: column; text-align: center; }
  .hero-scroll-indicator { display: none; }
  .back-to-top        { bottom: 20px; right: 20px; }
  html[dir="rtl"] .back-to-top { right: auto; left: 20px; }
  .cta-buttons        { flex-direction: column; align-items: stretch; }
  .contact-form-card  { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-stats  { gap: 18px; }
  .stat-num    { font-size: 2rem; }
  .form-card   { padding: 28px 24px; }
  .form-card::before { left: 24px; right: 24px; }
  .form-card-header h3 { font-size: 1.35rem; }
  .about-visual-grid { grid-template-columns: 1fr; }
  .about-stat-card:first-child { grid-column: span 1; }
}

/* =============================================
   PERFORMANCE & ACCESSIBILITY
   ============================================= */

/* will-change only on actively animated elements */
.nav-links { will-change: transform; }
.navbar     { will-change: padding, background-color; }

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* High-contrast focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================
   ✦  ANIMATION ENHANCEMENT LAYER  ✦
   ============================================= */

/* ── Page Load Reveal ──────────────────────── */
body {
  animation: pageReveal 1.1s var(--ease-expo) both;
}
@keyframes pageReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll Progress Bar ───────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: transparent;
  z-index: 10001;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400), var(--green-300));
  box-shadow: 0 0 10px rgba(82,183,136,.6), 0 0 20px rgba(82,183,136,.3);
  border-radius: 0 2px 2px 0;
  transition: width .1s linear;
}

/* ── Hero Entrance Animations ──────────────── */
.hero-tag,
.hero-title,
.hero-desc,
.hero-stats {
  opacity: 0;
  animation: heroFadeUp 1.1s var(--ease-expo) both;
}
.hero-tag          { animation-delay: .12s; }
.hero-title        { animation-delay: .24s; }
.hero-desc         { animation-delay: .38s; }
.hero-stats        { animation-delay: .54s; }

.hero-form-wrapper {
  opacity: 0;
  animation: heroFadeRight 1.1s var(--ease-expo) .18s both;
}
html[dir="rtl"] .hero-form-wrapper {
  animation-name: heroFadeLeft;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Animated Gradient Accent Text ─────────── */
.hero-title span {
  background: linear-gradient(
    90deg,
    var(--green-200),
    var(--green-400),
    var(--green-300),
    var(--green-500),
    var(--green-400)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 9s linear infinite;
}
@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ── Hero Decorative Orbs ──────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 560px; height: 560px;
  top: -180px; right: -60px;
  background: radial-gradient(circle, rgba(82,183,136,.12) 0%, transparent 68%);
  animation: orbDrift 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  bottom: 80px; left: -120px;
  background: radial-gradient(circle, rgba(116,198,157,.09) 0%, transparent 70%);
  animation: orbDrift 20s ease-in-out infinite alternate-reverse;
}
.hero-orb-3 {
  width: 240px; height: 240px;
  top: 40%; left: 44%;
  background: radial-gradient(circle, rgba(184,228,199,.07) 0%, transparent 72%);
  animation: orbDrift 12s ease-in-out infinite alternate;
  animation-delay: -5s;
}
@keyframes orbDrift {
  from { transform: translate(0,   0)   scale(1); }
  to   { transform: translate(18px,-18px) scale(1.05); }
}

/* ── Page Hero Entrance (inner pages) ─────── */
.page-hero .breadcrumb,
.page-hero h1,
.page-hero p {
  opacity: 0;
  animation: heroFadeUp 1.05s var(--ease-expo) both;
}
.page-hero .breadcrumb { animation-delay: .12s; }
.page-hero h1          { animation-delay: .24s; }
.page-hero p           { animation-delay: .38s; }

/* ── Section Header Enhanced Scale+Fade ────── */
.section-header[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
}
.section-header[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* ── Scroll Animation Directional Variants ─── */
[data-animate="left"] {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
}
[data-animate="right"] {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
}
[data-animate="scale"] {
  opacity: 0;
  transform: scale(.97) translateY(8px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
}
[data-animate="blur"] {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo), filter .9s var(--ease-expo);
}
[data-animate="left"].animated,
[data-animate="right"].animated  { opacity: 1; transform: translateX(0); }
[data-animate="scale"].animated  { opacity: 1; transform: none; }
[data-animate="blur"].animated   { opacity: 1; transform: none; filter: blur(0); }

/* ── 3D Card Tilt Support ─────────────────── */
.service-card,
.value-card,
.service-card-full,
.about-stat-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Button Shine Sweep ───────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: -2px; left: -120%;
  width: 55%;
  height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-18deg);
  transition: left 1s var(--ease-expo);
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

/* ── Service Card Icon Bounce on Hover ─────── */
.service-card:hover .service-icon {
  animation: iconPop .75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card-full:hover .service-icon {
  animation: iconPop .75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.value-card:hover .value-card-icon {
  animation: iconPop .75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes iconPop {
  0%   { transform: scale(1)    rotate(0deg); }
  35%  { transform: scale(1.10) rotate(-3deg); }
  65%  { transform: scale(.99)  rotate(1.5deg); }
  100% { transform: scale(1)    rotate(0deg); }
}

/* ── About (Home) Trust Strip Hover ─────────── */
.why-trust-item {
  transition: transform .5s var(--ease-expo);
}
.why-trust-item:hover { transform: translateY(-3px); }
.why-trust-item:hover strong { color: var(--green-400); }
.why-trust-item strong {
  transition: color .4s ease;
}

/* ── CTA Section In-View Cascade ───────────── */
.cta-section h2,
.cta-section p,
.cta-section .cta-buttons {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.cta-section.in-view h2           { opacity: 1; transform: none; }
.cta-section.in-view p            { opacity: 1; transform: none; transition-delay: .16s; }
.cta-section.in-view .cta-buttons { opacity: 1; transform: none; transition-delay: .32s; }

/* ── Mobile Nav Links Stagger In ───────────── */
@media (max-width: 768px) {
  .nav-links .nav-link {
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity    .55s var(--ease-expo),
      transform  .55s var(--ease-expo),
      color      var(--transition),
      background var(--transition),
      border-inline-start-color var(--transition);
  }
  html[dir="rtl"] .nav-links .nav-link { transform: translateX(-24px); }

  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateX(0) !important;
  }

  .nav-links.open li:nth-child(1) .nav-link { transition-delay: .08s; }
  .nav-links.open li:nth-child(2) .nav-link { transition-delay: .16s; }
  .nav-links.open li:nth-child(3) .nav-link { transition-delay: .24s; }
  .nav-links.open li:nth-child(4) .nav-link { transition-delay: .32s; }
}

/* ── Scrolled Nav Underline Slide ───────────── */
.nav-link { position: relative; }
.navbar.scrolled .nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 17px; right: 17px;
  height: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-expo);
  border-radius: 2px;
}
html[dir="rtl"] .navbar.scrolled .nav-link::after { transform-origin: right; }
.navbar.scrolled .nav-link:hover::after,
.navbar.scrolled .nav-link.active::after { transform: scaleX(1); }

/* ── Back to Top Bouncy Entrance ───────────── */
.back-to-top.visible {
  animation: btpBounce .65s var(--ease-expo) both;
}
@keyframes btpBounce {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

/* ── Footer Link Hover Arrow ────────────────── */
.footer-links a {
  display: inline-flex;
  align-items: center;
}
.footer-links a::before {
  content: '›';
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: opacity .45s var(--ease), max-width .45s var(--ease), transform .45s var(--ease-expo);
  font-weight: 700;
  color: var(--green-400);
  margin-right: 0;
}
.footer-links a:hover::before {
  opacity: 1;
  max-width: 16px;
  transform: translateX(0);
  margin-right: 4px;
}
html[dir="rtl"] .footer-links a::before {
  content: '‹';
  transform: translateX(6px);
  margin-right: 0;
  margin-left: 0;
}
html[dir="rtl"] .footer-links a:hover::before {
  transform: translateX(0);
  margin-right: 0;
  margin-left: 4px;
}

/* ── Contact Item Hover Lift ─────────────────── */
.contact-item {
  transition: transform .6s var(--ease-expo);
}
.contact-item:hover { transform: translateX(5px); }
html[dir="rtl"] .contact-item:hover { transform: translateX(-5px); }
.contact-item-icon {
  transition: background .5s, transform .6s var(--ease-expo), box-shadow .5s;
}
.contact-item:hover .contact-item-icon {
  background: var(--green-100);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(45,106,79,.18);
}

/* ── Form Input Subtle Lift on Focus ─────────── */
.form-group input,
.form-group select,
.form-group textarea {
  transition:
    border-color .5s var(--ease),
    box-shadow   .5s var(--ease),
    transform    .45s var(--ease-expo);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
}

/* ── Service Full Card Icon Colour ─────────── */
.service-card-full:hover .service-icon {
  background: var(--green-700);
}
.service-card-full:hover .service-icon svg {
  stroke: var(--white);
}

/* ── About Stat Card Enhanced Hover ──────────── */
.about-stat-card {
  transition:
    transform    .65s var(--ease-spring),
    box-shadow   .6s var(--ease),
    border-color .5s var(--ease);
}

/* ── Process Step Springy Scale ─────────────── */
.process-step-num {
  transition:
    transform    .75s var(--ease-spring),
    background   .5s var(--ease),
    color        .5s var(--ease),
    border-color .5s var(--ease);
}

/* ── Mission Section Text Reveal ─────────────── */
.mission-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s var(--ease-expo), transform 1.4s var(--ease-expo);
}
.mission-content.animated {
  opacity: 1;
  transform: none;
}

/* ── Hero Scroll Indicator Pulse ─────────────── */
.hero-scroll-indicator span {
  animation: scrollPulse 3s ease-in-out infinite, scrollFade 3s ease-in-out infinite;
}
@keyframes scrollFade {
  0%,100% { opacity: .2; }
  50%     { opacity: .8; }
}

/* =============================================
   ✦  ANIMATE.CSS INTEGRATION OVERRIDES  ✦
   Replaces the old CSS-transition scroll system
   with Animate.css keyframe animations.
   ============================================= */

/* Hide elements before animate.css fires */
[data-animate]:not(.animate__animated) {
  opacity: 0;
}

/* Reset the old transition-based system — animate.css handles it now */
[data-animate],
[data-animate="left"],
[data-animate="right"],
[data-animate="scale"],
[data-animate="blur"],
.section-header[data-animate] {
  opacity: 0;
  transform: none;
  transition: none;
  filter: none;
}

/* Once animate.css activates the element */
[data-animate].animate__animated,
[data-animate="left"].animate__animated,
[data-animate="right"].animate__animated,
[data-animate="scale"].animate__animated,
[data-animate="blur"].animate__animated,
.section-header[data-animate].animate__animated {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Remove hero keyframe animations — animate.css handles those now
   via classes added directly in HTML */
.hero-tag,
.hero-title,
.hero-desc,
.hero-stats,
.hero-form-wrapper {
  opacity: unset;   /* animate.css inline classes handle this */
  animation: none;  /* cancel any previously set keyframe animations */
}
/* Keep only the animate.css instance where classes are applied */
.hero-tag.animate__animated,
.hero-title.animate__animated,
.hero-desc.animate__animated,
.hero-stats.animate__animated,
.hero-form-wrapper.animate__animated {
  animation: unset; /* let animate.css own it fully */
}

/* Remove page-hero CSS keyframe animations — animate.css handles those */
.page-hero .breadcrumb,
.page-hero h1,
.page-hero p {
  opacity: unset;
  animation: none;
}
.page-hero .breadcrumb.animate__animated,
.page-hero h1.animate__animated,
.page-hero p.animate__animated {
  animation: unset;
}

/* CTA section — still uses our custom observer + CSS class */
/* (unchanged — works independently of animate.css) */

/* Tune animate.css default duration globally */
:root {
  --animate-duration: 1.1s;
  --animate-delay:    0s;
}

/* =============================================
   ✦  ANIMATE.CSS ENHANCED EFFECTS  ✦
   ============================================= */

/* ── Hover Headshake on nav CTA button ─────── */
.navbar .btn-primary:hover {
  animation: animate__headShake 0.6s ease both;
  animation-name: headShake; /* animate.css built-in */
}

/* ── Infinite slow pulse on hero scroll dot ── */
.hero-tag::before {
  animation: pulse 2s ease-in-out infinite !important;
}

/* ── Success icon gets jackInTheBox via JS ─── */
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center bottom;
}

/* ── Animate.css faster/slower utilities ────── */
.animate__faster  { --animate-duration: 0.5s; }
.animate__fast    { --animate-duration: 0.75s; }
.animate__slow    { --animate-duration: 1.4s; }
.animate__slower  { --animate-duration: 1.9s; }

/* ── Ensure fill-mode: both so elements stay visible post-animation ── */
.animate__animated {
  animation-fill-mode: both;
}

/* ── Extra: process-step hover springs via animate.css ── */
.process-step:hover .process-step-num {
  animation: rubberBand 0.7s ease-in-out;
}
@keyframes rubberBand {
  from      { transform: scale3d(1,1,1); }
  30%       { transform: scale3d(1.10,.92,1); }
  40%       { transform: scale3d(.92,1.08,1); }
  50%       { transform: scale3d(1.06,.96,1); }
  65%       { transform: scale3d(.98,1.02,1); }
  75%       { transform: scale3d(1.02,.98,1); }
  to        { transform: scale3d(1,1,1); }
}

/* ── Footer contact item icon swing ─────────── */
.footer-contact-item svg {
  transition: transform .5s var(--ease);
}
.footer-contact-item:hover svg {
  animation: swing 0.8s ease-in-out;
  transform-origin: top center;
}
@keyframes swing {
  20%  { transform: rotate(15deg); }
  40%  { transform: rotate(-10deg); }
  60%  { transform: rotate(5deg); }
  80%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

/* ── Section tag entrance wobble ─────────────── */
.section-header.animate__animated .section-tag {
  display: inline-block;
  animation: wobble 0.7s ease-in-out 0.3s both;
}
@keyframes wobble {
  0%   { transform: none; }
  15%  { transform: translateX(-3px) rotate(-1.5deg); }
  30%  { transform: translateX(2px) rotate(1deg); }
  45%  { transform: translateX(-1.5px) rotate(-0.5deg); }
  60%  { transform: translateX(1px) rotate(0.25deg); }
  75%  { transform: translateX(-.5px); }
  100% { transform: none; }
}

/* =============================================
   ✦  H1 SOFT GOLD NEON GLOW  ✦
   ============================================= */

/* Soft gold color applied to every h1 */
h1,
.hero-title,
.page-hero h1 {
  color: #E8C87A !important;
  text-shadow:
    0 0  4px  rgba(255,215,0,1),
    0 0  8px  rgba(232,200,122,.95),
    0 0 18px  rgba(212,175,55,.75),
    0 0 36px  rgba(212,175,55,.50),
    0 0 64px  rgba(212,175,55,.28),
    0 0 100px rgba(180,140,30,.15);
  animation: neonGoldPulse 6s ease-in-out infinite;
}

/* Breathing pulse — dims slightly at midpoint then blooms back */
@keyframes neonGoldPulse {
  0%, 100% {
    text-shadow:
      0 0  4px  rgba(255,215,0,1),
      0 0  8px  rgba(232,200,122,.95),
      0 0 18px  rgba(212,175,55,.75),
      0 0 36px  rgba(212,175,55,.50),
      0 0 64px  rgba(212,175,55,.28),
      0 0 100px rgba(180,140,30,.15);
  }
  50% {
    text-shadow:
      0 0  6px  rgba(255,230,80,1),
      0 0 14px  rgba(255,215,0,1),
      0 0 28px  rgba(212,175,55,.85),
      0 0 56px  rgba(212,175,55,.60),
      0 0 90px  rgba(212,175,55,.35),
      0 0 130px rgba(180,140,30,.20);
  }
}

/* Hero accent span — upgrade from green gradient to shimmering gold gradient */
.hero-title span {
  background: linear-gradient(
    90deg,
    #FFF8C0,
    #FFD700,
    #E8C87A,
    #D4AF37,
    #FFE680,
    #FFD700
  ) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: textShimmer 9s linear infinite, neonGoldPulse 6s ease-in-out infinite;
  color: #FFD700;
}

/* ── Stat numbers flash when counter completes ── */
@keyframes statFlash {
  0%, 50%, 100% { opacity: 1; }
  25%, 75%      { opacity: .4; color: var(--green-300); }
}
.stat-num.flash { animation: statFlash .5s ease; }

/* =============================================
   ✦  WHATSAPP FLOATING BUTTON  ✦
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  animation: whatsappEntrance 1.1s var(--ease-spring) 1.5s both;
}
html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 28px;
}

/* Entrance animation */
@keyframes whatsappEntrance {
  from { opacity: 0; transform: scale(0) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Icon circle */
.whatsapp-float__btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .6s var(--ease-spring), box-shadow .55s var(--ease);
  position: relative;
  flex-shrink: 0;
}
.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Hover lift */
.whatsapp-float:hover .whatsapp-float__btn {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.18);
}

/* Tooltip label */
.whatsapp-float__label {
  background: #ffffff;
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .5s var(--ease-expo), transform .5s var(--ease-expo);
  pointer-events: none;
  order: -1;
}
html[dir="rtl"] .whatsapp-float__label {
  order: 1;
  transform: translateX(-8px);
}
.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse ring around the button */
.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 3.5s ease-out infinite;
  z-index: -1;
}
@keyframes whatsappPulse {
  0%   { transform: scale(1); opacity: .6; }
  75%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Mobile: slightly smaller */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 76px;
    right: 20px;
  }
  html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
  }
  .whatsapp-float__btn {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float__btn svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float__label { display: none; }
}

/* =============================================
   ✦  MARQUEE TICKER STRIP  ✦
   ============================================= */
.marquee-strip {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  border-top:    1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

/* fade edges */
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--green-900), transparent);
}
.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--green-900), transparent);
}

.marquee-inner {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  animation: marqueeScroll 36s linear infinite;
}
html[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

/* Pause on hover */
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 0 36px;
  transition: color .4s var(--ease);
  cursor: default;
  white-space: nowrap;
}
.marquee-item:hover {
  color: #E8C87A;
}

.marquee-sep {
  color: rgba(212,175,55,.5);
  font-size: .7rem;
  flex-shrink: 0;
  padding: 0 4px;
  pointer-events: none;
}

/* =============================================
   ✦  TYPEWRITER PARAGRAPH  ✦
   ============================================= */
.typewriter-text {
  min-height: 1.6em;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* blinking cursor */
.typewriter-text::after {
  content: '|';
  display: inline-block;
  color: var(--green-500);
  font-weight: 300;
  margin-left: 1px;
  animation: twCursorBlink 0.75s step-end infinite;
}
.typewriter-text.tw-done::after {
  animation: none;
  opacity: 0;
}

@keyframes twCursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* =============================================
   ✦  SERVICES DETAIL PAGE  ✦
   ============================================= */
.detail-quicknav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.detail-quicknav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  scrollbar-width: none;
}
.detail-quicknav .container::-webkit-scrollbar { display: none; }
.detail-quicknav-item {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  white-space: nowrap;
}
.detail-quicknav-item:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.detail-section { position: relative; }
.detail-section-alt { background: var(--gray-50); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}
.detail-grid.reverse { direction: rtl; }
.detail-grid.reverse > * { direction: ltr; }
html[dir="rtl"] .detail-grid.reverse { direction: ltr; }
html[dir="rtl"] .detail-grid.reverse > * { direction: rtl; }

.detail-content .section-tag { margin-bottom: 14px; }
.detail-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
  line-height: 1.2;
}
.detail-content > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 26px;
}
.detail-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  color: rgba(212,175,55,.28);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.03em;
}

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.detail-features li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  color: var(--text-primary);
  line-height: 1.6;
}
html[dir="rtl"] .detail-features li { padding-left: 0; padding-right: 26px; }
.detail-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--green-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
html[dir="rtl"] .detail-features li::before { left: auto; right: 0; }

.detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-visual-card {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(27,67,50,.22);
  position: relative;
  overflow: hidden;
}
.detail-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.detail-visual-card::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,200,122,.3), transparent 65%);
  top: -60px; right: -60px;
}
.detail-visual-card svg {
  width: 46%; height: 46%;
  stroke: #E8C87A;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 14px rgba(232,200,122,.4));
}

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-features { grid-template-columns: 1fr; }
  .detail-visual-card { max-width: 320px; margin: 0 auto; }
  .detail-quicknav { top: 60px; }
}

/* =============================================
   ✦  PREMIUM SERVICES SLIDER  ✦
   ============================================= */
.premium-services {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
  position: relative;
  overflow: hidden;
}
.premium-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .5;
  z-index: 0;
}
.premium-bg-orb-1 {
  width: 520px; height: 520px;
  top: -200px; right: -120px;
  background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%);
}
.premium-bg-orb-2 {
  width: 440px; height: 440px;
  bottom: -180px; left: -100px;
  background: radial-gradient(circle, rgba(82,183,136,.18), transparent 70%);
}
.premium-services .container { position: relative; z-index: 1; }

.premium-slider-wrap {
  position: relative;
}

.premium-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 20px 4px;
}

.premium-nav,
.premium-dots { display: none !important; }

.premium-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .6s var(--ease-expo), box-shadow .6s var(--ease-expo), border-color .5s var(--ease);
  position: relative;
  overflow: hidden;
  color: inherit;
  min-height: 340px;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E8C87A, #D4AF37, #FFE680);
  opacity: 0;
  transition: opacity .55s var(--ease);
}
.premium-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(212,175,55,.08), transparent 60%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,.4);
  box-shadow: 0 22px 48px rgba(27,67,50,.14), 0 8px 18px rgba(0,0,0,.05);
}
.premium-card:hover::before,
.premium-card:hover::after { opacity: 1; }

.premium-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.premium-card-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(212,175,55,.28);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .5s var(--ease);
}
.premium-card:hover .premium-card-num {
  color: rgba(212,175,55,.85);
}
.premium-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .5s var(--ease), transform .6s var(--ease-spring);
}
.premium-card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--green-700);
  transition: stroke .5s var(--ease);
}
.premium-card:hover .premium-card-icon {
  background: var(--green-700);
  transform: scale(1.08) rotate(-4deg);
}
.premium-card:hover .premium-card-icon svg { stroke: #E8C87A; }

.premium-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
html[dir="rtl"] .premium-card-title { font-family: var(--font-arabic); }

.premium-card-desc {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.premium-card-link {
  color: var(--green-700);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .4s var(--ease-expo), color .4s var(--ease);
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.premium-card:hover .premium-card-link {
  gap: 10px;
  color: #B8860B;
}

/* Nav buttons */
.premium-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--green-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease-spring), color .4s var(--ease);
  z-index: 2;
}
.premium-nav:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: scale(1.08);
}
.premium-nav:active { transform: scale(.95); }
.premium-nav svg { width: 20px; height: 20px; }
html[dir="rtl"] .premium-nav-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .premium-nav-next svg { transform: scaleX(-1); }

/* Dots */
.premium-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.premium-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .4s var(--ease), width .4s var(--ease-expo);
}
.premium-dot.active {
  background: var(--green-700);
  width: 26px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .premium-slider { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .premium-slider { grid-template-columns: 1fr; gap: 16px; }
  .premium-card { min-height: auto; padding: 30px 26px; }
}

/* =============================================
   ✦  STACKED SCROLL CARDS  ✦
   ============================================= */
.stack-section {
  background: var(--green-900);
  position: relative;
}

/* ── Header ──────────────────────────────── */
.stack-section-header {
  text-align: center;
  padding: 100px 0 60px;
  position: relative;
  z-index: 2;
}
.stack-section-header .section-tag {
  color: rgba(212,175,55,.8);
  border-color: rgba(212,175,55,.25);
  background: rgba(212,175,55,.08);
  margin-bottom: 20px;
}
.stack-section-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Scroll-height provider ──────────────── */
/* 1 vh for visible area + 2 × 90vh for two additional card reveals */
.stack-pin-outer {
  height: calc(100vh + 2 * 90vh); /* = 280vh */
  position: relative;
}

/* ── Sticky viewport ─────────────────────── */
.stack-pin {
  position: sticky;
  top: 88px; /* below navbar */
  height: calc(100vh - 108px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Cards frame — sized by card 1 ───────── */
.stack-cards-frame {
  position: relative;
  width: 100%;
}

/* ── Individual cards ────────────────────── */
.stack-card {
  width: 100%;
  border-radius: 28px;
  padding: 60px 72px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  /* JS drives transform/opacity; no CSS transition to avoid lag */
  will-change: transform, opacity;
}

/* Card 1: relative — sets the frame's height */
.stack-card--1 {
  position: relative;
  z-index: 1;
  /* Fully opaque — no bleed-through from card below */
  background: #112B1E;
  box-shadow: 0 28px 72px rgba(0,0,0,.5);
}

/* Cards 2 & 3: absolute, stacked over card 1 */
.stack-card--2,
.stack-card--3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.stack-card--2 {
  z-index: 2;
  background: #173626;   /* slightly lighter — visible depth */
  box-shadow: 0 28px 72px rgba(0,0,0,.55);
  transform: translateY(100vh);
  opacity: 0;
}
.stack-card--3 {
  z-index: 3;
  background: #1e4230;   /* lightest — top of the stack */
  box-shadow: 0 28px 72px rgba(0,0,0,.6);
  transform: translateY(100vh);
  opacity: 0;
}

/* ── Card inner layout ───────────────────── */
.stack-card-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Ghost number */
.stack-card-num {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(212,175,55,.13);
  position: absolute;
  top: -16px;
  right: 56px;
  pointer-events: none;
  user-select: none;
  transition: color .6s var(--ease);
}
html[dir="rtl"] .stack-card-num { right: auto; left: 56px; }
.stack-card:hover .stack-card-num { color: rgba(212,175,55,.26); }

/* Content */
.stack-card-content { max-width: 680px; }

.stack-card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(212,175,55,.75);
  margin-bottom: 20px;
}

.stack-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.stack-card-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}

.stack-card-meta { display: flex; gap: 40px; flex-wrap: wrap; }
.stack-card-stat { display: flex; flex-direction: column; gap: 4px; }
.stack-card-stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: #E8C87A;
  line-height: 1;
}
.stack-card-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

/* Icon circle */
.stack-card-visual {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
  transition: transform .8s var(--ease-spring), border-color .5s, background .5s;
}
.stack-card:hover .stack-card-visual {
  transform: scale(1.06) rotate(3deg);
  border-color: rgba(212,175,55,.3);
  background: rgba(212,175,55,.06);
}
.stack-card-visual svg {
  width: 52px;
  height: 52px;
  stroke: rgba(212,175,55,.7);
  fill: none;
}

/* Decorative glow orb */
.stack-card::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,.07) 0%, transparent 65%);
  bottom: -100px; right: -60px;
  pointer-events: none;
  z-index: 0;
}
html[dir="rtl"] .stack-card::before { right: auto; left: -60px; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .stack-card { padding: 44px 36px; }
  .stack-card-inner { grid-template-columns: 1fr; gap: 28px; }
  .stack-card-visual { width: 96px; height: 96px; }
  .stack-card-visual svg { width: 38px; height: 38px; }
  .stack-card-num { font-size: 5rem; right: 24px; }
}

@media (max-width: 600px) {
  .stack-pin-outer { height: calc(100vh + 2 * 75vh); }
  .stack-card { padding: 36px 24px; border-radius: 20px; }
  .stack-card-num { display: none; }
  .stack-card-meta { gap: 20px; }
  .stack-section-header { padding: 64px 0 36px; }
}
/* ================= SERVICES PAGE — SLIDER MODE ================= */
.services-full-grid.services-slider {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 8px 4px 28px;
  margin: -8px -4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-full-grid.services-slider::-webkit-scrollbar { display: none; }
.services-full-grid.services-slider .service-card-full {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 1024px) {
  .services-full-grid.services-slider .service-card-full {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 768px) {
  .services-full-grid.services-slider .service-card-full {
    flex: 0 0 86%;
  }
}