/* ==========================================================================
   GLC (Global Lead Consultants) Custom Design System Stylesheet
   Framework: Bootstrap 5 + Custom Design Tokens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR VARIABLES & BASE TOKENS
   -------------------------------------------------------------------------- */
:root {
  --navy: #2D2E83;
  --navy-dark: #1d1e56;
  --navy-light: #393bb3;
  --glc-green: #6DC040;
  --glc-green-hover: #699c4e;
  --glc-gold: #C9973A;
  --glc-gold-hover: #b3842c;
  --cream: #eaedf4;
  --paper: #FBFAF6;
  --charcoal: #2A2B3D;
  --charcoal-muted: #565872;
  --line: #E6E2D6;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-slab: 'Roboto Slab", serif';
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--glc-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. REPEATED UTILITY CLASSES (Colors, Fonts, Sizes)
   -------------------------------------------------------------------------- */

/* Brand Background Utilities */
.bg-paper {
  background-color: var(--paper) !important;
}

.bg-cream {
  background-color: var(--cream) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-navy-dark {
  background-color: var(--navy-dark) !important;
}

.bg-glc-gold {
  background-color: var(--glc-gold) !important;
}

.bg-glc-green {
  background-color: var(--glc-green) !important;
}

.bg-charcoal {
  background-color: var(--charcoal) !important;
}

.bg-line {
  background-color: var(--line) !important;
}

/* Brand Text Utilities */
.text-navy {
  color: var(--navy) !important;
}

.text-glc-gold {
  color: var(--glc-gold) !important;
}

.text-glc-green {
  color: var(--glc-green) !important;
}

.text-charcoal {
  color: var(--charcoal) !important;
}

.text-charcoal-muted {
  color: var(--charcoal-muted) !important;
}

.text-cream {
  color: var(--cream) !important;
}

.text-cream-muted {
  color: rgba(244, 241, 234, 0.8) !important;
}

/* Border Utilities */
.border-line {
  border-color: var(--line) !important;
}

.border-navy {
  border-color: var(--navy) !important;
}

.border-white-20 {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Transparent White Backgrounds (used in hero) */
.bg-white-20 {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Define missing btn-glc-outline-white properly */
.btn-glc-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

/* Define missing btn-glc-outline-white properly */
.btn-glc-outline-white-2 {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  backdrop-filter: blur(8px);
}

.btn-glc-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: #ffffff;
}

/* Font Family Utilities */
.font-display {
  font-family: var(--font-display) !important;
}

.font-sans {
  font-family: var(--font-sans) !important;
}

.font-slab {
  font-family: var(--font-slab) !important;
}

/* Repeated Text Size Utilities */
.text-size-11 {
  font-size: 11px !important;
}

.text-size-12 {
  font-size: 12px !important;
}

.text-size-13 {
  font-size: 13px !important;
}

.text-size-14 {
  font-size: 14px !important;
}

.text-size-16 {
  font-size: 16px !important;
}

.text-size-18 {
  font-size: 18px !important;
}

.text-size-20 {
  font-size: 20px !important;
}

.text-size-24 {
  font-size: 24px !important;
}

.text-size-28 {
  font-size: 28px !important;
}

.text-size-32 {
  font-size: 32px !important;
}

/* Section Headings */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--glc-gold);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.05;
}

/* --------------------------------------------------------------------------
   3. REPEATED COMPONENTS (Cards, Buttons, Badges)
   -------------------------------------------------------------------------- */

/* Border Radii */
.rounded-card {
  border-radius: 1.25rem !important;
}

.rounded-card-lg {
  border-radius: 1.5rem !important;
}

.rounded-pill-custom {
  border-radius: 9999px !important;
}

/* Cards */
.card-glc-navy {
  background-color: var(--navy);
  border-radius: 1.25rem;
}

.card-glc {
  background-color: var(--cream);
  border-radius: 1.25rem;
}

/* Practice Area Full-Width Rows */
.practice-card {
  background-color: var(--cream);
  border-color: var(--line);
  display: block;
}

.practice-card:hover {
  background-color: #ecf1f8;
  border-color: var(--line);
}

.practice-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.practice-card:hover .practice-arrow-btn {
  background-color: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateX(4px);
}



/* Pill Buttons */
.btn-glc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-glc-navy {
  background-color: var(--navy);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-navy:hover {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.btn-glc-gold {
  background-color: var(--glc-gold);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-gold:hover {
  background-color: var(--glc-gold-hover);
  color: #ffffff;
}

.btn-glc-green {
  background-color: var(--glc-green);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-glc-green:hover {
  background-color: var(--glc-green-hover);
  color: #ffffff;
}

.btn-glc-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-lang-toggle {
  background-color: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-lang-toggle:hover {
  background-color: var(--cream);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-circle-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-glc-pill:hover .btn-circle-icon {
  transform: translateX(2px);
}

/* Badges */
.badge-glc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION & HEADER
   -------------------------------------------------------------------------- */
.header-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-pill-group {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
}

.nav-link-pill {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  color: var(--charcoal);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link-pill:hover {
  color: var(--navy);
  background-color: rgba(244, 241, 234, 0.7);
}

.nav-link-pill.active {
  background-color: var(--navy);
  color: #ffffff !important;
}

/* ── Services Dropdown (White Background & Black Text) ──────────────────── */
.glc-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.glc-nav-dropdown:hover .nav-link-pill:not(.active) {
  color: var(--navy);
  background-color: rgba(244, 241, 234, 0.7);
}

.glc-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: #ffffff !important;
  /* Pure White Background */
  min-width: 260px;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
  z-index: 1060;
}

/* Invisible hover bridge to prevent menu from closing when mouse travels between pill and menu */
.glc-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

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

.glc-dropdown-item {
  display: block;
  padding: 0.6rem 0.95rem;
  border-radius: 0.625rem;
  color: #111111 !important;
  /* Crisp Black Text */
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
}

.glc-dropdown-item:hover {
  background-color: #f3f4f6;
  /* Light gray subtle hover */
  color: #000000 !important;
  /* Pure black on hover */
  padding-left: 1.15rem;
}

.glc-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.4rem 0.5rem;
}

.glc-dropdown-all {
  color: #111111 !important;
  background-color: #f9fafb;
  font-weight: 700;
}

.glc-dropdown-all:hover {
  background-color: #f0f2f5;
  color: var(--navy) !important;
}

/* Smooth Scroll Margins for Fixed Header */
section[id],
.practice-card[id] {
  scroll-margin-top: 85px;
}


/* --------------------------------------------------------------------------
   5. HERO BANNER & AUTO CAROUSEL (Full Width)
   -------------------------------------------------------------------------- */
.hero-wrapper-full {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: var(--navy);
  color: #ffffff;
  overflow: hidden;
  border-radius: 0;
}

@media (min-width: 992px) {
  .hero-banner-card {
    min-height: 600px;
  }
}

/* ── Dynamic Content Height via CSS Grid Stacking ────────────────────────── */
/* Track and slides fill the entire card so image covers everything including pagination */
.hero-slider-track,
#hero-slider-track {
  display: grid;
  grid-template-areas: "hero-slide-stack";
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {

  .hero-slider-track,
  #hero-slider-track {
    min-height: 600px;
  }
}

.hero-slide {
  grid-area: hero-slide-stack;
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Balanced responsive padding */
  padding: 2.5rem 2.75rem 4.5rem;
}

@media (min-width: 576px) {
  .hero-slide {
    padding: 2.75rem 3.5rem 4.5rem;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    padding: 3rem 4.5rem 4.5rem;
  }
}

@media (min-width: 992px) {
  .hero-slide {
    min-height: 700px;
    padding: 3.5rem 5.5rem 4.5rem;
  }
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.inactive {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Background image & overlay fill entire slide as full cover */
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.hero-slide::after,
.hero-overlay {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(14 21 58 / 39%) 0%, rgb(14 21 58 / 49%) 48%, rgb(14 21 58 / 0%) 100%), linear-gradient(0deg, rgb(14 21 58 / 53%) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .hero-slide-img {
    opacity: 0.75;
  }

  .hero-slide::after,
  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(14, 21, 58, 0.88) 0%,
        rgba(14, 21, 58, 0.75) 50%,
        rgba(14, 21, 58, 0.88) 100%);
  }
}

/* Slide text content sits above image and overlay */
.hero-slide-content {
  position: relative;
  z-index: 5;
  max-width: 830px;
  width: 100%;
}

.hero-slide-content h1 {
  font-size: clamp(1.85rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-slide-content p {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.6;
}

/* ── Hero Controls (Arrows & Dots) ─────────────────────────────────────── */
.hero-arrow-wrapper,
.hero-arrow-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.hero-arrow-prev {
  left: 0.5rem;
}

.hero-arrow-next {
  right: 0.5rem;
}

@media (min-width: 576px) {
  .hero-arrow-prev {
    left: 0.85rem;
  }

  .hero-arrow-next {
    right: 0.85rem;
  }
}

@media (min-width: 992px) {
  .hero-arrow-prev {
    left: 1.5rem;
  }

  .hero-arrow-next {
    right: 1.5rem;
  }
}

.hero-arrow-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-arrow-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.hero-arrow-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.06);
}

.hero-dots-wrapper,
.hero-dots-container {
  position: absolute;
  bottom: 1.5rem;
  left: 2.75rem;
  z-index: 25;
  pointer-events: auto;
}

@media (min-width: 576px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    left: 3.5rem;
  }
}

@media (min-width: 768px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    left: 4.5rem;
  }
}

@media (min-width: 992px) {

  .hero-dots-wrapper,
  .hero-dots-container {
    bottom: 2rem;
    left: 5.5rem;
  }
}

.hero-dot {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-dot {
    height: 10px;
    width: 10px;
  }
}

.hero-dot.active {
  width: 28px;
  background-color: var(--glc-green);
}

.hero-dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   6. FAQ ACCORDION (Bootstrap Customization)
   -------------------------------------------------------------------------- */
.accordion-glc .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}

.accordion-glc .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  padding: 1.25rem 0;
}

.accordion-glc .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}

