:root {
  --radius: 0.625rem;
  --radius-md: 0.75rem;
  --navy-deep: oklch(0.198 0.075 263);
  --navy: oklch(0.27 0.085 263);
  --brand-blue: oklch(0.55 0.18 255);
  --brand-cyan: oklch(0.78 0.12 230);
  --background: oklch(1 0 0);
  --foreground: oklch(0.198 0.075 263);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.198 0.075 263);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.198 0.075 263);
  --primary: oklch(0.198 0.075 263);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.97 0.01 250);
  --secondary-foreground: oklch(0.198 0.075 263);
  --muted: oklch(0.96 0.01 250);
  --muted-foreground: oklch(0.45 0.04 260);
  --accent: oklch(0.55 0.18 255);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.92 0.012 255);
  --input: oklch(0.92 0.012 255);
  --ring: oklch(0.55 0.18 255);
  --gradient-brand: linear-gradient(135deg, oklch(0.55 0.18 255) 0%, oklch(0.78 0.12 230) 100%);
  --gradient-navy: linear-gradient(135deg, oklch(0.198 0.075 263) 0%, oklch(0.32 0.12 260) 100%);
  --gradient-hero: linear-gradient(120deg, oklch(0.198 0.075 263 / 0.92) 0%, oklch(0.198 0.075 263 / 0.55) 60%, oklch(0.55 0.18 255 / 0.35) 100%);
  --shadow-elegant: 0 20px 60px -20px oklch(0.198 0.075 263 / 0.35);
  --shadow-glow: 0 0 60px oklch(0.55 0.18 255 / 0.35);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --off-white: oklch(0.98 0.005 250);
  --text-light: oklch(0.45 0.04 260);
  --text-mid: oklch(0.35 0.06 260);
  --text-dark: oklch(0.198 0.075 263);
  --white: oklch(1 0 0);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --off-white: oklch(0.98 0.005 250);
--text-light: oklch(0.45 0.04 260);
--text-mid: oklch(0.35 0.06 260);
--text-dark: oklch(0.198 0.075 263);
--white: oklch(1 0 0);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--radius-md: 0.75rem;
--shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

* {
  border-color: var(--border);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Cairo', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: 'Co Headline W23 Arabic Bold', 'Cairo', 'Poppins', sans-serif;
}

