/* ==========================================================================
   ANFAL SHARED SERVICES - DESIGN SPEC & STYLES
   Pixel-perfect match to "People First, Service Always""
   Antigravity UI & Motion Design Expert System
   ========================================================================== */

/* 1. GLOBAL TOKENS & RESET
   ========================================================================== */
:root {
  /* Brand Tokens from design.md */
  --main-color: #4E82C2;
  --main-color-hover: #3E6EA8;
  --main-color-light: #EAF2FB;
  --sub-color: #D4AF37;
  --sub-color-light: #FFF4E5;
  --navbarLink: #000000;
  --text: #212529;
  --text-muted: #4B4B4B;
  --text-dim: #6B7280;
  --bg: #FFFFFF;
  --bg-light: #F4F4F4;
  --input-bg: #F6F6F6;
  --footer-bg: #1A1A1A;

  /* Antigravity Glass & Shadow Tokens */
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 24px 48px rgba(78, 130, 194, 0.16);
  --shadow-dark: 0 20px 45px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Layout */
  --max-width: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 14.4px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

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

.text-white {
  color: #FFFFFF !important;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.78) !important;
}

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

.title-light {
  font-weight: 300;
}

/* Section Headings */
.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-title {
  font-size: 38.5px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.eyebrow-line-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eyebrow-line-wrap.center-dash {
  justify-content: center;
}

.gold-dash {
  display: inline-block;
  width: 28px;
  height: 3px;
  background-color: var(--sub-color);
  border-radius: 2px;
}

.eyebrow-gold {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--sub-color);
  text-transform: uppercase;
}

.eyebrow-text-white {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* ==========================================================================
   2. STICKY FLOATING NAVBAR (Appears smoothly on scroll)
   ========================================================================== */
.sticky-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 12px 24px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.sticky-navbar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-nav-inner {
  max-width: 1340px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--glass-border);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navbarLink);
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--main-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--sub-color);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.4px;
  font-weight: 500;
  color: #000000;
  background: #FFFFFF;
  border: 1.2px solid #212529;
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-contact:hover {
  background: var(--main-color);
  color: #FFFFFF;
  border-color: var(--main-color);
  box-shadow: 0 4px 14px rgba(78, 130, 194, 0.3);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  font-size: 20px;
  color: var(--text);
  padding: 6px;
}

/* ==========================================================================
   3. HERO SECTION (Native HTML/CSS + Recreated Asset)
   ========================================================================== */
.header-outer {
  width: 100%;
  padding: 16px 24px 0;
}

.hero-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
}

.hero-card {
  position: relative;
  width: 100%;
  min-height: 720px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg-img {
  transform: scale(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 25, 45, 0.65) 0%,
      rgba(18, 38, 68, 0.40) 45%,
      rgba(8, 20, 36, 0.60) 100%);
  pointer-events: none;
}

/* In-Hero Floating Navbar (Matches reference pill navbar) */
.hero-inline-nav {
  position: relative;
  z-index: 10;
  margin: 24px auto 0;
  width: calc(100% - 64px);
  max-width: 1300px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-brand {
  display: flex;
  align-items: center;
}

.hero-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.hero-nav-link:hover,
.hero-nav-link.active {
  color: var(--main-color);
}

.hero-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--sub-color);
  border-radius: 2px;
}

.hero-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14.4px;
  font-weight: 500;
  color: #000000;
  background: #FFFFFF;
  border: 1.2px solid #212529;
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-contact:hover {
  background: var(--main-color);
  color: #FFFFFF;
  border-color: var(--main-color);
  box-shadow: 0 4px 14px rgba(78, 130, 194, 0.3);
  transform: translateY(-1px);
}

/* EN / AR language switch (used in both navbars) */
.hero-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.06);
  direction: ltr;
  /* keep "EN | AR" order in both languages */
}