.accordion-glc .accordion-button::after {
  content: "add";
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--navy);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.accordion-glc .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background-color: var(--navy);
  color: #ffffff;
}

.accordion-glc .accordion-body {
  padding: 0 0 1.25rem 0;
  font-size: 0.875rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. FOOTER & WATERMARK
   -------------------------------------------------------------------------- */
.watermark-text {
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--glc-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. MOBILE DRAWER NAV (Right-side slide panel)
   -------------------------------------------------------------------------- */

/* Hamburger button */
.glc-burger-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.glc-burger-btn:hover {
  background-color: var(--cream);
  border-color: var(--line);
}

/* Backdrop */
.glc-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background-color: rgba(10, 11, 40, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.glc-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel slides in from the right */
.glc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  width: 300px;
  max-width: 85vw;
  background-color: #ffffff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.glc-drawer.open {
  transform: translateX(0);
}

/* Drawer header */
.glc-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

/* Close button */
.glc-drawer-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.glc-drawer-close:hover {
  background-color: var(--line);
}

/* Nav links */
.glc-drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
}

.glc-drawer-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.18s ease;
}

.glc-drawer-link:hover {
  color: var(--navy);
  background-color: var(--cream);
  border-left-color: var(--navy);
}

.glc-drawer-link.active {
  color: var(--navy);
  background-color: var(--cream);
  border-left-color: var(--navy);
  font-weight: 700;
}

