/* ==========================================================================
   Kalmedia | Brand Identity Landing Page — Design System & Scoped CSS
   Namespace: .brand-identity-page
   Reference: Visual design source of truth for Brand Identity Service
   Typography: Cairo (headings & display) + IBM Plex Sans Arabic (body)
   Palette:
     Primary Blue  : #0756C9
     Dark Navy     : #0B1730
     Light Blue BG : #F0F6FD
     Border Line   : #E2EDF8
     White         : #FFFFFF
     Muted Ink     : #5A708A
   ========================================================================== */

.brand-identity-page {
  /* ── 1. Color Palette ── */
  --bi-blue:        #0756C9;
  --bi-blue-dark:   #0544A8;
  --bi-blue-light:  #3A80E0;
  --bi-blue-glow:   rgba(7, 86, 201, 0.08);
  --bi-navy:        #0B1730;
  --bi-navy-mid:    #162444;
  --bi-ink:         #1A2B45;
  --bi-ink-muted:   #5A708A;
  --bi-line:        #E2EDF8;
  --bi-line-soft:   #C8DDF9;
  --bi-bg:          #FFFFFF;
  --bi-bg-light:    #F0F6FD;
  --bi-white:       #FFFFFF;

  /* ── 2. Typography ── */
  --bi-font-display: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --bi-font-body:    'IBM Plex Sans Arabic', 'Cairo', sans-serif;

  /* ── 3. Border Radius ── */
  --bi-r-sm:   10px;
  --bi-r-md:   18px;
  --bi-r-lg:   24px;
  --bi-r-xl:   32px;
  --bi-r-pill: 999px;

  /* ── 4. Easing & Transitions ── */
  --bi-ease:   cubic-bezier(0.22, 1, 0.36, 1);

  /* ── Global Base Setup ── */
  background-color: #FFFFFF;
  color: var(--bi-ink);
  font-family: var(--bi-font-body);
  direction: rtl;
  overflow-x: clip;
}

.brand-identity-page * {
  box-sizing: border-box;
}

.brand-identity-page img {
  max-width: 100%;
  height: auto;
}

/* ── Typography Defaults ── */
.brand-identity-page h1,
.brand-identity-page h2,
.brand-identity-page h3,
.brand-identity-page h4 {
  font-family: var(--bi-font-display);
  color: var(--bi-navy);
  margin-top: 0;
  letter-spacing: -0.01em;
}

.brand-identity-page p {
  font-family: var(--bi-font-body);
  color: var(--bi-ink-muted);
  line-height: 1.85;
}

/* ── Container & Global Section Spacing ── */
.brand-identity-page .container {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
}

.brand-identity-page section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  position: relative;
}

/* ── Standardized Section Header ── */
.bi-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
  position: relative;
}

.bi-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bi-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bi-blue);
  background: rgba(7, 86, 201, 0.08);
  border: 1px solid rgba(7, 86, 201, 0.16);
  padding: 0.35rem 1.15rem;
  border-radius: var(--bi-r-pill);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.bi-section-title {
  font-family: var(--bi-font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--bi-navy);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   01. HEADER STYLES (.site-header)
   ═══════════════════════════════════════════════════════════════ */

.brand-identity-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  height: 76px !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--bi-line) !important;
  box-shadow: 0 4px 16px -4px rgba(11, 23, 48, 0.04) !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.3s var(--bi-ease) !important;
}

.brand-identity-page .header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
}

.brand-identity-page .header-start {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex: 0 0 auto !important;
}

/* Header Logo (at RIGHT in RTL) */
.brand-identity-page .site-header .logo,
.brand-identity-page .site-header a.logo {
  font-family: var(--bi-font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--bi-navy) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  line-height: 1 !important;
}

.brand-identity-page .site-header .logo strong,
.brand-identity-page .site-header a.logo strong {
  display: inline-block !important;
  color: var(--bi-navy) !important;
  font-weight: 800 !important;
  font-family: var(--bi-font-display) !important;
}