@font-face {
  font-family: 'Co Headline W23 Arabic Bold';
  src: url('assets/arab_font/Co Headline W23 Arabic Bold/Web Fonts/06ed755cd36ef68e1c8caf631fb9102e.woff2') format('woff2'),
       url('assets/arab_font/Co Headline W23 Arabic Bold/Web Fonts/06ed755cd36ef68e1c8caf631fb9102e.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('assets/ENGLISH FONTS/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('assets/ENGLISH FONTS/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('assets/ENGLISH FONTS/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 oklch(0.55 0.18 255 / 0.5), 0 0 40px oklch(0.55 0.18 255 / 0.3);
  }
  50% {
    box-shadow: 0 0 0 14px oklch(0.55 0.18 255 / 0), 0 0 60px oklch(0.55 0.18 255 / 0.6);
  }
}

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes floatTiltPhone {
  0%, 100% {
    transform: translateY(0) rotate(-14deg);
  }
  50% {
    transform: translateY(-12px) rotate(-14deg);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-scale-in {
  animation: scaleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.animate-blob {
  animation: blobDrift 18s ease-in-out infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-in {
  opacity: 1;
  transform: none;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

main {
  min-height: 100vh;
  flex: 1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background-color: rgba(11, 30, 74, 0.15);
  box-shadow: none;
}

.navbar.scrolled {
  background-color: rgba(11, 30, 74, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 40px -24px rgba(0, 0, 0, 0.88), 0 10px 22px -14px rgba(9, 31, 74, 0.58);
}

.navbar.page-nav-bg {
  background-color: rgba(11, 30, 74, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.45);
}

.navbar-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .navbar-container {
    padding: 0 2rem;
  }
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon-wrapper {
  display: inline-flex;
  height: 4.75rem;
  width: 13.5rem;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.logo-icon {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.logo-image-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

}

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

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.375rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .lang-toggle:not(.mobile-lang-toggle) {
    display: none;
  }
}

@media (min-width: 640px) {
  .lang-toggle:not(.mobile-lang-toggle) {
    padding: 0.375rem 0.75rem;
  }
}

.lang-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-lang-toggle {
  padding: 0.75rem 1rem;
  border: none;
  font-size: 0.875rem;
  width: 100%;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.globe-icon {
  height: 0.875rem;
  width: 0.875rem;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .phone-link {
    display: inline-flex;
  }
}

.phone-link svg {
  height: 1rem;
  width: 1rem;
}

/* Move the phone icon to the other side visually in the navbar for LTR pages */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row; /* default: icon before text */
}

/* In RTL, keep icon before text and allow JS to reorder if needed */
[dir="rtl"] .phone-link {
  flex-direction: row;
}

/* Simple spacing for the icon when it sits before the number */
.phone-link svg {
  position: static;
  margin-inline-end: 0.5rem;
  margin-inline-start: 0;
}

[dir="rtl"] .phone-link svg {
  /* in RTL ensure spacing appears on the correct side */
  margin-inline-start: 0.5rem;
  margin-inline-end: 0;
}

/* Ensure the phone icon is physically left on the contact page in Arabic */
[dir="rtl"] .contact-item.contact-phone {
  justify-content: flex-start;
}
[dir="rtl"] .contact-item.contact-phone .contact-icon {
  order: 0;
  margin-left: 0.5rem;
  margin-right: 0;
}
[dir="rtl"] .contact-item.contact-phone .contact-value {
  order: 1;
}

.phone-link:hover {
  color: white;
}

.cta-button {
  display: none;
  margin-inline-start: 0.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  background: var(--white);
  color: black;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .cta-button {
    display: inline-block;
  }
}

.cta-button:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.nav-signin-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-signin-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: white;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  background-color: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  min-height: 44px;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.625rem 1.25rem;
    min-height: auto;
  }
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  margin-inline-start: 0.45rem;
  transition: transform 0.25s ease;
}

[dir="rtl"] .btn-arrow {
  flex-direction: row-reverse;
}

[dir="rtl"] .btn-arrow::after {
  content: '←';
  margin-inline-start: 0;
  margin-inline-end: 0.45rem;
}

.btn-hero {
  background: var(--white);
  color: black;
}

.btn-hero:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-navy {
  background-color: var(--navy-deep);
  color: white;
}

.btn-navy:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(11, 30, 74, 0.2);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}

@media (min-width: 1024px) {
  .hero-bg {
    transform: scale(1.1);
  }
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background-color: var(--navy-deep);
  opacity: 0.4;
}

.hero-blob {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.3;
  filter: blur(3rem);
  mix-blend-mode: screen;
}

.hero-blob-1 {
  top: -10rem;
  right: -10rem;
  height: 28rem;
  width: 28rem;
  background: var(--gradient-brand);
  animation: blobDrift 18s ease-in-out infinite;
}

.hero-blob-2 {
  bottom: -8rem;
  left: -5rem;
  height: 24rem;
  width: 24rem;
  background-color: var(--brand-cyan);
  animation: blobDrift 26s ease-in-out infinite reverse;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7rem 1rem 2rem;
  color: white;
}

@media (min-width: 375px) {
  .hero-content {
    padding: 7.5rem 1.25rem 2.5rem;
  }
}

@media (min-width: 640px) {
  .hero-content {
    padding: 8rem 1.5rem 3rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 8.5rem 2rem 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 8.5rem 2rem 5rem;
  }
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-grid {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
  }
}


.hero-logo-col {
  display: none;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-logo-col {
    display: flex;
    justify-content: flex-start;
  }
}

.hero-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 375px) {
  .hero-logo-img {
    max-width: 280px;
  }
}

@media (min-width: 640px) {
  .hero-logo-img {
    max-width: 320px;
  }
}

@media (min-width: 768px) {
  .hero-logo-img {
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-logo-img {
    max-width: 440px;
  }
}

/* Right-side decorative image under the hero card */
.hero-card-col {
  position: relative;
}
.hero-side-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.hero-side-image {
  position: static;
  width: clamp(100px, 12vw, 180px);
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  display: block;
  margin-top: 0.75rem;
  transition: var(--transition);
  object-fit: contain;
}

@media (max-width: 640px) {
  .hero-side-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
  }
  .hero-side-image {
    width: clamp(80px, 18vw, 120px);
    max-width: 50%;
    height: auto;
    border-radius: 0.75rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hero-side-image {
    width: clamp(90px, 14vw, 140px);
    max-width: 45%;
    height: auto;
  }
}

@media (min-width: 1024px) {
  .hero-side-image {
    width: clamp(110px, 12vw, 180px);
    max-width: 42%;
    height: auto;
  }
}

.hero-glass-card {
  background: rgba(11, 31, 91, 0.002);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.14);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.hero-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 40px oklch(0.55 0.18 255 / 0.15);
}

@media (min-width: 640px) {
  .hero-glass-card {
    padding: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-glass-card {
    padding: 3rem 3.5rem;
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.875rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

@media (min-width: 375px) {
  .hero-tagline {
    padding: 0.375rem 1rem;
    margin-bottom: 1.1rem;
  }
}

@media (min-width: 640px) {
  .hero-tagline {
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }
}

.tagline-dot {
  display: inline-block;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: var(--brand-cyan);
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.hero-title {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
}

@media (min-width: 375px) {
  .hero-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-sub {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-sub {
    margin-top: 1.25rem;
    font-size: 1rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-cta {
    gap: 1rem;
    margin-top: 2rem;
  }
}

.hero-cta .btn {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-6px);
}

/* Stats Row styling */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  max-width: 64rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4.5rem;
    gap: 0;
  }
}

.stat {
  border-inline-start: 2px solid var(--brand-cyan);
  padding-inline-start: 1.25rem;
  padding-inline-end: 1rem;
}

@media (min-width: 768px) {
  .stat {
    padding-inline-start: 2rem;
  }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.375rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 0.8125rem;
  }
}

/* Scroll indicator styling */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
  .scroll-indicator {
    bottom: 2rem;
  }
}

.scroll-dot {
  height: 2.5rem;
  width: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  height: 0.5rem;
  width: 0.25rem;
  background-color: white;
  border-radius: 9999px;
  animation: scrollWheel 2s ease-in-out infinite;

}



/* ============================================
   SECTIONS & CARDS
   ============================================ */

.why-section {
  padding: 6rem 0;
  background-color: var(--background);
}

/* Ensure English pages render left-to-right and left-aligned
   This prevents sections (forms, headings, paragraphs) from
   inheriting RTL alignment when language toggles are applied. */
html[lang="en"] body,
html[lang="en"] .container,
html[lang="en"] .section-header,
html[lang="en"] .hero-content,
html[lang="en"] .how-we-work,
html[lang="en"] .why-section,
html[lang="en"] form,
html[lang="en"] input,
html[lang="en"] textarea {
  direction: ltr;
  text-align: left;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-sub {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 3rem;
  }
}

.section-header-left {
  flex: 1;
}

.services-intro-section {
  background-color: var(--secondary);
  padding: 6rem 0;
}

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

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-elegant);
  border-color: var(--accent);
}

.service-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.service-image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.04);
}

