/* =============================================
   Art direction: IT solutions company → professional, trustworthy, modern corporate
   Palette: deep navy + electric teal accent, clean white surfaces
   Typography: Cabinet Grotesk (display) + Satoshi (body) — Fontshare
   Density: balanced — generous whitespace, confident layout
   ============================================= */

/* ========== GOOGLE/FONTSHARE FONTS ========== */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800,900&f[]=satoshi@400,500,700&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Brand Colors — Deep Navy + Teal */
  --color-bg:             #f4f6f9;
  --color-surface:        #ffffff;
  --color-surface-2:      #f8fafc;
  --color-surface-offset: #eef1f6;
  --color-divider:        #dde3ed;
  --color-border:         #cdd5e0;

  --color-text:           #0f1c2e;
  --color-text-muted:     #4a5a72;
  --color-text-faint:     #8a9ab5;
  --color-text-inverse:   #ffffff;

  /* Primary: Electric Teal */
  --color-primary:        #00a89d;
  --color-primary-hover:  #008c83;
  --color-primary-active: #006f68;
  --color-primary-light:  #e0f5f4;

  /* Secondary: Deep Navy */
  --color-navy:           #0f1c2e;
  --color-navy-mid:       #1a2f4a;
  --color-navy-light:     #243d5e;

  /* Accent: Warm Orange for CTAs */
  --color-accent:         #e8622a;
  --color-accent-hover:   #cf4f1a;

  /* Status */
  --color-success:        #22a366;
  --color-error:          #d63535;
  --color-warning:        #e0920a;

  /* Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,28,46,0.08), 0 1px 2px rgba(15,28,46,0.04);
  --shadow-md: 0 4px 16px rgba(15,28,46,0.1), 0 2px 6px rgba(15,28,46,0.06);
  --shadow-lg: 0 12px 40px rgba(15,28,46,0.14), 0 4px 12px rgba(15,28,46,0.08);
  --shadow-xl: 0 24px 64px rgba(15,28,46,0.18);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: rgba(0,168,157,0.2); color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  z-index: 10000;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-4); }

/* ========== LAYOUT UTILITIES ========== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}
.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }

/* ========== TYPOGRAPHY ========== */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,168,157,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,98,42,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); }

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,28,46,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.main-nav { display: flex; align-items: center; gap: var(--space-1); }

.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

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

.nav-cta {
  margin-left: var(--space-4);
  padding: 0.55rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: var(--space-1);
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: var(--space-3) var(--space-4);
  border-radius: 0;
  border-left: 3px solid transparent;
}

.mobile-nav .nav-link.active {
  border-left-color: var(--color-primary);
  background: rgba(0,168,157,0.08);
}

/* ========== PAGE WRAPPER ========== */
.page-content { padding-top: 70px; }

/* ========== HERO SECTIONS ========== */
.hero {
  background: var(--color-navy);
  color: #fff;
  padding: clamp(var(--space-16), 12vw, var(--space-24)) 0 clamp(var(--space-12), 8vw, var(--space-20));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(0,168,157,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,89,120,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,168,157,0.15);
  border: 1px solid rgba(0,168,157,0.35);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-6);
}

.hero-title span { color: var(--color-primary); }

.hero-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}

.stat-card .number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card .label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tech-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0 clamp(var(--space-10), 6vw, var(--space-16));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,168,157,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.72);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

/* ========== SECTIONS ========== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.section-bg { background: var(--color-surface); }
.section-dark { background: var(--color-navy); color: #fff; }
.section-offset { background: var(--color-surface-offset); }

.section-header {
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========== CARDS ========== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::after { transform: scaleX(1); }

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-surface-offset);
  line-height: 1;
  margin-bottom: var(--space-4);
  user-select: none;
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-features li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* E-marketing service card highlight */
.service-card.featured {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  border-color: rgba(0,168,157,0.3);
  color: #fff;
}

.service-card.featured .service-number { color: rgba(255,255,255,0.08); }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-card.featured .service-features li { color: rgba(255,255,255,0.65); }
.service-card.featured .service-features li::before { background: var(--color-primary); }
.service-card.featured::after { background: var(--color-primary); }

/* ========== ABOUT PAGE ========== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.about-intro-text .section-title { max-width: 18ch; }

.value-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.value-icon svg { width: 20px; height: 20px; }

.value-text h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.value-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  padding-bottom: 60%;
  background: radial-gradient(circle, rgba(0,168,157,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.about-stat { text-align: center; }

.about-stat .big-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about-stat .desc {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-quote {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

.about-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  font-style: italic;
  line-height: 1.4;
}

.about-quote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Partners strip */
.partners-strip {
  padding: var(--space-10) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.partners-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-4), 3vw, var(--space-10));
}

.partner-logo {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  text-transform: uppercase;
}

.partner-logo:hover { color: var(--color-primary); }