.hero-lang-opt {
  min-width: 38px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333333;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-lang-opt:hover:not(.active) {
  color: var(--main-color);
}

.hero-lang-opt.active {
  background: var(--main-color);
  color: #FFFFFF;
}

/* Hero Typography */
.hero-content {
  position: relative;
  z-index: 5;
  padding: 90px 72px 100px;
  max-width: 900px;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-gold-dash {
  display: block;
  width: 48px;
  height: 3.5px;
  background-color: var(--sub-color);
  border-radius: 2px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Slider Pagination Cutout Notch (Bottom Left) */
.hero-notch-cutout {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: #FFFFFF;
  padding: 14px 38px 14px 44px;
  border-radius: 0 28px 0 0;
  box-shadow: 4px -4px 18px rgba(0, 0, 0, 0.04);
}

.hero-notch-cutout::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at top right, transparent 23.5px, #FFFFFF 24px);
  pointer-events: none;
}

.hero-notch-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-slide-tab {
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  position: relative;
  padding: 4px 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slide-tab.active {
  color: #1E293B;
  font-weight: 700;
}

.tab-active-indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--sub-color);
  border-radius: 2px;
}

/* Scroll Down Circle Button (Bottom Right) */
.hero-scroll-btn {
  position: absolute;
  bottom: 34px;
  right: 48px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scroll-btn:hover {
  background: #FFFFFF;
  color: var(--main-color);
  transform: translateY(4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   4. ABOUT US SECTION (Pixel-Perfect to Reference Upload)
   ========================================================================== */
.about-sec {
  padding: 85px 0 95px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1775px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top Row: Heading/Paragraph Left, Monolith Graphic Right */
.about-top-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  align-items: center;
  gap: 36px;
  margin-bottom: 56px;
}

.about-content {
  padding-left: 75px;
  /* Matches exact 75px indent from card left in reference */
}

.about-heading-wrap {
  margin-bottom: 24px;
}

.about-gold-dash {
  display: block;
  width: 62px;
  height: 3.5px;
  background-color: var(--sub-color, #D4AF37);
  border-radius: 2px;
  margin-bottom: 20px;
}

.about-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.14;
  color: #386CB5;
  letter-spacing: -0.015em;
  margin: 0;
}

.about-lead {
  font-size: 18.5px;
  line-height: 1.72;
  color: #555D6E;
  margin: 0;
  font-weight: 400;
  max-width: 780px;
}

.about-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about-graphic-img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual:hover .about-graphic-img {
  transform: scale(1.02);
}

/* Bottom Row: Full-Width Two Equal Feature Cards */
.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-feature-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #F8FAFC;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  min-height: 292px; /* grows when narrower screens wrap the text onto more lines */
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(56, 108, 181, 0.12);
  border-color: rgba(56, 108, 181, 0.25);
}

.about-card-photo-wrap {
  width: 41%;
  min-width: 41%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.about-card-photo {
  position: absolute; /* fills the column without driving the card's height */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 81.1% 100%, 0 100%);
  display: block;
}

.about-slant-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.about-card-body {
  flex: 1;
  padding: 34px 40px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.about-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sub-color, #D4AF37);
  color: #FFFFFF;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.about-card-dash {
  display: inline-block;
  width: 44px;
  height: 2.5px;
  background-color: var(--sub-color, #D4AF37);
  border-radius: 2px;
}

.about-card-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #386CB5;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.about-card-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #555D6E;
  margin: 0;
  font-weight: 400;
}

/* Responsive Overrides for About Us */
@media (max-width: 1200px) {
  .about-content {
    padding-left: 20px;
  }

  .about-title {
    font-size: 46px;
  }

  /* The About image is desktop-only; the text takes the full width below that */
  .about-top-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    display: none;
  }
}

@media (max-width: 991px) {
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .about-content {
    padding-left: 0;
  }

  .about-visual {
    justify-content: center;
  }

  .about-cards-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-feature-card {
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .about-title {
    font-size: 36px;
  }

  .about-feature-card {
    flex-direction: column;
  }

  .about-card-photo-wrap {
    width: 100%;
    height: 220px;
  }

  .about-card-photo {
    position: static;
    clip-path: none;
  }

  .about-slant-overlay {
    display: none;
  }

  .about-card-body {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   5. MAIN VALUES SECTION (Exact Match to Uploaded Reference)
   ========================================================================== */
.values-sec {
  position: relative;
  background:
    linear-gradient(90deg,
      #13437c 0%,
      #175195 38%,
      rgba(23, 81, 149, 0.85) 55%,
      rgba(15, 45, 85, 0.60) 75%,
      rgba(10, 28, 55, 0.40) 100%),
    url('assets/main%20values/Corporate%20Handshake%20Above%20the%20Skyline.png') right center / cover no-repeat;
  padding: 85px 0 115px;
  overflow: hidden;
}

.values-top-dash {
  display: block;
  width: 38px;
  height: 3.5px;
  background-color: var(--sub-color);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.text-gold-val {
  color: #E5B842 !important;
  font-weight: 700;
}

.values-sec .section-title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 14px;
}

.values-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-top: 48px;
}

.val-arch-card {
  background: #FFFFFF;
  border-radius: 130px 130px 24px 24px;
  border-top: 2.5px solid #D4AF37;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  border-right: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.val-arch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.val-node-dot,
.val-node-dot-left {
  position: absolute;
  top: 78px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D4AF37;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 8px #D4AF37, 0 0 14px rgba(212, 175, 55, 0.75);
  z-index: 10;
}

.val-node-dot {
  right: -15px;
}

.val-node-dot-left {
  left: -15px;
}

.val-arch-img-wrap {
  width: 100%;
  height: 205px;
  border-radius: 128px 128px 0 0;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.val-arch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.val-arch-card:hover .val-arch-photo {
  transform: scale(1.06);
}

.val-arch-body {
  margin-top: -46px;
  background: #FFFFFF;
  border-radius: 110px 110px 24px 24px;
  padding: 0 18px 30px;
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.04);
}

.val-arch-badge {
  margin: -38px auto 14px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid #D4AF37;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E4E8C;
  font-size: 26px;
  position: relative;
  z-index: 4;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.val-arch-card:hover .val-arch-badge {
  transform: scale(1.06);
  border-color: #E5B842;
}

.val-arch-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.val-arch-title {
  font-size: 21px;
  font-weight: 700;
  color: #1E4E8C;
  margin-bottom: 8px;
  line-height: 1.25;
}

.val-gold-dash {
  display: block;
  width: 32px;
  height: 2.5px;
  background-color: var(--sub-color);
  border-radius: 2px;
  margin: 0 auto 14px;
}

.val-arch-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4B4B4B;
  font-weight: 400;
}

/* ==========================================================================
   6. CATEGORIES SECTION (Built with Pure HTML/CSS)
   ========================================================================== */
.categories-sec {
  padding: 95px 0 100px;
  background: url('assets/Category/Modern%20Skyscrapers%20with%20Blue%20and%20Gold%20Arcs.png') left center/cover no-repeat, #FFFFFF;
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.cat-feature-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.cat-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(78, 130, 194, 0.16);
  border-color: rgba(78, 130, 194, 0.3);
}

.cat-feature-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #E2E8F0;
}

.cat-feature-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-feature-card:hover .cat-feature-photo {
  transform: scale(1.06);
}

.cat-feature-body {
  padding: 26px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-feature-badge {
  display: inline-block;
  background: var(--main-color-light);
  color: var(--main-color);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.cat-gold-bar {
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--sub-color);
  border-radius: 2px;
  margin: 16px 0 12px;
}

.cat-feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 12px;
}

.cat-feature-desc {
  font-size: 14.4px;
  color: #4B4B4B;
  flex: 1;
}

.cat-feature-footer {
  display: flex;
  justify-content: flex-end;
}

.cat-action-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--main-color);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(78, 130, 194, 0.25);
}

.cat-action-circle:hover {
  background: var(--sub-color);
  transform: translateX(3px) scale(1.05);
}

/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */
.services-sec {
  background: url('assets/ourservices/Modern%20Corporate%20Skyline%20with%20Abstract%20A%20Shape.png') right center/cover no-repeat, #F4F4F4;
  padding: 95px 0 105px;
  position: relative;
  overflow: hidden;
}

.services-bg-artwork {
  position: absolute;
  top: 20px;
  right: 0;
  width: 540px;
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}

.services-3d-asset {
  width: 100%;
  height: auto;
}

.services-header-wrap {
  max-width: 700px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.eyebrow-text {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.services-sec .section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.services-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Tabs Pill */
.services-tabs-container {
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.services-tabs-pill {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.srv-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 14.4px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.srv-tab-btn i {
  font-size: 15px;
}

.srv-tab-btn.active {
  background: var(--main-color);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(78, 130, 194, 0.35);
}

.srv-tab-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.04);
}

/* 14 Services Grid (2 columns) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  position: relative;
  z-index: 2;
}

.service-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(78, 130, 194, 0.12);
  border-color: rgba(78, 130, 194, 0.25);
}

.srv-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.srv-icon-badge.blue-badge {
  background: var(--main-color-light);
  color: var(--main-color);
}

.srv-icon-badge.gold-badge {
  background: var(--sub-color-light);
  color: var(--sub-color);
}

.srv-info {
  flex: 1;
}

.srv-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.service-item-card[hidden] {
  display: none;
}

.srv-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.srv-item-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.srv-item-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sub-color);
}

.srv-item-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.45;
}



/* ==========================================================================
   8. MEET THE MANAGEMENT TEAM SECTION (Pixel-Perfect to Reference Slide)
   ========================================================================== */
.team-sec {
  background:
    linear-gradient(135deg, rgba(8, 23, 54, 0.28) 0%, rgba(10, 31, 74, 0.15) 50%, rgba(8, 23, 54, 0.32) 100%),
    url('assets/our%20peaple/Blue%20and%20Gold%20Corporate%20Skyline.png') center center / cover no-repeat;
  padding: 95px 0 100px;
  position: relative;
  overflow: hidden;
}

.team-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 40px;
}

.team-header-wrap {
  margin-bottom: 44px;
  text-align: left;
}

.team-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.team-eyebrow-dash {
  display: block;
  width: 34px;
  height: 3.5px;
  background-color: var(--sub-color, #DDA136);
  border-radius: 2px;
}

.team-eyebrow-text {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CBD5E1;
}

.team-main-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
}

.team-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #CBD5E1;
  font-weight: 400;
  margin: 0;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.team-profile-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 84%, #EAF1F8 100%);
  border-radius: 22px;
  padding: 10px 10px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(8, 23, 54, 0.24);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.team-profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(8, 23, 54, 0.34);
}

.team-profile-img-wrap {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: #E2E8F0;
  flex-shrink: 0;
}

.team-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}


.team-profile-card:hover .team-profile-photo {
  transform: scale(1.03);
}

.team-profile-body {
  padding: 18px 14px 24px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.team-card-dash {
  display: block;
  width: 32px;
  height: 3.5px;
  background-color: var(--sub-color, #DDA136);
  border-radius: 2px;
  margin: 0 0 12px 0;
}

.team-profile-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #0A2342;
  margin: 0 0 6px 0;
  text-align: left;
  letter-spacing: -0.01em;
}

.team-profile-role {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #5E718D;
  margin: 0;
  text-align: left;
}

/* ==========================================================================
   9. WORK ENVIRONMENT SECTION (Built with Pure HTML/CSS)
   ========================================================================== */
.enviro-sec {
  padding: 95px 0 105px;
  background: url('assets/our%20culture/Elegant%20Blue%20Wave%20Corporate%20Background.png') center/cover no-repeat, #FFFFFF;
  position: relative;
}

.enviro-dots-pattern {
  position: absolute;
  top: 40px;
  left: 30px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.7;
  pointer-events: none;
}

.work-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(78, 130, 194, 0.35);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background: var(--main-color);
  color: #FFFFFF;
  border-color: var(--main-color);
  transform: scale(1.08);
}

/* Infinite slider: the track is the viewport, the rail slides inside it */
.work-cards-track {
  --work-per-view: 4;
  --work-gap: 22px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 14px 6px 34px; /* room for the card hover lift and shadow */
  touch-action: pan-y;
}

.work-cards-rail {
  display: flex;
  gap: var(--work-gap);
  will-change: transform;
}

.work-cards-rail.is-animating {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-env-card {
  flex: 0 0 calc((100% - (var(--work-per-view) - 1) * var(--work-gap)) / var(--work-per-view));
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.work-env-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(78, 130, 194, 0.16);
}

.work-env-img-wrap {
  width: 100%;
  background: #E2E8F0;
}

.work-env-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.work-env-card:hover .work-env-photo {
  transform: scale(1.08);
}

.work-env-body {
  padding: 18px 20px 22px;
}

.work-env-title {
  font-size: 17.5px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 5px;
}

.work-env-sub {
  font-size: 13px;
  color: #64748B;
  line-height: 1.45;
}

.work-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.work-bar {
  display: inline-block;
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: #E2E8F0;
  transition: all 0.3s ease;
}

.work-bar.active {
  background: var(--sub-color);
  width: 32px;
}

/* ==========================================================================
   10. CONTACT US SECTION (Pixel-Perfect to Reference Design)
   ========================================================================== */
.contact-sec {
  background: url('assets/contectus/Modern%20Blue%20Architecture%20Hero%20Banner.png') center center / cover no-repeat;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 2;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-gold-dash {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--sub-color, #DDA136);
  border-radius: 2px;
}

.contact-eyebrow-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E293B;
}

.contact-main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  color: #1E5BB0;
  letter-spacing: -0.015em;
  margin: 0 0 16px 0;
}

.contact-lead {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  max-width: 480px;
  margin: 0 0 32px 0;
  font-weight: 400;
}

/* Unified 3-Column Floating Contact Card */
.contact-combined-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(10, 31, 74, 0.08), 0 2px 6px rgba(10, 31, 74, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 580px;
  width: 100%;
}

.contact-combined-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.contact-combined-item:hover {
  transform: translateY(-3px);
  background-color: rgba(30, 91, 176, 0.03);
}

.cc-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #E8F2FC;
  color: #1E5BB0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-combined-item:hover .cc-icon-circle {
  background: #1E5BB0;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(30, 91, 176, 0.28);
  transform: scale(1.05);
}

