/* ===== Afkar Advertising Screens — Stylesheet ===== */

:root {
  --bg: #0a0e1a;
  --surface: #131826;
  --surface-2: #1a2030;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9ba3b4;
  --accent: #00d4ff;
  --accent-2: #ff8a00;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --gradient-warm: linear-gradient(135deg, #ff8a00 0%, #ff3d6e 100%);
  --shadow: 0 20px 60px -20px rgba(0, 212, 255, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

[dir="ltr"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #001020;
  box-shadow: 0 10px 30px -10px rgba(0, 212, 255, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -10px rgba(0, 212, 255, 0.8); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.4rem;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 6px 18px rgba(0, 212, 255, 0.45));
  transform: scale(1.03);
}

.hero-logo {
  display: block;
  width: min(420px, 80%);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 40px rgba(0, 212, 255, 0.35));
  animation: heroLogoIn 1s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #001020;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px -5px rgba(0, 212, 255, 0.5);
}

.logo-text {
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff, #9ba3b4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-text .dot { color: var(--accent); -webkit-text-fill-color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
[dir="rtl"] .nav-links { transform: translate(50%, -50%); }

.nav-links > a,
.nav-dropdown-trigger {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger i { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: rgba(19, 24, 38, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  color: var(--text);
  background: rgba(0, 212, 255, 0.1);
}
.nav-dropdown-menu a i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}
.lang-btn:hover { color: var(--text); border-color: var(--accent); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  animation: heroBgZoom 6s ease-in-out forwards;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.35) 0%,
      rgba(10, 14, 26, 0.55) 55%,
      rgba(10, 14, 26, 0.95) 100%),
    radial-gradient(ellipse at center,
      transparent 0%,
      rgba(10, 14, 26, 0.45) 100%);
}

@keyframes heroBgZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  z-index: 1;
  mix-blend-mode: screen;
}
.glow-1 { background: var(--accent); top: -100px; right: -100px; }
.glow-2 { background: var(--accent-2); bottom: -150px; left: -100px; opacity: 0.25; }

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title-accent {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #d8dde6;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-hero-big {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
  min-width: min(520px, 90%);
  gap: 0.9rem;
  box-shadow: 0 18px 45px -12px rgba(0, 212, 255, 0.7);
  letter-spacing: 0.02em;
}
.btn-hero-big i { font-size: 1.25rem; }
.btn-hero-big:hover { box-shadow: 0 22px 55px -10px rgba(0, 212, 255, 0.9); }
.btn-hero-big .hero-cta-arrow {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.btn-hero-big:hover .hero-cta-arrow { transform: translateX(-4px); }
[dir="ltr"] .btn-hero-big:hover .hero-cta-arrow { transform: translateX(4px); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stats-side {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 0;
  z-index: 2;
  text-align: start;
  width: 280px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 35, 0.75), rgba(10, 14, 26, 0.88));
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.hero-stats-side::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-stats-side .stat {
  position: relative;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border);
  transition: background 0.3s ease;
}
.hero-stats-side .stat:first-child { border-top: none; }
.hero-stats-side .stat:hover { background: rgba(0, 212, 255, 0.05); }

.hero-stats-side .stat::before {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 3px;
  height: 0;
  background: var(--gradient);
  transition: height 0.3s ease, top 0.3s ease;
  border-radius: 0 3px 3px 0;
}
.hero-stats-side .stat:hover::before { height: 70%; top: 15%; }

.hero-stats-side .stat-num {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
  font-family: 'Inter', 'Cairo', sans-serif;
  letter-spacing: -0.01em;
}

.stat-unit {
  font-size: 0.8rem;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  font-weight: 700;
}

.hero-stats-side .stat-label {
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 600;
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  animation: bounce 2s infinite;
  z-index: 2;
}

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

/* ===== Sections ===== */
.section {
  padding: 6rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-alt > * { max-width: var(--container); margin-inline: auto; }

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow);
}

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #001020;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.7rem; }

/* ===== Works Tabs ===== */
.works-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.works-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.works-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.25);
}
.works-tab.active {
  color: #001020;
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 10px 25px -10px rgba(0, 212, 255, 0.55);
}