/* Footer CTA buttons */
.glc-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background-color: var(--paper);
}

/* Outline navy button variant */
.btn-glc-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-glc-outline-navy:hover {
  background-color: var(--navy);
  color: #ffffff;
}

/* Lock body scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Training Academy Section Styles
   -------------------------------------------------------------------------- */
.training-focus-item {
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Testimonials Section Styles
   -------------------------------------------------------------------------- */
.testimonial-card {
  border: 1px solid var(--line);
}

.testimonial-card:hover {
  border-color: var(--line) !important;
}

/* --------------------------------------------------------------------------
   Editorial Publication Masonry Grid Styles
   -------------------------------------------------------------------------- */
.editorial-masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem 2rem;
  align-items: start;
}

.editorial-post {
  display: flex;
  flex-direction: column;
}

.editorial-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.editorial-media {
  margin: 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background-color: var(--cream);
  position: relative;
}

.editorial-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-link:hover .editorial-img {
  transform: scale(1.04);
}

.editorial-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--glc-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color 0.25s ease;
}

.editorial-link:hover .editorial-title {
  color: var(--glc-gold);
}

.editorial-meta {
  font-size: 12px;
  color: var(--charcoal-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* Featured Article Specific Styling */
.editorial-featured .editorial-title {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* Image sizes: natural height, no fixed aspect ratio */
.editorial-media-landscape,
.editorial-media-portrait,
.editorial-media-square,
.editorial-media-big {
  aspect-ratio: unset;
  height: auto;
  min-height: unset;
}

/* --------------------------------------------------------------------------
   Editorial 3-Column Layout: Left Panel (header + 2 article cols) + Right Panel (featured)
   -------------------------------------------------------------------------- */

/* Outer wrapper: use Bootstrap row but with a left/right vertical divider on desktop */
.editorial-grid-wrap {
  --editorial-gap: 2.5rem;
}

/* Left panel takes 2/3 width; right panel takes 1/3 */
@media (min-width: 992px) {


  .editorial-right-panel {
    padding-left: calc(var(--editorial-gap) / 2);
  }

  /* Make right panel's featured article stretch to match the full left-panel height */


  .editorial-right-panel .editorial-post.editorial-featured .editorial-link {
    height: 100%;
  }

  .editorial-right-panel .editorial-media-big {
    height: auto;
  }
}

/* Section header row inside the left panel: title on left, button on right */


/* On mobile: stack everything, no side divider */
@media (max-width: 991.98px) {

  .editorial-left-panel,
  .editorial-right-panel {
    padding-right: 0;
    padding-left: 0;
    border-right: none;
  }

  .editorial-right-panel {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   Editorial Image Overlay: Title inside image box at the bottom
   -------------------------------------------------------------------------- */

/* The figure must be position:relative (already set via .editorial-media) */
.editorial-media {
  position: relative;
}

/* Overlay figcaption: sits at the bottom of the image */
.editorial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.82) 0%,
      rgba(10, 10, 20, 0.45) 55%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  border-radius: 0 0 4px 4px;
  transition: background 0.3s ease;
}

/* Slightly deepen gradient on hover for depth */
.editorial-link:hover .editorial-overlay {
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.92) 0%,
      rgba(10, 10, 20, 0.55) 60%,
      transparent 100%);
}

/* Override tag color to white-ish gold when on image */
.editorial-overlay .editorial-tag {
  color: var(--glc-gold);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Title override: white on image overlay */
.editorial-title-overlay {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.editorial-link:hover .editorial-title-overlay {
  color: #ffffff !important;
}

/* Featured article overlay: taller gradient, bigger title */
.editorial-overlay-featured {
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top,
      rgba(10, 10, 20, 0.88) 0%,
      rgba(10, 10, 20, 0.5) 50%,
      transparent 100%);
}

.editorial-title-featured {
  font-size: 1.35rem !important;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Editorial Newsletter Subscribe Box
   -------------------------------------------------------------------------- */
.editorial-newsletter {
  background-color: var(--navy);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.editorial-newsletter .section-eyebrow {
  color: var(--glc-gold);
}

.editorial-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.editorial-newsletter-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.editorial-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.editorial-newsletter-field {
  position: relative;
}

.editorial-newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.editorial-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.editorial-newsletter-input:focus {
  border-bottom-color: var(--glc-gold);
}

.editorial-newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--glc-gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}

.editorial-newsletter-btn:hover {
  background-color: #c9a84c;
  transform: translateY(-1px);
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Page Hero Banner */
.page-hero-banner {
  background-color: var(--navy) !important;
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  position: relative;
  padding: 2.25rem 0 2rem;
}

.page-hero-banner::before {
  display: none !important;
}

.page-banner-title {
  font-family: var(--font-slab);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-pill a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-pill a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Core Values Cards */
.value-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Founder Spotlight Card */
.founder-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.founder-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

/* Dual 5+5 Tracks Section */
.track-step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
  height: 100%;
}

.track-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Accreditation Badges */
.cred-badge-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cred-badge-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   INNER PAGES DESIGN SYSTEM EXTENSIONS
   ========================================================================== */

/* ── Service Overview & Practice Cards ───────────────────────────────────── */
.service-overview-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.service-overview-card:hover {
  background-color: var(--paper);
  color: inherit;
}

.service-num-badge {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

/* ── Coverage / What It Covers Cards ─────────────────────────────────────── */
.coverage-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

/* ── Sector Cards (Who It Is For) ────────────────────────────────────────── */
.sector-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sector-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ── Why GLC 5 Proof Points ─────────────────────────────────────────────── */
.why-glc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

/* ── Mini Process Timeline Steps ─────────────────────────────────────────── */
.mini-process-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  height: 100%;
}

.process-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ── Result / Verified Proof Card ────────────────────────────────────────── */
.result-story-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1c1d38 100%);
  border-radius: 1.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.result-story-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 58, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ── GLC Accordion (Q&A) ─────────────────────────────────────────────────── */
.glc-accordion .accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.glc-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.glc-accordion .accordion-button:not(.collapsed) {
  color: var(--navy);
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.glc-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}

.glc-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.65;
  background-color: #ffffff;
}

/* ── Filter Pills (Training & Media Center) ───────────────────────────────── */
.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--charcoal);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--navy);
}

