/* ==========================================================================
   Nayel Solutions — Brand Design System (daisyUI-aligned)
   Navy · Magenta · Cyan · Plus Jakarta Sans
   Headings: navy + magenta · Cards/hover: cyan
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cairo:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ==========================================================================
   First-visit intro loader — white + Nayel logo
   ========================================================================== */
html.is-intro-loading {
  overflow: hidden;
}

html.is-intro-loading body {
  overflow: hidden;
}

/* Cover page until the loader mounts (subpages inject via JS) */
html.is-intro-loading body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #FFFFFF;
  pointer-events: none;
}

html.is-intro-loading body > *:not(#site-loader) {
  visibility: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.site-loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(9.5rem, 28vw, 12.5rem);
  height: clamp(9.5rem, 28vw, 12.5rem);
}

.site-loader-ring {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  pointer-events: none;
}

.site-loader-logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(2.25rem, 5.5vw, 3rem);
  max-width: 68%;
  object-fit: contain;
  animation: site-loader-breathe 1.35s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes site-loader-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader-logo,
  .site-loader-ring {
    animation: none;
    opacity: 1;
  }

  .site-loader {
    transition: opacity 0.2s ease;
  }
}

/* daisyUI 5 custom theme — balanced Nayel brand */
[data-theme="nayel"] {
  color-scheme: light;
  --color-base-100: #FFFFFF;
  --color-base-200: #F8FAFC;
  --color-base-300: #E2E8F0;
  --color-base-content: #0B1F3A;
  --color-primary: #E11D74;
  --color-primary-content: #FFFFFF;
  --color-secondary: #06B6D4;
  --color-secondary-content: #FFFFFF;
  --color-accent: #2563EB;
  --color-accent-content: #FFFFFF;
  --color-neutral: #0B1F3A;
  --color-neutral-content: #FFFFFF;
  --color-info: #06B6D4;
  --color-info-content: #FFFFFF;
  --color-success: #059669;
  --color-success-content: #FFFFFF;
  --color-warning: #D97706;
  --color-warning-content: #FFFFFF;
  --color-error: #DC2626;
  --color-error-content: #FFFFFF;
  --radius-selector: 1rem;
  --radius-field: 9999px;
  --radius-box: 1rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 0;
  --noise: 0;
}

:root,
[data-theme="nayel"] {
  /* Magenta — CTAs + heading accents */
  --primary: #E11D74;
  --primary-dark: #BE185D;
  --primary-soft: #FDF2F8;
  --primary-glow: rgba(225, 29, 116, 0.18);

  /* Cyan — cards, hover, interactive accents */
  --secondary: #06B6D4;
  --secondary-dark: #0891B2;
  --secondary-soft: #ECFEFF;
  --secondary-glow: rgba(6, 182, 212, 0.16);
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --cyan-soft: #ECFEFF;

  --accent: #2563EB;
  --accent-soft: #EFF6FF;
  --soft-blue: #EFF6FF;
  --sky: #ECFEFF;

  --white: #FFFFFF;
  --light: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-soft: #F8FAFC;

  /* Deep navy — heading base + dark sections */
  --dark: #0B1F3A;
  --dark-2: #122A4A;
  --dark-3: #1E3A5F;
  --slate: #64748B;
  --slate-text: #64748B;

  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-cyan: rgba(6, 182, 212, 0.28);
  --border-magenta: rgba(225, 29, 116, 0.22);
  --border-dark: rgba(11, 31, 58, 0.08);

  --shadow-sm: 0 2px 8px -2px rgba(11, 31, 58, 0.05);
  --shadow: 0 12px 28px -16px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 22px 44px -22px rgba(11, 31, 58, 0.12);
  --shadow-cyan: 0 16px 32px -16px rgba(6, 182, 212, 0.18);
  --shadow-pink: 0 16px 32px -16px rgba(225, 29, 116, 0.18);

  --radius: 1rem;
  --radius-sm: 0.75rem;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 96vw;
  --container-pad: clamp(1rem, 2.6vw, 3.5rem);
  --section-y: clamp(4.5rem, 8vw, 7rem);
  --section-head-max: min(48rem, 100%);
  --readable: min(46rem, 100%);

  --erp: #E11D74;
  --lms: #06B6D4;
  --hms: #2563EB;
  --pos: #E11D74;
  --budget: #06B6D4;
  --ticket: #0E7490;
}


html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--dark);
  background-color: #F8FAFC;
  background-image: none;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 1rem;
}

/* Override Tailwind slate-900 / black text utilities */
.text-slate-900,
.text-black,
.text-gray-900,
.text-neutral-900 {
  color: var(--dark) !important;
}

[dir="rtl"] body { font-family: 'Cairo', var(--font); }
[lang="ur"] body { font-family: 'Cairo', 'Noto Nastaliq Urdu', var(--font); }

::selection { background: var(--cyan); color: #fff; }
::-moz-selection { background: var(--cyan); color: #fff; }

/* --------------------------------------------------------------------------
   Typography Scale
   -------------------------------------------------------------------------- */
.type-h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.type-h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.type-h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
}

.type-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--slate-text);
  max-width: 36rem;
}

.type-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--slate-text);
}

.type-small {
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Layout / Container — fluid width so zoom-out / large screens fill the view
   -------------------------------------------------------------------------- */
.container-nayel {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

@media (min-width: 1600px) {
  :root {
    --container: 96vw;
    --section-head-max: min(54rem, 100%);
    --readable: min(52rem, 100%);
  }
}

@media (min-width: 2000px) {
  :root {
    --container: 97vw;
    --section-head-max: min(58rem, 100%);
    --readable: min(56rem, 100%);
  }
}

@media (min-width: 2400px) {
  :root {
    --container: 97vw;
  }
}

.section-y { padding-block: var(--section-y); }
.section-y-sm { padding-block: clamp(3.5rem, 6vw, 5rem); }
.section-y-lg { padding-block: clamp(5rem, 10vw, 7.5rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  width: fit-content;
  max-width: 100%;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(6, 182, 212, 0.14);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark);
  text-align: center;
}

.section-desc {
  font-size: clamp(0.98rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: var(--slate-text);
  max-width: var(--readable);
  width: 100%;
  text-align: start;
  text-wrap: pretty;
}

/* Homepage-style section header: badge + title centered, body text left */
.section-head,
.services-offer-head,
.industries-head,
.tech-stack-head,
.dev-process-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--section-head-max);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.section-head .badge,
.section-head .badge-cyan,
.section-head .section-label,
.services-offer-head .badge,
.services-offer-head .badge-cyan,
.services-offer-head .section-label,
.industries-head .badge,
.industries-head .badge-cyan,
.industries-head .section-label,
.tech-stack-head .badge,
.tech-stack-head .badge-cyan,
.tech-stack-head .section-label,
.dev-process-head .badge,
.dev-process-head .badge-cyan,
.dev-process-head .section-label {
  width: fit-content;
  max-width: 100%;
  align-self: center;
  margin-inline: auto;
}

.section-head .section-title,
.services-offer-head .section-title,
.industries-head .section-title,
.tech-stack-head .section-title,
.dev-process-head .section-title {
  text-align: center;
  width: 100%;
  margin: 0;
}

.section-head .section-desc,
.services-offer-head .section-desc,
.industries-head .section-desc,
.tech-stack-head .section-desc,
.dev-process-head .section-desc,
.text-center .section-desc,
.section-desc.mx-auto {
  text-align: start;
  margin-inline: auto;
  margin-top: 0.15rem;
  max-width: 100%;
  width: 100%;
}

/* Split content blocks (text + image): keep left alignment */
.section-split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: start;
}
.section-split .section-label,
.section-split .badge,
.section-split .badge-cyan {
  width: fit-content;
  margin: 0;
}
.section-split .section-title,
.section-split .section-desc {
  text-align: start;
  margin-inline: 0;
  max-width: none;
  width: 100%;
}
.section-split .section-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  color: var(--dark);
}
.section-split .section-desc {
  margin: 0;
  color: #64748b;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.page-banner {
  padding-top: 7.5rem;
  padding-bottom: 4rem;
  text-align: center;
  color: var(--dark);
  position: relative;
  overflow: hidden;
  background-color: #F8FAFC;
  background-image: url('../images/downloaded/bg-3d-abstract-glass.jpg');
  background-size: cover;
  background-position: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
}

/* --------------------------------------------------------------------------
   Brand Logo — never stretch
   -------------------------------------------------------------------------- */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto !important;
  height: 2.25rem; /* mobile */
  max-width: 160px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .brand-logo { height: 2.65rem; max-width: 190px; }
}

@media (min-width: 1024px) {
  .brand-logo { height: 2.9rem; max-width: 210px; }
}

.brand-logo-footer {
  display: block;
  width: auto !important;
  height: 3.25rem;
  max-width: 230px;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-footer-logo-link:hover .brand-logo-footer {
  opacity: 1;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Surfaces & Brand Colors (solid — no gradients)
   -------------------------------------------------------------------------- */
.text-brand-gradient {
  color: var(--primary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.bg-brand-gradient {
  background: var(--primary);
}

.bg-nayel-dark,
.bg-nayel-bright,
.bg-nayel-surface {
  position: relative;
  background-color: #FFFFFF;
  background-image: url('../images/downloaded/bg-3d-network.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.bg-grid-light {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-dark,
.glass-light {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Buttons — with Vibrant Hover States
   -------------------------------------------------------------------------- */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.65rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.45);
  border: 1px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
  box-shadow: 0 14px 28px -10px rgba(6, 182, 212, 0.5);
  color: #fff;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-secondary {
  color: var(--dark);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cyan);
}

.btn-outline {
  color: var(--cyan-dark);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}
.btn-outline:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Cards — Cyan (#06b6d4) Hover Effects
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-cyan);
  border-color: var(--secondary);
}

.card-dark {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card-dark:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

/* Uniform media cards (services / products / projects) */
.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}
.media-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-cyan);
  border-color: var(--secondary);
}
.media-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-light);
}
.media-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.media-card-media--contain {
  background: #f8fafc;
}
.media-card-media--contain img {
  object-fit: contain;
  padding: 1rem;
}
.media-card:hover .media-card-media img {
  transform: scale(1.08);
}
.media-card-shade {
  position: absolute;
  inset: 0;
  background: #06B6D4;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.media-card:hover .media-card-shade { opacity: 1; }
.media-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.45rem;
  gap: 0.55rem;
  min-height: 9.5rem;
  background: #fff;
}
.media-card-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  font-size: 0.95rem;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.media-card:hover .media-card-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 18px -4px rgba(6, 182, 212, 0.45);
}
.media-card-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}
.media-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.media-card:hover .media-card-title {
  color: var(--cyan-dark);
}
.media-card-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-text);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.media-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary-dark);
  padding-top: 0.35rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.media-card-link i {
  transition: transform 0.3s ease;
}
.media-card:hover .media-card-link {
  color: var(--cyan);
}
.media-card:hover .media-card-link i {
  transform: translateX(4px);
}
[dir="rtl"] .media-card:hover .media-card-link i {
  transform: translateX(-4px);
}

/* Text / info cards */
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: start;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-cyan);
  border-color: var(--secondary);
  background: #FFFFFF;
}
.info-card:hover::before { transform: scaleY(1); }
.info-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  font-size: 1.15rem;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.info-card:hover .info-card-icon {
  transform: translateY(-2px) scale(1.08);
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 18px -4px rgba(6, 182, 212, 0.45);
}

.feature-soft {
  padding: 1.35rem 1.25rem;
  border-radius: 1.1rem;
  background: var(--light);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.feature-soft:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
  background: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.badge-pink {
  background: rgba(6, 182, 212, 0.08);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.09);
  color: var(--secondary-dark);
  border: 1px solid rgba(6, 182, 212, 0.25);
}
.badge-light {
  background: #ffffff;
  color: var(--secondary-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Navigation — with Cyan (#06b6d4) Hover
   -------------------------------------------------------------------------- */
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--dark);
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan-dark);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.25s ease;
  border-radius: 2px;
}
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* --------------------------------------------------------------------------
   Images & Frames
   -------------------------------------------------------------------------- */
.img-frame {
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #f8fafc;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.img-frame:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

.media-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.media-contain {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
}

.thumb-16x10 {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.thumb-4x3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8fafc;
}

.thumb-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
}

.img-glow::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: transparent;
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* Product themes */
.theme-erp { --product: var(--erp); }
.theme-lms { --product: var(--lms); }
.theme-hms { --product: var(--hms); }
.theme-pos { --product: var(--pos); }
.theme-budget { --product: var(--budget); }
.theme-ticket { --product: var(--ticket); }

.product-btn {
  background: var(--product);
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.product-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(6, 182, 212, 0.35);
}

.product-badge {
  background: color-mix(in srgb, var(--product) 10%, white);
  color: var(--product);
  border: 1px solid color-mix(in srgb, var(--product) 22%, white);
}

.product-icon {
  background: var(--accent-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(6, 182, 212, 0.14);
}

/* Gallery */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-cyan);
  border-color: var(--secondary);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.07); }
.gallery-card .overlay {
  position: absolute;
  inset: 0;
  background: #06B6D4;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem;
}
.gallery-card:hover .overlay { opacity: 1; }

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

/* RTL helpers */
[dir="rtl"] .rotate-rtl,
[dir="rtl"] .rtl-flip {
  transform: scaleX(-1);
  display: inline-block;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: floaty 5.5s ease-in-out infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.35); }
}
.pulse-dot { animation: pulse-dot 1.8s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Hero Slider — High-Tech 3D Executive Design & Framer Motion Transitions
   -------------------------------------------------------------------------- */
.brand-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #E11D74;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
}