.brand-identity-page .header-logo-icon {
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

.brand-identity-page .site-header a.logo img.site-logo-img {
  display: none !important;
}

/* Desktop Navigation (in CENTER) */
.brand-identity-page .desktop-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
}

.brand-identity-page .desktop-nav-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-identity-page .desktop-nav-link {
  font-family: var(--bi-font-display) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--bi-ink) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: color 0.22s var(--bi-ease), background 0.22s var(--bi-ease) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.brand-identity-page .desktop-nav-link:hover {
  color: var(--bi-blue) !important;
}

.brand-identity-page .desktop-nav-link.active {
  color: var(--bi-blue) !important;
  font-weight: 700 !important;
}

.brand-identity-page .nav-caret {
  margin-top: 1px;
  stroke: currentColor;
}

/* Header End & CTA Button (at LEFT in RTL) */
.brand-identity-page .header-end {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
}

.brand-identity-page .header-cta {
  background: var(--bi-blue) !important;
  color: #FFFFFF !important;
  border-radius: var(--bi-r-pill) !important;
  padding: 0.58rem 1.35rem !important;
  font-family: var(--bi-font-display) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  box-shadow: 0 4px 14px rgba(7, 86, 201, 0.2) !important;
  transition: all 0.25s var(--bi-ease) !important;
  white-space: nowrap !important;
}