.filter-pill.active {
  background: var(--navy);
  color: #ffffff !important;
  border-color: var(--navy);
}

/* ── Training Program Cards ──────────────────────────────────────────────── */
.program-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Media Center Cards ──────────────────────────────────────────────────── */
.media-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.media-card:hover {
  color: inherit;
}

.media-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: var(--cream);
}

.media-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-media-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ── Careers Cards & Forms ───────────────────────────────────────────────── */
.career-benefit-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.job-opening-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  height: 100%;
}

.custom-form-input,
.custom-form-select,
.custom-form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
  outline: none;
  transition: all 0.2s ease;
}

.custom-form-input:focus,
.custom-form-select:focus,
.custom-form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45, 46, 131, 0.1);
}

/* ── Legal Content Styling ───────────────────────────────────────────────── */
.legal-content-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

@media (max-width: 575.98px) {
  .legal-content-card {
    padding: 2rem 1.25rem;
  }
}

.legal-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal-muted);
}

/* ==========================================================================
   OUR CLIENTS PAGE SPECIFIC STYLES & ARABIC RTL MIRRORING
   ========================================================================== */

/* Navy Duotone Image Treatment */
.duotone-navy-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.duotone-navy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(115%) brightness(85%);
  mix-blend-mode: luminosity;
  opacity: 0.45;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.duotone-navy-wrap:hover .duotone-navy-img {
  transform: scale(1.03);
  opacity: 0.55;
}