.service-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(11,31,91,0.18) 0%, rgba(11,31,91,0.12) 40%, transparent 100%);
}

.service-icon-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  width: 3.25rem;
  background: white;
  color: rgb(0, 0, 0);
  border-radius: 9999px;
  box-shadow: var(--shadow-glow);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  z-index: 20;

}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
  z-index: 30;
}

.service-icon {
  height: 1.25rem;
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.service-title {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-content {
  padding: 1.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  gap: 0.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  transform: translateX(0.25rem);
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.platform-section {
  position: relative;
  background: var(--gradient-navy);
  color: white;
  padding: 5rem 0;
  overflow: hidden;
}

.platform-bg-blob-1 {
  position: absolute;
  top: -8rem;
  right: -8rem;
  height: 30rem;
  width: 30rem;
  background: var(--gradient-brand);
  opacity: 0.3;
  border-radius: 9999px;
  filter: blur(3rem);
  animation: blobDrift 18s ease-in-out infinite;
}

.platform-bg-blob-2 {
  position: absolute;
  bottom: -8rem;
  left: -8rem;
  height: 28rem;
  width: 28rem;
  background: var(--brand-cyan);
  opacity: 0.15;
  border-radius: 9999px;
  filter: blur(3rem);
  animation: blobDrift 26s ease-in-out infinite reverse;
}

.platform-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .platform-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
}

.platform-title {
  margin-top: 1rem;
  max-width: 26rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.08;
}

@media (min-width: 768px) {
  .platform-title {
    font-size: 3rem;
  }
}

.platform-desc {
  margin-top: 0.9rem;
  max-width: 32rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.platform-features {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.platform-features li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.platform-features svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--brand-cyan);
}

.platform-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 0.5rem;
  background-color: rgba(56, 189, 248, 0.18);
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.platform-actions {
  display: flex;
  gap: 0.875rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.platform-mockup {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-glow {
  position: absolute;
  inset: 10% 12%;
  background: var(--gradient-brand);
  opacity: 0.16;
  filter: blur(3rem);
  border-radius: 9999px;
}

.platform-laptop-img {
  position: relative;
  z-index: 1;
  width: min(100%, 31rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(1, 8, 30, 0.55));
  animation: float 4s ease-in-out infinite;
}

.platform-phone-img {
  position: absolute;
  z-index: 2;
  left: 9%;
  bottom: -1%;
  width: 9rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(1, 8, 30, 0.55));
  animation: floatTiltPhone 5s ease-in-out infinite;
}

.platform-badge {
  position: absolute;
  z-index: 3;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-elegant);
}

.platform-badge-uptime {
  top: 1.75rem;
  right: 1rem;
}

.platform-badge-tickets {
  right: 0.75rem;
  bottom: 2.4rem;
}

.badge-label {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.badge-value {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

@media (min-width: 768px) {
  .platform-mockup {
    min-height: 420px;
  }
  .platform-phone-img {
    left: 20%;
    bottom: -3%;
    width: 10rem;
  }
  .platform-badge-uptime {
    right: 2rem;
  }
  .platform-badge-tickets {
    right: 1.5rem;
    bottom: 2rem;
  }
}

.how-we-work {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, oklch(0.95 0.03 250) 0%, oklch(0.985 0.01 250) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .how-we-work {
    padding: 4.5rem 0;
  }
}

.how-we-work .section-header {
  text-align: left;
  max-width: 40rem;
  margin: 0 0 2rem 0;
}

@media (min-width: 768px) {
  .how-we-work .section-header {
    margin: 0 0 3.5rem 0;
  }
}

[dir="rtl"] .how-we-work .section-header {
  text-align: right;
  margin: 0 0 2rem auto;
}

@media (min-width: 768px) {
  [dir="rtl"] .how-we-work .section-header {
    margin: 0 0 3.5rem auto;
  }
}

.how-steps {
  margin-top: 1.5rem;
}

.stepper-shell {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, oklch(1 0 0) 0%, oklch(0.985 0.01 250) 100%);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
}

.stepper-track {
  display: none;
  position: absolute;
  left: calc(1.5rem + 2rem);
  right: calc(1.5rem + 2rem);
  top: 6rem;
  height: 2px;
  background: linear-gradient(90deg, oklch(0.55 0.18 255 / 0.22), oklch(0.78 0.12 230 / 0.25), oklch(0.55 0.18 255 / 0.22));
  pointer-events: none;
}

.stepper-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[dir="rtl"] .stepper-grid {
  direction: ltr;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem 1.5rem 2.25rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease;
}

[dir="rtl"] .stepper-item {
  direction: ltr;
  align-items: flex-start;
  text-align: left;
}

.stepper-node {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, oklch(0.88 0.03 250) 0%, oklch(0.93 0.02 250) 100%);
  border: 1px solid oklch(0.9 0.02 250);
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 28px oklch(0.198 0.075 263 / 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.stepper-heading {
  display: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.05;
}

.stepper-item.is-active .stepper-heading {
  color: var(--text-dark);
  font-weight: 700;
}

.stepper-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stepper-title {
  font-size: 1.125rem;
  color: var(--navy-deep);
  font-weight: 600;
}

.stepper-desc {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.97rem;
}

.stepper-item.is-active .stepper-node {
  background: linear-gradient(135deg, #f5f5f6 0%, #e9e9ea 100%);
  color: var(--text-dark);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.stepper-item.is-inactive {
  opacity: 0.62;
}

@media (max-width: 900px) {
  .stepper-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stepper-track {
    left: 8%;
    right: 8%;
  }
}

@media (max-width: 768px) {
  .stepper-grid {
    grid-template-columns: 1fr;
  }
  .how-we-work {
    padding: 3rem 0;
  }
  .stepper-track {
    display: none;
  }
  .stepper-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.25rem 1.75rem;
  }
  .stepper-node {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1rem;
    flex: 0 0 3.5rem;
  }
  .stepper-content {
    text-align: left;
    direction: ltr;
  }
  [dir="rtl"] .stepper-item {
    flex-direction: row-reverse;
  }
  [dir="rtl"] .stepper-content {
    text-align: right;
    direction: rtl;
  }
  [dir="rtl"] .stepper-track {
    left: auto;
    right: 2.95rem;
  }
}

.page-hero {
  position: relative;
  background: var(--gradient-navy);
  color: white;
  padding: 10rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 10rem 0 5rem;
  }
}

.page-hero-blob-1 {
  position: absolute;
  top: -5rem;
  right: -5rem;
  height: 24rem;
  width: 24rem;
  background: var(--gradient-brand);
  opacity: 0.3;
  border-radius: 9999px;
  filter: blur(3rem);
  animation: blobDrift 18s ease-in-out infinite;
}

.page-hero-blob-2 {
  position: absolute;
  bottom: -8rem;
  left: -5rem;
  height: 24rem;
  width: 24rem;
  background: var(--brand-cyan);
  opacity: 0.1;
  border-radius: 9999px;
  filter: blur(3rem);
  animation: blobDrift 26s ease-in-out infinite reverse;
}

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

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-title {
  margin-top: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3.75rem;
  }
}

.page-hero-sub {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Increase line-height specifically for the sectors page hero title to avoid stacked Arabic lines */
#page-sectors .page-hero-title {
  line-height: 1.45;
}

.page {
  min-height: 100vh;
}

.about-story {
  padding: 6rem 0;
  background-color: var(--background);
}

.about-story > .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-story > .container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-story-left {
  max-width: 20rem;
}

.about-story-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.story-text + .story-text {
  margin-top: 1rem;
}

.about-values {
  padding: 5rem 0;
  background-color: var(--secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.value-icon {
  height: 2.25rem;
  width: 2.25rem;
  color: var(--accent);
}

.value-title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.value-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}


/* ============================================
   SERVICES FULL PAGE
   ============================================ */

/* ============================================
   HOW WE WORK — Modern cards
   ============================================ */
.how-we-work {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  /* stronger separation so it reads as a distinct band, not one continuous page */
  background: linear-gradient(180deg, oklch(0.95 0.03 250) 0%, oklch(0.985 0.01 250) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-we-work::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, oklch(0.55 0.18 255 / 0.12), transparent 35%),
    radial-gradient(circle at bottom left, oklch(0.78 0.12 230 / 0.10), transparent 40%);
  pointer-events: none;
}

.how-we-work > .container {
  position: relative;
  z-index: 1;
}
.how-we-work .section-header {
  /* match other sections: left-aligned and constrained width */
  text-align: left;
  max-width: 40rem;
  margin: 0 0 3.5rem 0;
}
.how-we-work .section-sub {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

[dir="rtl"] .how-we-work .section-header {
  text-align: right;
  margin: 0 0 3.5rem auto;
}

.how-steps {
  margin-top: 1.5rem;
}

.stepper-shell {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, oklch(1 0 0) 0%, oklch(0.985 0.01 250) 100%);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
}

.stepper-track {
  position: absolute;
  left: calc(1.5rem + 2rem);
  right: calc(1.5rem + 2rem);
  /* position the track to align with the centre of the circular nodes (accounts for heading height) */
  top: 6rem;
  height: 2px;
  background: linear-gradient(90deg, oklch(0.55 0.18 255 / 0.22), oklch(0.78 0.12 230 / 0.25), oklch(0.55 0.18 255 / 0.22));
  pointer-events: none;
}

.stepper-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[dir="rtl"] .stepper-grid {
  direction: ltr;
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem 1.5rem 2.25rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease;
}

[dir="rtl"] .stepper-item {
  direction: ltr;
  align-items: flex-start;
  text-align: left;
}

.stepper-item:hover,
.stepper-item:focus-visible {
  transform: translateY(-4px);
}

.stepper-node {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, oklch(0.88 0.03 250) 0%, oklch(0.93 0.02 250) 100%);
  border: 1px solid oklch(0.9 0.02 250);
  color: var(--navy-deep);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 12px 28px oklch(0.198 0.075 263 / 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.stepper-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.05;
  text-transform: none;
}

.stepper-item.is-active .stepper-heading {
  color: var(--navy-deep);
  font-weight: 700;
}

.stepper-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stepper-title {
  font-size: 1.125rem;
  color: var(--navy-deep);
  font-weight: 600;
}

.stepper-desc {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.97rem;
}

.stepper-item.is-active .stepper-title,
.stepper-item.is-active .stepper-desc {
  color: var(--text-dark);
  opacity: 1;
}

.stepper-item.is-active {
  opacity: 1;
}

.stepper-item.is-active .stepper-node {
  background: linear-gradient(135deg, #d1d5db 0%, #bfc2c7 100%);
  color: var(--text-dark);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.stepper-item.is-inactive {
  opacity: 0.72;
}

.stepper-item.is-inactive .stepper-node {
  background: linear-gradient(135deg, #f7f8f9 0%, #eef0f2 100%);
  border-color: #e5e7eb;
  color: var(--text-mid);
  transform: scale(0.96);
}

.stepper-item.is-inactive .stepper-title,
.stepper-item.is-inactive .stepper-desc {
  color: var(--muted-foreground);
  opacity: 0.72;
}

.stepper-item.is-active .stepper-title {
  font-weight: 700;
}

@media (min-width: 769px) {
  .stepper-item {
    align-items: center;
    text-align: center;
  }

  .stepper-content {
    align-items: center;
  }

  [dir="rtl"] .stepper-item {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .stepper-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stepper-track {
    left: 8%;
    right: 8%;
  }
}

@media (max-width: 768px) {
  .stepper-grid {
    grid-template-columns: 1fr;
  }
  .how-we-work {
    padding: 3rem 0;
  }
  .stepper-shell {
    border-radius: 1.25rem;
  }

  .stepper-track {
    display: block;
    left: 2.95rem;
    right: auto;
    top: 1.75rem;
    bottom: 1.75rem;
    width: 2px;
    height: auto;
  }

  .stepper-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .stepper-content {
    padding-top: 0.15rem;
  }

  .stepper-node {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1rem;
    flex: 0 0 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
    line-height: 1;
  }

  [dir="rtl"] .stepper-track {
    left: auto;
    right: 2.95rem;
  }

  .stepper-track {
    display: none !important;
  }

}


.services-full-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.services-full-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .services-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-full-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-full-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

[dir="rtl"] .service-full-card::before {
  left: auto;
  right: 0;
}

.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
  border-color: transparent;
}

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

.service-full-icon {
  width: 52px;
  height: 52px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-full-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

.service-full-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-full-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.service-full-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 20px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.service-full-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.service-full-card:hover .service-full-link svg {
  transform: translateX(4px);
}

[dir="rtl"] .service-full-card:hover .service-full-link svg {
  transform: translateX(-4px);
}

.sectors-section {
  padding: 5rem 0 6rem;
  background: radial-gradient(circle at top left, rgba(85,170,255,0.06), transparent 30%), linear-gradient(180deg, oklch(0.985 0.01 250) 0%, oklch(1 0 0) 100%);
}

.sectors-header {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

.sectors-header .section-sub {
  margin-top: 0.9rem;
  color: var(--muted-foreground);
  max-width: 44rem;
}

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

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

.sector-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,255,0.98));
  border: 1px solid rgba(85,170,255,0.14);
  box-shadow: 0 18px 40px rgba(11, 30, 74, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  border-color: rgba(85,170,255,0.2);
  box-shadow: 0 28px 60px rgba(11, 30, 74, 0.16);
}

.sector-card-media {
  position: relative;
  min-height: 15.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), #123a84);
}

.sector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.sector-card:hover .sector-image {
  transform: scale(1.11);
  filter: saturate(1.08);
}

.sector-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,30,74,0.1) 0%, rgba(11,30,74,0.3) 100%), linear-gradient(135deg, rgba(85,170,255,0.16), transparent 52%);
}

.sector-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  backdrop-filter: blur(12px);
}

.sector-image-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.6rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(14px);
}

.sector-card-content {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem 1.35rem 1.5rem;
}

.sector-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(85,170,255,0.1);
  border: 1px solid rgba(85,170,255,0.12);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.sector-card-title {
  font-size: 1.2rem;
  color: var(--navy-deep);
  line-height: 1.15;
}

.sector-card-desc {
  margin-top: 0.1rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.sector-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.sector-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 9999px;
  background: rgba(11,30,74,0.04);
  border: 1px solid rgba(85,170,255,0.1);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .sector-card {
    grid-template-columns: minmax(15rem, 0.95fr) minmax(0, 1.05fr);
  }
  .sector-card--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.95fr);
  }
  .sector-card--reverse .sector-card-media {
    order: 2;
  }
  .sector-card--reverse .sector-card-content {
    order: 1;
  }
}

