/* ============================================================
   PAGES SHARED STYLES – Masarat Al Joud
   All inner pages: Vision · Products · Contact
   Builds on top of about-styles.css (shared base)
   ============================================================ */

:root {
  /* Brand Primary Colors */
  --brand-color: #008a34;
  --brand-orange: #ee8b1f;
  --brand-alt: #5f7f4f;
  --brand-accent: #c2f970;
  
  /* Legacy variables for backward compatibility */
  --green: #008a34;
  --green-dark: #2e6b2e;
  --green-deep: #1d4d1d;
  --green-light: #e8f5e8;
  --accent: #ee8b1f;
  --accent-soft: #fdf3e7;
  --text: #1a2e1a;
  --muted: #5a7260;
  --surface: #ffffff;
  --border: rgba(63, 143, 63, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 16px rgba(30, 60, 30, 0.07);
  --shadow: 0 12px 40px rgba(30, 60, 30, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 60, 30, 0.18);
}

/* ── Page Hero ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(130deg, var(--green-deep) 0%, var(--green-dark) 60%, var(--green) 100%);
}

.page-hero--products {
  background: linear-gradient(130deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green) 100%);
}

.page-hero--contact {
  background: linear-gradient(130deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green) 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-fixed {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 30, 10, 0.65) 0%, rgba(30, 70, 30, 0.45) 60%, rgba(238, 139, 31, 0.12) 100%);
}

.page-hero-overlay--accent {
  background: linear-gradient(160deg, rgba(10, 30, 10, 0.7) 0%, rgba(30, 60, 30, 0.55) 60%, rgba(238, 139, 31, 0.15) 100%);
}

.page-hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(238, 139, 31, 0.10) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

/* Floating particles */
.page-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(var(--d)) translateX(var(--r)) scale(var(--s));
  animation: orbitParticle 8s linear infinite;
  animation-delay: calc(var(--d) * -0.02s);
}

@keyframes orbitParticle {
  from {
    transform: rotate(var(--d)) translateX(var(--r)) scale(var(--s));
    opacity: 0.15;
  }

  50% {
    opacity: 0.35;
  }

  to {
    transform: rotate(calc(var(--d) + 360deg)) translateX(var(--r)) scale(var(--s));
    opacity: 0.15;
  }
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 9rem 2rem 5rem;
  max-width: 780px;
  margin-inline: auto;
}

.page-eyebrow {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(238, 139, 31, 0.18);
  border: 1px solid rgba(238, 139, 31, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeInDown 0.7s ease forwards 0.2s;
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--surface);
  line-height: 1.08;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.page-subtitle {
  font-size: clamp(0.97rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 620px;
  margin-inline: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  z-index: 3;
  line-height: 0;
}

.page-hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Vision & Mission ───────────────────────────────────── */
.vm-section {
  padding: 6rem 0 5rem;
  background: var(--surface);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: var(--surface);
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.vm-card--vision {
  border-top: 4px solid var(--green);
}

.vm-card--mission {
  border-top: 4px solid var(--accent);
}

.vm-card-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}

.vm-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.vm-card-text {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.vm-card-accent {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.vm-card--mission .vm-card-accent {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.vm-card:hover .vm-card-accent {
  transform: scaleX(1);
}

/* ── Core Values ────────────────────────────────────────── */
.core-values-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(130deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green) 100%);
}

.cv-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 15% 85%, rgba(238, 139, 31, 0.14) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='25'/%3E%3C/g%3E%3C/svg%3E");
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cv-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.cv-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cv-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 1rem;
}

.cv-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 0.65rem;
}

.cv-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

/* ── Strategic Goals ────────────────────────────────────── */
.goals-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}

.goals-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 90% 10%, rgba(63, 143, 63, 0.06) 0%, transparent 50%);
}

.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.goals-list-col {
  display: grid;
  gap: 0;
}

.goal-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: default;
}

.goal-row:last-child {
  border-bottom: none;
}

.goal-row:hover {
  padding-inline-start: 8px;
}

.goal-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 28px;
  text-align: center;
}