.cc-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cc-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E5BB0;
  margin: 0;
  line-height: 1.25;
}

.cc-val {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  white-space: nowrap;
}

.cc-divider {
  width: 1px;
  height: 90px;
  background: #EEF2F6;
  flex-shrink: 0;
}

/* Right Column Google Map Preview Card */
.contact-map-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.map-card-wrapper {
  position: relative;
  border-radius: 22px;
  background: #FFFFFF;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(10, 31, 74, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.85);
  width: 100%;
  max-width: 560px;
  height: 520px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(10, 31, 74, 0.16);
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* ==========================================================================
   11. FOOTER SECTION
   ========================================================================== */
.footer-area {
  background:
    url('assets/footer/Futuristic%20Blue%20Circuit%20Arc.png') right center / cover no-repeat;
  background-color: #050E1B;
  color: #FFFFFF;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-watermark-a {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url('assets/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.025;
  filter: invert(1);
  pointer-events: none;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  max-width: 290px;
}

.social-label {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 16px;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: #FFFFFF;
  color: #1A1A1A;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-list i {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  font-size: 14px;
}

.footer-contact-list a:hover {
  color: var(--main-color);
}

.footer-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--sub-color);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  max-width: 480px;
}

.footer-quote-box p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col-visual {
  display: flex;
  justify-content: center;
}