.sectors-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}


/* ============================================
   SECTORS PAGE
   ============================================ */
.sectors-hero .page-hero-content {
  max-width: 58rem;
}

.sectors-section {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at top left, rgba(85,170,255,0.06), transparent 30%),
    linear-gradient(180deg, oklch(0.985 0.01 250) 0%, oklch(1 0 0) 100%);
}

.sectors-header {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

.sectors-header .section-sub {
  margin-top: 0.9rem;
  color: var(--muted-foreground);
  max-width: 44rem;
}

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

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

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

.sector-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,255,0.98));
  border: 1px solid rgba(85,170,255,0.14);
  box-shadow: 0 18px 40px rgba(11, 30, 74, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  border-color: rgba(85,170,255,0.2);
  box-shadow: 0 28px 60px rgba(11, 30, 74, 0.16);
}

.sector-card-media {
  position: relative;
  min-height: 15.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), #123a84);
}

.sector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.sector-card:hover .sector-image {
  transform: scale(1.11);
  filter: saturate(1.08);
}

.sector-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,30,74,0.1) 0%, rgba(11,30,74,0.3) 100%),
    linear-gradient(135deg, rgba(85,170,255,0.16), transparent 52%);
}

.sector-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  backdrop-filter: blur(12px);
}

.sector-image-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.6rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(14px);
}

