/* Nayel Solutions — premium solid-color design system.
   Brand colors stay exact. No gradients. */

:root {
  --nayel-navy: #0b2a52;
  --nayel-cyan: #00acd7;
  --nayel-pink: #e91e63;
  --nayel-ink: #173958;
  --nayel-soft: #f5f9fd;
  --nayel-line: #dbe7f1;
}

html { scroll-behavior: smooth; }

body {
  color: var(--nayel-ink);
  background: var(--nayel-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

.font-black,
.font-extrabold {
  font-weight: 600 !important;
}

.font-bold,
.font-semibold {
  font-weight: 500 !important;
}

/* Header */
.site-header {
  background: rgba(245, 249, 253, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header .mx-auto { max-width: 1380px; }

.site-nav {
  align-items: center;
  gap: .28rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: var(--nayel-navy);
  font-weight: 500;
  font-size: .9rem;
  padding: .38rem .62rem .38rem .38rem;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--nayel-navy);
  border: 1.5px solid var(--nayel-line);
  flex: 0 0 auto;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-ico svg {
  width: 14px;
  height: 14px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--nayel-pink);
  background: #fff;
}

.nav-link:hover .nav-ico,
.nav-link.active .nav-ico {
  background: var(--nayel-pink);
  color: #fff;
  border-color: var(--nayel-pink);
}

.nav-link.active .nav-ico { background: var(--nayel-cyan); border-color: var(--nayel-cyan); }
.nav-link.active { color: var(--nayel-navy); }

[data-mobile-menu] .nav-link {
  width: 100%;
  padding: .55rem .7rem .55rem .45rem;
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  border-radius: 14px;
  padding: .85rem 1.35rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--nayel-pink);
  box-shadow: 0 12px 24px rgba(233, 30, 99, .18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d81557;
  box-shadow: 0 16px 30px rgba(233, 30, 99, .24);
}

.btn-outline {
  color: var(--nayel-navy);
  background: #fff;
  border: 1.6px solid var(--nayel-navy);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: var(--nayel-soft);
}

/* Typography */
.section-eyebrow {
  color: var(--nayel-pink);
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .82rem;
}

.section-title {
  color: var(--nayel-navy);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.card-title {
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--nayel-navy);
}

/* Brand objects — solid shapes only */
.brand-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 72px solid var(--nayel-cyan);
  z-index: 1;
  pointer-events: none;
}

.brand-triangle.pink { border-bottom-color: var(--nayel-pink); }
.brand-triangle.navy { border-bottom-color: var(--nayel-navy); }
.brand-triangle.sm { border-left-width: 22px; border-right-width: 22px; border-bottom-width: 38px; }

.brand-ring {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 10px solid var(--nayel-cyan);
  opacity: .18;
  animation: spinSlow 16s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.brand-ring.pink { border-color: var(--nayel-pink); }
.brand-ring.lg { width: 140px; height: 140px; border-width: 14px; }

.brand-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--nayel-cyan);
  z-index: 1;
  pointer-events: none;
}

.brand-dot.pink { background: var(--nayel-pink); }
.brand-dot.navy { background: var(--nayel-navy); }

.brand-diamond {
  position: absolute;
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  background: var(--nayel-pink);
  z-index: 1;
  pointer-events: none;
}

.brand-diamond.cyan { background: var(--nayel-cyan); }
.brand-diamond.navy { background: var(--nayel-navy); }

.brand-bar {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: var(--nayel-pink);
  display: inline-block;
}

.brand-bar.cyan { background: var(--nayel-cyan); }

/* Full-bleed hero banners */
.hero-shell,
.page-hero,
.page-hero.page-hero-same-top {
  position: relative;
  overflow: hidden;
  background: var(--nayel-navy);
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 830px;
}

.hero-shell {
  padding-bottom: 1.2rem;
}

.hero-shell::after,
.page-hero::after,
.page-hero.page-hero-same-top::after { display: none; }

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

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

.hero-grid,
.hero-inner,
.page-hero .hero-inner,
.page-hero.page-hero-same-top .mx-auto {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100%;
  max-width: 1380px !important;
  padding: 4.5rem 1.25rem 2.4rem !important;
}

@media (min-width: 1024px) {
  .hero-grid,
  .hero-inner,
  .page-hero .hero-inner,
  .page-hero.page-hero-same-top .mx-auto {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

.hero-copy-panel {
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  padding: 2.3rem 2.4rem 2.4rem;
  box-shadow: 0 18px 40px rgba(11, 42, 82, .12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: .98;
  max-width: 12ch;
}

.hero-art,
.page-hero-visual { display: none; }

/* Stats */
.stat-strip {
  max-width: 1310px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid var(--nayel-line);
  border-radius: 26px !important;
  box-shadow: 0 16px 40px rgba(11, 42, 82, .08);
}

.stat-strip .text-3xl {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600 !important;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(11, 42, 82, .14);
}

.stat-icon.cyan { background: var(--nayel-cyan); }
.stat-icon.pink { background: var(--nayel-pink); }
.stat-icon.navy { background: var(--nayel-navy); }

.cards-heading {
  font-size: clamp(2.7rem, 4.2vw, 4.3rem);
  line-height: 1.02;
  max-width: 15ch;
}

.cards-note-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding-top: .85rem;
}

.cards-note {
  max-width: 360px;
  font-size: 1rem;
  line-height: 1.6;
  color: #5d7088;
}

.cards-note-line {
  display: inline-block;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: var(--nayel-pink);
}

/* Homepage cards */
.nav-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nayel-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 42, 82, .07);
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nav-card::before,
.nav-card::after { display: none; }

.nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(11, 42, 82, .14);
  border-color: rgba(0, 172, 215, .45);
}

.nav-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--nayel-navy);
  z-index: 2;
}