.hero-brand-name {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hero-slider {
  position: relative;
  min-height: 0;
  background-image: none;
  background-color: #ffffff;
  overflow: hidden;
  cursor: default;
  touch-action: pan-y;
  user-select: none;
}

@media (min-width: 1024px) {
  .hero-slider { min-height: 100svh; }
}
.hero-slider.is-dragging {
  cursor: grabbing;
}
.hero-slider a,
.hero-slider button {
  user-select: auto;
}

.hero-slides { position: relative; min-height: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-veil {
  position: absolute;
  inset: 0;
  background:
    transparent,
    rgba(239, 246, 255, 0.9),
    #FFFFFF;
}
[dir="rtl"] .hero-slide-veil {
  background:
    transparent,
    transparent,
    #FFFFFF;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-copy {
  max-width: 48rem;
  color: var(--dark);
}
.hero-copy .type-h1 {
  margin-top: 0.25rem;
  color: var(--dark);
}

.hero-eyebrow {
  display: flex;
  margin-bottom: 1rem;
}

.hero-lead {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--slate-text);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}

.hero-proof li {
  padding: 0.38rem 0.75rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px -12px rgba(14, 43, 79, 0.25);
}

/* Framer-Motion Style Staggered Entry on Slide Change */
.hero-slide .hero-eyebrow,
.hero-slide .hero-brand-name,
.hero-slide .type-h1,
.hero-slide .hero-lead,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.hero-slide.is-active .hero-brand-name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}
.hero-slide.is-active .type-h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}
.hero-slide.is-active .hero-lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}
.hero-slide.is-active .hero-visual-3d {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* --------------------------------------------------------------------------
   3D Hero Visual Scene (Right Side)
   -------------------------------------------------------------------------- */
.hero-visual-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.hero-3d-scene {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing Rotating Tech Rings */
.hero-3d-glow-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-3d-glow-ring-1 {
  width: 118%;
  height: 118%;
  border: 2px dashed rgba(6, 182, 212, 0.32);
  animation: hero-spin-ring 32s linear infinite;
}
.hero-3d-glow-ring-2 {
  width: 132%;
  height: 132%;
  border: 1.5px solid rgba(6, 182, 212, 0.18);
  border-top-color: rgba(6, 182, 212, 0.4);
  animation: hero-spin-ring-rev 40s linear infinite;
}

/* 3D Model Frame */
.hero-3d-avatar-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(340px, 42vw, 460px);
  border-radius: 2.25rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow:
    0 25px 60px -15px rgba(6, 182, 212, 0.22),
    0 15px 35px -10px rgba(6, 182, 212, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  animation: hero-float-3d 6.5s ease-in-out infinite;
}

.hero-3d-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-3d-avatar-frame:hover .hero-3d-avatar-img {
  transform: scale(1.06);
}

.hero-3d-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
  pointer-events: none;
}

/* Floating High-Tech Feature Cards */
.hero-floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 20px 40px -10px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(6, 182, 212, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-floating-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 25px 50px -10px rgba(6, 182, 212, 0.3);
  border-color: var(--secondary);
}

.hero-float-card-1 {
  top: 6%;
  left: -2rem;
  animation: hero-float-badge-1 5.5s ease-in-out infinite;
}
.hero-float-card-2 {
  bottom: 8%;
  right: -1.5rem;
  animation: hero-float-badge-2 6.2s ease-in-out infinite 0.8s;
}

[dir="rtl"] .hero-float-card-1 {
  left: auto;
  right: -2rem;
}
[dir="rtl"] .hero-float-card-2 {
  right: auto;
  left: -1.5rem;
}

.float-card-thumb {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1.5px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.float-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.float-card-icon--cyan {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}

.float-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.float-card-desc {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 0.15rem;
}

/* Keyframe Animations */
@keyframes hero-spin-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes hero-spin-ring-rev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes hero-float-3d {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.8deg);
  }
}

@keyframes hero-float-badge-1 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes hero-float-badge-2 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-11px);
  }
}

.hero-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.hero-controls > * { pointer-events: auto; }

.hero-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero-dot {
  width: 2.25rem;
  height: 0.32rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.15);
  transition: background 0.3s, width 0.3s;
}
.hero-dot.is-active {
  width: 3.25rem;
  background: var(--cyan);
}

.hero-nav { display: flex; gap: 0.5rem; }
.hero-nav-btn,
.slider-nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, transform 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.hero-nav-btn:hover,
.slider-nav-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-cyan);
}

/* Flip slider arrows in Arabic / Urdu (RTL) */
[dir="rtl"] .hero-nav-btn i,
[dir="rtl"] .carousel-side-btn i,
[dir="rtl"] .lightbox-nav i,
[dir="rtl"] .slider-nav-btn i {
  transform: scaleX(-1);
  display: inline-block;
}
.slider-nav { display: flex; gap: 0.5rem; }
.slider-nav-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
}
.slider-nav-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.slider-nav-btn--light {
  background: #ffffff;
  border-color: var(--border);
  color: var(--dark);
}

/* Carousel shell — side arrows + drag */
.carousel-shell {
  position: relative;
  padding-inline: 0;
}
@media (min-width: 768px) {
  .carousel-shell { padding-inline: 2.75rem; }
}
.carousel-side-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
  box-shadow: var(--shadow);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .carousel-side-btn { display: inline-flex; }
}
.carousel-side-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  opacity: 1;
  box-shadow: var(--shadow-cyan);
}
.carousel-side-btn--prev { inset-inline-start: 0; }
.carousel-side-btn--next { inset-inline-end: 0; }
.carousel-side-btn--light {
  background: #ffffff;
  border-color: var(--border);
  color: var(--dark);
}
.carousel-side-btn--light:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.carousel-shell.is-dragging,
.carousel-shell.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}
.carousel-shell [data-carousel-viewport],
.team-slider,
.testi-slider {
  cursor: grab;
  touch-action: pan-y;
}

/* Trust strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding-block: 1.75rem;
}

/* Premium mid-page stats band — Bright & Luxurious */
.stats-band {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
  border-top: none;
  border-bottom: none;
}
.stats-band-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/downloaded/bg-3d-network.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.stats-band-bg img {
  display: none !important;
}
.stats-band-veil {
  position: absolute;
  inset: 0;
  background:
    transparent,
    transparent;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
}
@media (min-width: 768px) {
  .stats-band-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem 2rem; }
}
.stats-band-item {
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats-band-item:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.stats-band-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: #7dd3fc;
  color: var(--dark);
  font-size: 0.78rem;
}
.stats-band-num {
  display: block;
  font-size: clamp(2.15rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffffff;
}
.stats-band-label {
  display: block;
  margin: 0.7rem 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #ffffff;
}
.stats-band-copy {
  margin: 0;
  max-width: 15.5rem;
  font-size: 0.82rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

/* Inner page heroes — light theme, centered composition */
.page-hero {
  position: relative;
  padding-top: 8.75rem;
  padding-bottom: 4.75rem;
  min-height: clamp(20rem, 48vw, 28rem);
  overflow: hidden;
  color: #334155;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.page-hero--split { text-align: start; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f8fafc;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-bg img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent !important;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  width: min(44rem, calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  padding: 1.35rem 1.75rem 1.5rem;
  box-sizing: border-box;
  text-align: center;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 16px 48px -24px rgba(11, 31, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.page-hero--split .page-hero-inner {
  width: min(var(--container), 100%);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  align-items: flex-start;
  text-align: start;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--dark);
  text-shadow: none;
  text-align: center;
  width: 100%;
  max-width: 100%;
  text-wrap: balance;
}
.page-hero h1 .bh-lead,
.page-hero h1 .bh-cyan {
  color: var(--dark) !important;
}
.page-hero h1 .bh-accent,
.page-hero h1 .hero-title-accent,
.page-hero h1 span:not(.bh-lead):not(.bh-cyan),
.page-hero h1 .text-\[var\(--secondary-dark\)\] {
  color: var(--primary) !important;
}
.page-hero p {
  margin: 0;
  color: #64748b;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  width: 100%;
  max-width: 36rem;
  text-align: center;
  text-wrap: pretty;
}
.page-hero--split h1,
.page-hero--split p {
  text-align: start;
  margin-inline: 0;
  max-width: none;
}
.page-hero .badge,
.page-hero .badge-cyan,
.page-hero .product-badge {
  align-self: center;
  margin: 0;
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.16);
  box-shadow: none;
}
.page-hero-inner > .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
}

.detail-cta {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-color: var(--dark);
  background-image: none;
  background-size: auto;
  background-position: center;
  border-top: none;
  border-bottom: none;
}
.detail-cta-bg,
.detail-cta-veil {
  display: none !important;
}

.detail-cta h2,
.detail-cta .type-h2 {
  color: #fff !important;
}

.detail-cta p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.detail-cta a {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px -10px rgba(6, 182, 212, 0.4) !important;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}
.detail-cta a:hover {
  background: var(--primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 32px -10px rgba(6, 182, 212, 0.45) !important;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.trust-item {
  text-align: center;
  padding: 0.25rem;
}
.trust-num {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: #E11D74;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Who We Are — Petalnex Introduction style */
.who-intro {
  background:
    radial-gradient(ellipse 55% 50% at 12% 30%, rgba(6, 182, 212, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 70%, rgba(225, 29, 116, 0.1), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
  position: relative;
}

.who-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.14) 1px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.who-intro .container-nayel {
  position: relative;
  z-index: 1;
}

.who-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .who-intro-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(3rem, 5vw, 5rem);
  }
}

.who-intro-copy,
.who-intro-glass {
  max-width: 36rem;
  text-align: start;
  width: 100%;
}

.who-intro-glass {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 1.5rem !important;
  box-shadow:
    0 24px 60px -28px rgba(11, 31, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  overflow: hidden;
}

.who-intro-glass-body {
  gap: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2rem) !important;
}

.who-intro-glass .card-title.who-intro-title {
  margin: 0;
  display: block;
  width: 100%;
}

.who-intro-title {
  margin: 0 0 1.35rem;
  text-align: start;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.who-intro-glass .who-intro-title {
  margin-bottom: 0;
}

.who-intro-text {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.85;
  color: #64748B;
  text-align: start;
  text-wrap: pretty;
}

.who-intro-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.who-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  justify-content: flex-start;
}

.who-intro-glass .who-intro-actions {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .who-intro-glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.92) !important;
  }
}

.who-intro-visual {
  position: relative;
  min-height: 24rem;
  padding: 1.25rem 0.75rem 2rem;
}

@media (min-width: 992px) {
  .who-intro-visual {
    min-height: 28rem;
    padding: 1.5rem 1rem 2.25rem;
  }
}

.who-intro-panel {
  position: absolute;
  inset: 10% 2% 8% 16%;
  border-radius: 1.85rem;
  background: var(--secondary-soft);
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.18);
}

.who-intro-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.4rem;
  box-shadow:
    0 22px 48px -18px rgba(14, 43, 79, 0.32),
    0 8px 18px rgba(14, 43, 79, 0.1);
  background: #e8eef5;
  border: 3px solid #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.who-intro-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 56px -18px rgba(14, 43, 79, 0.38),
    0 10px 20px rgba(14, 43, 79, 0.12);
}

.who-intro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.who-intro-card:hover img {
  transform: scale(1.04);
}

.who-intro-card--top {
  width: min(74%, 20rem);
  aspect-ratio: 5 / 4;
  margin-left: 0;
  z-index: 2;
}

.who-intro-card--bottom {
  width: min(82%, 23rem);
  aspect-ratio: 5 / 4;
  margin-top: -4.75rem;
  margin-left: auto;
  margin-right: 0.15rem;
  z-index: 3;
}

@media (max-width: 991px) {
  .who-intro-copy,
  .who-intro-glass {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    text-align: start;
  }
  .who-intro-glass-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  .who-intro-title {
    text-align: center;
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
  .who-intro .who-intro-text,
  .who-intro-glass .who-intro-text {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: start;
    text-wrap: wrap;
    hyphens: auto;
  }
  .who-intro-actions,
  .who-intro-glass .who-intro-actions {
    justify-content: center;
    width: 100%;
  }
  .who-intro-visual {
    max-width: 28rem;
    margin-inline: auto;
    min-height: 18rem;
    padding: 0.75rem 0.5rem 1.5rem;
  }
  .who-intro-panel {
    inset: 12% 4% 10% 12%;
    border-radius: 1.4rem;
  }
  .who-intro-card--top {
    width: min(78%, 18rem);
  }
  .who-intro-card--bottom {
    width: min(86%, 20rem);
    margin-top: -3.25rem;
  }
}

@media (max-width: 479px) {
  .who-intro-visual {
    min-height: 15.5rem;
  }
  .who-intro-card {
    border-radius: 1.1rem;
    border-width: 2px;
  }
  .who-intro-card--bottom {
    margin-top: -2.5rem;
  }
}

[dir="rtl"] .who-intro-panel {
  inset: 8% 18% 6% 4%;
}

[dir="rtl"] .who-intro-card--top {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .who-intro-card--bottom {
  margin-left: 0.35rem;
  margin-right: auto;
}

/* Legacy who helpers (kept for other pages if referenced) */
.who-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .who-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4.5rem;
  }
}
.who-highlight {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: 1.1rem;
  background: #06B6D4;
  border: 1px solid rgba(6, 182, 212, 0.18);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.who-highlight i { color: var(--primary); margin-top: 0.15rem; }
.who-highlight p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dark);
  font-weight: 600;
}
.who-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}
.who-point {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
}
.who-point-ic {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: var(--accent-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.who-visual {
  position: relative;
  min-height: 28rem;
}
.who-visual-main {
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 28rem;
  margin-inline-start: auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #f8fafc;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.who-visual-main:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}
.who-visual-side {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 1.2rem;
  overflow: hidden;
  bottom: 8%;
  inset-inline-start: 0;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  background: #f8fafc;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.who-visual-side:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}
.who-float-stat {
  position: absolute;
  top: 8%;
  inset-inline-start: 4%;
  background: #fff;
  border-radius: 1.1rem;
  padding: 0.95rem 1.15rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 6.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.who-float-stat:hover {
  transform: scale(1.05);
  border-color: var(--secondary);
}
.who-float-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.who-float-stat span {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 639px) {
  .who-visual { min-height: auto; }
  .who-visual-main { max-width: none; aspect-ratio: 5 / 4; }
  .who-visual-side { width: 38%; bottom: -6%; }
  .who-float-stat { top: auto; bottom: 12%; inset-inline-start: auto; inset-inline-end: 4%; }
}

/* Products stage */
.product-chip {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--product, var(--secondary-dark));
  background: color-mix(in srgb, var(--product, var(--secondary)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--product, var(--secondary)) 25%, transparent);
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-top: 0.75rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.product-link:hover {
  color: var(--cyan-dark);
  transform: translateX(4px);
}
.product-stage {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .product-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.product-stage-media {
  width: 100%;
  min-width: 0;
}

.product-stage-media .img-frame,
.product-stage-media .brand-frame {
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.16);
}

.product-stage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
  min-width: 0;
  text-align: start;
}

.product-stage-copy .section-label,
.product-stage-copy .badge,
.product-stage-copy .badge-cyan {
  width: fit-content;
  margin: 0;
}

.product-stage-copy .section-title {
  margin: 0;
  width: 100%;
  text-align: start;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.2;
  color: var(--dark);
}

.product-stage-copy .section-desc {
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: start;
  color: #64748b;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.product-stage-copy .flex {
  width: 100%;
}

/* Detail pages after-hero: About-style split (text | image) */
.product-overview,
.service-overview {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

@media (min-width: 992px) {
  .product-overview,
  .service-overview {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.product-overview-copy,
.service-overview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
  min-width: 0;
  max-width: 36rem;
  text-align: start;
}

.product-overview-copy .section-label,
.product-overview-copy .badge,
.product-overview-copy .badge-cyan,
.service-overview-copy .section-label,
.service-overview-copy .badge,
.service-overview-copy .badge-cyan {
  width: fit-content;
  margin: 0;
  align-self: flex-start;
}

.product-overview-copy .section-title,
.service-overview-copy .section-title {
  margin: 0;
  width: 100%;
  text-align: start;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.product-overview-copy .section-desc,
.service-overview-copy .section-desc {
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: start;
  color: #64748b;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.product-overview-actions,
.service-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-top: 0.35rem;
  width: 100%;
}

.product-overview-media,
.service-overview-media {
  width: 100%;
  min-width: 0;
}

.product-overview-media .img-frame,
.product-overview-media .brand-frame,
.service-overview-media .img-frame,
.service-overview-media .brand-frame {
  width: 100%;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 22px 48px -20px rgba(14, 43, 79, 0.28);
}

.contact-aside .section-label,
.contact-aside .badge,
.contact-aside .badge-cyan {
  margin: 0 0 0.65rem;
}

.contact-aside .section-title {
  text-align: start;
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.contact-aside .section-desc {
  margin: 0;
  max-width: none;
  text-align: start;
}
.product-featured {
  display: grid;
  gap: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.product-featured:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}
.product-featured-media {
  aspect-ratio: 16 / 10;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}
.product-featured-copy {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #ffffff;
}
.product-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.product-rail-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: #ffffff;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.product-rail-item:hover {
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}
.product-rail-media {
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f8fafc;
}

/* Service rows — Cyan (#06b6d4) Interactive Hover */
.service-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid var(--border);
  color: inherit;
  transition: padding 0.35s ease, background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.service-row:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
  padding-inline: 0.85rem;
  transform: translateX(4px);
}
[dir="rtl"] .service-row:hover { transform: translateX(-4px); }
.service-row-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--secondary);
}
.service-row-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  transition: color 0.25s ease;
}
.service-row:hover .service-row-body h3 {
  color: var(--secondary-dark);
}
.service-row-body p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate-text);
  max-width: 36rem;
}
.service-row-go {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-row:hover .service-row-go {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

/* Projects bento — Cyan (#06b6d4) Hover */
.project-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 768px) {
  .project-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 12rem;
  }
  .project-bento-lg { grid-column: span 4; grid-row: span 2; }
  .project-bento-item { grid-column: span 2; }
}
.project-bento-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 14rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-bento-item img {
  transition: transform 0.6s ease;
}
.project-bento-item:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}
.project-bento-item:hover img { transform: scale(1.08); }
.project-bento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--dark);
}
.project-bento-overlay span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.project-bento-overlay h3 {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

/* Tech showcase — Bright & Tech-forward */
.tech-showcase {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-showcase-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/downloaded/bg-cyber-grid.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.tech-showcase-bg img {
  display: none !important;
}
.tech-showcase-veil {
  position: absolute;
  inset: 0;
  background:
    transparent,
    transparent,
    #FFFFFF;
}
.tech-showcase-panel { max-width: 38rem; color: var(--dark); }
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.tech-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--secondary-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tech-tags span:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

/* Why split */
.why-split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .why-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}
.why-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0.75rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0.85rem;
  transition: background 0.3s ease, transform 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
.why-line:hover {
  background: #06B6D4;
  border-color: rgba(6, 182, 212, 0.25);
  transform: translateX(4px);
}
[dir="rtl"] .why-line:hover { transform: translateX(-4px); }
.why-line span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--secondary);
  padding-top: 0.2rem;
}
.why-line h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}
.why-line p {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: var(--slate-text);
  line-height: 1.6;
}