.sector-card-content {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem 1.35rem 1.5rem;
}

.sector-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(85,170,255,0.1);
  border: 1px solid rgba(85,170,255,0.12);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.sector-card-title {
  font-size: 1.2rem;
  color: var(--navy-deep);
  line-height: 1.15;
}

.sector-card-desc {
  margin-top: 0.1rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.sector-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.sector-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 9999px;
  background: rgba(11,30,74,0.04);
  border: 1px solid rgba(85,170,255,0.1);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .sector-card {
    grid-template-columns: minmax(15rem, 0.95fr) minmax(0, 1.05fr);
  }

  .sector-card--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.95fr);
  }

  .sector-card--reverse .sector-card-media {
    order: 2;
  }

  .sector-card--reverse .sector-card-content {
    order: 1;
  }
}

.sectors-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.sectors-cta .btn {
  min-width: min(100%, 18rem);
}

@media (max-width: 767px) {
  .sectors-section {
    padding: 4rem 0 5rem;
  }

  .sector-card-media {
    height: 13.5rem;
  }
}

/* ============================================
   PARTNER SHOWCASE (SCRUB HUB)
   ============================================ */
.partner-section {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  background: radial-gradient(circle at top right, rgba(85,170,255,0.08), transparent 28%), radial-gradient(circle at bottom left, rgba(120,196,255,0.08), transparent 30%), linear-gradient(180deg, var(--background) 0%, rgba(255,255,255,0.01) 100%);
}