.brand-identity-page .header-cta:hover {
  background: var(--bi-blue-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(7, 86, 201, 0.3) !important;
}

.brand-identity-page .header-cta svg {
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  transition: transform 0.25s var(--bi-ease) !important;
}

html[dir="rtl"] .brand-identity-page .header-cta:hover svg {
  transform: translateX(-3px) !important;
}

/* Hamburger button */
.brand-identity-page .hamburger {
  display: none !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.brand-identity-page .hamburger span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background: var(--bi-navy) !important;
  border-radius: 2px !important;
  transition: all 0.25s var(--bi-ease) !important;
}

@media (min-width: 1025px) {
  .brand-identity-page .sidebar,
  .brand-identity-page .overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 1024px) {
  .brand-identity-page .desktop-nav {
    display: none !important;
  }
  .brand-identity-page .hamburger {
    display: flex !important;
  }
  .brand-identity-page .header-row {
    justify-content: space-between !important;
  }
}

@media (max-width: 480px) {
  .brand-identity-page .header-cta {
    padding: 0.48rem 0.95rem !important;
    font-size: 0.82rem !important;
  }
  .brand-identity-page .site-header .logo {
    font-size: 1.15rem !important;
  }
  .brand-identity-page .header-logo-icon {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   02. HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.bi-hero {
  padding-top: clamp(6rem, 8vw, 8rem);
  padding-bottom: 0;
  background: var(--bi-bg-light);
  position: relative;
  overflow: hidden;
}

/* Subtle dot background for the entire hero */
.bi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(7,86,201,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.bi-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Content Column (RIGHT in RTL — text on right side) */
.bi-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  z-index: 2;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.bi-hero-eyebrow {
  margin-bottom: 1.35rem;
}

.bi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 86, 201, 0.08);
  border: 1px solid rgba(7, 86, 201, 0.22);
  color: var(--bi-blue);
  padding: 0.42rem 1.1rem;
  border-radius: var(--bi-r-pill);
  font-family: var(--bi-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bi-hero-badge svg {
  stroke: currentColor;
  fill: none;
  width: 15px;
  height: 15px;
}

.bi-hero-title {
  font-family: var(--bi-font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 900;
  color: var(--bi-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.bi-highlight {
  color: var(--bi-blue);
  display: block;
}

.bi-hero-desc {
  font-family: var(--bi-font-body);
  font-size: 1rem;
  color: var(--bi-ink-muted);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 480px;
  text-align: right;
}

/* Action Buttons */
.bi-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bi-btn-primary.bi-btn-lg {
  background: var(--bi-blue);
  color: #FFFFFF !important;
  font-family: var(--bi-font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.88rem 2rem;
  border-radius: var(--bi-r-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(7, 86, 201, 0.28);
  transition: all 0.3s var(--bi-ease);
}

.bi-btn-primary.bi-btn-lg:hover {
  background: var(--bi-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(7, 86, 201, 0.38);
}

.bi-btn-primary.bi-btn-lg svg {
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--bi-ease);
}

html[dir="rtl"] .bi-btn-primary.bi-btn-lg:hover svg {
  transform: translateX(-4px);
}

.bi-btn-secondary.bi-btn-lg {
  background: #FFFFFF;
  color: var(--bi-blue) !important;
  border: 1.5px solid rgba(7, 86, 201, 0.35);
  font-family: var(--bi-font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.88rem 2rem;
  border-radius: var(--bi-r-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s var(--bi-ease);
}

.bi-btn-secondary.bi-btn-lg:hover {
  background: rgba(7, 86, 201, 0.06);
  border-color: var(--bi-blue);
  transform: translateY(-2px);
}

.bi-btn-secondary.bi-btn-lg svg {
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--bi-ease);
}

html[dir="rtl"] .bi-btn-secondary.bi-btn-lg:hover svg {
  transform: translateX(-4px);
}

/* ── Hero Media (LEFT column in RTL — image) ── */
.bi-hero-media {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  padding-bottom: 0;
  align-self: stretch;
}

.bi-hero-composition {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* The large rounded card housing the image */
.bi-hero-image-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: clamp(360px, 42vw, 480px);
  /* In RTL: left edge is rounded (pill), right edge is straight */
  border-radius: 24px 200px 200px 24px;
  overflow: hidden;
  box-shadow: 0 24px 56px -10px rgba(11, 23, 48, 0.16);
  background: #e8ecf4;
  z-index: 2;
  margin-bottom: 0;
  align-self: flex-end;
}

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

/* Colorful blobs behind the image card */
.bi-hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.bi-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.65;
}

.bi-hero-blob--orange {
  width: 160px;
  height: 160px;
  background: #FF9A3C;
  top: -20px;
  right: -20px;
  opacity: 0.55;
}

.bi-hero-blob--teal {
  width: 180px;
  height: 180px;
  background: #1BCFB4;
  bottom: 10px;
  right: 30px;
  opacity: 0.5;
}

.bi-hero-blob--blue {
  width: 140px;
  height: 140px;
  background: #5BA4F5;
  bottom: 40px;
  left: 20px;
  opacity: 0.4;
}

/* The white/transparent inner card frame (the lighter box inside) */
.bi-hero-inner-card {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 72%;
  height: 52%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
  border-radius: 18px 18px 0 0;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Circular backdrop ring */
.bi-hero-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  pointer-events: none;
}

/* Dotted Matrix decorative element */
.bi-hero-dots-cluster {
  position: absolute;
  bottom: 20px;
  inset-inline-start: -24px;
  width: 90px;
  height: 72px;
  z-index: 3;
  pointer-events: none;
}

.bi-dot-matrix {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#0756C9 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════
   03. TRUST INDICATORS (Hero Bottom 3 Pillars)
   ═══════════════════════════════════════════════════════════════ */

.bi-trust-strip {
  margin-top: 0;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--bi-line);
  background: #FFFFFF;
  position: relative;
  z-index: 2;
  box-shadow: 0 -1px 0 var(--bi-line);
}

.bi-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3.5vw, 3rem);
  align-items: center;
}

/* Each trust item: text on LEFT, icon on RIGHT (RTL natural) */
.bi-trust-item {
  display: flex;
  flex-direction: row;  /* RTL: starts from right */
  align-items: center;
  gap: 0.9rem;
  text-align: right;
  justify-content: flex-end;
}

.bi-trust-text {
  flex: 1;
}

.bi-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(7, 86, 201, 0.07);
  border: 1px solid rgba(7, 86, 201, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bi-blue);
}

.bi-trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bi-blue);
  stroke-width: 1.8;
  fill: none;
}

.bi-trust-title {
  font-family: var(--bi-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bi-navy);
  margin: 0 0 0.18rem 0;
  line-height: 1.3;
}

.bi-trust-sub {
  font-family: var(--bi-font-body);
  font-size: 0.82rem;
  color: var(--bi-ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   04. SERVICES SECTION (6 Equal Cards Grid)
   ═══════════════════════════════════════════════════════════════ */

.bi-services-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: var(--bi-bg-light);
}

/* Blue underline on section title */
.bi-services-section .bi-section-title {
  position: relative;
  display: inline-block;
}

.bi-services-section .bi-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 56px;
  height: 4px;
  background: var(--bi-blue);
  border-radius: 2px;
}

.bi-services-section .bi-section-header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* 6-column grid — enforced with overflow scroll on small screens */
.bi-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.65rem, 1vw, 1rem);
  align-items: stretch;
}

.bi-service-card {
  background: #FFFFFF;
  border: 1px solid var(--bi-line);
  border-radius: 18px;
  padding: clamp(1.4rem, 2vw, 2rem) clamp(0.75rem, 1vw, 1rem) clamp(1.25rem, 1.8vw, 1.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(11, 23, 48, 0.04);
  transition: all 0.3s var(--bi-ease);
  cursor: default;
}

.bi-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 86, 201, 0.2);
  box-shadow: 0 16px 32px rgba(7, 86, 201, 0.1);
}

/* Icon box — large, light-blue bg, border */
.bi-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(7, 86, 201, 0.07);
  border: 1.5px solid rgba(7, 86, 201, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--bi-blue);
  flex-shrink: 0;
  transition: all 0.3s var(--bi-ease);
}