/* Why Nayel Advantage — light card grid */
.why-advantage-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .why-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .why-advantage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.why-advantage-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.why-advantage-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  background: transparent;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.why-advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 36px -20px rgba(6, 182, 212, 0.28);
}

.why-advantage-card:hover::after {
  opacity: 1.4;
}

.why-advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--primary);
  background: var(--accent-soft);
  box-shadow: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-advantage-icon--pink,
.why-advantage-icon--cyan,
.why-advantage-icon--blend {
  background: var(--accent-soft);
  color: var(--primary);
}

.why-advantage-card:hover .why-advantage-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: var(--shadow-cyan);
}

.why-advantage-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.why-advantage-card:hover h3 {
  color: var(--primary);
}

.why-advantage-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--slate-text);
}

/* Why work with us — Petalnex-inspired */
.why-work {
  position: relative;
  background: #ffffff;
}

.why-work-deco {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: var(--secondary-soft);
  opacity: 0.7;
}

.why-work-title {
  margin: 0 0 clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.why-work-title span:first-child {
  color: var(--primary);
  margin-inline-end: 0.35rem;
}

.why-work-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .why-work-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}

.why-work-visual {
  position: relative;
  min-height: 22rem;
  padding: 1.25rem 0.75rem 1.75rem;
}

.why-work-panel {
  position: absolute;
  inset: 12% 10% 8% 6%;
  border-radius: 1.5rem;
  background: var(--accent-soft);
  z-index: 0;
}

.why-work-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.35rem;
  box-shadow: 0 18px 40px -18px rgba(14, 43, 79, 0.35);
  background: #e2e8f0;
  border: 3px solid #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-work-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -18px rgba(14, 43, 79, 0.4);
}

.why-work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}

.why-work-photo:hover img {
  transform: scale(1.04);
}

.why-work-photo--top {
  width: min(88%, 22rem);
  aspect-ratio: 4 / 3;
  margin-left: 0;
}

.why-work-photo--bottom {
  width: min(86%, 21rem);
  aspect-ratio: 4 / 3;
  margin-top: -3.5rem;
  margin-left: auto;
  margin-right: 0.25rem;
}

.why-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .why-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-work-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 0.35rem 1.25rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.35);
}

.why-work-item--wide {
  grid-column: 1 / -1;
}

.why-work-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why-work-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.why-work-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #64748B;
}

@media (max-width: 639px) {
  .why-work-visual {
    min-height: 18rem;
    max-width: 26rem;
    margin-inline: auto;
  }
  .why-work-photo--bottom {
    margin-top: -2.5rem;
  }
  .why-work-deco {
    opacity: 0.35;
    right: -20%;
    bottom: -24%;
  }
}

[dir="rtl"] .why-work-title span:first-child {
  margin-inline-end: 0;
  margin-inline-start: 0.35rem;
}

[dir="rtl"] .why-work-deco {
  right: auto;
  left: -6%;
}

[dir="rtl"] .why-work-photo--top {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .why-work-photo--bottom {
  margin-left: 0.25rem;
  margin-right: auto;
}

/* Services offer cards */
.industries-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.industries-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 1024px) {
  .industries-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.industries-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  position: sticky;
  top: 6.5rem;
}

.industries-title-left,
.industries-desc-left {
  text-align: start !important;
  margin-inline: 0 !important;
}

.industries-desc-left {
  max-width: 28rem;
}

.industries-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .industries-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.industry-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 9.5rem;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}

.industry-tile-no {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.9rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(11, 31, 58, 0.08);
  transition: color 0.3s ease;
}

.industry-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.industry-tile h3 {
  margin: 0.15rem 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.industry-tile p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--slate-text);
}

.industry-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: var(--shadow-cyan);
}

.industry-tile:hover .industry-tile-no {
  color: rgba(6, 182, 212, 0.22);
}

.industry-tile:hover .industry-tile-icon {
  background: var(--cyan);
  color: #fff;
  transform: scale(1.05);
}

.industry-tile--cta {
  background: var(--dark);
  border-color: transparent;
  justify-content: center;
}

.industry-tile--cta .industry-tile-no {
  color: rgba(255, 255, 255, 0.12);
}

.industry-tile--cta h3,
.industry-tile--cta p {
  color: #fff;
}

.industry-tile--cta p {
  color: rgba(255, 255, 255, 0.72);
}

.industry-tile-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.industry-tile--cta:hover {
  background: var(--dark-2);
  border-color: transparent;
  box-shadow: 0 18px 40px -18px rgba(11, 31, 58, 0.55);
}

@media (min-width: 560px) {
  .industry-tile--cta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-height: auto;
    padding: 1.35rem 1.5rem;
  }

  .industry-tile--cta h3 {
    margin: 0;
  }

  .industry-tile--cta p {
    flex: 1 1 12rem;
  }
}

/* Legacy industry cards kept for other pages */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-cyan);
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  font-size: 1rem;
}

.industry-icon--pink,
.industry-icon--cyan,
.industry-icon--blend {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

.industry-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.industry-card:hover h3 {
  color: var(--cyan-dark);
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--slate-text);
  line-height: 1.55;
}

.industry-card--cta {
  background: var(--dark);
  border-color: transparent;
}

.industry-card--cta:hover {
  background: var(--dark-2);
}

.industry-card--cta h3,
.industry-card--cta p {
  color: #fff;
}

.industry-card--cta p {
  color: rgba(255, 255, 255, 0.72);
}

.industry-card--cta:hover h3 {
  color: #fff;
}

.industry-card--cta .industry-icon {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
}

.services-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }
}

.services-offer-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.services-offer-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow);
}

.services-offer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.95rem;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.2);
}

.services-offer-icon--pink {
  background: #E11D74;
}

.services-offer-icon--cyan {
  background: #06B6D4;
}

.services-offer-icon--blend {
  background: #E11D74;
}

.services-offer-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.services-offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.services-offer-list li {
  position: relative;
  padding-inline-start: 1.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--slate-text);
}

.services-offer-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset-inline-start: 0;
  top: 0.15rem;
  font-size: 0.72rem;
}

.services-offer-list--pink li::before {
  color: var(--primary);
}

.services-offer-list--cyan li::before {
  color: var(--secondary-dark);
}

/* Technology stack — horizontal rack strips */
.tech-stack-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.tech-stack-desc {
  font-style: normal;
  color: var(--slate-text);
}

.tech-rack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 1.5rem;
  background: var(--cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.18);
}

.tech-rack-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  border-radius: 1.05rem;
  background: #fff;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.tech-rack-row:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 28px -16px rgba(6, 182, 212, 0.3);
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .tech-rack {
    padding: 1rem;
    gap: 0.75rem;
  }

  .tech-rack-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.1rem 1.35rem;
  }

  [dir="rtl"] .tech-rack-row:hover {
    transform: translateX(-4px);
  }
}

.tech-rack-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  min-width: min(100%, 15rem);
}

.tech-rack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  background: var(--dark);
  color: #fff;
  font-size: 0.92rem;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tech-rack-row:hover .tech-rack-icon {
  background: var(--cyan);
  transform: scale(1.05);
}

.tech-rack-meta h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.tech-rack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
  flex: 1 1 auto;
}

@media (min-width: 768px) {
  .tech-rack-tags {
    justify-content: flex-end;
  }
}

.tech-rack-tags .badge {
  background: var(--cyan-soft);
  color: var(--dark);
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-weight: 700;
}

.tech-rack-row:hover .tech-rack-tags .badge {
  border-color: rgba(6, 182, 212, 0.4);
}

/* Keep older tech-stack card styles available */
.tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tech-stack-card {
  height: 100%;
  border-radius: 1.25rem !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
}

/* Development process — journey timeline */
.dev-process-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.dev-process-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.75rem;
  background: var(--dark);
  color: #fff;
}

@media (min-width: 1024px) {
  .dev-process-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.dev-process-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (min-width: 1024px) {
  .dev-process-intro {
    position: sticky;
    top: 6.5rem;
  }
}

.dev-process-intro .section-title,
.dev-process-intro .section-desc {
  color: #fff !important;
  text-align: start !important;
  margin-inline: 0 !important;
}

.dev-process-intro .section-desc {
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 26rem;
  text-align: justify !important;
  text-align-last: start !important;
  text-wrap: wrap;
}

.dev-process-intro .section-label {
  background: rgba(225, 29, 116, 0.18) !important;
  color: #fff !important;
  border-color: rgba(225, 29, 116, 0.35) !important;
}

.dev-process-intro .brand-heading .bh-lead,
.dev-process-intro .brand-heading .bh-cyan {
  color: #fff !important;
}

.dev-process-intro .brand-heading .bh-accent {
  color: var(--primary) !important;
}

@media (max-width: 1023px) {
  .dev-process-intro {
    position: static;
    top: auto;
    align-items: center;
    text-align: center;
    margin-bottom: 0.35rem;
  }

  .dev-process-intro .section-title,
  .dev-process-intro .section-desc {
    text-align: center !important;
    max-width: 100%;
    width: 100%;
  }

  .dev-process-intro .section-desc {
    text-align: justify !important;
    text-align-last: center !important;
  }

  .dev-journey-list {
    position: relative;
    z-index: 0;
    clear: both;
  }
}

.dev-journey-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.dev-journey-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.dev-journey-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.85rem;
}

.dev-journey-rail::after {
  content: "";
  flex: 1;
  width: 2px;
  min-height: 1.25rem;
  margin-top: 0.45rem;
  background: linear-gradient(
    to bottom,
    rgba(6, 182, 212, 0.55),
    rgba(6, 182, 212, 0.12)
  );
  border-radius: 999px;
}

.dev-journey-step:last-child .dev-journey-rail::after {
  display: none;
}

.dev-journey-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--cyan);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dev-journey-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-journey-step:last-child .dev-journey-card {
  margin-bottom: 0;
}

.dev-journey-step:hover .dev-journey-card {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 28px -16px rgba(6, 182, 212, 0.35);
  transform: translateX(3px);
}

.dev-journey-step:hover .dev-journey-dot {
  background: var(--cyan-dark);
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.28);
  transform: scale(1.06);
}

[dir="rtl"] .dev-journey-step:hover .dev-journey-card {
  transform: translateX(-3px);
}

.dev-journey-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: rgba(6, 182, 212, 0.18);
  color: var(--cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.dev-journey-step:hover .dev-journey-icon {
  background: var(--cyan);
  color: #fff;
}

.dev-journey-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.dev-journey-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  width: 100%;
  text-align: justify;
  text-align-last: start;
  text-wrap: wrap;
}

.dev-journey-card > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

/* Legacy process cards */
.dev-process-rows {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.dev-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.dev-process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .tech-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1100px) {
  .tech-stack-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .tech-stack-grid > .tech-stack-card {
    grid-column: span 2;
  }

  .tech-stack-grid > .tech-stack-card--wide {
    grid-column: span 2;
  }
}

.tech-stack-card {
  height: 100%;
  border-radius: 1.25rem !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
  overflow: hidden;
  position: relative;
}

.tech-stack-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-stack-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.45) !important;
  box-shadow: var(--shadow-cyan);
}

.tech-stack-card:hover::before {
  opacity: 1;
}

.tech-stack-card .card-body {
  height: 100%;
}

.tech-stack-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tech-stack-card .card-title {
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tech-stack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tech-stack-card:hover .tech-stack-icon {
  transform: scale(1.06);
}

.tech-stack-icon--pink {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.tech-stack-icon--cyan {
  background: var(--cyan-soft) !important;
  color: var(--cyan-dark) !important;
  box-shadow: none !important;
}

.tech-stack-icon--blend {
  background: rgba(11, 31, 58, 0.08) !important;
  color: var(--dark) !important;
  box-shadow: none !important;
}

.tech-stack-card:hover .tech-stack-icon--cyan,
.tech-stack-card:hover .tech-stack-icon--pink,
.tech-stack-card:hover .tech-stack-icon--blend {
  background: var(--cyan) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px -10px rgba(6, 182, 212, 0.55) !important;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.tech-stack-tags .badge,
.tech-stack-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  background: var(--cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.18);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tech-stack-card:hover .tech-stack-tags .badge,
.tech-stack-card:hover .tech-stack-tags span {
  border-color: rgba(6, 182, 212, 0.35);
}

.tech-stack-tags .badge:hover,
.tech-stack-tags span:hover {
  color: var(--cyan-dark);
  background: #fff;
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-1px);
}

/* Legacy list rows (if reused elsewhere) */
.tech-stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tech-stack-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.tech-stack-row:hover {
  background: var(--cyan-soft);
}

@media (min-width: 768px) {
  .tech-stack-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    padding: 1.4rem 1.6rem;
  }
}

.tech-stack-row-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
  min-width: min(100%, 14rem);
}

.tech-stack-row-meta h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  white-space: normal;
  text-align: start;
}

/* Development process */
.dev-process-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.dev-process-rows {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.dev-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .dev-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .dev-process-grid,
  .dev-process-grid--top,
  .dev-process-grid--bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }
}