.goal-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
}

/* ── Products Section ───────────────────────────────────── */
.prod-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}

.prod-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233f8f3f' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}

.prod-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(0, 138, 52, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.prod-card:hover {
  transform: translateY(-12px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.prod-card:hover .prod-card-bar {
  transform: scaleX(1);
}

.prod-card-top {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: var(--bg, #e8f5e8);
}

.prod-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.prod-card:hover .prod-image-bg {
  transform: scale(1.1);
}

.prod-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.prod-card-body {
  padding: 1.8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent, var(--brand-color));
  margin-bottom: 0.7rem;
}

.prod-card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.prod-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent, #ee8b1f);
  background: rgba(238, 139, 31, 0.08);
  border: 1px solid rgba(238, 139, 31, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.prod-card:hover .prod-tag {
  background: rgba(238, 139, 31, 0.14);
}

.prod-card-bar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--brand-color)), transparent);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.4s ease;
}

/* ── Quality Section ────────────────────────────────────── */
.quality-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--green-deep) 100%);
}

.quality-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 85% 85%, rgba(238, 139, 31, 0.16) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23fff' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.quality-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.4s ease, box-shadow 0.5s ease;
  cursor: default;
}

.quality-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.quality-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--accent, #ee8b1f);
}

.quality-icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.quality-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 0.6rem;
}

.quality-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* ── CTA Section ────────────────────────────────────────── */
.page-cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.page-cta-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--green-deep);
}

.cta-bg-shape {
  position: absolute;
}

.cta-map-outline {
  width: 45%;
  height: auto;
  top: 10%;
  right: 5%;
}

.cta-route-lines {
  width: 55%;
  height: auto;
  bottom: 5%;
  left: 0;
}

.cta-warehouse {
  width: 12%;
  height: auto;
  bottom: 15%;
  right: 8%;
}

.cta-truck {
  width: 14%;
  height: auto;
  top: 20%;
  left: 6%;
}

.cta-dots {
  width: 50%;
  height: auto;
  top: 30%;
  left: 25%;
}

[dir="rtl"] .cta-map-outline {
  right: auto;
  left: 5%;
}

[dir="rtl"] .cta-warehouse {
  right: auto;
  left: 8%;
}

[dir="rtl"] .cta-truck {
  left: auto;
  right: 6%;
}

.cta-trust-line {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: -0.5rem 0 2rem;
}

.page-cta-light {
  background: var(--bg);
}

.page-cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.35s ease;
}

.page-cta-box:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.page-cta-box--light {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.cta-title--dark {
  color: var(--text);
}

.cta-text {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.cta-text--dark {
  color: var(--muted);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 138, 52, 0.2);
  border: 2px solid #0b860b; 
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 138, 52, 0.3);
  color: #fff;
}

/* ── Contact Main Section ───────────────────────────────── */
.contact-main-section {
  position: relative;
  padding: 6rem 0;
  background: var(--surface);
  overflow: hidden;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--green-light);
  border: 1px solid rgba(63, 143, 63, 0.10);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.rtl .ci-card:hover {
  transform: translateX(-5px);
}

.ci-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(63, 143, 63, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-panel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-panel-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Channels Section ───────────────────────────────────── */
.channels-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(130deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green) 100%);
}

.channels-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(238, 139, 31, 0.12) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.channel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.channel-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.channel-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 1.2rem;
}

.channel-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.7rem;
}

.channel-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.channel-btn:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .goals-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {

  .vm-grid,
  .goals-grid,
  .contact-main-grid,
  .channels-grid {
    grid-template-columns: 1fr;
  }

  .cv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  .page-cta-box {
    padding: 2.5rem 1.8rem;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 45vh;
  }

  .page-hero-content {
    padding: 7rem 1.5rem 4rem;
  }

  .cv-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

  .vm-section,
  .core-values-section,
  .goals-section,
  .prod-section,
  .quality-section,
  .page-cta-section,
  .contact-main-section,
  .channels-section {
    padding: 4rem 0;
  }
}