.bi-service-card:hover .bi-service-icon {
  background: var(--bi-blue);
  border-color: var(--bi-blue);
  color: #FFFFFF;
}

.bi-service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

/* Typography "Aa" Icon */
.bi-service-icon.bi-icon-text {
  font-family: var(--bi-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bi-blue);
  line-height: 1;
}

.bi-service-card:hover .bi-service-icon.bi-icon-text {
  color: #FFFFFF;
}

.bi-service-title {
  font-family: var(--bi-font-display);
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 700;
  color: var(--bi-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.bi-service-desc {
  font-family: var(--bi-font-body);
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  color: var(--bi-ink-muted);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   05. PROCESS TIMELINE (5-Step Horizontal Sequence)
   ═══════════════════════════════════════════════════════════════ */

.bi-process-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
  position: relative;
}

.bi-process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  align-items: flex-start;
  text-align: center;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* Dotted Blue Horizontal Connecting Line */
.bi-process-track::before {
  content: '';
  position: absolute;
  top: 38px;
  right: 10%;
  left: 10%;
  height: 0;
  border-top: 2.5px dotted rgba(7, 86, 201, 0.45);
  z-index: 1;
  pointer-events: none;
}

.bi-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Circular Icon (Large with Light-Gray Border) */
.bi-process-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--bi-blue);
  box-shadow: 0 4px 16px rgba(7, 86, 201, 0.06);
  transition: all 0.3s var(--bi-ease);
  position: relative;
  z-index: 3;
}

.bi-process-step:hover .bi-process-circle {
  border-color: var(--bi-blue);
  background: rgba(7, 86, 201, 0.04);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(7, 86, 201, 0.12);
}

.bi-process-circle svg {
  width: 30px;
  height: 30px;
  stroke: var(--bi-blue);
  stroke-width: 1.8;
  fill: none;
}