.dev-process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.dev-process-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow);
}

.dev-process-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.dev-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #E11D74;
  box-shadow: 0 6px 16px -8px rgba(6, 182, 212, 0.45);
}

.dev-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dev-process-icon--pink {
  background: #E11D74;
}

.dev-process-icon--cyan {
  background: #06B6D4;
}

.dev-process-icon--blend {
  background: #E11D74;
}

.dev-process-card:hover .dev-process-icon {
  transform: scale(1.06);
  box-shadow: var(--shadow-cyan);
}

.dev-process-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--dark);
  transition: color 0.25s ease;
}

.dev-process-card:hover h3 {
  color: var(--primary);
}

.dev-process-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--slate-text);
}

/* Why Businesses Trust Us */
.trust-why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .trust-why-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.trust-why-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.trust-why-quote {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 28rem;
  margin-top: 0.75rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.25rem;
  background: #0B1F3A;
  box-shadow: var(--shadow-lg);
}

.trust-why-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  color: #fff;
  font-size: 0.95rem;
  background: #E11D74;
}

.trust-why-quote p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  color: #f8fafc;
}

.trust-why-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-why-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-magenta);
  box-shadow: var(--shadow-pink);
}

.trust-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.trust-why-icon--pink,
.trust-why-icon--cyan,
.trust-why-icon--blend {
  background: var(--accent-soft);
  color: var(--primary);
}

.trust-why-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  transition: color 0.25s ease;
}

.trust-why-item:hover h3 {
  color: var(--primary);
}

.trust-why-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--slate-text);
}

/* Our Clients / Trusted By — continuous marquee */
.clients-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
}

.clients-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.14) 1px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}

.clients-band-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.clients-band-title {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}

.clients-band-title.brand-heading .bh-lead,
.clients-band-title.brand-heading .bh-cyan {
  color: #fff !important;
}

.clients-band-title.brand-heading .bh-accent {
  color: var(--primary) !important;
}

.clients-band-desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.clients-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.clients-marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.clients-marquee-track {
  display: flex;
  width: max-content;
  animation: clients-marquee-rtl 42s linear infinite;
}

.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}

.clients-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding-inline-end: 1rem;
  flex-shrink: 0;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 min(70vw, 11.5rem);
  min-height: 5.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 18px 36px -16px rgba(6, 182, 212, 0.35);
}

.client-logo-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.75rem;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
}

.client-logo-card:hover img {
  transform: scale(1.04);
}

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

@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track {
    animation: none;
  }

  .clients-marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

[dir="rtl"] .clients-marquee-track {
  animation-name: clients-marquee-ltr;
}

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

.clients-tagline {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: var(--dark-3);
}

/* Team marquee */
.team-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0.35rem;
}

.team-marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}

.team-marquee-track {
  display: flex;
  width: max-content;
  animation: team-marquee-rtl 48s linear infinite;
}

.team-marquee:hover .team-marquee-track {
  animation-play-state: paused;
}

.team-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  padding-inline-end: 1.15rem;
  flex-shrink: 0;
}

.team-marquee-group .team-card {
  flex: 0 0 min(72vw, 16.5rem);
  min-width: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .team-marquee-track {
    animation: none;
  }

  .team-marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

[dir="rtl"] .team-marquee-track {
  animation-name: team-marquee-ltr;
}

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

.team-slider {
  overflow: hidden;
  margin-inline: 0;
  padding-inline: 0;
}
.team-track {
  display: flex;
  gap: 1.15rem;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.team-track .team-card {
  flex: 0 0 88%;
  min-width: 0;
}
@media (min-width: 768px) {
  .team-track .team-card { flex-basis: calc(50% - 0.575rem); }
}
@media (min-width: 1024px) {
  .team-track .team-card { flex-basis: calc(25% - 0.865rem); }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-cyan);
  border-color: var(--secondary);
}
.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.team-photo img { transition: transform 0.55s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo--mono {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-soft);
}
.team-photo--mono span {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cyan-dark);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.team-meta {
  padding: 1rem 1.1rem 1.25rem;
  text-align: center;
}
.team-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.team-role {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-dark);
  line-height: 1.4;
}

/* Gallery mosaic */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 10.5rem;
    gap: 0.9rem;
  }
  .gallery-mosaic-tall { grid-row: span 2; }
  .gallery-mosaic-wide { grid-column: span 2; }
}
.gallery-mosaic-item {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  min-height: 9rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.gallery-mosaic-item:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}
.gallery-mosaic-item img {
  transition: transform 0.55s ease;
}
.gallery-mosaic-item:hover img { transform: scale(1.08); }

/* Testimonials — Bright & Luxurious */
.testi-slider { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 1.15rem;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card {
  flex: 0 0 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.testi-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}
@media (min-width: 768px) {
  .testi-card { flex-basis: calc(50% - 0.575rem); padding: 2rem; }
}
@media (min-width: 1100px) {
  .testi-card { flex-basis: calc(33.333% - 0.77rem); }
}
.testi-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.testi-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--slate-text);
  min-height: 6.5rem;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
}
.testi-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--secondary);
  background: #f1f5f9;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
}
.testi-role {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
}

/* CTA premium */
.cta-premium {
  position: relative;
  padding-block: clamp(4.75rem, 8vw, 6.75rem);
  overflow: hidden;
  text-align: center;
  color: var(--dark);
  background-color: #E8EEF5;
  background-image:
    linear-gradient(160deg, #F4F7FB 0%, #E8EEF5 48%, #DEE6F0 100%);
  background-size: auto;
  background-position: center;
  border-top: none;
  border-bottom: none;
}
.cta-premium-bg,
.cta-premium-veil {
  display: none !important;
}

.cta-premium h2,
.cta-premium .type-h2 {
  color: var(--dark) !important;
}

.cta-premium p {
  color: var(--slate-text) !important;
}

.cta-premium a {
  background: var(--dark) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px -10px rgba(11, 31, 58, 0.4) !important;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}
.cta-premium a:hover {
  background: #061426 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 32px -10px rgba(11, 31, 58, 0.45) !important;
}
.cta-premium a.btn-secondary {
  background: #fff !important;
  color: var(--dark) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

@media (max-width: 379px) {
  .team-track .team-card { flex-basis: 88%; }
}

/* --------------------------------------------------------------------------
   Mobile / tablet responsive polish
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .section-y {
    padding-block: clamp(3.25rem, 7vw, 4.75rem);
  }

  .hero-slider,
  .hero-slides {
    min-height: 100svh;
  }

  .hero-slide-content {
    min-height: 100svh;
    padding-top: 6rem;
    padding-bottom: 5.5rem;
    align-items: center;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .hero-3d-scene {
    max-width: 360px;
  }
  .hero-3d-avatar-frame {
    height: 320px;
  }
  .hero-float-card-1 {
    left: -0.5rem;
    top: 2%;
  }
  .hero-float-card-2 {
    right: -0.5rem;
    bottom: 4%;
  }
  [dir="rtl"] .hero-float-card-1 {
    right: -0.5rem;
    left: auto;
  }
  [dir="rtl"] .hero-float-card-2 {
    left: -0.5rem;
    right: auto;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy .type-h1 {
    font-size: clamp(1.7rem, 6vw, 2.35rem);
    line-height: 1.15;
  }

  .hero-brand-name {
    font-size: 1rem;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 1.25rem;
    gap: 0.6rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-height: 2.5rem;
    padding: 0.55rem 1.05rem;
    font-size: 0.78rem;
    width: auto;
    flex: 0 1 auto;
  }

  .hero-controls {
    bottom: 0.85rem;
  }

  .hero-nav-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero-dot {
    width: 1.6rem;
  }

  .hero-dot.is-active {
    width: 2.35rem;
  }

  .page-hero {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .page-hero-inner {
    width: min(44rem, calc(100% - 1.5rem));
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 1.15rem;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .carousel-shell {
    padding-inline: 2.35rem;
  }

  .carousel-side-btn {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8rem;
  }

  .testi-quote {
    min-height: 0;
  }

  .product-rail {
    grid-template-columns: 1fr 1fr;
  }

  .service-row {
    grid-template-columns: auto 1fr;
    gap: 0.65rem 0.85rem;
    padding: 1.1rem 0;
  }

  .service-row-go {
    grid-column: 2;
    justify-self: start;
    width: 2.2rem;
    height: 2.2rem;
  }

  .service-row-body h3 {
    font-size: 1rem;
  }

  .project-bento-item {
    min-height: 12rem;
  }

  .stats-band-item {
    padding: 1rem 0.55rem;
  }

  .stats-band-label {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 0;
  }

  .hero-3d-scene {
    max-width: 270px;
  }
  .hero-3d-avatar-frame {
    height: 220px;
    border-radius: 1.5rem;
  }
  .hero-floating-card {
    padding: 0.5rem 0.75rem;
    border-radius: 0.85rem;
    gap: 0.5rem;
  }
  .float-card-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
    border-radius: 0.6rem;
  }
  .float-card-title {
    font-size: 0.75rem;
  }
  .float-card-desc {
    font-size: 0.65rem;
  }

  .hero-lead {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    margin-top: 0.65rem;
  }

  .hero-actions {
    margin-top: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: auto;
    flex: 0 1 auto;
    min-height: 2.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 0.6rem;
  }

  .hero-controls {
    bottom: 0.65rem;
  }

  .team-track .team-card {
    flex-basis: 88%;
  }

  .carousel-shell {
    padding-inline: 2.1rem;
  }

  .who-visual {
    margin-top: 0.5rem;
    padding-bottom: 1.5rem;
  }

  .who-visual-side {
    width: 42%;
    bottom: 0;
  }

  .who-float-stat {
    padding: 0.75rem 0.9rem;
    min-width: 5.5rem;
  }

  .who-float-stat strong {
    font-size: 1.25rem;
  }

  .product-rail {
    grid-template-columns: 1fr;
  }

  .product-featured-copy {
    padding: 1.25rem 1.15rem 1.4rem;
  }

  .product-featured-copy h3 {
    font-size: 1.35rem !important;
  }

  .gallery-mosaic {
    gap: 0.65rem;
  }

  .gallery-mosaic-item {
    min-height: 7.5rem;
  }

  .testi-card {
    padding: 1.35rem 1.15rem;
  }

  .team-meta {
    padding: 0.85rem 0.75rem 1rem;
  }

  .team-name {
    font-size: 0.88rem;
  }

  .team-role {
    font-size: 0.7rem;
  }

  .section-title,
  .type-h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .contact-form-panel,
  .contact-aside {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .presence-frame,
  .presence-map-wrap {
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .role-chip {
    min-width: calc(50% - 0.4rem);
  }

  .filter-bar {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .filter-btn {
    min-height: 2.15rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 479px) {
  .container-nayel {
    padding-inline: 0.9rem;
  }

  .hero-slide-veil {
    background:
      transparent,
      #FFFFFF;
  }

  [dir="rtl"] .hero-slide-veil {
    background:
      transparent,
      #FFFFFF;
  }

  .stats-band-grid {
    gap: 0.75rem;
  }

  .stats-band-num {
    font-size: 1.55rem;
  }

  .carousel-shell {
    padding-inline: 1.85rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slider,
  .hero-slides,
  .hero-slide-content {
    min-height: clamp(32rem, 78svh, 42rem);
  }

  .hero-slide-content {
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-slider,
  .hero-slides,
  .hero-slide-content {
    min-height: 100svh;
  }
}

/* --------------------------------------------------------------------------
   Inner-page premium polish — about / contact / gallery / products
   -------------------------------------------------------------------------- */
.mv-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.mv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}
.mv-card::after {
  content: '';
  position: absolute;
  inset-inline-end: -2rem;
  top: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: transparent;
  pointer-events: none;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(14, 43, 79, 0.28);
  border-color: rgba(6, 182, 212, 0.35);
}
.mv-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.mv-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.mv-kicker--cyan { color: var(--secondary-dark); }
.mv-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--dark);
}
.mv-card p {
  color: var(--slate-text);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* About — Mission / Vision (Petalnex section layout, Nayel colors) */
.about-mission,
.about-vision {
  overflow: hidden;
}

.about-split-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--dark);
}
.about-split-title span {
  color: var(--primary);
  font-weight: 700;
}
.about-split-title strong {
  color: var(--dark);
  font-weight: 800;
}
.about-split-title span:empty,
.about-split-title strong:empty {
  display: none;
}

.about-mission-layout {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}
.about-vision-layout {
  display: grid;
  gap: 1.35rem;
  align-items: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "intro"
    "visual"
    "list";
}
.about-vision-intro { grid-area: intro; }
.about-vision-visual { grid-area: visual; }
.about-vision-list { grid-area: list; }

.about-mission-visual,
.about-vision-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: 0.35rem 0;
}
.about-mission-rings {
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  background:
    transparent,
    transparent,
    transparent;
  pointer-events: none;
}
.about-mission-img,
.about-vision-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(14, 43, 79, 0.12));
}
.about-mission-copy,
.about-vision-intro {
  width: 100%;
  max-width: 40rem;
}
.about-mission-copy p,
.about-vision-lead {
  margin: 0;
  color: #475569;
  font-size: clamp(0.94rem, 2.6vw, 1.05rem);
  line-height: 1.75;
  width: 100%;
  max-width: 100%;
  text-align: justify;
  text-align-last: start;
  text-wrap: wrap;
}
.about-vision-lead {
  margin-bottom: 0;
}

.about-vision-list {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}
.about-vision-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 0.95rem;
  background: #fff;
  box-shadow: 0 8px 22px -16px rgba(14, 43, 79, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.about-vision-item:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 14px 28px -16px rgba(14, 43, 79, 0.3);
  transform: translateY(-2px);
}
.about-vision-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.about-vision-item p {
  margin: 0;
  min-width: 0;
  color: #64748b;
  font-size: clamp(0.88rem, 2.4vw, 0.95rem);
  line-height: 1.6;
}
.about-vision-item strong {
  color: var(--dark);
  font-weight: 800;
}
.about-vision-plus {
  position: absolute;
  width: min(72%, 16rem);
  aspect-ratio: 1;
  border-radius: 1.5rem;
  background:
    var(--accent-soft) center / 38% 100% no-repeat,
    var(--accent-soft) center / 100% 38% no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
html[dir="rtl"] .about-vision-icon i {
  transform: scaleX(-1);
}

/* Phone landscape / small tablets */
@media (min-width: 480px) {
  .about-mission-layout,
  .about-vision-layout {
    gap: 1.6rem;
  }
  .about-mission-img,
  .about-vision-img {
    max-width: 26rem;
  }
  .about-vision-item {
    padding: 0.95rem 1rem;
    gap: 0.9rem;
  }
  .about-vision-icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.78rem;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .about-mission-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
  }
  .about-vision-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "intro visual"
      "list visual";
    column-gap: 2rem;
    row-gap: 1.25rem;
    align-items: center;
  }
  .about-vision-visual {
    align-self: center;
  }
  .about-mission-img,
  .about-vision-img {
    max-width: 100%;
  }
  .about-vision-plus {
    width: min(78%, 20rem);
  }
  .about-mission-copy p,
  .about-vision-lead {
    max-width: 100%;
  }
}