/* ═══════════════════════════════════════════════════════════ */
/*  SERVICES PAGE                                              */
/* ═══════════════════════════════════════════════════════════ */

/* ── Services Cards Grid ── */
.services-list-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}

.services-list-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--green) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.035;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.svc-card:hover .svc-card-bar {
  transform: scaleX(1);
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(63, 143, 63, 0.06) 0%, rgba(63, 143, 63, 0.02) 100%);
  border-bottom: 1px solid rgba(63, 143, 63, 0.08);
}

.svc-card-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(63, 143, 63, 0.12);
  line-height: 1;
}

.svc-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  box-shadow: 0 8px 24px rgba(63, 143, 63, 0.3);
  flex-shrink: 0;
}

.svc-icon-wrap svg {
  width: 28px;
  height: 28px;
}

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

.svc-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark, #1a2e1a);
  margin-bottom: 0.6rem;
}

.svc-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.svc-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-card-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.svc-card-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.svc-card-bar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--accent));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.4s ease;
}

/* ── What You Gain ── */
.gain-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green) 100%);
  overflow: hidden;
}

.gain-section-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(238, 139, 31, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23fff' fill-opacity='0.04'/%3E%3C/svg%3E");
}

.gain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.gain-card {
  background: #fff;
  border: 1px solid rgba(63, 143, 63, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  will-change: transform;
}

.gain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.gain-card-icon {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border: 1px solid rgba(63, 143, 63, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  color: var(--green-dark);
  transition: background 0.3s ease;
}

.gain-card:hover .gain-card-icon {
  background: var(--green-light);
  border-color: rgba(63, 143, 63, 0.3);
}

.gain-card-icon svg {
  width: 28px;
  height: 28px;
}

.gain-card-icon i {
  font-size: 1.5rem;
}

.gain-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.gain-card-text {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.65;
}

/* ── Who We Work With ── */
.who-we-work-section {
  padding: 6rem 0;
  background: var(--surface);
  position: relative;
}

.who-we-work-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 95% 50%, rgba(63, 143, 63, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.who-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.who-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.who-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--green), var(--accent));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.who-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 143, 63, 0.25);
}

[dir="rtl"] .who-card:hover {
  transform: translateX(-8px);
}

.who-card:hover::before {
  transform: scaleY(1);
}

.who-card-icon-wrap {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  background: rgba(63, 143, 63, 0.08);
  border: 1.5px solid rgba(63, 143, 63, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background 0.3s ease, color 0.3s ease;
}

.who-card:hover .who-card-icon-wrap {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.who-card-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.who-card-icon-wrap i {
  font-size: 1.4rem;
}

.who-card-content {
  flex: 1;
}

.who-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark, #1a2e1a);
  margin-bottom: 0.35rem;
}

.who-card-text {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.who-card-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(63, 143, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.who-card:hover .who-card-arrow {
  background: var(--green);
  color: #fff;
  transform: translateX(4px);
}

[dir="rtl"] .who-card-arrow svg {
  transform: scaleX(-1);
}

[dir="rtl"] .who-card:hover .who-card-arrow {
  transform: translateX(-4px);
}

.who-card-arrow svg {
  width: 18px;
  height: 18px;
}

/* ── CTA outline button ── */
.cta-btn--outline {
  background: rgba(238, 139, 31, 0.12);
  color: var(--brand-orange);
  border: 2px solid rgba(238, 139, 31, 0.25);
  box-shadow: none;
}

.cta-btn--outline:hover {
  border-color: var(--brand-orange);
  background: rgba(238, 139, 31, 0.18);
  transform: translateY(-3px);
  color: var(--brand-orange);
}

/* ── CTA actions flex spacing ── */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cta-actions .cta-btn {
  min-width: 240px;
}

/* ── Services page responsive ── */
@media (max-width: 1024px) {
  .gain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .gain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-card {
    padding: 1.5rem;
    gap: 1.2rem;
  }
}

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

  .who-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .who-card-arrow {
    display: none;
  }

  .services-list-section,
  .gain-section,
  .who-we-work-section {
    padding: 4rem 0;
  }
}