.duotone-navy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 30, 86, 0.95) 0%, rgba(45, 46, 131, 0.82) 55%, rgba(109, 192, 64, 0.25) 100%);
  pointer-events: none;
}

/* Inner Clients Hero Card */
.clients-hero-card {
  position: relative;
  background: linear-gradient(135deg, #181947 0%, #24266e 60%, #1d1e56 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(29, 30, 86, 0.14);
}

.clients-hero-card .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.22;
  filter: contrast(120%);
}

.clients-hero-card .hero-duotone-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(201, 151, 58, 0.15) 0%, transparent 60%),
              linear-gradient(90deg, rgba(29, 30, 86, 0.96) 0%, rgba(29, 30, 86, 0.78) 60%, rgba(29, 30, 86, 0.4) 100%);
  pointer-events: none;
}

/* Six Client Sector Cards */
.sector-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--glc-gold), var(--glc-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(45, 46, 131, 0.08);
  border-color: rgba(45, 46, 131, 0.25);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-num-badge {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--glc-gold);
  background: rgba(201, 151, 58, 0.1);
  border: 1px solid rgba(201, 151, 58, 0.22);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}

.sector-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 0.875rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.sector-card:hover .sector-icon-wrap {
  background-color: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: scale(1.05);
}

.sector-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-example-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(45, 46, 131, 0.05);
  border: 1px solid rgba(45, 46, 131, 0.12);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.65rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.client-example-pill i {
  color: var(--glc-gold);
  font-size: 0.95rem;
}