/* Mobile: center Mission / Vision headings, keep copy full-width */
@media (max-width: 767px) {
  .about-mission-copy,
  .about-vision-intro {
    max-width: none;
  }
  .about-mission-copy .about-split-title,
  .about-vision-intro .about-split-title {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .about-mission-copy p,
  .about-vision-lead {
    text-align: justify;
    text-align-last: start;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .about-mission-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
  .about-vision-layout {
    column-gap: 3rem;
    row-gap: 1.5rem;
  }
  .about-split-title {
    margin-bottom: 1rem;
  }
  .about-mission-img,
  .about-vision-img {
    max-width: 34rem;
    filter: drop-shadow(0 18px 34px rgba(14, 43, 79, 0.12));
  }
  .about-vision-plus {
    width: min(78%, 22rem);
    border-radius: 2rem;
  }
  .about-vision-list {
    gap: 0.85rem;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .about-mission-layout,
  .about-vision-layout {
    gap: 3.5rem;
  }
  .about-vision-layout {
    column-gap: 3.5rem;
  }
}

/* Compact phones */
@media (max-width: 379px) {
  .about-mission-img,
  .about-vision-img {
    max-width: 17.5rem;
  }
  .about-vision-item {
    padding: 0.75rem 0.8rem;
    gap: 0.65rem;
    border-radius: 0.85rem;
  }
  .about-vision-icon {
    width: 1.85rem;
    height: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-vision-item {
    transition: none;
  }
  .about-vision-item:hover {
    transform: none;
  }
}

.presence-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 768px) {
  .presence-layout {
    gap: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .presence-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}
.presence-visual {
  position: relative;
  width: 100%;
  min-width: 0;
}
.presence-map-wrap,
.presence-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: none;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -20px rgba(14, 43, 79, 0.28);
  background: var(--accent-soft);
}
@media (min-width: 1024px) {
  .presence-map-wrap,
  .presence-frame {
    aspect-ratio: 5 / 4;
    min-height: 22rem;
  }
}
.presence-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.presence-frame:hover,
.presence-map-wrap:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 18px 40px -18px rgba(6, 182, 212, 0.28);
}
.presence-badge {
  position: absolute;
  inset-inline-start: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  backdrop-filter: none;
  box-shadow: 0 10px 24px -12px rgba(14, 43, 79, 0.55);
}
@media (min-width: 640px) {
  .presence-badge {
    inset-inline-start: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1rem;
  }
}
.presence-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}
.presence-badge span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
}
.presence-copy {
  min-width: 0;
}
.presence-copy .section-label {
  margin: 0 0 0.65rem;
}
.presence-copy .section-title {
  text-align: start;
  text-wrap: balance;
  margin: 0 0 0.65rem;
}
.presence-copy .section-desc {
  margin: 0;
  max-width: none;
  text-align: start;
}
.presence-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.35rem;
}
.presence-point {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.presence-point:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -16px rgba(6, 182, 212, 0.35);
}
.presence-point i {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.presence-point strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
}
.presence-point span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

@media (max-width: 639px) {
  .presence-layout {
    gap: 1.35rem;
  }
  .presence-map-wrap,
  .presence-frame {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
  }
  .presence-badge {
    inset-inline-start: 0.65rem;
    bottom: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
  }
  .presence-badge strong { font-size: 0.8rem; }
  .presence-badge span { font-size: 0.64rem; }
  .presence-copy .section-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }
  .presence-copy .btn-primary {
    width: auto;
  }
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.75rem;
    align-items: stretch;
  }
}
.contact-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem;
  border-radius: 1rem;
  background: var(--light);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact-item:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}
.contact-item-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item-icon--cyan {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
}
.contact-item h3 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
}
.contact-item p,
.contact-item a {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--slate-text);
  line-height: 1.55;
}
.contact-item a {
  color: var(--secondary-dark);
  font-weight: 700;
  transition: color 0.2s ease;
}
.contact-item a:hover {
  color: var(--primary);
}
.contact-visual {
  border-radius: 1.15rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.contact-visual:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}
.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-form-panel::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: #E11D74;
}
.contact-form-head {
  margin-bottom: 1.35rem;
}
.contact-form-head h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.contact-form-head p {
  margin-top: 0.4rem;
  color: var(--slate-text);
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 0.4rem;
}
.contact-form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.filter-btn {
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fff;
  color: #475569;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.filter-btn:hover {
  transform: translateY(-1px);
  border-color: var(--secondary);
  color: var(--secondary-dark);
  box-shadow: var(--shadow-cyan);
}
.filter-btn.is-active {
  background: #06B6D4;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px -4px rgba(6, 182, 212, 0.45);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.gallery-grid .gallery-card {
  aspect-ratio: 4 / 3;
}
.gallery-card .overlay span {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}
.lightbox-shell {
  width: min(64rem, 100%);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}
.lightbox-head h4 {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 800;
}
.lightbox-head button,
.lightbox-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.lightbox-head button:hover,
.lightbox-nav:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-cyan);
}
.lightbox-body {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 1rem;
}
.lightbox-body img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-nav--prev { inset-inline-start: 1rem; }
.lightbox-nav--next { inset-inline-end: 1rem; }

.product-stage,
.shot-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .product-stage,
  .shot-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* Product screenshot gallery */
.product-shots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .product-shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-shot-card--wide {
    grid-column: 1 / -1;
  }
}

.product-shot-card {
  overflow: hidden;
  border-radius: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-shot-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow);
}

.product-shot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-shot-card--wide .product-shot-media {
  aspect-ratio: 21 / 10;
}

.product-shot-media img {
  transition: transform 0.45s ease;
}

.product-shot-card:hover .product-shot-media img {
  transform: scale(1.04);
}

.product-shot-meta {
  padding: 1.15rem 1.25rem 1.35rem;
}

.product-shot-meta span {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-shot-meta h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.product-shot-meta p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--slate-text);
}

.product-logo {
  display: block;
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  margin: 1rem 0 0.5rem;
}
.role-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 52rem;
  margin-inline: auto;
}
.role-chip {
  min-width: 8.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dark);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.role-chip:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  color: var(--secondary-dark);
  box-shadow: var(--shadow-cyan);
}

.page-hero-inner .btn-primary {
  box-shadow: 0 12px 28px -10px rgba(6, 182, 212, 0.45);
}
.page-hero-inner .btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--dark);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(8px);
}
.page-hero-inner .btn-secondary:hover {
  background: #fff;
  border-color: rgba(6, 182, 212, 0.45);
  color: #0e7490;
}

/* --------------------------------------------------------------------------
   Premium Site Footer — image backdrop + navy veil
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
  border-top: none;
  isolation: isolate;
}

.site-footer-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-footer-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.55);
}

.site-footer-media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 31, 58, 0.88) 0%,
      rgba(11, 31, 58, 0.78) 45%,
      rgba(11, 31, 58, 0.92) 100%
    ),
    radial-gradient(
      ellipse 70% 60% at 80% 20%,
      rgba(6, 182, 212, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 10% 90%,
      rgba(225, 29, 116, 0.1),
      transparent 55%
    );
}

.site-footer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(6, 182, 212, 0.12) 1px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.site-footer-bg,
.site-footer-orb,
.site-footer-grid-pattern,
.site-footer-accent {
  display: none;
}

.site-footer-main {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.site-footer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
  .site-footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer-layout {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 3vw, 3.5rem);
    align-items: start;
  }
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer-brand {
    grid-column: auto;
    padding-inline-end: 1.5rem;
  }
}

.site-footer-logo-link .brand-logo-footer {
  filter: none;
  opacity: 1;
}

.site-footer-desc {
  max-width: 26rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.2rem;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.4);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-footer-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(6, 182, 212, 0.45);
  filter: none;
}

.site-footer-heading {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer-heading i {
  color: #7dd3fc;
  font-size: 0.85rem;
}

.site-footer-heading::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: #7dd3fc;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer-links a i {
  width: 1rem;
  text-align: center;
  color: #7dd3fc;
  font-size: 0.78rem;
}

.site-footer-links a::before {
  display: none;
}

.site-footer-links a:hover {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--cyan);
  transform: translateX(3px);
}

[dir="rtl"] .site-footer-links a:hover {
  transform: translateX(-4px);
}

.site-footer-links a:hover::before {
  width: 0;
}

.site-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer-contact-card,
.site-footer-email {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-footer-email {
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.site-footer-contact-card:hover,
.site-footer-email:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: none;
  transform: translateY(-1px);
  color: #ffffff;
}

.site-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--dark);
  background: #7dd3fc;
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.site-footer-contact-card:hover .site-footer-contact-icon,
.site-footer-email:hover .site-footer-contact-icon {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: none;
}

.site-footer-contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.site-footer-contact-card:hover .site-footer-contact-label {
  color: #bae6fd;
}

.site-footer-contact-text {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.site-footer-contact-card:hover .site-footer-contact-text {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  background: rgba(6, 14, 28, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
}

@media (min-width: 640px) {
  .site-footer-bottom-inner {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.site-footer-copy {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer-copy {
    text-align: start;
  }
}

.site-footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.site-footer-lang-btn {
  min-width: 2.4rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease, background 0.25s ease;
}

.site-footer-lang-btn:hover,
.site-footer-lang-btn:focus-visible {
  color: var(--cyan);
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.12);
  outline: none;
}

.site-footer-lang-btn.font-extrabold {
  color: var(--dark);
  background: var(--cyan);
  box-shadow: none;
}

.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  color: #fff;
  background: #06B6D4;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  background: var(--cyan-dark);
  box-shadow: var(--shadow-cyan);
}

.back-to-top-btn i {
  font-size: 0.82rem;
}

/* ==========================================================================
   3D Glassmorphism Overlay — site-wide design system
   Inspired by the hero + product reference: mesh, glass, cyan glows, 3D float
   ========================================================================== */

.section-y {
  position: relative;
}

.section-y.bg-white,
.section-y.bg-slate-50,
section.bg-white,
section.bg-slate-50 {
  background-color: transparent !important;
  background-image: none;
}

.section-y::before,
.page-hero::before,
.stats-band::before,
.tech-showcase::before,
.cta-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(6, 182, 212, 0.28) 1.2px, transparent 1.4px),
    radial-gradient(circle, rgba(6, 182, 212, 0.22) 1px, transparent 1.2px);
  background-size: 72px 72px, 48px 48px;
  background-position: 12px 18px, 36px 8px;
  opacity: 0.28;
  mask-image: #000;
}

.container-nayel,
.relative.container-nayel,
.who-layout,
.product-3d-grid,
.why-advantage-grid,
.services-offer-grid {
  position: relative;
  z-index: 1;
}