@media (min-width: 640px) {
  .partner-section {
    padding: 2rem 0;
  }
}

@media (min-width: 768px) {
  .partner-section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .partner-section {
    padding: 3.5rem 0;
  }
}

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

.partner-section-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(4rem);
  pointer-events: none;
}

.partner-section-glow-1 {
  top: -5rem;
  right: -3rem;
  height: 14rem;
  width: 14rem;
  background: rgba(85,170,255,0.14);
}

.partner-section-glow-2 {
  left: -4rem;
  bottom: 2rem;
  height: 16rem;
  width: 16rem;
  background: rgba(120,196,255,0.08);
}


.partner-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.partner-intro {
  max-width: 46rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.partner-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.partner-proof-chip {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(85,170,255,0.14);
  background: rgba(255,255,255,0.68);
  color: var(--navy-deep);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(31, 47, 80, 0.05);
  backdrop-filter: blur(10px);
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.partner-proof-chip::before {
  content: '';
  display: inline-block;
  height: 0.45rem;
  width: 0.45rem;
  margin-right: 0.6rem;
  border-radius: 9999px;
  background: var(--brand-blue);
  box-shadow: 0 0 0 5px rgba(85,170,255,0.09);
  vertical-align: middle;
}

.partner-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(85,170,255,0.1), rgba(85,170,255,0.03) 40%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(85,170,255,0.14);
  box-shadow: 0 28px 70px -28px rgba(11, 30, 74, 0.3), var(--shadow-elegant);
  overflow: hidden;
  transition: var(--transition);
}

@media (min-width: 640px) {
  .partner-card {
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 1.35rem;
  }
}

@media (min-width: 768px) {
  .partner-card {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .partner-card {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.3fr);
  }
}

.partner-card.vertical {
  grid-template-columns: 1fr;
}

.partner-card.vertical .partner-brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .partner-card.vertical .partner-brand-panel {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1rem 1rem 1.25rem;
  }
}

.partner-logo-large {
  flex: 0 0 auto;
  width: 6rem;
  height: 6rem;
}

@media (min-width: 640px) {
  .partner-logo-large {
    width: 7rem;
    height: 7rem;
  }
}

@media (min-width: 768px) {
  .partner-logo-large {
    flex: 0 0 9.5rem;
    width: 9rem;
    height: 9rem;
  }
}

.partner-card.vertical .partner-logo-img,
.partner-logo-large .partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card.vertical .partner-brand-copy {
  flex: 1 1 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .partner-card.vertical .partner-brand-copy {
    text-align: left;
  }
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: auto -4rem -4rem auto;
  height: 12rem;
  width: 12rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(85,170,255,0.18) 0%, rgba(85,170,255,0) 70%);
  pointer-events: none;
}

.partner-card-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
  .partner-card-label {
    font-size: 0.72rem;
  }
}

.partner-brand-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(85,170,255,0.18), transparent 32%),
    linear-gradient(180deg, rgba(7, 20, 53, 0.96), rgba(10, 26, 66, 0.94));
  color: white;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: var(--transition);
}

@media (min-width: 640px) {
  .partner-brand-panel {
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  .partner-brand-panel {
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 1.15rem;
  }
}

.partner-brand-copy {
  display: grid;
  gap: 0.65rem;
}

[dir="rtl"] .partner-card.vertical .partner-brand-copy {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .partner-card.vertical .partner-brand-title,
[dir="rtl"] .partner-card.vertical .partner-brand-desc {
  text-align: right;
}

.partner-brand-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.partner-brand-title {
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: white;
}

@media (min-width: 640px) {
  .partner-brand-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 768px) {
  .partner-brand-title {
    font-size: 1.7rem;
  }
}

.partner-brand-desc {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  line-height: 1.65;
  max-width: none;
}

@media (min-width: 640px) {
  .partner-brand-desc {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .partner-brand-desc {
    font-size: 0.95rem;
    max-width: 26rem;
  }
}

.partner-brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partner-brand-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.68rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.partner-brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.partner-brand-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.68rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.partner-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12rem;
  padding: 1rem;
  border-radius: 1rem;

  background:
    radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-logo-link:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 18px 38px rgba(4, 12, 29, 0.24);
}


.partner-title {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  color: var(--navy-deep);
}
.partner-desc {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.partner-content {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding-top: 0.2rem;
}

.partner-dashboard {
  position: relative;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.42));
  border: 1px solid rgba(85,170,255,0.12);
  overflow: hidden;
}

.partner-dashboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 40%, transparent 72%);
  transform: translateX(-60%);
  animation: shimmer 5.5s linear infinite;
  pointer-events: none;
}