/* Blue Number Badge (01, 02, 03, 04, 05) */
.bi-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bi-blue);
  color: #FFFFFF;
  font-family: var(--bi-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(7, 86, 201, 0.3);
  position: relative;
  z-index: 3;
}

.bi-process-title {
  font-family: var(--bi-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bi-navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.bi-process-desc {
  font-family: var(--bi-font-body);
  font-size: 0.85rem;
  color: var(--bi-ink-muted);
  line-height: 1.65;
  max-width: 210px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   06. PORTFOLIO SHOWCASE (5 Visual Items in 1 Row)
   ═══════════════════════════════════════════════════════════════ */

.bi-portfolio-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
}

.bi-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  margin-bottom: 2.5rem;
}

.bi-port-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 4px 16px rgba(11, 23, 48, 0.06);
  border: 1px solid var(--bi-line);
  background: #F0F4F8;
  cursor: pointer;
  transition: all 0.35s var(--bi-ease);
}

.bi-port-card:hover {
  transform: translateY(-4px);
  border-color: var(--bi-line-soft);
  box-shadow: 0 14px 30px rgba(7, 86, 201, 0.16);
}

.bi-port-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bi-port-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--bi-ease);
}

.bi-port-card:hover .bi-port-img-wrap img {
  transform: scale(1.06);
}

.bi-port-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  z-index: 2;
}

.bi-port-title {
  background: #FFFFFF;
  color: var(--bi-navy);
  font-family: var(--bi-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.38rem 1.25rem;
  border-radius: var(--bi-r-pill);
  box-shadow: 0 4px 12px rgba(11, 23, 48, 0.15);
  text-align: center;
  margin: 0;
  transition: all 0.3s var(--bi-ease);
}

.bi-port-card:hover .bi-port-title {
  background: var(--bi-blue);
  color: #FFFFFF;
}

/* Secondary / Pill Action Buttons */
.bi-section-action {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.bi-btn-pill-outline {
  background: #FFFFFF !important;
  color: var(--bi-blue) !important;
  border: 1.5px solid rgba(7, 86, 201, 0.4) !important;
  font-family: var(--bi-font-display) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 2rem !important;
  border-radius: var(--bi-r-pill) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  box-shadow: 0 2px 10px rgba(7, 86, 201, 0.05) !important;
  transition: all 0.3s var(--bi-ease) !important;
}

.bi-btn-pill-outline:hover {
  background: rgba(7, 86, 201, 0.06) !important;
  border-color: var(--bi-blue) !important;
  transform: translateY(-2px) !important;
}

.bi-btn-pill-outline svg {
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--bi-ease);
}

html[dir="rtl"] .bi-btn-pill-outline:hover svg {
  transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════════════════════
   07. ARTICLES & BLOG SECTION (EXACTLY 4 Cards Grid)
   ═══════════════════════════════════════════════════════════════ */

.bi-articles-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: var(--bi-bg-light);
}

.bi-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin-bottom: 2.5rem;
  align-items: stretch;
}

.bi-article-card {
  background: #FFFFFF;
  border: 1px solid var(--bi-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(11, 23, 48, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--bi-ease);
}

.bi-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--bi-line-soft);
  box-shadow: 0 14px 32px rgba(7, 86, 201, 0.1);
}

.bi-article-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #F0F4F8;
}

.bi-article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--bi-ease);
}

.bi-article-card:hover .bi-article-img-wrap img {
  transform: scale(1.06);
}

/* Floating Category Tag */
.bi-article-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFFFFF;
  color: var(--bi-blue);
  font-family: var(--bi-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.85rem;
  border-radius: var(--bi-r-pill);
  box-shadow: 0 3px 10px rgba(11, 23, 48, 0.12);
  z-index: 2;
}

.bi-article-body {
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  text-align: right;
}

.bi-article-title {
  font-family: var(--bi-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--bi-navy);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.bi-article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--bi-ease);
}