/* Mission & Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.mv-card {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.mv-card.mission {
  background: var(--color-navy);
  color: #fff;
}

.mv-card.vision {
  background: var(--color-primary-light);
  color: var(--color-navy);
  border: 1px solid rgba(0,168,157,0.2);
}

.mv-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.mv-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.mv-card.mission h3, .mv-card.mission p { color: #fff; }
.mv-card.vision h3 { color: var(--color-navy); }
.mv-card.vision p { color: var(--color-text-muted); }

.mv-card p { font-size: var(--text-sm); line-height: 1.8; }

/* ========== PROJECTS PAGE ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: var(--space-6);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.project-thumb {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-thumb-icon {
  color: rgba(0,168,157,0.5);
  width: 64px;
  height: 64px;
}

.project-thumb-icon svg { width: 64px; height: 64px; }

.project-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.project-body { padding: var(--space-6); }

.project-body h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.project-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.project-chip {
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ========== CONTACT PAGE ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-4); }

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item-text h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.contact-item-text a,
.contact-item-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-item-text a:hover { color: var(--color-primary); }

/* Contact form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.contact-form-wrap .form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,168,157,0.12);
  background: #fff;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(214,53,53,0.1);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}

.field-error.visible { display: block; }

.form-submit { display: flex; align-items: center; gap: var(--space-4); }

.form-success-msg {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(34,163,102,0.1);
  border: 1px solid rgba(34,163,102,0.3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-success);
  margin-top: var(--space-4);
}

.form-success-msg.visible { display: flex; }
.form-success-msg svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 60%, var(--color-navy-mid) 100%);
  color: #fff;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(0,168,157,0.15) 0%, transparent 65%);
  pointer-events: none;
}

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

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-base);
  max-width: 55ch;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* ========== HOME: FEATURES SECTION ========== */
.features-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.features-left { display: flex; flex-direction: column; gap: var(--space-5); }
.features-right { display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-10); }

.feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.feature-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.feature-text h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.feature-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== TESTIMONIAL ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-quote::before { content: '\201C'; color: var(--color-primary); font-size: 1.5em; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-sm);
  color: #fff;
  flex-shrink: 0;
}

.author-info .name { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.author-info .role { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name { font-size: 1.4rem; }
.footer-brand .logo-tagline { font-size: 0.6rem; }

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: var(--space-4) 0 var(--space-6);
  max-width: 36ch;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }
.footer-contact-item a:hover { color: var(--color-primary); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-5);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--color-primary); }

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.social-link svg { width: 16px; height: 16px; }

/* ========== APPROACH SECTION (HOME) ========== */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.approach-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  z-index: 0;
}

.approach-step { position: relative; z-index: 1; text-align: center; }

.step-num {
  width: 60px;
  height: 60px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-primary);
  margin: 0 auto var(--space-5);
  box-shadow: 0 0 0 6px var(--color-primary-light);
}