/* Floating glass navbar */
.site-header-float {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  background: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  padding-inline: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header-float.is-scrolled {
  background: #ffffff !important;
  box-shadow: 0 10px 30px -20px rgba(15, 23, 42, 0.22) !important;
  border-bottom-color: #E2E8F0 !important;
}

/* Home — transparent over hero, sits on top of the hero */
body[data-page="home"] .site-header-float.is-over-hero,
body[data-page="home"] .site-header-float:not(.is-scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

body[data-page="home"] .site-header-float.is-scrolled {
  background: #ffffff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -20px rgba(15, 23, 42, 0.22) !important;
  border-bottom-color: #E2E8F0 !important;
}

.nav-glass-pill {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.35rem;
  padding: 0.35rem 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.nav-glass-pill .brand-logo-link {
  justify-self: start;
}

.nav-glass-pill .brand-logo {
  height: 2.35rem;
  max-width: 170px;
}

.nav-glass-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: none;
  margin: 0;
  justify-self: center;
  grid-column: 2;
  padding: 0.28rem 0.4rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.55s ease;
}

/* White capsule for Home–Contact only — while intro / hero animation is active */
html.is-intro-loading .nav-glass-links,
body[data-page="home"] .site-header-float.is-over-hero .nav-glass-links,
body[data-page="home"] .site-header-float:not(.is-scrolled) .nav-glass-links,
body:not([data-page="home"]) .site-header-float:not(.is-scrolled) .nav-glass-links {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 36px -18px rgba(15, 23, 42, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

/* Capsule ends when scroll/hero animation finishes */
body[data-page="home"] .site-header-float.is-scrolled .nav-glass-links,
body:not([data-page="home"]) .site-header-float.is-scrolled .nav-glass-links {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-glass-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-inline-start: 0;
  justify-self: end;
  grid-column: 3;
}

.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: var(--cyan-soft);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-lang-btn i.fa-globe {
  color: var(--cyan-dark);
  font-size: 0.85rem;
}

.nav-lang-chevron {
  font-size: 0.55rem;
  color: var(--cyan-dark);
  opacity: 0.85;
}

.nav-lang-btn:hover,
.nav-lang-btn:focus-visible {
  background: #fff;
  border-color: var(--cyan);
  color: var(--cyan-dark);
  box-shadow: 0 6px 16px -8px rgba(6, 182, 212, 0.45);
  outline: none;
}

.nav-lang-option {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-lang-option:hover {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

.nav-cta-btn {
  min-height: 2.35rem !important;
  padding-inline: 1.15rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -10px rgba(225, 29, 116, 0.45) !important;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .nav-glass-links { display: flex; }
  .nav-glass-pill { padding-inline-end: 0.25rem; gap: 1.25rem; }
}

.site-header-float .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-header-float .nav-link .nav-link-icon {
  font-size: 0.78rem;
  color: var(--cyan);
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-header-float .nav-link .nav-link-chevron {
  font-size: 0.58rem;
  opacity: 0.7;
  margin-inline-start: 0.05rem;
}

.site-header-float .nav-link:hover,
.site-header-float .nav-link.active {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

.site-header-float .nav-link:hover .nav-link-icon,
.site-header-float .nav-link.active .nav-link-icon {
  color: var(--cyan-dark);
  opacity: 1;
  transform: translateY(-0.5px);
}

.site-header-float .nav-link::after { display: none; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  font-weight: 600;
  color: #334155;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link .nav-link-icon {
  width: 1.1rem;
  text-align: center;
  color: var(--cyan);
  font-size: 0.95rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

.mobile-nav-link:hover .nav-link-icon,
.mobile-nav-link.is-active .nav-link-icon {
  color: var(--cyan-dark);
}

.site-header-float .dropdown-panel {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 50px -18px rgba(15, 23, 42, 0.2);
}

/* Hero — split layout with persistent 3D visual */
.hero-slider {
  background-color: #FFFFFF; background-image: none;
  background-size: auto;
  background-position: center;
}

.hero-slide-veil {
  background: rgba(255, 255, 255, 0.55);
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .hero-shell {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    grid-template-rows: auto auto;
    column-gap: 2.75rem;
    row-gap: 0;
    gap: unset;
    padding-top: 7.5rem;
    padding-bottom: 5.5rem;
    min-height: calc(100svh - 0px);
    align-items: center;
  }
  .hero-copy-col {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-proof {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .hero-visual-fixed {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (min-width: 1400px) {
  .hero-shell {
    column-gap: 3.5rem;
    padding-top: 8rem;
  }
}

.hero-copy-col {
  position: relative;
  min-height: 0;
}

.hero-slides {
  position: relative;
  min-height: 0;
  height: auto;
}

.hero-copy-col .hero-slide {
  position: absolute;
  inset: 0;
  height: auto;
}

.hero-copy-col .hero-slide.is-active {
  position: relative;
  inset: auto;
}

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

.hero-slide-content {
  min-height: 0;
  padding: 0;
  display: block;
}

.hero-copy { max-width: 40rem; }
.hero-copy .type-h1 {
  color: var(--dark);
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  text-wrap: balance;
}
.hero-copy .type-h1 .hero-title-accent {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  background-image: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-visual-fixed {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 0.75rem;
  min-height: 26rem;
  width: 100%;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  width: min(100%, 34rem);
  min-height: 26rem;
  margin-inline: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-stage.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-stage-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  top: -2rem;
  right: -1rem;
  border-radius: 50%;
  background: transparent;
  filter: blur(8px);
  pointer-events: none;
}

.hero-stage-panel {
  position: absolute;
  inset: 12% 4% 10% 12%;
  border-radius: 1.85rem;
  background: var(--accent-soft);
  z-index: 0;
}

.hero-shot {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 38px -16px rgba(14, 43, 79, 0.28);
  z-index: 1;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-shot--main {
  left: 0;
  top: 18%;
  width: 68%;
  aspect-ratio: 16 / 11;
  z-index: 2;
  animation: hero-shot-float 7s ease-in-out infinite;
}

.hero-shot--top {
  right: 0;
  top: 0;
  width: 42%;
  aspect-ratio: 16 / 11;
  animation: hero-shot-float 6.2s ease-in-out infinite 0.4s;
}

.hero-shot--mid {
  right: 4%;
  top: 38%;
  width: 38%;
  aspect-ratio: 16 / 10;
  z-index: 3;
  animation: hero-shot-float 6.8s ease-in-out infinite 0.8s;
}

.hero-shot--low {
  left: 18%;
  bottom: 8%;
  width: 44%;
  aspect-ratio: 16 / 10;
  z-index: 4;
  animation: hero-shot-float 7.4s ease-in-out infinite 1.1s;
}

.hero-orb-row {
  position: absolute;
  right: 6%;
  bottom: 2%;
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}

.hero-orb {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e8eef5;
  box-shadow: 0 10px 22px -12px rgba(14, 43, 79, 0.28);
  color: var(--dark);
  font-size: 0.85rem;
}

@keyframes hero-shot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot { animation: none; }
}

.hero-controls {
  z-index: 5;
}

/* 3D product cards */
.product-3d-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.25rem;
}

@media (min-width: 640px) {
  .product-3d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .product-3d-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1.1rem; }
}

.product-3d-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  padding: 0.5rem 0.4rem 1.25rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.18);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.product-3d-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 28px 50px -22px rgba(6, 182, 212, 0.35);
}

.product-3d-mock {
  position: relative;
  width: 100%;
  perspective: 1100px;
  margin-bottom: 1.1rem;
  padding: 1.1rem 0.85rem 1.6rem;
}

.product-3d-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.35rem;
  height: 2.4rem;
  border-radius: 9999px;
  background: transparent;
  filter: blur(10px);
  pointer-events: none;
}

.product-3d-device {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  max-height: 17rem;
  margin-inline: auto;
  width: 86%;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--dark);
  border: 3px solid rgba(15, 23, 42, 0.85);
  transform: rotateY(-16deg) rotateX(8deg) rotateZ(2deg);
  box-shadow:
    0 28px 40px -16px rgba(6, 182, 212, 0.45),
    0 12px 24px -10px rgba(15, 23, 42, 0.25);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-3d-card:hover .product-3d-device {
  transform: rotateY(-8deg) rotateX(4deg) translateY(-6px);
}

.product-3d-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-3d-card .product-chip {
  color: #fff;
  background: #E11D74;
  border: none;
  padding: 0.32rem 0.85rem;
  box-shadow: 0 8px 18px -8px rgba(6, 182, 212, 0.65);
}

.product-3d-card h3 {
  margin-top: 0.7rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.25;
}

.product-3d-card p {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate-text);
  max-width: 16rem;
}

.product-3d-cta {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark-3);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-3d-card:hover .product-3d-cta {
  color: var(--secondary-dark);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-1px);
}

/* Glass cards across the rest of the site — solid light premium */
.why-advantage-card,
.services-offer-card,
.industry-card,
.info-card,
.mv-card,
.team-card,
.testi-card,
.contact-form-panel,
.contact-item,
.trust-why-item,
.who-highlight {
  background: #ffffff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: #E2E8F0 !important;
}

.stats-band-item {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.why-advantage-card,
.services-offer-card,
.industry-card,
.info-card,
.mv-card {
  border-radius: 1rem;
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.12);
}

.why-advantage-card:hover,
.services-offer-card:hover,
.industry-card:hover,
.info-card:hover,
.mv-card:hover,
.team-card:hover,
.testi-card:hover {
  box-shadow: 0 18px 36px -18px rgba(6, 182, 212, 0.22) !important;
}

.product-stage:has(.product-featured) {
  align-items: stretch;
  gap: 1.25rem;
}
@media (min-width: 1100px) {
  .product-stage:has(.product-featured) {
    grid-template-columns: 1.35fr 1fr;
  }
}

.media-card-link {
  padding: 0.35rem 0 0;
  border: none;
  background: transparent;
  color: var(--secondary-dark) !important;
  border-radius: 0;
}

.media-card:hover .media-card-link {
  border-color: transparent;
  color: var(--cyan) !important;
}

/* Flat premium media frames */
.img-frame,
.who-visual-main,
.who-visual-side,
.product-shot-card,
.project-bento-item,
.gallery-card,
.gallery-mosaic-item {
  transform: none;
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.14) !important;
}

.img-frame:hover,
.who-visual-main:hover,
.product-shot-card:hover,
.project-bento-item:hover,
.gallery-card:hover {
  transform: translateY(-4px);
}

.who-float-stat {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px -14px rgba(6, 182, 212, 0.35) !important;
}

.why-advantage-icon,
.services-offer-icon,
.industry-icon,
.info-card-icon,
.contact-item-icon,
.trust-why-icon,
.dev-process-icon {
  box-shadow: none;
  background: var(--accent-soft) !important;
  color: var(--primary) !important;
}

.tech-stack-card .tech-stack-icon--pink {
  background: var(--primary-soft) !important;
  color: var(--primary) !important;
}

.tech-stack-card .tech-stack-icon--cyan {
  background: var(--cyan-soft) !important;
  color: var(--cyan-dark) !important;
}

.tech-stack-card .tech-stack-icon--blend {
  background: rgba(11, 31, 58, 0.08) !important;
  color: var(--dark) !important;
}

.tech-stack-card:hover .tech-stack-icon {
  background: var(--cyan) !important;
  color: #fff !important;
}

.page-hero::before {
  opacity: 0.18;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(6, 182, 212, 0.28) 1.15px, transparent 1.4px),
    radial-gradient(circle, rgba(96, 165, 250, 0.22) 1px, transparent 1.2px);
}

/* Per-page hero backgrounds */
body[data-page="about"] .page-hero-bg {
  background-image: url('../images/banners/banner-about.jpg');
}
body[data-page="services"] .page-hero-bg {
  background-image: url('../images/banners/banner-services.jpg');
}
body[data-page="products"] .page-hero-bg {
  background-image: url('../images/banners/banner-products.jpg');
}
body[data-page="gallery"] .page-hero-bg {
  background-image: url('../images/banners/banner-gallery.jpg');
}
body[data-page="contact"] .page-hero-bg {
  background-image: url('../images/banners/banner-contact.jpg');
}
body[data-page="projects"] .page-hero-bg {
  background-image: url('../images/banners/banner-projects.jpg');
}

.tech-showcase-bg {
  display: none;
}

.stats-band-bg,
.stats-band-veil {
  display: none !important;
}

.cta-premium {
  background-color: #E8EEF5 !important;
  background-image:
    linear-gradient(160deg, #F4F7FB 0%, #E8EEF5 48%, #DEE6F0 100%) !important;
  color: var(--dark) !important;
}

.detail-cta {
  background-color: var(--dark) !important;
  background-image: none !important;
  color: #fff !important;
}

.tech-showcase-panel {
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.filter-btn.is-active {
  background: var(--cyan) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.45);
}


.site-footer-cta {
  background: #7dd3fc !important;
  color: var(--dark) !important;
  box-shadow: none !important;
}

.form-input {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

/* Mobile nav drawer stays solid for readability */
#mobileMenu .absolute.inset-y-0 {
  background: rgba(255, 255, 255, 0.96);
}

.nayel-3d-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-slider .hero-slide-veil,
.page-hero-veil {
  z-index: 1;
}

.product-3d-card .media-card-title {
  margin-top: 0.7rem;
}

.product-3d-card .media-card-text {
  display: block;
  overflow: visible;
  line-clamp: unset;
  -webkit-line-clamp: unset;
  flex: none;
  max-width: 18rem;
}

body[data-page="products"] .product-3d-grid,
body[data-page="projects"] .product-3d-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  body[data-page="products"] .product-3d-grid,
  body[data-page="projects"] .product-3d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body[data-page="products"] .product-3d-grid,
  body[data-page="projects"] .product-3d-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dev-process-card,
.presence-point,
.trust-why-quote {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.35rem;
}

.cta-premium a.btn-primary,
.detail-cta a.btn-primary,
.detail-cta a.inline-flex {
  background: var(--dark) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px -10px rgba(11, 31, 58, 0.4) !important;
}

.detail-cta a.btn-primary,
.detail-cta a.inline-flex {
  background: var(--primary) !important;
  box-shadow: 0 12px 28px -10px rgba(225, 29, 116, 0.4) !important;
}

.cta-premium a.btn-secondary {
  background: #fff !important;
  color: var(--dark) !important;
  border: 1px solid #fff !important;
}

[data-tilt-3d] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s ease;
}

@media (max-width: 1023px) {
  .site-header-float { top: 0; }
  .nav-glass-pill {
    min-height: 3.85rem;
    padding-inline: 0;
  }
  .hero-shell {
    padding-top: 6.25rem;
    padding-bottom: 1.25rem;
    min-height: 0;
  }
  .hero-copy-col { min-height: 0; order: 1; }
  .hero-visual-fixed { order: 2; }
  .hero-proof { order: 3; margin-top: 0.15rem; justify-content: center; }
  .hero-stage { width: min(100%, 30rem); min-height: 22rem; }
  .hero-controls {
    position: relative;
    bottom: auto;
    margin-top: 0.35rem;
    padding-bottom: 1.35rem;
  }
  .product-3d-device { max-height: 15rem; }
}

@media (max-width: 767px) {
  .hero-visual-fixed { order: 2; }
  .hero-copy-col { order: 1; }
  .hero-proof { order: 3; margin-top: 0.1rem; }
  .hero-shell { padding-top: 5.35rem; gap: 1rem; padding-bottom: 0.5rem; }
  .hero-stage { width: 100%; min-height: 18.5rem; margin-inline: auto; }
  .hero-shot--low { width: 48%; left: 10%; }
  .hero-orb-row { display: none; }
  .hero-lead { font-size: 0.98rem; }
  .product-3d-grid { gap: 1.25rem; }
  .img-frame,
  .who-visual-main,
  .who-visual-side,
  .product-shot-card,
  .project-bento-item,
  .gallery-card,
  .gallery-mosaic-item {
    transform: none;
  }
}

/* ==========================================================================
   Nayel Solutions - Global Base
   ========================================================================== */
html {
  background-color: #f8fafc;
}

/* ==========================================================================
   Light Premium Enterprise — homepage section system
   ========================================================================== */
.bg-soft-blue { background: var(--accent-soft); }
.bg-page { background: #F8FAFC; }

.badge-cyan,
.badge-pink,
.badge-light {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-radius: 0.5rem;
  letter-spacing: 0.04em;
}

.product-lite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .product-lite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .product-lite-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

.products-enterprise {
  background: #f8fafc;
}

.solutions-collage {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.solutions-collage-glow {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  z-index: 0;
}

.solutions-collage-glow--tl {
  top: -8rem;
  left: -6rem;
  background: transparent;
}

.solutions-collage-glow--br {
  right: -5rem;
  bottom: -8rem;
  background: rgba(125, 211, 252, 0.42);
}

.solutions-collage-head {
  width: 100%;
  max-width: var(--section-head-max);
  margin: 0 auto 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.solutions-collage-head .section-title,
.solutions-collage-title {
  margin: 0;
  color: var(--dark);
  font-size: clamp(1.55rem, 2.55vw, 2.45rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.38em;
  row-gap: 0.12em;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.solutions-collage-title span {
  white-space: nowrap;
}

.solutions-collage-head .section-desc {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #64748b;
  text-align: justify;
  text-align-last: start;
  text-wrap: wrap;
}

.solutions-collage-stage {
  position: relative;
  min-height: 42rem;
  max-width: min(92rem, 100%);
  margin: 0 auto;
  padding-bottom: 2rem;
}

.sg-card {
  --sg-y: 0px;
  --sg-rot: 0deg;
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 1.05rem;
  background: #fff;
  box-shadow: 0 16px 38px -14px rgba(14, 43, 79, 0.26);
  border: 1px solid rgba(226, 232, 240, 0.85);
  transform: translateY(var(--sg-y)) rotate(var(--sg-rot));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

.sg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.sg-card:hover {
  transform: translateY(calc(var(--sg-y) - 10px)) rotate(var(--sg-rot)) scale(1.045);
  box-shadow: 0 28px 52px -16px rgba(14, 43, 79, 0.34);
  z-index: 6;
}

.sg-card--lg {
  left: 0;
  top: 16%;
  width: 30%;
  aspect-ratio: 16 / 11;
  z-index: 2;
}

.sg-card--a {
  left: 32%;
  top: 1%;
  width: 16.5%;
  aspect-ratio: 16 / 11;
  --sg-y: -0.35rem;
}

.sg-card--b {
  left: 32.5%;
  top: 36%;
  width: 16%;
  aspect-ratio: 16 / 11;
  --sg-y: 0.4rem;
}

.sg-card--c {
  left: 50%;
  top: 0;
  width: 18%;
  aspect-ratio: 16 / 10;
  z-index: 2;
}

.sg-card--d {
  left: 50%;
  top: 28%;
  width: 12.5%;
  aspect-ratio: 4 / 3;
  --sg-y: 0.55rem;
}

.sg-card--e {
  left: 63.5%;
  top: 24%;
  width: 12%;
  aspect-ratio: 16 / 11;
}

.sg-card--f {
  left: 50%;
  top: 50%;
  width: 20%;
  aspect-ratio: 16 / 9;
  z-index: 2;
}

.sg-card--g {
  left: 71%;
  top: 2%;
  width: 16%;
  aspect-ratio: 16 / 11;
  --sg-y: 0.25rem;
}

.sg-card--h {
  left: 72%;
  top: 38%;
  width: 15%;
  aspect-ratio: 16 / 10;
  --sg-y: 0.7rem;
}

.sg-card--i {
  left: 87%;
  top: 16%;
  width: 12%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}

.sg-hand {
  position: absolute;
  right: -4%;
  bottom: -10%;
  width: min(24rem, 38%);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: multiply;
  user-select: none;
}

.solutions-collage-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
  position: relative;
  z-index: 6;
}

@media (max-width: 991px) {
  .solutions-collage-stage {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 0;
  }
  .sg-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    aspect-ratio: 16 / 11;
    transform: none !important;
  }
  .sg-card--lg { grid-column: span 2; aspect-ratio: 16 / 9; }
  .sg-card--desktop,
  .sg-hand { display: none; }
}

.products-enterprise-head {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.products-enterprise-head .section-desc {
  max-width: 38rem;
}

.products-enterprise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .products-enterprise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .products-enterprise-card--feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
  .products-enterprise-card--feature .products-enterprise-media {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: none;
    border-inline-end: 1px solid #E2E8F0;
  }
  .products-enterprise-card--feature .products-enterprise-body {
    justify-content: center;
    padding: 2rem 2rem 2rem 1.75rem;
  }
}

@media (min-width: 1100px) {
  .products-enterprise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .products-enterprise-card--feature {
    grid-column: span 3;
  }
}

.products-enterprise-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 36px -24px rgba(14, 43, 79, 0.18);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.products-enterprise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 24px 48px -22px rgba(30, 77, 120, 0.28);
}

.products-enterprise-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef5;
}

.products-enterprise-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.products-enterprise-card:hover .products-enterprise-media img {
  transform: scale(1.05);
}

.products-enterprise-media .product-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(14, 43, 79, 0.12);
}

.products-enterprise-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.products-enterprise-body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.products-enterprise-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #64748B;
}

.products-enterprise-go {
  margin-top: auto;
  padding-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.products-enterprise-card:hover .products-enterprise-go {
  gap: 0.65rem;
}

.products-enterprise-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.product-lite-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 32px -22px rgba(15, 23, 42, 0.14);
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-lite-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 22px 40px -22px rgba(6, 182, 212, 0.25);
}
.product-lite-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.product-lite-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-lite-card:hover .product-lite-media img { transform: scale(1.04); }
.product-lite-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.product-lite-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.product-lite-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748B;
}
.product-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(6, 182, 212, 0.14);
}

.service-lite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .service-lite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .service-lite-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-lite-grid .service-lite-card:last-child:nth-child(7) {
    grid-column: 2;
  }
}

.service-lite-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.45rem 1.35rem;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-lite-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 18px 36px -20px rgba(6, 182, 212, 0.22);
}
.service-lite-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.service-lite-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.service-lite-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748B;
}