.bi-article-title a:hover {
  color: var(--bi-blue);
}

.bi-article-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--bi-font-body);
  font-size: 0.82rem;
  color: var(--bi-ink-muted);
}

.bi-article-date svg {
  stroke: var(--bi-ink-muted);
  fill: none;
}

/* ═══════════════════════════════════════════════════════════════
   08. WHY CHOOSE US (Light Blue Box, 4 Columns)
   ═══════════════════════════════════════════════════════════════ */

.bi-why-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
}

.bi-why-box {
  background: var(--bi-bg-light);
  border: 1px solid #D8E8F8;
  border-radius: 28px;
  padding: clamp(2.75rem, 4.5vw, 4.5rem) clamp(1.5rem, 3.5vw, 3.5rem);
}

.bi-why-box .bi-section-header {
  margin-bottom: 2.5rem;
}

.bi-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

.bi-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: clamp(1rem, 2vw, 2rem);
  position: relative;
}

/* Vertical Separators in RTL */
.bi-why-item:not(:last-child) {
  border-left: 1px solid #D8E8F8;
}

.bi-why-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #D8E8F8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--bi-blue);
  box-shadow: 0 4px 12px rgba(7, 86, 201, 0.06);
  transition: all 0.3s var(--bi-ease);
}

.bi-why-item:hover .bi-why-icon {
  background: var(--bi-blue);
  color: #FFFFFF;
  transform: scale(1.06);
  border-color: var(--bi-blue);
}

.bi-why-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.bi-why-title {
  font-family: var(--bi-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bi-navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.bi-why-desc {
  font-family: var(--bi-font-body);
  font-size: 0.86rem;
  color: var(--bi-ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   09. TESTIMONIALS SECTION (3 Client Cards)
   ═══════════════════════════════════════════════════════════════ */

.bi-testimonials-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
}

.bi-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.85rem);
  align-items: stretch;
}

.bi-test-card {
  background: #FFFFFF;
  border: 1px solid var(--bi-line);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 3px 14px rgba(11, 23, 48, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s var(--bi-ease);
}

.bi-test-card:hover {
  transform: translateY(-4px);
  border-color: var(--bi-line-soft);
  box-shadow: 0 14px 30px rgba(7, 86, 201, 0.1);
}

.bi-test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 1.15rem;
}

.bi-test-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #F59E0B;
}

.bi-test-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.bi-test-quote-icon {
  color: var(--bi-blue);
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.bi-test-quote-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--bi-blue);
}

.bi-test-text {
  font-family: var(--bi-font-body);
  font-size: 0.95rem;
  color: var(--bi-ink);
  line-height: 1.8;
  margin: 0 0 1.5rem;
  text-align: right;
  flex-grow: 1;
}

.bi-test-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bi-line);
  text-align: right;
}

.bi-test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 23, 48, 0.1);
  flex-shrink: 0;
}

.bi-test-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bi-test-name {
  font-family: var(--bi-font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--bi-navy);
}

.bi-test-role {
  font-family: var(--bi-font-body);
  font-size: 0.82rem;
  color: var(--bi-ink-muted);
}

/* ═══════════════════════════════════════════════════════════════
   10. FAQ SECTION (2-Column Accordion Grid)
   ═══════════════════════════════════════════════════════════════ */

.bi-faq-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
}

.bi-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  align-items: flex-start;
}

.bi-faq-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bi-faq-item {
  background: #FFFFFF;
  border: 1px solid #E4EEF8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 23, 48, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bi-faq-item:hover {
  border-color: #BED4EE;
  box-shadow: 0 4px 16px rgba(7, 86, 201, 0.07);
}

.bi-faq-item[open] {
  border-color: var(--bi-blue);
  box-shadow: 0 6px 24px rgba(7, 86, 201, 0.1);
}

.bi-faq-summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
  /* RTL: question on right, toggle on left */
  flex-direction: row;
  justify-content: space-between;
}