/* Editorial Testimonial Cards & Verified Results */
.editorial-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.editorial-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(45, 46, 131, 0.07);
  border-color: rgba(45, 46, 131, 0.2);
}

.result-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--glc-green);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  margin-top: 1.25rem;
}

.result-box-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glc-green-hover);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.result-box-text {
  font-size: 0.825rem;
  line-height: 1.5;
  color: var(--charcoal);
  font-weight: 600;
  margin: 0;
}

/* Statistics Strip Cards */
.client-stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--glc-gold);
}

/* Geographic Reach Card */
.geo-reach-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.geo-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.geo-location-tag i {
  color: var(--glc-gold);
}

/* ==========================================================================
   ARABIC RTL MIRRORING SYSTEM
   ========================================================================== */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: right;
}

html[dir="rtl"] .font-display,
html[dir="rtl"] .font-slab {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif !important;
}

html[dir="rtl"] .breadcrumb-pill {
  flex-direction: row-reverse;
}

html[dir="rtl"] .result-box {
  border-left: 1px solid var(--line);
  border-right: 3px solid var(--glc-green);
}

html[dir="rtl"] .bi-chevron-right,
html[dir="rtl"] .bi-arrow-right,
html[dir="rtl"] .material-symbols-outlined.arrow-directional {
  transform: scaleX(-1);
}

html[dir="rtl"] .sector-card::before {
  background: linear-gradient(-90deg, var(--glc-gold), var(--glc-green));
}

html[dir="rtl"] .text-start {
  text-align: right !important;
}

html[dir="rtl"] .text-end {
  text-align: left !important;
}

html[dir="rtl"] .me-1,
html[dir="rtl"] .me-2,
html[dir="rtl"] .me-3 {
  margin-left: inherit !important;
}

html[dir="rtl"] .clients-hero-card .hero-duotone-layer {
  background: radial-gradient(circle at 20% 30%, rgba(201, 151, 58, 0.15) 0%, transparent 60%),
              linear-gradient(-90deg, rgba(29, 30, 86, 0.96) 0%, rgba(29, 30, 86, 0.78) 60%, rgba(29, 30, 86, 0.4) 100%);
}

/* ── Project Story + Client Testimonial Section ─────────────────────────── */
.project-story-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 46, 131, 0.06);
  border-color: rgba(45, 46, 131, 0.2);
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.project-meta-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
}