.dx-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.dx-glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  z-index: 0;
}

.dx-glow--tl {
  top: -7rem;
  left: -5rem;
  background: transparent;
}

.dx-glow--br {
  right: -5rem;
  bottom: -8rem;
  background: rgba(125, 211, 252, 0.36);
}

.dx-head {
  display: flex;
  justify-content: center;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.dx-title {
  display: block;
  margin: 0 auto;
  max-width: 48rem;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-align: center;
}

.dx-flow {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 16.5rem;
  padding: 0.35rem 0 1.5rem;
}

.dx-wave {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 2.2rem;
  width: 100%;
  height: 4.35rem;
  z-index: 0;
  pointer-events: none;
}

.dx-flow-item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  max-width: 10.5rem;
}

.dx-flow-item:nth-child(even) { transform: translateY(0); }
.dx-flow-item:nth-child(odd) { transform: translateY(2.4rem); }

.dx-orb {
  width: 6.35rem;
  height: 6.35rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e8eef5;
  box-shadow: 0 14px 32px -14px rgba(14, 43, 79, 0.22);
  color: var(--dark);
  font-size: 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dx-flow-item:hover .dx-orb {
  box-shadow: 0 20px 36px -14px rgba(14, 43, 79, 0.28);
}

.dx-flow-item > span:last-child {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}

@media (min-width: 992px) {
  .dx-wave { display: block; }
}

@media (max-width: 991px) {
  .dx-head {
    margin-bottom: 2rem;
  }
  .dx-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 0.85rem;
    min-height: 0;
    padding: 0;
    justify-items: center;
  }
  .dx-flow-item {
    max-width: 8.5rem;
    width: 100%;
    transform: none !important;
  }
  .dx-orb {
    width: 5.25rem;
    height: 5.25rem;
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }
  .dx-flow-item > span:last-child {
    font-size: 0.88rem;
  }
}

@media (max-width: 639px) {
  .dx-head {
    margin-bottom: 1.5rem;
  }
  .dx-title {
    max-width: 18.5rem;
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    line-height: 1.25;
  }
  .dx-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.65rem;
    max-width: 22rem;
    margin-inline: auto;
  }
  .dx-flow-item {
    max-width: none;
  }
  .dx-orb {
    width: 4.35rem;
    height: 4.35rem;
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
    box-shadow: 0 10px 22px -12px rgba(14, 43, 79, 0.2);
  }
  .dx-flow-item > span:last-child {
    font-size: 0.8rem;
  }
  .dx-glow {
    width: 14rem;
    height: 14rem;
  }
}

@media (max-width: 379px) {
  .dx-flow {
    max-width: 18.5rem;
    gap: 1rem 0.45rem;
  }
  .dx-orb {
    width: 3.85rem;
    height: 3.85rem;
    font-size: 1.05rem;
  }
  .dx-flow-item > span:last-child {
    font-size: 0.74rem;
  }
}

.who-highlight {
  background: var(--accent-soft) !important;
  border-color: rgba(6, 182, 212, 0.14) !important;
}
.who-highlight i { color: var(--primary); }
.who-point-ic {
  background: var(--accent-soft);
  color: var(--primary);
}

.services-offer-icon--pink,
.services-offer-icon--cyan,
.services-offer-icon--blend {
  background: var(--accent-soft) !important;
  color: var(--primary) !important;
}

.testi-quote::before {
  content: "“";
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.testi-avatar {
  border-color: var(--primary);
}

.team-card {
  background: #ffffff !important;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.site-footer-orb--pink,
.site-footer-orb--cyan {
  display: none;
}
.site-footer-heading {
  color: #ffffff;
}
.site-footer-heading::after {
  background: #7dd3fc;
}
.site-footer-contact-card:hover,
.site-footer-email:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: none;
}

.hero-brand-name { display: none; }

.tech-showcase {
  background: #ffffff;
  border-color: #E2E8F0;
}
.tech-showcase-veil { display: none; }

/* ==========================================================================
   Petalnex-style Services Cards (hover reveal)
   ========================================================================== */
.petal-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .petal-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .petal-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1600px) {
  .petal-services-grid {
    gap: 1.5rem;
  }
  .petal-service-card {
    height: 320px;
  }
}

@media (min-width: 2000px) {
  .petal-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
  }
  .petal-service-card {
    height: 340px;
    padding: 1.5rem 1.6rem 1.75rem;
  }
}

.petal-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 300px;
  padding: 1.35rem 1.45rem 1.6rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 10px 28px -18px rgba(11, 31, 58, 0.18);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.petal-service-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 18px 40px -14px rgba(6, 182, 212, 0.28);
  transform: translateY(-4px);
}

.petal-service-no {
  position: relative;
  z-index: 1;
  font-size: clamp(2.75rem, 4vw, 3.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(6, 182, 212, 0.18);
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.7);
  transition: color 0.35s ease, -webkit-text-stroke 0.35s ease;
}

.petal-service-card:hover .petal-service-no {
  color: rgba(14, 43, 79, 0.85);
  -webkit-text-stroke: 0;
}

.petal-service-visual {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  margin: 0.2rem 0 0.85rem;
}

.petal-service-glow {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: transparent;
  filter: blur(2px);
  pointer-events: none;
}

.petal-service-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 72%;
  max-height: 7.5rem;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.petal-service-card:hover .petal-service-img {
  transform: translate(2.75rem, -5.75rem) scale(0.58);
}

.petal-service-title {
  position: relative;
  z-index: 3;
  margin: auto 0 0;
  padding: 0 0.15rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--dark);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.petal-service-card:hover .petal-service-title {
  transform: translateY(-8.75rem);
}

.petal-service-desc {
  position: absolute;
  left: 1.45rem;
  right: 3.6rem;
  bottom: 3.25rem;
  z-index: 3;
  margin: 0;
  padding: 0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #64748B;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.petal-service-card:hover .petal-service-desc {
  opacity: 1;
  transform: translateY(0);
}

.petal-service-arrow {
  position: absolute;
  right: 1.45rem;
  bottom: 1.45rem;
  z-index: 4;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(3.5rem);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, background 0.25s ease, color 0.25s ease;
}

.petal-service-card:hover .petal-service-arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--cyan);
  color: #fff;
}

@media (max-width: 639px) {
  .petal-service-card {
    height: auto;
    min-height: 0;
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .petal-service-visual {
    min-height: 5.5rem;
    margin: 0.15rem 0 0.65rem;
  }
  .petal-service-img {
    max-width: 68%;
    max-height: 6.5rem;
  }
  .petal-service-no {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
  }
  .petal-service-title {
    font-size: 0.95rem;
    margin-top: 0.15rem;
  }
  .petal-service-card:hover .petal-service-img,
  .petal-service-card:hover .petal-service-title {
    transform: none;
  }
  .petal-service-desc,
  .petal-service-arrow {
    position: static;
    opacity: 1;
    transform: none;
  }
  .petal-service-desc {
    margin: 0.7rem 0 0;
    right: auto;
    left: auto;
    bottom: auto;
    font-size: 0.8rem;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
  .petal-service-arrow {
    margin-top: 0.85rem;
    align-self: flex-end;
    opacity: 1;
    background: var(--primary);
    color: #fff;
  }
}

@media (hover: none), (pointer: coarse) {
  .petal-service-card {
    height: auto;
  }
  .petal-service-card:hover .petal-service-img,
  .petal-service-card:hover .petal-service-title {
    transform: none;
  }
  .petal-service-desc,
  .petal-service-arrow {
    position: static;
    opacity: 1;
    transform: none;
  }
  .petal-service-desc {
    margin: 0.7rem 0 0;
    right: auto;
    left: auto;
    bottom: auto;
  }
  .petal-service-arrow {
    margin-top: 0.85rem;
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal-service-img,
  .petal-service-title,
  .petal-service-desc,
  .petal-service-arrow {
    transition: none;
  }
  .petal-service-card:hover .petal-service-img,
  .petal-service-card:hover .petal-service-title {
    transform: none;
  }
  .petal-service-desc,
  .petal-service-arrow {
    position: static;
    opacity: 1;
    transform: none;
  }
  .petal-service-desc {
    margin: 0.75rem 0 0;
    right: auto;
    left: auto;
    bottom: auto;
  }
  .petal-service-arrow {
    margin-top: 0.9rem;
    align-self: flex-end;
  }
  .petal-service-card { height: auto; min-height: 0; }
}

#services .services-offer-head {
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--section-head-max);
  margin-inline: auto;
}

/* ── Featured products marquee (continuous scroll) ── */
.petal-projects {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  padding-top: clamp(4rem, 8vw, 5.75rem);
  padding-bottom: clamp(3.25rem, 6vw, 4.75rem);
}

.petal-projects-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.petal-projects-title {
  margin: 0;
  padding-inline: 1rem;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1.15;
}

.petal-projects-desc {
  margin: 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--slate-text, #64748b);
}

.petal-projects-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.petal-projects-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}

.petal-projects-track {
  display: flex;
  width: max-content;
  animation: petal-projects-rtl 45s linear infinite;
}

.petal-projects-marquee:hover .petal-projects-track {
  animation-play-state: paused;
}

.petal-projects-group {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  padding-inline-end: 1.15rem;
  flex-shrink: 0;
}

.petal-project-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(78vw, 20.5rem);
  background: #fff;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow:
    0 16px 36px -16px rgba(14, 43, 79, 0.18),
    0 4px 12px rgba(14, 43, 79, 0.05);
  border: 1px solid rgba(14, 43, 79, 0.07);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.petal-project-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow:
    0 22px 44px -14px rgba(6, 182, 212, 0.28),
    0 0 0 1px rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
}

.petal-project-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #e8eef5;
}

.petal-project-chip {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--cyan);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.petal-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.65s ease;
}

.petal-project-card:hover .petal-project-media img {
  transform: scale(1.04);
}

.petal-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0.95rem 1.05rem 1.1rem;
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.petal-project-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-dark);
}

.petal-project-meta h3 {
  margin: 0;
  text-align: start;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}

.petal-project-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan-dark);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.petal-project-card:hover .petal-project-go {
  background: var(--cyan);
  color: #fff;
}

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

@media (prefers-reduced-motion: reduce) {
  .petal-projects-track {
    animation: none;
  }

  .petal-projects-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

[dir="rtl"] .petal-projects-track {
  animation-name: petal-projects-ltr;
}

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

[dir="rtl"] .petal-project-go i {
  transform: scaleX(-1);
}

/* ==========================================================================
   Homepage / global screen fit
   ========================================================================== */
img, svg, video { max-width: 100%; height: auto; }
.hero-shot img { height: 100%; }

@media (max-width: 1199px) {
  .solutions-collage-stage { min-height: 34rem; }
}

@media (max-width: 991px) {
  .section-y { padding-block: clamp(3.25rem, 8vw, 5.5rem); }
  .sg-hand { display: none; }
  .who-intro-card--bottom { margin-top: -3.25rem; }
}

@media (max-width: 639px) {
  .hero-proof li { font-size: 0.66rem; padding: 0.32rem 0.6rem; }
  .hero-copy { max-width: none; }
  .hero-copy .type-h1 { max-width: none; }
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: auto;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    border-radius: 0.55rem;
  }
  .hero-actions {
    gap: 0.45rem;
    margin-top: 0.85rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-height: 2.2rem;
    padding: 0.38rem 0.75rem;
    font-size: 0.7rem;
  }
  .petal-services-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .why-work-photo--bottom { width: min(78%, 16rem); }
}

@media (max-width: 379px) {
  .hero-stage { min-height: 16rem; }
  .stats-band-grid { grid-template-columns: 1fr; }
}

/* Inner pages: light premium hero aligned with homepage */
.page-hero {
  background-color: #ffffff;
  min-height: clamp(22rem, 52vw, 30rem);
}
.page-hero-bg {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-veil {
  background: transparent !important;
}
.page-hero .badge,
.page-hero .badge-cyan,
.page-hero .product-badge {
  background: var(--accent-soft) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(6, 182, 212, 0.16) !important;
  box-shadow: none !important;
}
.mv-kicker,
.mv-kicker--cyan {
  color: var(--primary) !important;
}
.presence-badge {
  background: var(--dark) !important;
  color: #fff !important;
}

/* =========================================================================
   Tech stack marquee — after hero, scrolls right → left
   ========================================================================= */
.tech-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 0;
  padding-block: clamp(1.65rem, 3.2vw, 2.35rem);
  background: #f1f5f9;
  border-block: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
}

.tech-marquee + .who-intro.section-y {
  padding-top: clamp(2.75rem, 5vw, 4rem);
}

.tech-marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  animation: tech-marquee-rtl 38s linear infinite;
}

.tech-marquee:hover .tech-marquee-track {
  animation-play-state: paused;
}

.tech-marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0.25rem 1rem 0.25rem 0;
  list-style: none;
  flex-shrink: 0;
}

.tech-marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  min-height: 3.15rem;
  padding: 0.85rem 1.45rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.2);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tech-marquee-pill i {
  font-size: 1.2rem;
  color: var(--cyan-dark);
  width: 1.25rem;
  text-align: center;
}