.partner-dashboard-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.partner-dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--accent);
}

.partner-dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  background: rgba(11, 30, 74, 0.96);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04rem;
}

.partner-dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-dashboard-metric {
  position: relative;
  padding: 0.95rem;
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(85,170,255,0.1);
  box-shadow: 0 12px 28px rgba(31, 47, 80, 0.05);
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.partner-dashboard-metric::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.6;
}

.partner-dashboard-value {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}

.partner-dashboard-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.partner-dashboard-copy {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 1.55;
}

.partner-proof-grid {
  display: none;
}

.partner-model-strip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.05rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(255,255,255,0.36));
  border: 1px solid rgba(85,170,255,0.14);
  box-shadow: 0 16px 34px rgba(31, 47, 80, 0.07);
}

.partner-model-note {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(85,170,255,0.14);
}

.partner-model-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--accent);
}

.partner-model-note p {
  margin-top: 0.45rem;
  color: var(--navy-deep);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 62ch;
}

.partner-model-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-model-step {
  position: relative;
  padding: 0.9rem 0.95rem 0.95rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52));
  border: 1px solid rgba(85,170,255,0.12);
  box-shadow: 0 8px 22px rgba(31, 47, 80, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-model-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(31, 47, 80, 0.08);
}

.partner-model-step::before {
  content: '';
  position: absolute;
  top: 0.9rem;
  left: 0.95rem;
  height: 0.4rem;
  width: 0.4rem;
  border-radius: 9999px;
  background: var(--brand-blue);
  box-shadow: 0 0 0 6px rgba(85,170,255,0.1);
}

.partner-model-step-title {
  display: block;
  padding-left: 1rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.partner-model-step-copy {
  display: block;
  margin-top: 0.35rem;
  padding-left: 1rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 1.5;
}

.partner-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Partner header moved outside card to match platform section */
.partner-header .section-eyebrow {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--accent);
}
.partner-header .partner-heading {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  max-width: 56rem;
  line-height: 1.08;
}

/* clickable site link inside partner card */
.partner-site-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.55rem 0.8rem;
  border-radius: 9999px;
  background: rgba(85,170,255,0.1);
  border: 1px solid rgba(85,170,255,0.14);
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.partner-site-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(85,170,255,0.14);
  border-color: rgba(85,170,255,0.22);
}

/* Visit button anchored bottom-right of partner card */
.partner-card .visit-btn {
  position: static;
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  background: white;
  color: black;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .partner-card .visit-btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 12;
    padding: 0.5rem 0.9rem;
    width: auto;
    text-align: center;
    margin-top: 0;
  }
}

.partner-card .visit-btn:hover {
  transform: translateY(-3px);
}

[dir="rtl"] .partner-card .visit-btn {
  left: auto;
  right: auto;
}

@media (min-width: 768px) {
  [dir="rtl"] .partner-card .visit-btn {
    left: 1rem;
    right: auto;
  }
}

@media (max-width: 720px) {
  .partner-proof-grid {
    grid-template-columns: 1fr;
  }
  .partner-card {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }
  .partner-brand-panel {
    text-align: left;
  }
  .partner-card-label {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .partner-logo { width: 100%; }
  .partner-logo-link { min-height: 9.5rem; }
  .partner-desc { max-width: none; }
  .partner-dashboard-header {
    flex-direction: column;
    align-items: center;
  }
  .partner-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .partner-model-flow { grid-template-columns: 1fr; }
  .partner-actions { justify-content: center; }
}

.projects-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--navy-deep);
  color: white;
  border-color: var(--navy-deep);
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-elegant);
}

.project-image {
  position: relative;
  height: 13rem;
  background: var(--gradient-navy);
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-image::before {
  opacity: 0.5;
}

.project-number {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 3.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
}

.project-sector {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  color: white;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.125rem;
  color: var(--navy-deep);
}

.project-location {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.careers-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .careers-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.careers-list {
  min-width: 0;
}

.careers-title {
  font-size: 1.5rem;
  color: var(--navy-deep);
}

.positions-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.position-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .position-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.position-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-elegant);
}

.position-title {
  font-size: 1.125rem;
  color: var(--navy-deep);
}