.footer-padlock-wrap {
  width: 100%;
  max-width: 320px;
}

.footer-lock-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 0 24px rgba(78, 130, 194, 0.4));
  transition: transform 0.5s ease;
}

.footer-padlock-wrap:hover .footer-lock-img {
  transform: scale(1.03);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.legal-sep {
  opacity: 0.5;
}

/* ==========================================================================
   12. CARD HOVER MOTION (Clean Smooth Lift - 3D Perspective Removed)
   ========================================================================== */
.antigravity-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1200px) {
  .values-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .work-cards-track {
    --work-per-view: 3;
  }

  /* Tighter navbars so links don't crowd the logo and Contact button */
  .nav-menu,
  .hero-nav-links {
    gap: 22px;
  }

  .nav-actions,
  .hero-nav-right {
    gap: 12px;
  }

  .btn-contact,
  .hero-btn-contact {
    padding: 8px 18px;
  }
}

@media (max-width: 992px) {
  .sticky-nav-inner {
    padding: 8px 16px;
  }

  .hero-nav-links {
    display: none;
  }

  /* Hero navbar links become a dropdown under the pill */
  .hero-nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  }

  .hero-title {
    font-size: 50px;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    background: #FFFFFF;
    border-radius: 20px;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .about-top-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-main-title {
    font-size: 38px;
  }

  .contact-combined-card {
    max-width: 100%;
  }

  .map-card-wrapper {
    height: 420px;
    max-width: 100%;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-bg-artwork {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-outer {
    padding: 10px 10px 0;
  }

  .hero-card {
    min-height: 580px;
    border-radius: 18px;
  }

  .hero-inline-nav {
    width: calc(100% - 24px);
    padding: 8px 14px;
    margin-top: 14px;
  }

  .team-main-title {
    font-size: 38px;
  }

  /* Phones: drop the Contact Us button so the logo keeps its full size */
  .btn-contact,
  .hero-btn-contact {
    display: none;
  }

  .hero-brand,
  .nav-brand {
    flex-shrink: 0;
  }

  /* Phones: the work slider is driven by swipe + autoplay, no arrow buttons */
  .carousel-nav-btn {
    display: none;
  }

  .hero-content {
    padding: 60px 24px 80px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-notch-cutout {
    padding: 10px 20px 10px 24px;
  }

  .hero-scroll-btn {
    bottom: 20px;
    right: 24px;
    width: 38px;
    height: 38px;
  }

  .section-title {
    font-size: 30px;
  }

  .about-title,
  .services-sec .section-title {
    font-size: 34px;
  }

  .about-cards-row {
    grid-template-columns: 1fr;
  }

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

  .team-cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .work-cards-track {
    --work-per-view: 2;
    --work-gap: 16px;
  }

  .services-tabs-pill {
    flex-wrap: wrap;
    border-radius: 16px;
    width: 100%;
  }

  .srv-tab-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .contact-main-title {
    font-size: 32px;
  }

  .team-main-title {
    font-size: 32px;
  }

  .contact-combined-card {
    flex-direction: column;
    padding: 20px 14px;
    gap: 14px;
  }

  .cc-divider {
    width: 80%;
    height: 1px;
  }

  .map-card-wrapper {
    height: 340px;
    border-radius: 18px;
  }

  .values-cards-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .work-cards-track {
    --work-per-view: 1;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   14. ARABIC / RTL OVERRIDES (html[dir="rtl"] set by the language switcher)
   ========================================================================== */
html[lang="ar"] {
  --font-family: 'Noto Kufi Arabic', 'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

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

html[dir="rtl"] .section-header-center {
  text-align: center;
}

/* Directional arrows point the other way in RTL */
html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-chevron-left,
html[dir="rtl"] .fa-chevron-right {
  transform: scaleX(-1);
}


html[dir="rtl"] .srv-item-list li {
  padding-left: 0;
  padding-right: 14px;
}

html[dir="rtl"] .srv-item-list li::before {
  left: auto;
  right: 0;
}

/* Arabic letters must not be letter-spaced or uppercased */
html[lang="ar"] .eyebrow-text,
html[lang="ar"] .eyebrow-text-white,
html[lang="ar"] .eyebrow-gold,
html[lang="ar"] .contact-eyebrow-text {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .contact-info-col {
  text-align: right;
}

html[dir="rtl"] .contact-eyebrow-row {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

html[dir="rtl"] .contact-lead {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .footer-quote-box {
  border-left: 0;
  border-right: 3px solid var(--sub-color);
}

/* Arabic glyphs are taller; give multi-line headings more room */
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title {
  line-height: 1.4;
}