.approach-step h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.approach-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .approach-steps::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-asymmetric { grid-template-columns: 1fr; }
  .features-right { padding-top: 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .about-stat-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ===== RTL SUPPORT ===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

/* حاويات عامة */
body.rtl .section-header.centered {
  text-align: center;
}

body.rtl .breadcrumb {
  flex-direction: row-reverse;
}

body.rtl .breadcrumb a,
body.rtl .breadcrumb span {
  direction: rtl;
}

/* الهيدر / الناف */
body.rtl .header-inner {
  flex-direction: row-reverse;
}

body.rtl .site-logo {
  flex-direction: row-reverse;
}

body.rtl .logo-text {
  text-align: right;
}

/* القوائم (nav + footer) */
body.rtl .main-nav {
  flex-direction: row-reverse;
}

body.rtl .nav-cta {
  margin-left: 0;
  margin-right: var(--space-4);
}

body.rtl .mobile-nav .nav-link {
  border-left: none;
  border-right: 3px solid transparent;
}

body.rtl .mobile-nav .nav-link.active {
  border-right-color: var(--color-primary);
}

/* تخطيطات grid الرئيسية */
body.rtl .hero-grid,
body.rtl .about-intro-grid,
body.rtl .features-asymmetric,
body.rtl .contact-layout {
  direction: rtl;
}

/* عناصر contact */
body.rtl .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .contact-item-icon {
  margin-left: 0;
  margin-right: 0;
}

/* كروت value / feature / testimonial */
body.rtl .value-item,
body.rtl .feature-item,
body.rtl .testimonial-author,
body.rtl .footer-contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .feature-text,
body.rtl .value-text,
body.rtl .testimonial-quote,
body.rtl .author-info {
  text-align: right;
}

/* كروت المشاريع */
body.rtl .project-body {
  text-align: right;
}

body.rtl .project-meta {
  justify-content: flex-start;
}

body.rtl .project-tag {
  left: auto;
  right: var(--space-3);
}

/* نموذج التواصل */
body.rtl .contact-form-wrap {
  text-align: right;
}

body.rtl .form-group label,
body.rtl .form-group input,
body.rtl .form-group textarea,
body.rtl .form-group select {
  text-align: right;
}

/* الفوتر */
body.rtl .footer-grid {
  direction: rtl;
}

body.rtl .footer-contact-item svg {
  margin-top: 2px;
}

body.rtl .footer-bottom {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .footer-social {
  flex-direction: row-reverse;
}

/* ===== Lang Switch Button Style ===== */
.nav-link.lang-switch {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #000 !important;
  background: #00a89d;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-link.lang-switch:hover {
  background: var(--color-primary-dark, #008f85);
  transform: translateY(-1px);
}

/* نفس الستايل للموبايل */
body.rtl .mobile-nav .nav-link.lang-switch,
.mobile-nav .nav-link.lang-switch {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 0.625rem 1.25rem;
  background: #00a89d;
  border-radius: var(--radius-md);
  font-weight: 700;
}


/* ============ VISUAL ENHANCEMENTS ============ */

/* 1. Hero Section Gradient */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #004d40 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 168, 157, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 168, 157, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* 2. Section with pattern background (used for sections like "What We Do") */
.section-bg,
.section-pattern {
  background-color: #f8faff;
  position: relative;
}

.section-bg::before,
.section-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 168, 157, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 157, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}

/* 3. Dark section enhanced (Why Us / Testimonials) */
.section-dark {
  background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 100%);
  position: relative;
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(0, 168, 157, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* 4. Page Hero Gradient (About, Services, Projects headers) */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a365d 50%, #004d40 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(0, 168, 157, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(0, 168, 157, 0.05) 0%, transparent 35%);
  animation: floatGlow 15s ease-in-out infinite;
  pointer-events: none;
}

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

/* 5. Stat cards subtle shadow */
.stat-card,
.about-stat {
  background: rgba(0, 168, 157, 0.08);
  border: 1px solid rgba(0, 168, 157, 0.15);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.stat-card:hover,
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 168, 157, 0.2);
  border-color: rgba(0, 168, 157, 0.3);
}

/* 6. Smooth gradient for CTA section */
.cta-section {
  background: linear-gradient(180deg, #0d1b2a 0%, #002523 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0, 168, 157, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* 7. Service cards card style */
.service-card,
.card,
.testimonial-card,
.project-card,
.mv-card,
.approach-step,
.feature-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.service-card:hover,
.card:hover,
.testimonial-card:hover,
.project-card:hover,
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 168, 157, 0.15);
  border-color: rgba(0, 168, 157, 0.2);
}

/* 8. Navigation hover glow */
.main-nav .nav-link:hover,
.mobile-nav .nav-link:hover {
  color: #00a89d;
  position: relative;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: #00a89d;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* ============ END VISUAL ENHANCEMENTS ============ */


/* ============ ANIMATED BACKGROUND FOR HOME HERO ============ */

.hero {
  position: relative;
  overflow: hidden;
  /* النور الأساسية — ثابتة */
  background: #0d1b2a;
}

/* طبقات الحركة */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Gradient دائري متحرك */
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 168, 157, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(0, 168, 157, 0.05) 0%, transparent 35%);
  animation: heroOrbit1 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* نقاط تقنية مشعة */
  background-image: 
    radial-gradient(circle at 25% 70%, rgba(0, 168, 157, 0.06) 0%, transparent 20%),
    radial-gradient(circle at 70% 85%, rgba(0, 168, 157, 0.04) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  animation: heroOrbit2 25s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}

/* أنماط الحركة */
@keyframes heroOrbit1 {
  0% {
    background-position: 0% 0%;
    transform: scale(1) rotate(0deg);
  }
  50% {
    background-position: 100% 100%;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    background-position: 50% 50%;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes heroOrbit2 {
  0% {
    transform: translateY(0px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-30px);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0px);
    opacity: 0.4;
  }
}

/* تأثير تكنولوجي — خطوط دوائر */
.hero-grid {
  position: relative;
  z-index: 2; /* فوق الخلفية المتحركة */
}

/* ============ كبديل أحلى — Animation SVG Wave ============ */

/* If you want something cleaner, add this vaqui before hero::after */

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
  opacity: 0.15;
}

.hero-shape svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: svgPulse 8s ease-in-out infinite;
}

@keyframes svgPulse {
  0%, 100% {
    transform: scaleX(1) scaleY(1);
  }
  50% {
    transform: scaleX(1.05) scaleY(0.98);
  }
}

/* ============ OPTION 2: Floating Particles (بدون JS) ============ */
/* Add this for even more life */

.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0, 168, 157, 0.2);
  top: 20%; left: 10%;
  animation: float1 12s ease-in-out infinite;
}

.hero-particles::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0, 168, 157, 0.15);
  top: 60%; left: 80%;
  animation: float2 18s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -50px) scale(1.5); }
  66% { transform: translate(-40px, 60px) scale(0.8); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -80px) scale(0.6); }
  66% { transform: translate(50px, 40px) scale(1.3); }
}

/* ============ For Arabic RTL pages — do the same ============ */
/* Same hero animations apply to hero sections on index-ar.php */
/* No extra CSS needed — same class name */

/* ============ END ANIMATED BACKGROUNDS ============ */