.project-meta-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.project-meta-label i {
  color: var(--glc-gold);
  font-size: 0.85rem;
}

.project-meta-value {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

.project-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 24px rgba(45, 46, 131, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--glc-gold), var(--navy));
}

.project-testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(45, 46, 131, 0.08);
  border-color: rgba(45, 46, 131, 0.22);
}

.quote-icon-thin {
  font-size: 2.25rem;
  line-height: 1;
  color: var(--glc-gold);
  opacity: 0.75;
}

.testimonial-quote-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.case-study-link:hover {
  color: var(--glc-gold);
  gap: 0.6rem;
}

html[dir="rtl"] .project-testimonial-card::before {
  background: linear-gradient(-90deg, var(--glc-gold), var(--navy));
}

html[dir="rtl"] .case-study-link i {
  transform: scaleX(-1);
}

/* Language switch content toggle */
.lang-content-en,
.lang-content-ar {
  transition: opacity 0.25s ease;
}

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

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

/* ── Service Intro Feature Image Card (Right Column) ────────────────────── */
.service-intro-img-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(45, 46, 131, 0.06);
  height: 100%;
  min-height: 380px;
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
}

.service-intro-img-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-intro-img-card:hover img {
  transform: scale(1.03);
}

.service-intro-img-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(29, 30, 86, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.service-intro-img-badge i {
  color: var(--glc-gold);
}

html[dir="rtl"] .service-intro-img-badge {
  left: auto;
  right: 1.25rem;
}

.service-intro-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(16, 17, 48, 0.88) 0%, rgba(16, 17, 48, 0.4) 60%, transparent 100%);
  color: #ffffff;
  z-index: 2;
}

.service-intro-img-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.4;
}

/* ── Project Story Image Banner ─────────────────────────────────────────── */
.project-story-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
  background-color: var(--paper);
}

.project-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-story-card:hover .project-story-img-wrap img {
  transform: scale(1.03);
}

.project-story-img-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(29, 30, 86, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.project-story-img-tag i {
  color: var(--glc-gold);
}

html[dir="rtl"] .project-story-img-tag {
  left: auto;
  right: 0.75rem;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(45, 46, 131, 0.04);
}

.contact-direct-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-direct-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--glc-gold));
}

.contact-direct-card.card-whatsapp::before {
  background: linear-gradient(90deg, #25D366, var(--glc-green));
}

.contact-direct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 46, 131, 0.08);
  border-color: rgba(45, 46, 131, 0.25);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--cream);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-direct-card:hover .contact-icon-box {
  background-color: var(--navy);
  color: #ffffff;
}

.contact-direct-card.card-whatsapp:hover .contact-icon-box {
  background-color: #25D366;
  color: #ffffff;
}

.contact-map-container {
  width: 100%;
  height: 180px;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: #f1f3f7;
  position: relative;
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

.contact-feature-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.contact-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(45, 46, 131, 0.06);
  border-color: rgba(45, 46, 131, 0.2);
}

.contact-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-feature-card:hover .contact-feature-icon {
  background: var(--navy);
  color: var(--glc-gold);
  border-color: var(--navy);
}

/* Contact Form Alerts */
.contact-alert {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.contact-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* RTL Form Mirroring adjustments */
html[dir="rtl"] .form-check {
  padding-right: 1.6em;
  padding-left: 0;
}

html[dir="rtl"] .form-check .form-check-input {
  float: right;
  margin-right: -1.6em;
  margin-left: 0;
}

html[dir="rtl"] .custom-form-select {
  background-position: left 0.75rem center;
  padding-left: 2.25rem;
  padding-right: 1rem;
}

html[dir="rtl"] .contact-direct-card::before {
  background: linear-gradient(-90deg, var(--navy), var(--glc-gold));
}

html[dir="rtl"] .contact-direct-card.card-whatsapp::before {
  background: linear-gradient(-90deg, #25D366, var(--glc-green));
}