.bi-faq-summary::-webkit-details-marker {
  display: none;
}

/* RTL: question on the right, icon on the left */
.bi-faq-q {
  font-family: var(--bi-font-display);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--bi-navy);
  text-align: right;
  line-height: 1.45;
  flex: 1;
  order: 2;
}

.bi-faq-item[open] .bi-faq-q {
  color: var(--bi-blue);
}

.bi-faq-toggle {
  color: var(--bi-blue);
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(7, 86, 201, 0.08);
  border-radius: 50%;
  transition: transform 0.28s ease, background 0.25s ease;
  order: 1;
  line-height: 1;
}

.bi-faq-item:hover .bi-faq-toggle {
  background: rgba(7, 86, 201, 0.14);
}

.bi-faq-item[open] .bi-faq-toggle {
  transform: rotate(45deg);
  background: var(--bi-blue);
  color: #FFFFFF;
}

.bi-faq-answer {
  padding: 0 1.25rem 1.2rem;
  border-top: 1px solid #EEF4FB;
  font-family: var(--bi-font-body);
  font-size: 0.9rem;
  color: var(--bi-ink-muted);
  line-height: 1.75;
  text-align: right;
  margin-top: 0;
}

.bi-faq-answer p {
  margin: 0;
  padding-top: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   11. FINAL CTA SECTION (Large Blue Card)
   ═══════════════════════════════════════════════════════════════ */

.bi-cta-section {
  padding-block: clamp(3.5rem, 5vw, 5.5rem);
  background: #FFFFFF;
}

/* 95% width wrapper — card bleeds almost to edges */
.bi-cta-wrapper {
  max-width: 1320px;
  width: 95%;
  margin-inline: auto;
}

.bi-cta-card {
  background: linear-gradient(135deg, #0756C9 0%, #0647A6 60%, #0A3580 100%);
  border-radius: 32px;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4.5vw, 4rem);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(7, 86, 201, 0.35),
    0 6px 16px rgba(7, 86, 201, 0.2);
}

/* Large dot-matrix covering the right 55% of the card */
.bi-cta-dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  /* clip to right half only via mask */
  -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
  mask-image: linear-gradient(to left, black 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Blurred gradient blob */
.bi-cta-blob {
  position: absolute;
  top: -80px;
  left: 15%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.bi-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Content Side (Right in RTL) ── */
.bi-cta-content {
  text-align: right;
}

.bi-cta-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-family: var(--bi-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.bi-cta-title {
  font-family: var(--bi-font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.bi-cta-sub {
  font-family: var(--bi-font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

/* White Pill CTA Button */
.bi-btn-cta-white {
  background: #FFFFFF;
  color: var(--bi-blue) !important;
  font-family: var(--bi-font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--bi-r-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.3s var(--bi-ease);
}

.bi-btn-cta-white:hover {
  background: #EEF5FF;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.bi-btn-cta-white svg {
  stroke: var(--bi-blue);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.25s var(--bi-ease);
}

html[dir="rtl"] .bi-btn-cta-white:hover svg {
  transform: translateX(-4px);
}

/* ── Mockup Image Side (Left in RTL) ── */
.bi-cta-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.bi-cta-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: visible;
}

.bi-cta-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  /* slight upward overflow for integrated feel */
  transform: translateY(-16px);
  transition: transform 0.4s var(--bi-ease);
}

.bi-cta-card:hover .bi-cta-img-wrap img {
  transform: translateY(-22px);
}

/* Floating badge at bottom of image */
.bi-cta-badge {
  position: absolute;
  bottom: 8px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-family: var(--bi-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bi-blue);
}

.bi-cta-badge svg {
  stroke: var(--bi-blue);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   12. FOOTER (Dark Navy Agency Footer)
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bi-navy);
  color: #FFFFFF;
  padding-top: clamp(4rem, 5.5vw, 5rem);
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-bottom: 3.5rem;
  text-align: right;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #FFFFFF;
  font-family: var(--bi-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-brand .logo strong {
  color: #FFFFFF;
}

.footer-desc {
  font-family: var(--bi-font-body);
  font-size: 0.92rem;
  color: #8FA6C1;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.3s var(--bi-ease);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--bi-blue);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.footer-title {
  font-family: var(--bi-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: var(--bi-font-body);
  font-size: 0.92rem;
  color: #8FA6C1;
  text-decoration: none;
  transition: color 0.25s var(--bi-ease);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--bi-font-body);
  font-size: 0.92rem;
  color: #8FA6C1;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--bi-blue);
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #8FA6C1;
  text-decoration: none;
  transition: color 0.25s var(--bi-ease);
}

.footer-contact-list a:hover {
  color: #FFFFFF;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  font-family: var(--bi-font-body);
  font-size: 0.86rem;
  color: #647B9B;
}

/* ═══════════════════════════════════════════════════════════════
   13. RESPONSIVE BREAKDOWNS (TABLET & MOBILE)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .bi-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .bi-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bi-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bi-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0;
  }

  .bi-why-item:nth-child(odd) {
    border-left: 1px solid #D8E8F8;
  }

  .bi-why-item:nth-child(even) {
    border-left: none;
  }
}

@media (max-width: 960px) {
  .bi-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bi-hero-content {
    align-items: center;
    text-align: center;
    padding-bottom: 2.5rem;
    padding-top: 1rem;
  }

  .bi-hero-desc {
    text-align: center;
    max-width: 100%;
  }

  .bi-hero-actions {
    justify-content: center;
  }

  .bi-hero-media {
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .bi-hero-composition {
    min-height: 320px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .bi-hero-image-card {
    height: 320px;
    border-radius: 24px;
    max-width: 100%;
  }

  .bi-hero-dots-cluster {
    inset-inline-start: -10px;
    bottom: 10px;
  }

  .bi-process-track {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    position: relative;
  }

  .bi-process-track::before {
    display: block;
    top: 38px;
    bottom: 38px;
    right: 50%;
    left: auto;
    width: 0;
    height: auto;
    border-top: none;
    border-right: 2px dotted rgba(7, 86, 201, 0.35);
    transform: translateX(50%);
  }

  .bi-test-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bi-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bi-cta-content {
    text-align: center;
  }

  .bi-cta-sub {
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .bi-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bi-trust-item {
    border-bottom: 1px solid var(--bi-line);
    padding-bottom: 0.75rem;
  }

  .bi-trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .bi-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bi-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bi-faq-grid {
    grid-template-columns: 1fr;
  }

  .bi-articles-grid {
    grid-template-columns: 1fr;
  }

  .bi-why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bi-why-item {
    border-left: none !important;
    padding-bottom: 1.5rem;
  }

  .bi-why-item:not(:last-child) {
    border-bottom: 1px solid #D8E8F8;
  }
}

@media (max-width: 480px) {
  .bi-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.2rem);
  }

  .bi-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .bi-btn-primary.bi-btn-lg,
  .bi-btn-secondary.bi-btn-lg {
    width: 100%;
    justify-content: center;
  }

  .bi-services-grid {
    grid-template-columns: 1fr;
  }

  .bi-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .bi-articles-grid {
    grid-template-columns: 1fr;
  }

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

/* =========================================================================
   LTR Direction Overrides for Brand Identity Page
   ========================================================================= */

html[dir="ltr"] .bi-hero-content,
html[dir="ltr"] .bi-feature-body,
html[dir="ltr"] .bi-process-card,
html[dir="ltr"] .bi-article-body,
html[dir="ltr"] .bi-faq-content,
html[dir="ltr"] .bi-cta-content,
html[dir="ltr"] .bi-section-header {
  text-align: left;
  direction: ltr;
}