.tech-marquee-pill .fa-aws { color: #f97316; }
.tech-marquee-pill .fa-docker { color: #2563eb; }
.tech-marquee-pill .fa-react { color: #06b6d4; }
.tech-marquee-pill .fa-angular { color: #e11d48; }
.tech-marquee-pill .fa-python { color: #3776ab; }
.tech-marquee-pill .fa-node-js { color: #16a34a; }
.tech-marquee-pill .fa-microsoft { color: #0284c7; }
.tech-marquee-pill .fa-database { color: #7c3aed; }
.tech-marquee-pill .fa-code { color: #2563eb; }

.tech-marquee-pill:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 14px 28px -12px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

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

@media (prefers-reduced-motion: reduce) {
  .tech-marquee-track {
    animation: none;
  }

  .tech-marquee-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

[dir="rtl"] .tech-marquee-track {
  animation-name: tech-marquee-ltr;
}

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

/* =========================================================================
   SCROLL-DRIVEN CIRCULAR REVEAL HERO STYLES
   ========================================================================= */

/* The 300vh scroll runway */
.hero-track {
  position: relative;
  height: 300vh;
  width: 100%;
  background-color: #f8fafc;
}

/* The 100vh viewport container that sticks during the scroll */
.hero-sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Common layer properties */
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-layer-base {
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Reveal layer with initial 0% circular mask */
.hero-layer-reveal {
  z-index: 20;
  overflow: hidden;
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.will-scale {
  transform: scale(1);
  will-change: transform;
}

/* Soft white gradient to ensure text contrast */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(255,255,255,0.78);
}

/* Centered content layout */
.hero-content-container {
  position: relative;
  z-index: 10;
  height: 100%;
  max-width: 58rem; /* 928px */
  margin-left: auto;
  margin-right: auto;
  padding: 6.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero-reveal-content {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Badge Pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: rgba(253, 242, 248, 0.95);
  border: 1px solid #fbcfe8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #e11d74;
}

.hero-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e11d74;
}

/* Typography */
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 50rem;
  margin: 0;
}

.hero-gradient-text {
  background: #E11D74;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-description {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: #475569;
  max-width: 44rem;
  line-height: 1.6;
}

/* Pills Row */
.hero-pills-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-pill {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: rgba(241, 245, 249, 0.95);
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #334155;
}

.pill-divider {
  color: #06b6d4;
  font-weight: bold;
}

/* CTA Buttons */
.hero-buttons-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: #E11D74;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
  color: #ffffff;
}

.btn-primary-gradient:active {
  transform: scale(0.95);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

[dir="rtl"] .btn-primary-gradient .btn-icon {
  transform: scaleX(-1);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  border-color: #0f172a;
  background-color: #f8fafc;
  transform: scale(1.05);
  color: #0f172a;
}

/* Scroll indicator — pin to bottom of sticky frame */
.hero-scroll-indicator {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: heroBounce 2s infinite;
}

.scroll-text {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.scroll-arrow {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   Home hero — mobile / tablet
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-track {
    height: 240vh;
  }

  .hero-sticky-frame {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
  }

  .hero-content-container {
    max-width: 100%;
    width: 100%;
    padding: 5.5rem 1.15rem 4.75rem;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-badge {
    margin-bottom: 0.9rem;
    padding: 0.32rem 0.8rem;
    max-width: min(100%, 22rem);
  }

  .hero-badge-text {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
    line-height: 1.3;
  }

  .hero-headline {
    font-size: clamp(1.7rem, 7.2vw, 2.35rem);
    line-height: 1.18;
    max-width: 20.5rem;
  }

  .hero-headline > span {
    display: block;
  }

  .hero-description {
    margin-top: 0.9rem;
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 21rem;
    padding-inline: 0.15rem;
  }

  .hero-pills-row {
    margin-top: 1rem;
    gap: 0.35rem 0.45rem;
    max-width: 22rem;
  }

  .hero-pill {
    padding: 0.3rem 0.65rem;
    font-size: 0.64rem;
  }

  .pill-divider {
    font-size: 0.7rem;
  }

  .hero-buttons-row {
    margin-top: 1.35rem;
    width: 100%;
    max-width: 17.5rem;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-buttons-row > a,
  .hero-buttons-row .btn-primary-gradient,
  .hero-buttons-row .btn-secondary-outline {
    width: 100%;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
  }

  .hero-scroll-indicator {
    padding-bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  }

  .scroll-text {
    font-size: 0.58rem;
  }
}

@media (max-width: 480px) {
  .hero-track {
    height: 210vh;
  }

  .hero-content-container {
    padding: 5.25rem 1rem 4.25rem;
  }

  .hero-headline {
    font-size: clamp(1.55rem, 8vw, 1.95rem);
    max-width: 100%;
  }

  .hero-description {
    font-size: 0.88rem;
    max-width: 100%;
  }

  .hero-pills-row {
    margin-top: 0.85rem;
  }

  .hero-buttons-row {
    margin-top: 1.1rem;
    max-width: 100%;
    padding-inline: 0.35rem;
  }
}

@media (max-width: 360px) {
  .hero-badge-text {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .hero-headline {
    font-size: 1.4rem;
  }

  .hero-pills-row .pill-divider {
    display: none;
  }
}

@media (max-height: 700px) and (max-width: 991px) {
  .hero-content-container {
    padding-top: 4.75rem;
    padding-bottom: 3.5rem;
  }

  .hero-badge {
    margin-bottom: 0.65rem;
  }

  .hero-description {
    margin-top: 0.65rem;
  }

  .hero-pills-row {
    margin-top: 0.7rem;
  }

  .hero-buttons-row {
    margin-top: 0.9rem;
  }

  .hero-scroll-indicator {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator {
    animation: none;
  }

  .will-scale {
    transform: none !important;
  }
}



/* --------------------------------------------------------------------------
   Brand balance — navy + magenta headings · cyan cards/hover · magenta CTAs
   -------------------------------------------------------------------------- */
.hero-overlay-gradient {
  background: rgba(255, 255, 255, 0.62) !important;
}

/* Mobile: light text-safe veil — keep edge artwork visible, avoid empty wash */
@media (max-width: 991px) {
  .hero-bg-img {
    object-position: center center !important;
    filter: none;
  }

  .hero-overlay-gradient {
    z-index: 2 !important;
    background:
      radial-gradient(
        ellipse 92% 42% at 50% 46%,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.55) 55%,
        rgba(255, 255, 255, 0.12) 82%,
        rgba(255, 255, 255, 0.04) 100%
      ) !important;
  }

  .hero-headline {
    color: #0b1f3a !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  .hero-description {
    color: #1e293b !important;
    font-weight: 500;
  }
}

.hero-gradient-text,
.text-primary {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--primary) !important;
}

/* Magenta CTAs */
.btn-primary-gradient,
.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(225, 29, 116, 0.4) !important;
  border: 1px solid transparent !important;
}

.btn-primary-gradient:hover,
.btn-primary:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px -10px rgba(225, 29, 116, 0.45) !important;
}

/* Outline / secondary actions — navy border (mockup Learn More) */
.btn-outline,
.btn-secondary-outline {
  color: var(--dark) !important;
  border-color: rgba(11, 31, 58, 0.22) !important;
  background: #fff !important;
}

.btn-outline:hover,
.btn-secondary-outline:hover {
  border-color: var(--cyan) !important;
  color: var(--cyan-dark) !important;
  background: var(--cyan-soft) !important;
}

/* Section labels near headings — soft magenta brand chip */
.section-label {
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
  border-color: rgba(225, 29, 116, 0.16) !important;
}

/* Nav active — cyan interactive accent */
.nav-link:hover,
.nav-link.active,
.site-header-float .nav-link:hover,
.site-header-float .nav-link.active {
  color: var(--cyan-dark) !important;
  background: var(--cyan-soft) !important;
}

.site-footer {
  background: var(--dark) !important;
  background-image: none !important;
}

.site-footer-media {
  display: block !important;
}

.site-footer-bottom {
  position: relative;
  z-index: 1;
  background: rgba(6, 14, 28, 0.45);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(6, 182, 212, 0.15);
}

.site-footer-contact-card,
.site-footer-email {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

/* Ready to Build — soft system slate band (not brand cyan/magenta) */
.cta-premium {
  background-color: #E8EEF5 !important;
  background-image:
    linear-gradient(160deg, #F4F7FB 0%, #E8EEF5 48%, #DEE6F0 100%) !important;
  color: var(--dark) !important;
  border-top: none !important;
}

.cta-premium h2,
.cta-premium .type-h2 {
  color: var(--dark) !important;
}

.cta-premium .brand-heading .bh-lead,
.cta-premium .brand-heading .bh-cyan {
  color: var(--dark) !important;
}

.cta-premium .brand-heading .bh-accent,
.cta-premium .hero-title-accent {
  color: var(--primary) !important;
}

.cta-premium p {
  color: var(--slate-text) !important;
}

.cta-premium a,
.cta-premium a.btn-primary {
  background: var(--dark) !important;
  color: #fff !important;
  border-color: var(--dark) !important;
  box-shadow: 0 12px 28px -10px rgba(11, 31, 58, 0.4) !important;
}

.cta-premium a:hover,
.cta-premium a.btn-primary:hover {
  background: #061426 !important;
  color: #fff !important;
}

.cta-premium a.btn-secondary,
.cta-premium a.btn-outline {
  background: #fff !important;
  color: var(--dark) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.cta-premium a.btn-outline:hover,
.cta-premium a.btn-secondary:hover {
  background: var(--dark) !important;
  color: #fff !important;
  border-color: var(--dark) !important;
}

.hero-badge {
  background-color: var(--primary-soft) !important;
  border-color: rgba(225, 29, 116, 0.22) !important;
}

.hero-badge-dot,
.hero-badge-text {
  color: var(--primary) !important;
}

.hero-badge-dot {
  background-color: var(--primary) !important;
}

.hero-headline {
  color: var(--dark) !important;
}

.pill-divider {
  color: var(--cyan) !important;
}

/* Headings: navy lead + magenta accent (mockup signature) */
.brand-heading .bh-lead,
.brand-heading .bh-cyan {
  color: var(--dark);
}

.brand-heading .bh-accent,
.brand-heading .hero-title-accent,
.hero-title-accent {
  color: var(--primary);
}

.why-work-title.brand-heading .bh-accent,
.why-work-title .bh-accent,
.about-split-title.brand-heading .bh-accent,
.about-split-title strong.bh-accent {
  color: var(--primary);
  font-weight: 800;
}

.section-title.brand-heading,
.type-h2.brand-heading,
.who-intro-title.brand-heading {
  letter-spacing: -0.03em;
}

.cta-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(11, 31, 58, 0.08) 1px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.45;
  pointer-events: none;
}

.cta-premium > * {
  position: relative;
  z-index: 1;
}

.site-footer-cta {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(225, 29, 116, 0.4) !important;
}

.site-footer-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.back-to-top-btn {
  background: var(--cyan) !important;
}

.back-to-top-btn:hover {
  background: var(--cyan-dark) !important;
}

.why-work-icon {
  color: var(--primary) !important;
}

.who-intro-panel {
  background: var(--cyan-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.2) !important;
}

/* Cards + hover — cyan-led */
.card:hover,
.card-dark:hover,
.media-card:hover {
  border-color: var(--cyan) !important;
  box-shadow: var(--shadow-cyan) !important;
}

.petal-service-card:hover {
  border-color: rgba(6, 182, 212, 0.5) !important;
  box-shadow: 0 18px 40px -14px rgba(6, 182, 212, 0.3) !important;
}

.petal-service-arrow {
  background: var(--cyan-soft) !important;
  color: var(--cyan-dark) !important;
}

.petal-service-card:hover .petal-service-arrow {
  background: var(--cyan) !important;
  color: #fff !important;
}

.petal-service-card:hover .petal-service-title {
  color: var(--cyan-dark) !important;
}

.media-card .link,
.media-card a.text-link,
.view-details,
a.view-details {
  color: var(--cyan-dark) !important;
}

/* Interactive hover + selected — cyan everywhere */
.nav-link:hover,
.nav-link.active,
.site-header-float .nav-link:hover,
.site-header-float .nav-link.active {
  color: var(--cyan-dark) !important;
  background: var(--cyan-soft) !important;
}

.nav-link::after {
  background: var(--cyan) !important;
}

.dropdown-panel a:hover {
  background: var(--cyan-soft) !important;
  color: var(--cyan-dark) !important;
}

.filter-btn.is-active,
.filter-btn:hover.is-active {
  background: var(--cyan) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.45) !important;
}

.hero-dot.is-active {
  background: var(--cyan) !important;
}

.text-slate-900,
.text-black,
.text-gray-900,
.text-neutral-900 {
  color: var(--dark) !important;
}



/* ==========================================================================
   Page banners — force-visible (wins over earlier hero overrides)
   ========================================================================== */
.page-hero {
  background-color: #f4f7fb !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.page-hero-bg {
  z-index: 0;
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.page-hero-bg img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.page-hero-veil {
  z-index: 1;
  /* Banners already have a clear center for type — keep veil minimal */
  background: transparent !important;
}

.page-hero::before {
  z-index: 1;
  opacity: 0.1 !important;
}

body[data-page="about"] .page-hero,
body[data-page="about"] .page-hero-bg {
  background-image: url("../images/banners/banner-about.jpg") !important;
}

body[data-page="services"] .page-hero,
body[data-page="services"] .page-hero-bg {
  background-image: url("../images/banners/banner-services.jpg") !important;
}

body[data-page="products"] .page-hero,
body[data-page="products"] .page-hero-bg {
  background-image: url("../images/banners/banner-products.jpg") !important;
}

body[data-page="gallery"] .page-hero,
body[data-page="gallery"] .page-hero-bg {
  background-image: url("../images/banners/banner-gallery.jpg") !important;
}

body[data-page="contact"] .page-hero,
body[data-page="contact"] .page-hero-bg {
  background-image: url("../images/banners/banner-contact.jpg") !important;
}

body[data-page="projects"] .page-hero,
body[data-page="projects"] .page-hero-bg {
  background-image: url("../images/banners/banner-projects.jpg") !important;
}

/* Ensure every inner-page hero paints the banner image layer */
.page-hero.has-page-banner {
  isolation: isolate;
}

.page-hero.has-page-banner .page-hero-bg {
  opacity: 1 !important;
  visibility: visible !important;
}

.page-hero.has-page-banner .page-hero-banner-img,
.page-hero.has-page-banner .page-hero-bg > img {
  opacity: 1 !important;
  visibility: visible !important;
  filter: saturate(1.2) contrast(1.08);
}

body[data-page="products"] .page-hero.has-page-banner .page-hero-bg > img,
body[data-page="gallery"] .page-hero.has-page-banner .page-hero-bg > img {
  filter: saturate(1.35) contrast(1.15);
}

/* Skip link — visible on keyboard focus only */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3.5rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Semantic breadcrumb bar under inner-page heroes */
.seo-breadcrumbs.breadcrumbs {
  padding-block: 0.65rem;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.seo-breadcrumbs.breadcrumbs > ol,
.seo-breadcrumbs.breadcrumbs > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  max-width: var(--container, 1200px);
  margin-inline: auto;
  padding-inline: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.seo-breadcrumbs a {
  color: var(--cyan-dark, #0891b2);
  text-decoration: none;
}
.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}
.seo-breadcrumbs [aria-current="page"] {
  color: var(--dark, #0b1f3a);
}