.nav-card-image {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
  object-position: center;
  background: var(--nayel-navy);
  transition: transform .55s ease;
}

.nav-card:hover .nav-card-image { transform: scale(1.05); }

.card-icon-badge {
  position: absolute;
  left: 18px;
  bottom: -28px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 5px solid #fff;
  box-shadow: 0 10px 22px rgba(11, 42, 82, .18);
  z-index: 6;
}

.badge-pink { background: var(--nayel-pink); }
.badge-cyan { background: var(--nayel-cyan); }
.badge-navy { background: var(--nayel-navy); }

.nav-card-media { overflow: visible; }
.nav-card-image { border-radius: 22px 22px 0 0; }

.card-content {
  position: relative;
  z-index: 1;
  padding-top: 2.7rem !important;
  padding-inline-end: .55rem;
  padding-bottom: .35rem;
}

.card-link {
  color: var(--nayel-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.card-link svg { transition: transform .2s ease; }
.nav-card:hover .card-link { color: var(--nayel-pink); }
.nav-card:hover .card-link svg { transform: translateX(5px); }

/* Detail cards on inner pages */
.detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nayel-line);
  border-radius: 20px;
  background: #fff;
  padding: 1.45rem 1.7rem 1.8rem 1.45rem;
  box-shadow: 0 10px 26px rgba(11, 42, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.detail-card::after { display: none; }

.contact-honeypot,
.contact-honeypot-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form-status.is-success {
  background: #ecfeff;
  color: #0e7490;
}

.contact-form-status.is-error {
  background: #fff1f2;
  color: #be123c;
}

.contact-form [type="submit"]:disabled {
  opacity: .7;
  pointer-events: none;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(11, 42, 82, .10);
  border-color: rgba(0, 172, 215, .35);
}

.detail-card h3,
.detail-card strong,
.detail-card a.font-black,
.detail-card .font-black {
  font-weight: 600 !important;
}

.detail-number {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  background: var(--nayel-pink);
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(11, 42, 82, .14);
}

.detail-card:nth-child(even) .detail-number { background: var(--nayel-cyan); }
.detail-card:nth-child(3n) .detail-number { background: var(--nayel-navy); }

.why-grid .detail-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 1.85rem 1.6rem 1.5rem;
}

.why-grid .detail-card > div:last-child {
  flex: 1;
  min-width: 0;
}

.why-icon {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--nayel-pink);
  border: 5px solid #fff;
  box-shadow: 0 10px 22px rgba(11, 42, 82, .14);
}

.why-icon svg {
  width: 38px;
  height: 38px;
}

.why-grid .detail-card:nth-child(even) .why-icon { background: var(--nayel-cyan); }
.why-grid .detail-card:nth-child(3n) .why-icon { background: var(--nayel-navy); }

/* Highlight / info bands */
.who-band,
.flagship-band {
  position: relative;
  overflow: hidden;
}