.position-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.careers-form {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.form-title {
  font-size: 1.125rem;
  color: var(--navy-deep);
}

.form-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-group {
  margin-top: 1.25rem;
}

.form-input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: inherit;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
  border-color: var(--ring);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

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

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

.contact-grid {padding: 3rem ;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

[dir="rtl"] .contact-grid {
  direction: rtl;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

[dir="rtl"] .contact-detail {
  flex-direction: row-reverse;
  text-align: right;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[dir="rtl"] .contact-detail-icon {
  order: 2;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

.contact-detail-text {
  flex: 1;
}

[dir="rtl"] .contact-detail-text {
  text-align: right;
  order: 1;
}

.contact-detail-text h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 14px;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.6;
  transition: var(--transition);
  text-decoration: none;
}

.contact-detail-text a:hover {
  color: var(--navy);
}

.contact-form-box {
  background: var(--secondary);
  border-radius: var(--radius-md);
  padding: 30px 20px;
}

@media (min-width: 640px) {
  .contact-form-box {
    padding: 40px;
  }
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--foreground);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px oklch(0.27 0.085 263 / 0.06);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: white;
  color: black;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid black;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 3rem 0;
}

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

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 1.25rem;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-icon {
  display: inline-flex;
  height: 4.75rem;
  width: 13.5rem;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.footer-logo-icon img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-fit: cover;
}

.footer-logo-icon .logo-image-full {
  object-fit: contain;
}

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

.footer-logo-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025rem;
  color: white;
}

.footer-logo-subtitle {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.045rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.125rem;
}

.footer-desc {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-trust-badge {
  margin-top: 1.25rem;
  max-width: 11rem;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-link svg {
  height: 1rem;
  width: 1rem;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-heading {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  margin-bottom: 1rem;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 0.5rem;
}

.footer-link-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link-list a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-icon {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-cyan);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-legal a:hover {
  color: white;
}

.tilt-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}

.tilt-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.service-details-content-section {
  padding: 4rem 0 5rem;
}

.sd-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .sd-intro-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ============================================
   SERVICE DETAILS PAGE
   ============================================ */

.service-details-content-section {
  padding: 4rem 0 5rem;
}

/* Intro: image left + text right */
.sd-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .sd-intro-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.sd-square-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-elegant);
}

.sd-square-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-intro-text {
  display: flex;
  flex-direction: column;
}

.sd-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.sd-text-block {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.sd-text-block p {
  margin-bottom: 1rem;
}


.sd-features-section {
  margin-bottom: 3.5rem;
}

.sd-features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sd-features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sd-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.sd-features-list li:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

[dir="rtl"] .sd-features-list li:hover {
  transform: translateX(-4px);
}

.sd-features-list li::before {
  content: '';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  background: var(--gradient-brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem;
}


.sd-bottom-cta {
  max-width: 40rem;
  margin: 0 auto;
}

.sd-contact-card {
  border-radius: 1rem;
  background: var(--gradient-navy);
  color: white;
  padding: 2.5rem;
  text-align: center;
}

.sd-contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sd-contact-card p {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sd-contact-card .btn {
  background: white;
  color: var(--navy-deep);
  font-weight: 700;
}

.sd-contact-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}


.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: white;
}

.back-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

[dir="rtl"] .back-link svg {
  transform: scaleX(-1);
}


a.service-full-card {
  color: inherit;
  cursor: pointer;
}


a.service-full-card:hover {
  opacity: 1;
}

/* ============================================
   RTL SUPPORT
   ============================================ */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .page-hero-eyebrow {
  margin-right: 0;
}

[dir="rtl"] .service-icon-wrapper {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}


[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
}

/* For the contact page phone row, show the icon after the text in LTR, and before in RTL */
.contact-item.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: row; /* default: icon before the content */
}

/* Override global contact-item RTL reversal for the phone row so the icon stays left */
[dir="rtl"] .contact-item.contact-phone {
  flex-direction: row;
}

[dir="rtl"] .footer-link-list {
  padding-right: 0;
}

[dir="rtl"] .phone-number {
  direction: ltr;
  unicode-bidi: embed;
}

.lang-en.inline, .lang-ar.inline {
  display: inline;
}

html[lang="en"] .lang-ar {
  display: none;
}

html[lang="ar"] .lang-en {
  display: none;
}

html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}
a {
  text-decoration: none;
}
.lang-en.inline, .lang-ar.inline {
  display: inline;
}

html[lang="en"] .lang-ar {
  display: none;
}

html[lang="ar"] .lang-en {
  display: none;
}

html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

}
/* ===== Service FAQ accordion ===== */
.sd-faq-section { margin-top: 56px; }
.sd-faq-section .sd-section-title { margin-bottom: 8px; }
.sd-faq-item {
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.sd-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--navy, #0b1f5b);
  padding: 18px 36px 18px 0;
  position: relative;
  font-size: 16px;
}
.sd-faq-item summary::-webkit-details-marker { display: none; }
.sd-faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy, #0b1f5b);
  transition: transform .2s ease;
}
.sd-faq-item[open] summary::after { content: "\2212"; }
.sd-faq-answer {
  padding: 0 36px 20px 0;
  color: var(--text-mid, #555);
  line-height: 1.75;
  font-size: 15px;
}
html[dir="rtl"] .sd-faq-item summary { padding: 18px 0 18px 36px; }
html[dir="rtl"] .sd-faq-answer { padding: 0 0 20px 36px; }

/* ===== Insights / News (blog) ===== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition, all .2s ease);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(11,31,91,.12));
  border-color: var(--navy, #0b1f5b);
}
.insight-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f6; }
.insight-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.insight-card-date { font-size: 13px; font-weight: 600; color: var(--accent, #1e88a8); letter-spacing: .02em; }
.insight-card-title { font-size: 19px; line-height: 1.35; color: var(--navy, #0b1f5b); margin: 0; }
.insight-card-desc { font-size: 14.5px; line-height: 1.65; color: var(--text-mid, #555); margin: 0; }
.insight-card-link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--navy, #0b1f5b); padding-top: 6px; }

/* Article body */
.article-hero-img {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--radius-md, 14px); margin-bottom: 2.5rem; display: block;
}
.article-body { max-width: 46rem; margin: 0 auto; }
.article-body h2 { font-size: 22px; color: var(--navy, #0b1f5b); margin: 2rem 0 .75rem; }
.article-body p { font-size: 16.5px; line-height: 1.8; color: var(--text-mid, #444); margin: 0 0 1.1rem; }
.article-body a { color: var(--accent, #1e88a8); font-weight: 600; text-decoration: underline; }
.article-body ul { margin: 0 0 1.1rem; padding-inline-start: 1.4rem; line-height: 1.8; color: var(--text-mid, #444); }