.works-tab-link {
  background: rgba(255, 138, 0, 0.1);
  border-color: rgba(255, 138, 0, 0.35);
  color: #ff8a00;
}
.works-tab-link:hover {
  background: linear-gradient(135deg, #ff8a00, #ff3d6e);
  color: white;
  border-color: transparent;
}
.works-tab-link .arrow { transition: transform 0.25s ease; font-size: 0.75rem; }
.works-tab-link:hover .arrow { transform: translateX(-3px); }

.works-grid-wrap { display: none; }
.works-grid-wrap.active { display: block; }

.works-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.work-hidden { display: none !important; }
.works-grid-wrap.expanded .work-hidden { display: flex !important; }

.works-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.works-more-btn:hover {
  background: var(--gradient);
  color: #001020;
  border-color: transparent;
  box-shadow: 0 10px 25px -8px rgba(0, 212, 255, 0.55);
}
.works-more-btn i { transition: transform 0.3s ease; }
.works-grid-wrap.expanded .works-more-btn i { transform: rotate(45deg); }

@media (max-width: 1000px) {
  .works-grid-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .works-grid-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .works-tab { padding: 0.6rem 0.9rem; font-size: 0.82rem; }
  .works-tab i:first-child { display: none; }
}

/* ===== Works / Showcase ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.work-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.work-card:hover { transform: scale(1.02); border-color: rgba(0, 212, 255, 0.3); }

/* Figure variant — actual project image with caption */
figure.work-card { margin: 0; padding: 0; display: block; color: inherit; font-size: inherit; }
figure.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
figure.work-card:hover img { transform: scale(1.05); }
figure.work-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.95) 75%);
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
  text-align: start;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-card.placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    var(--surface-2);
}

/* ===== Clients ===== */
.clients-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
  background: rgba(10, 14, 26, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.clients-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.clients-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.clients-tab.active {
  color: #001020;
  background: var(--gradient);
  box-shadow: 0 10px 25px -10px rgba(0, 212, 255, 0.55);
}

.clients-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.clients-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.clients-grid.active { display: grid; }

.client-card {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
}
.client-card:hover::before { opacity: 1; }

.client-card img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.client-card:hover img { transform: scale(1.05); }

.client-card { padding: 0.6rem; }

.client-card-name {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  text-align: center;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clients-note {
  max-width: 600px;
  margin: 2.5rem auto 0;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.clients-note i { color: var(--accent); }

@media (max-width: 600px) {
  .clients-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
  .client-card { padding: 0.75rem; }
  .client-card i { font-size: 1.4rem; }
  .client-card span { font-size: 0.72rem; }
}

@media (max-width: 600px) {
  .clients-tab { padding: 0.55rem 0.85rem; font-size: 0.82rem; }
  .clients-tab i { display: none; }
}

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, 0.3); }

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, 0.3); }

.contact-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: white;
}
.contact-ico.whatsapp { background: #25D366; }
.contact-ico.phone { background: var(--gradient); color: #001020; }
.contact-ico.mail { background: var(--gradient-warm); }
.contact-ico.map { background: linear-gradient(135deg, #e94560, #f5c518); }

.contact-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  margin: 1rem 0 1.25rem;
  max-width: 360px;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.socials a:hover { color: var(--text); background: var(--gradient); }

.footer-col h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Specs Side Tab ===== */
.specs-toggle {
  position: fixed;
  top: 50%;
  inset-inline-start: 0;
  transform: translateY(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.85rem;
  background: var(--gradient);
  color: #001020;
  font-weight: 800;
  font-size: 0.95rem;
  border-start-end-radius: 14px;
  border-end-end-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 212, 255, 0.6);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
}
.specs-toggle:hover {
  transform: translateY(-50%) translateX(-3px);
  box-shadow: 0 16px 40px -10px rgba(0, 212, 255, 0.85);
}
[dir="rtl"] .specs-toggle:hover { transform: translateY(-50%) translateX(3px); }
.specs-toggle i { font-size: 1rem; writing-mode: horizontal-tb; }


/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-links,
  [dir="rtl"] .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.5rem;
    top: auto;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open,
  [dir="rtl"] .nav-links.open { transform: translateY(0); }
  .nav-links > a, .nav-dropdown-trigger { padding: 0.85rem 1rem; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0 0 0 1rem;
    box-shadow: none;
    backdrop-filter: none;
    min-width: 0;
  }
  .menu-toggle { display: grid; place-items: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 1100px) {
  .hero-stats-side {
    position: static;
    transform: none;
    flex-direction: row;
    width: 100%;
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: center;
  }
  .hero-stats-side .stat {
    flex: 1;
    border-top: none;
    border-inline-start: 1px solid var(--border);
  }
  .hero-stats-side .stat:first-child { border-inline-start: none; }
  .hero-stats-side .stat::before { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1rem; }
  .hero { padding: 7rem 1rem 3rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