.who-band {
  background: linear-gradient(90deg, var(--nayel-navy) 0%, #087a9c 48%, var(--nayel-cyan) 100%);
}

.who-band > *:not(.band-corner):not(.brand-diamond):not(.brand-dot) {
  position: relative;
  z-index: 1;
}

.who-kicker { color: #fff !important; }

.who-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .who-stats {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

.who-stat {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(8, 35, 66, .35);
  border-radius: 999px;
  padding: .45rem .9rem .45rem .45rem;
}

.who-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  border: 3px solid #fff;
}

.who-stat-icon svg {
  width: 18px;
  height: 18px;
}

.who-stat-icon.pink { background: var(--nayel-pink); }
.who-stat-icon.cyan { background: var(--nayel-cyan); }
.who-stat-icon.navy { background: #082342; }

.who-stat-num {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
}

.who-stat-num span {
  color: var(--nayel-pink);
  font-size: .62em;
  margin-inline-start: .05em;
}

.who-stat:nth-child(2) .who-stat-num span,
.who-stat:nth-child(4) .who-stat-num span { color: var(--nayel-cyan); }

.who-stat-label {
  font-size: .78rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}

.who-chip {
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
}

.who-chip.white { background: #fff; color: var(--nayel-navy); }
.who-chip.cyan { background: var(--nayel-cyan); color: #fff; }
.who-chip.pink { background: var(--nayel-pink); color: #fff; }

.flagship-band {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.4rem 2.2rem !important;
  background: #fff;
  border: 1px solid var(--nayel-line);
}

.flagship-band > *:not(.band-corner) { position: relative; z-index: 1; }

.flagship-band > div:not(.why-icon) {
  padding-inline-start: 1.4rem;
}

.flagship-band .why-icon { background: var(--nayel-pink); }

html[dir="rtl"] .flagship-band { flex-direction: row; }

/* CTA + footer */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--nayel-navy) 0%, #087a9c 48%, var(--nayel-cyan) 100%);
}

.cta-band .text-\[\#7ce6ff\] {
  color: #fff !important;
}

.cta-band .text-blue-100 {
  color: rgba(255, 255, 255, .86) !important;
}

.cta-band > *:not(.band-corner) { position: relative; z-index: 1; }

.cta-band::before,
.cta-band::after { display: none; }

.cta-mini {
  border: 1px solid rgba(11, 42, 82, .18);
  background: var(--nayel-navy);
  border-radius: 16px;
  padding: 1rem;
}

.cta-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 3px solid #fff;
  margin-bottom: .55rem;
}

.cta-mini-icon.pink { background: var(--nayel-pink); }
.cta-mini-icon.cyan { background: var(--nayel-cyan); }
.cta-mini-icon.navy { background: #082342; border-color: var(--nayel-cyan); }

.cta-band h2,
.site-footer h3 { font-weight: 600 !important; }

.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
  background: #082342 url("../images/banners/footer.jpg") top center / 100% 100% no-repeat;
  color: #d8e7f3;
}

.site-footer > .mx-auto {
  padding-top: 1.5rem !important;
  padding-bottom: .75rem !important;
}

@media (max-width: 767px) {
  .site-footer {
    height: auto;
    min-height: 300px;
  }
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 35, 66, 0.42);
  pointer-events: none;
  z-index: 0;
}

.site-footer::after { display: none; }

.site-footer > * { position: relative; z-index: 1; }

.site-footer .band-corner { display: none; }

.footer-link:hover { color: #fff; }

/* Layered brand corner on cards */
.nav-card > *:not(.card-corner),
.detail-card > *:not(.card-corner):not(.contact-honeypot):not(.contact-honeypot-wrap) {
  position: relative;
  z-index: 1;
}

.card-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92px;
  height: 92px;
  z-index: 0;
  pointer-events: none;
  background: var(--nayel-navy);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.card-corner::before,
.card-corner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.card-corner::before {
  width: 66px;
  height: 66px;
  background: var(--nayel-cyan);
}

.card-corner::after {
  width: 40px;
  height: 40px;
  background: var(--nayel-pink);
}

.nav-card:nth-child(even) .card-corner { background: var(--nayel-pink); }
.nav-card:nth-child(even) .card-corner::before { background: var(--nayel-navy); }
.nav-card:nth-child(even) .card-corner::after { background: var(--nayel-cyan); }

.detail-card:nth-child(even) .card-corner { background: var(--nayel-cyan); }
.detail-card:nth-child(even) .card-corner::before { background: var(--nayel-pink); }
.detail-card:nth-child(even) .card-corner::after { background: var(--nayel-navy); }

.detail-card:nth-child(3n) .card-corner { background: var(--nayel-pink); }
.detail-card:nth-child(3n) .card-corner::before { background: var(--nayel-navy); }
.detail-card:nth-child(3n) .card-corner::after { background: var(--nayel-cyan); }

.band-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 168px;
  height: 168px;
  z-index: 0;
  pointer-events: none;
  background: var(--nayel-cyan);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.band-corner::before,
.band-corner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.band-corner::before {
  width: 118px;
  height: 118px;
  background: var(--nayel-pink);
}

.band-corner::after {
  width: 68px;
  height: 68px;
  background: var(--nayel-navy);
}

.band-corner.left {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

.band-corner.top {
  bottom: auto;
  top: 0;
  transform: scaleY(-1);
}

.band-corner.top.left {
  transform: scale(-1, -1);
}

.cta-band .band-corner.alt {
  background: var(--nayel-pink);
}

.cta-band .band-corner.alt::before { background: var(--nayel-cyan); }
.cta-band .band-corner.alt::after { background: #082342; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--nayel-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
}

.lang-switch button {
  min-width: 46px;
  padding: .42rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--nayel-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--nayel-navy);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}

/* RTL */
html[dir="rtl"] body {
  font-family: Tajawal, Inter, ui-sans-serif, system-ui, sans-serif;
}

html[dir="rtl"] .hero-copy-panel {
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .card-icon-badge {
  left: auto;
  right: 18px;
}

html[dir="rtl"] .card-corner {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

html[dir="rtl"] .card-link svg,
html[dir="rtl"] .btn-primary svg,
html[dir="rtl"] .btn-outline svg { transform: scaleX(-1); }

html[dir="rtl"] .why-grid .detail-card { flex-direction: row; }

html[dir="rtl"] .band-corner:not(.left):not(.top) {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

html[dir="rtl"] .band-corner.left {
  left: auto;
  right: 0;
  transform: none;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.icon-pulse { animation: softPulse 2.8s ease-in-out infinite; }
.icon-spin { animation: spinSlow 12s linear infinite; transform-origin: center; }
.float-soft { animation: heroFloat 5s ease-in-out infinite; }

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

@keyframes spinSlow { to { transform: rotate(360deg); } }

@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: .78; }
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-shell,
  .page-hero { min-height: 560px; }

  .hero-copy { padding-top: 0; padding-bottom: 0; }
  .hero-title { max-width: 12ch; }
  .stat-strip { margin-top: 0; }
  .cards-heading { max-width: none; }
}

@media (max-width: 767px) {
  .site-header { background: rgba(255, 255, 255, 0.97); }
  .hero-shell,
  .page-hero { min-height: 520px; }
  .hero-copy-panel { padding: 1.5rem 1.35rem 1.6rem; border-radius: 22px; }
  .hero-grid,
  .hero-inner,
  .page-hero .hero-inner,
  .page-hero.page-hero-same-top .mx-auto { padding: 2.2rem 1.25rem 1.8rem !important; }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: .98;
  }

  .cards-heading {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .stat-strip { border-radius: 20px !important; }
  .stat-strip .text-3xl { font-size: 2.25rem; }
  .nav-card { border-radius: 18px; }
  .card-title { font-size: 1.2rem; }
  .nav-card-image { height: 168px; }

  .card-icon-badge {
    width: 58px;
    height: 58px;
    left: 16px;
    bottom: -24px;
  }

  .card-content { padding-top: 2.45rem !important; }
  .why-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .why-icon svg {
    width: 30px;
    height: 30px;
  }
  .brand-triangle,
  .brand-ring { display: none; }
}

/* Completed projects gallery */
.project-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

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

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

.project-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid var(--nayel-line);
  background: #fff;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.project-thumb:hover img,
.project-thumb:focus-visible img {
  transform: scale(1.06);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 35, 66, .88);
  padding: 1.25rem;
}

.project-lightbox.is-open { display: flex; }

.project-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.project-lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--nayel-navy);
  cursor: pointer;
}

.project-lightbox-btn svg {
  width: 20px;
  height: 20px;
}

.project-lightbox-close { top: 1.1rem; right: 1.1rem; }
.project-lightbox-prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.project-lightbox-next { right: 1.1rem; top: 50%; transform: translateY(-50%); }

html[dir="rtl"] .project-lightbox-close { right: auto; left: 1.1rem; }
html[dir="rtl"] .project-lightbox-prev { left: auto; right: 1.1rem; }
html[dir="rtl"] .project-lightbox-next { right: auto; left: 1.1rem; }

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