/* ===== CSS VARIABLES ===== */
:root {
  --primary-900: #390206;
  --primary-800: #520308;
  --primary-700: #6b030b;
  --primary-600: #85040d;
  --primary-500: #9e0510;
  --primary-400: #ae2d36;
  --primary-300: #bd555c;
  --primary-200: #cd7d83;
  --primary-100: #dca5a9;
  --blue-900: #0c0b15;
  --blue-800: #11101f;
  --blue-700: #161428;
  --blue-600: #1c1932;
  --blue-500: #211e3b;
  --blue-400: #45425a;
  --blue-300: #68667a;
  --blue-50: #c1c0c8;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f5;
  --bg-default: #ffffff;
  --text-fg: #09090b;
  --text-muted: #52525b;
  --text-inv: #fafafa;
  --font: "Montserrat", sans-serif;
  --header-nav-top: 14px;
  --header-nav-width: 780px;
  --header-nav-radius: 4px;
  --header-bottom-pad: 20px;
  --header-title-max: 850px;
  --header-side-pad: 36px;

  /* ===== UNIFIED DESIGN TOKENS ===== */
  --radius-sm: 2px; /* buttons, badges, small chips */
  --radius-md: 4px; /* cards, containers, inputs */
  --card-bg: #f4f4f5; /* unified card surface */
  --card-bg-media: #efefef; /* card media/image area */
  --card-border: #e4e4e7; /* unified card border */
  --card-pad: 24px 28px; /* card content padding */
  --section-py: 100px; /* section vertical padding */
  --grid-gap: 20px; /* standard grid gap */
  --gap-sm: 12px; /* small internal gap */
  --gap-md: 20px; /* medium gap */
  --gap-lg: 32px; /* large gap */
  --section-bg-alt: #dfdfe2; /* alternating section background */
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg-subtle);
  color: var(--text-fg);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 52px;
}
.section-pad {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  .section-pad {
    padding: 72px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section-pad {
    padding: 60px 0;
    min-height: 100vh;
  }
  .article-8 {
    display: none;
  }
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  position: relative;
}
.section-title.has-shape {
  isolation: isolate;
}
.section-title.has-shape::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background: url("images/icon/section-shape.svg") no-repeat center / contain;
  z-index: -1;
  pointer-events: none;
}
.section-subtitle {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-fg);
  max-width: 476px;
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
}
.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-600);
  color: #fff;
  border: 2px solid var(--primary-600);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 1px;
  background: var(--primary-800);
}
.btn-primary:hover {
  background: var(--primary-700);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-fg);
  border: 2px solid var(--primary-600);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s;
}
.btn-outline:hover {
  background: rgba(133, 4, 13, 0.06);
}
.btn-arrow {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.btn-outline img[src*="icon custom btn"],
.stories-btn img[src*="icon custom btn"] {
  filter: brightness(0);
}

/* ── Popup ── */
.wp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.94);
  z-index: 9999;
  display: flex;
  align-items: stretch;
  width: min(720px, 92vw);
  border-radius: 20px;
  overflow: hidden;
  background: #e8e8f0;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: wpSlideIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) 0.35s forwards;
}
.wp-popup.hidden {
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

@keyframes wpFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes wpSlideIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ── Close button ── */
.wp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.wp-close:hover {
  background: rgba(0, 0, 0, 0.22);
  transform: scale(1.1);
}
.wp-close svg {
  width: 16px;
  height: 16px;
}
/* ── Text side ── */
.wp-text {
  flex: 2;
  padding: 10px 10px;
  display: flex;
  background-color: #b4cbff;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.wp-pre {
  font-size: 14px;
  color: #555;
  margin: 0;
  font-family: var(--font, inherit);
}

.wp-headline {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  font-family: var(--font, inherit);
}

/* ── Video side ── */
.wp-video-wrap {
  flex: 1.5;
  position: relative;
  background: #111;
  overflow: hidden;
}
.wp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wp-play-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.2s,
    background 0.2s;
}
.wp-video-wrap:hover .wp-play-btn {
  opacity: 1;
}
.wp-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.wp-play-btn svg {
  width: 16px;
  height: 16px;
}

/* ── Floating Action Button ── */
.wp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9997;
  width: 100px;
  height: 56px;
  border-radius: 50%;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0) translateY(20px);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  pointer-events: none;
}
.wp-fab.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: wpFabIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
/* .wp-fab:hover {
        background: var(--primary-400, #e05a62);
        box-shadow: 0 8px 28px rgba(224, 90, 98, 0.4);
        transform: scale(1.1) translateY(0);
      } */
.wp-fab img {
  width: 100px;
  height: 56px;
}

@keyframes wpFabIn {
  from {
    opacity: 0;
    transform: scale(0) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Tooltip */
.wp-fab-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 18, 35, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: var(--font, inherit);
}
.wp-fab:hover .wp-fab-tooltip {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .wp-popup {
    flex-direction: column;
    width: 92vw;
  }
  .wp-video-wrap {
    flex: 1.5;
    order: 1;
  }
  .wp-text {
    padding: 28px 24px;
    order: 1;
  }
  .wp-pre {
    font-size: 10px;
  }
  .wp-headline {
    font-size: 12px;
  }
  .wp-fab {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
.wp-combined-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.invite-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  background: #8b1a22;
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  order: 2;
}
.invite-submit:hover {
  background: #a02028;
}

.wp-inline-card {
  height: 90px;
  width: 100%;
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
}

/* الموبايل */
@media (max-width: 600px) {
  .wp-combined-row {
    flex-direction: column;
    width: 100%;
  }
  .invite-submit {
    border-radius: 0 0 10px 10px;
    justify-content: center;
    order: 2;
  }
  .wp-inline-card {
    border-radius: 10px;
    order: 1;
  }
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  gap: 30px;
  top: var(--header-nav-top);
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.navbar-inner {
  pointer-events: auto;
  width: min(var(--header-nav-width), calc(100vw - 48px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  background: rgba(231, 226, 226, 0.795);
  border: 1px solid rgba(227, 218, 218, 0.2);
  border-radius: var(--header-nav-radius);
  backdrop-filter: blur(5px);
  /* box-shadow: 0 1px 0 rgba(255,255,255,0.4); */
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.63);
  border-color: rgba(17, 16, 31, 0.08);
  /* box-shadow: 0 10px 24px rgba(17,16,31,0.12); */
}
.navbar-logo {
  min-width: 126px;
  display: flex;
  align-items: center;
}
.navbar-logo img {
  height: 28px;
  width: auto;
}
.navbar-logo-text {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar-logo-text span {
  background: var(--primary-400);
  color: #fff;
  padding: 0 4px;
  border-radius: 2px;
}
.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 24px;
}
.navbar-links a {
  padding: 2px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-fg);
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.navbar-links a:hover {
  color: var(--primary-600);
}
.navbar-links a.active {
  color: var(--primary-400);
  border-bottom-color: var(--primary-400);
}
.navbar-mobile-toggle {
  justify-self: end;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-fg);
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 1100px) {
  :root {
    --header-nav-width: 730px;
    --header-side-pad: 30px;
  }
  .navbar-links {
    gap: 18px;
  }
  .navbar-links a {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    padding: 0 16px;
    pointer-events: auto;
  }
  .navbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    position: relative;
  }
  .navbar-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.12),
      0 2px 6px rgba(0, 0, 0, 0.06);
    gap: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  .navbar-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .navbar-links a {
    padding: 12px 20px;
    width: 100%;
    border-radius: 4px;
    font-size: 15px;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }
  .navbar-links a:hover,
  .navbar-links a.active {
    background: rgba(133, 4, 13, 0.06);
  }
  .navbar-mobile-toggle {
    display: flex;
  }
}

/* ===================== HERO ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #ececf1;
}
.hero-main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-end;
}
.hero-shape-rail {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  padding-right: clamp(40px, 5vw, 80px);
  z-index: 3;
  pointer-events: none;
}
.hero-letter {
  width: clamp(50px, 5vw, 160px);
  height: auto;
  display: block;
}
.hero-bg {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 246, 249, 0.08) 45%,
    rgba(248, 248, 250, 0.78) 82%,
    rgba(248, 248, 250, 0.9) 100%
  );
  z-index: 2;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  padding: clamp(108px, 17vh, 150px) 52px clamp(24px, 5vh, 42px);
  display: flex;
  align-items: flex-end;
}
.hero-title-block {
  max-width: var(--header-title-max);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-title {
  font-size: clamp(48px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.7px;
  color: var(--text-fg);
}
.hero-sub {
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: #60616e;
}

@media (max-width: 1024px) {
  .hero-content {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero-title {
    font-size: clamp(42px, 5vw, 56px);
  }
  .hero-sub {
    font-size: clamp(18px, 2.3vw, 30px);
  }
}
@media (max-width: 768px) {
  #hero {
    min-height: 90vh;
    margin-bottom: 48px;
  }
  .hero-main {
    width: 100%;
  }
  .hero-shape-rail {
    height: 90vh;
    padding-right: 16px;
    gap: 16px;
  }
  .hero-letter {
    width: clamp(50px, 12vw, 80px);
  }
  .hero-content {
    min-height: 90vh;
    padding: 116px 20px 36px;
  }
  .hero-title {
    font-size: clamp(34px, 9vw, 46px);
    letter-spacing: -0.4px;
  }
  .hero-sub {
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1.3;
  }
}

/* ===================== AI-POWERED ===================== */
#ai-powered {
  background: var(--bg-subtle);
}
#ai-powered .section-subtitle {
  margin-top: 16px;
  max-width: 460px;
  color: #22212b;
  font-size: 16px;
  line-height: 1.45;
}
.cards-grid {
  display: grid;
  gap: var(--grid-gap);
}
.cards-row {
  display: grid;
  grid-template-columns: 57.5fr 40.5fr;
  gap: var(--grid-gap);
}
.cards-row-2 {
  display: grid;
  grid-template-columns: 40.5fr 57.5fr;
  gap: var(--grid-gap);
}
.ai-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 325px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cards-row-2 .ai-card {
  justify-content: flex-start;
}
.ai-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 38%,
    rgba(0, 0, 0, 0.34) 100%
  );
}
.cards-row-2 .ai-card::after {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.02) 38%,
    rgba(0, 0, 0, 0.34) 100%
  );
}
.ai-card-bg {
  position: absolute;
  inset: 0;
}
.ai-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-card-bg::before,
.ai-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}
.ai-card-text {
  position: relative;
  z-index: 2;
  padding: 28px 28px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-card-text h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.ai-card-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.ai-card.red-deep {
  background: #a4030f;
}
.ai-card.navy {
  background: #171833;
}
.ai-card.blue-mid {
  background: #211e3b;
}
.ai-card.red-dark {
  background: #6b030b;
}
@media (max-width: 900px) {
  .cards-row,
  .cards-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ===================== AI-POWERED DIGITAL EXPERIENCE ===================== */
#digital-experience {
  background: var(--section-bg-alt);
  padding: var(--section-py) 0;
}
#digital-experience .section-header {
  margin-bottom: 48px;
}
#digital-experience .section-title {
  font-size: clamp(30px, 4.5vw, 58px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.dexp-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}
/* Bento layout: wide/narrow alternating rows */
.dexp-card:nth-child(1) {
  grid-column: 1 / 8;
} /* wide left */
.dexp-card:nth-child(2) {
  grid-column: 8 / 13;
} /* narrow right */
.dexp-card:nth-child(3) {
  grid-column: 1 / 6;
} /* narrow left */
.dexp-card:nth-child(4) {
  grid-column: 6 / 13;
} /* wide right */
.dexp-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.dexp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.dexp-card__media {
  overflow: hidden;
  background: var(--card-bg-media);
}
.dexp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dexp-media-tall {
  height: 278px;
  padding: 12px 14px 0;
  position: relative;
}
.dexp-media-tall img {
  object-position: center center;
  border-radius: var(--radius-md);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 65% at center center,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 65% at center center,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}
.dexp-media-compact {
  height: 245px;
  padding: 20px 22px 0;
}
.dexp-media-center img {
  object-fit: contain;
  object-position: center top;
}
.dexp-media-wide {
  height: 210px;
  padding: 16px 18px 0;
}
.dexp-media-wide img {
  object-position: center top;
  border-radius: var(--radius-md);
}
.dexp-card__media {
  flex-shrink: 0;
}
.dexp-card__content {
  padding: var(--card-pad);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dexp-card__content h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text-fg);
}
.dexp-card__content p {
  margin: 0;
  max-width: 32ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-muted);
}
@media (max-width: 980px) {
  #digital-experience {
    padding: 64px 0 84px;
  }
  .dexp-grid {
    grid-template-columns: 1fr;
  }
  .dexp-card:nth-child(1),
  .dexp-card:nth-child(2),
  .dexp-card:nth-child(3),
  .dexp-card:nth-child(4) {
    grid-column: auto;
  }
  .dexp-media-tall,
  .dexp-media-compact,
  .dexp-media-wide {
    height: 240px;
  }
  .dexp-card__content {
    min-height: auto;
  }
}
@media (max-width: 600px) {
  #digital-experience {
    padding: 52px 0 68px;
  }
  .dexp-grid {
    gap: 16px;
  }
  .dexp-card__content {
    padding: 18px 18px 22px;
  }
  .dexp-card__content h3 {
    font-size: 1.2rem;
  }
  .dexp-card__content p {
    font-size: 0.95rem;
  }
  .dexp-media-tall,
  .dexp-media-compact,
  .dexp-media-wide {
    height: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ===================== SUCCESS STORIES ===================== */
#success {
  background: var(--section-bg-alt);
  position: relative;
  overflow: hidden;
}
#success .container {
  position: relative;
  z-index: 1;
}
#success .section-header-row {
  margin-bottom: 26px;
}
#success .section-title {
  font-size: clamp(30px, 4.5vw, 58px);
  letter-spacing: -0.5px;
}
#success .section-subtitle {
  margin-top: 28px;
  max-width: 460px;
  color: #22212b;
  font-size: 16px;
  line-height: 1.45;
}
.stories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-600);
  color: #11101f;
  background: transparent;
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s;
}
.stories-btn:hover {
  background: rgba(133, 4, 13, 0.06);
}
.stories-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stories-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  height: 520px;
  max-width: 100%;
}
.story-main {
  position: relative;
  border-radius: 0 220px 220px 0;
  overflow: hidden;
  height: 100%;
}
.story-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  color: transparent;
}
.story-main-overlay {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.65) 35%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent 100%
  );
  padding: 28px 28px 22px;
  padding-right: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.story-main-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 340px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.story-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-expand-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.story-expand-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
}
.story-expand-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.story-expand-btn.expanded svg {
  transform: rotate(180deg);
}
/* Details panel */
.story-details-panel {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 20, 0.6) 0%,
    rgba(20, 15, 40, 0.65) 100%
  );
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 36px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.story-details-panel.visible {
  opacity: 1;
  visibility: visible;
}
.story-details-title {
  display: none;
}
.story-details-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  max-width: 65%;
}
.story-details-panel {
  cursor: pointer;
}
.story-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
  flex-shrink: 0;
}
.story-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.story-nav-btn.prev {
  background: #07070d;
  border-color: #07070d;
}
.story-nav-btn.next {
  background: var(--primary-600);
  border-color: var(--primary-600);
}
.story-nav-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.story-counter {
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 100%;
}
.story-grid-item {
  position: relative;
  overflow: hidden;
}
.story-grid-item:nth-child(1) {
  border-radius: 170px 0 0 0;
}
.story-grid-item:nth-child(2) {
  border-radius: 50%;
}
.story-grid-item:nth-child(3) {
  border-radius: 0 0 170px 0;
}
.story-grid-item:nth-child(4) {
  border-radius: 170px 0 0 0;
}
.story-grid-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: inherit;
  display: block;
  color: transparent;
}
@media (max-width: 1100px) {
  .story-main-title {
    font-size: 16px;
  }
  .stories-layout {
    height: 440px;
  }
}
@media (max-width: 900px) {
  #success::before {
    width: 84px;
    height: 84px;
    border-radius: 0 0 84px 0;
  }
  .stories-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: hidden;
  }
  .story-main {
    border-radius: 18px;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .story-grid {
    height: auto;
  }
  .story-grid-item {
    aspect-ratio: 1 / 1;
  }
  .story-grid-item,
  .story-grid-item:nth-child(1),
  .story-grid-item:nth-child(2),
  .story-grid-item:nth-child(3),
  .story-grid-item:nth-child(4) {
    border-radius: 18px;
  }
  .story-main-title {
    font-size: 16px;
    max-width: 100%;
  }
  .story-counter {
    font-size: 16px;
  }
  .story-details-panel {
    padding: 20px 18px;
  }
  .story-details-desc {
    font-size: 12px;
    line-height: 1.5;
    max-width: 90%;
  }
}

/* ===================== AWARDS ===================== */
/* ── Section shell ── */
#awards {
  background: var(--blue-600, #0f0e1a);
  color: #fff;
  padding: var(--section-py, 96px) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#awards::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 30%,
      rgba(174, 45, 54, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(40, 35, 80, 0.45) 0%,
      transparent 55%
    );
  pointer-events: none;
}
#awards .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.aw-header {
  margin-bottom: 12px;
}
.aw-header h2 {
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}

/* ── Subtitle ── */
.aw-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 48px;
}

/* ── Two-column layout ── */
.aw-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── LEFT: list ── */
.aw-list {
  display: flex;
  flex-direction: column;
  /* vertically center with the strip */
  padding-top: 8px;
}

.aw-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}
.aw-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.aw-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--primary-400, #e05a62);
  border-radius: 2px;
  transition: height 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.aw-item.active::before {
  height: 60%;
}

.aw-item-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  min-width: 22px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.aw-item-title {
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  flex: 1;
  line-height: 1.35;
  transition:
    color 0.3s,
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  transform: translateX(0);
}

.aw-item.active .aw-item-num {
  color: var(--primary-400, #e05a62);
  margin-left: 5px;
}
.aw-item.active .aw-item-title {
  color: var(--primary-400, #e05a62);
  transform: translateX(6px);
}
.aw-item:hover .aw-item-num {
  color: rgba(255, 255, 255, 0.4);
}
.aw-item:hover .aw-item-title {
  color: rgba(255, 255, 255, 0.7);
  transform: translateX(4px);
}

/* ── RIGHT: vertical strip wrapper ── */
.aw-strip-wrap {
  position: relative;
  /* fade top & bottom */
}
.aw-strip-wrap::before,
.aw-strip-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}
.aw-strip-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--blue-600, #0f0e1a), transparent);
}
.aw-strip-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--blue-600, #0f0e1a), transparent);
}

/* ── Vertical scrollable strip ── */
.aw-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  max-width: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.aw-strip::-webkit-scrollbar {
  display: none;
}

/* ── Image cards ── */
.aw-img-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  /* inactive: small */
  height: 214px;
  width: 382px;
  transition:
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
}
/* active: big */
.aw-img-card.active {
  height: 240px;
  border-color: var(--primary-400, #e05a62);
}

.aw-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.aw-img-card:hover img {
  transform: scale(1.04);
}

/* overlay — shown on inactive cards */
.aw-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 20, 0.62);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  transition: opacity 0.4s ease;
}
/* active card: lighter overlay (just bottom gradient) */
.aw-img-card.active .aw-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.aw-card-num {
  font-size: 10px;
  font-weight: 700;
  display: none;
  color: var(--primary-400, #e05a62);
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}
.aw-card-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  /* hide label on small inactive cards */
  display: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .aw-layout {
    gap: 32px;
  }
  .aw-strip {
    max-height: 420px;
  }
  .aw-img-card.active {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .aw-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* mobile: horizontal strip */
  .aw-strip-wrap::before,
  .aw-strip-wrap::after {
    width: 60px;
    height: auto;
    top: 0;
    bottom: 0;
    left: auto;
    right: auto;
  }
  .aw-strip-wrap::before {
    left: 0;
    background: linear-gradient(
      to right,
      var(--blue-600, #0f0e1a),
      transparent
    );
  }
  .aw-strip-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--blue-600, #0f0e1a), transparent);
  }
  .aw-strip {
    flex-direction: row;
    max-height: none;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 16px;
  }
  .aw-img-card {
    height: 110px;
    width: 140px;
  }
  .aw-img-card.active {
    height: 110px;
    width: 220px;
  }
  .aw-item {
    padding: 14px 0;
  }
}
@media (max-width: 480px) {
  .aw-item-title {
    font-size: 13px;
  }
  .aw-img-card {
    width: 120px;
  }
  .aw-img-card.active {
    width: 190px;
  }
}

/* ===================== PARTNERSHIPS ===================== */
#partnerships {
  background: var(--section-bg-alt, #f0eff5);
  padding: var(--section-py, 96px) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Title */
.tp-title-wrap {
  text-align: center;
  margin-bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tp-quote {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.tp-title-wrap h2 {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.7px;
  color: var(--blue-500, #1c1932);
  line-height: 1;
}

/* Strip wrapper — full bleed */
.tp-strip-wrap {
  position: relative;
  margin-bottom: 20px;
}
.tp-strip-wrap:last-of-type {
  margin-bottom: 0;
}

/* Fade edges */
.tp-fade-l,
.tp-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.tp-fade-l {
  left: 0;
  background: linear-gradient(
    to right,
    var(--section-bg-alt, #f0eff5),
    transparent
  );
}
.tp-fade-r {
  right: 0;
  background: linear-gradient(
    to left,
    var(--section-bg-alt, #f0eff5),
    transparent
  );
}

/* Scrollable strip */
.tp-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.tp-strip:active {
  cursor: grabbing;
}
.tp-strip::-webkit-scrollbar {
  display: none;
}

/* Logo card — uniform size, white bg */
.tp-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tp-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.tp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-width: 80%; /* ← يضمن أن الصورة لا تصغر أكثر من 80% من المربع */
  min-height: 80%;
}

/* Responsive */
@media (max-width: 1024px) {
  .tp-logo {
    width: 140px;
    height: 140px;
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .tp-logo {
    width: 120px;
    height: 120px;
    padding: 18px;
  }
  .tp-strip {
    gap: 12px;
    padding: 12px 16px;
  }
  .tp-fade-l,
  .tp-fade-r {
    width: 48px;
  }
  .tp-title-wrap {
    margin-bottom: 36px;
  }
}

/* ===================== RESEARCH ===================== */
#research {
  background: #fafafa;
  color: var(--text-fg);
  position: relative;
  overflow: hidden;
}
#research .research-bg {
  position: absolute;
  inset: 0;
  background: url("images/bg Research & Case Studies.png") center/cover
    no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
/* Decorative background circles */
#research::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.025);
  top: -120px;
  right: -160px;
  pointer-events: none;
  z-index: 0;
}
#research::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  bottom: -80px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}
#research .container {
  position: relative;
  z-index: 1;
}

/* Section header — left-aligned */
.research-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
}
.research-header h2 {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text-fg);
}
.research-header p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

/* Card grid layout */
.research-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.research-item {
  display: block;
}
.research-item .research-text {
  display: none;
}

/* Image container with overlay text */
.research-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.research-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.research-item:hover .research-img img {
  transform: scale(1.04);
}
/* Capsule / teardrop radius variants */
.research-img.shape-br {
  border-radius: 4px 4px 250px 4px;
}
.research-img.shape-tl-bl {
  border-radius: 200px 4px 4px 200px;
}
.research-img.shape-tl {
  border-radius: 200px 4px 4px 4px;
}

/* Gradient overlay on image for text legibility */
.research-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Text overlaid on image */
.research-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  z-index: 2;
  color: #fff;
}
.research-img-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}
.research-img-title {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.35;
}

/* Text block beside image */
.research-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.research-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.research-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-fg);
}
.research-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* View All Studies button */
.research-more {
  text-align: center;
  margin-top: 72px;
}
.research-more .btn-outline {
  border-color: var(--text-muted);
  color: var(--text-fg);
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.research-more .btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
  background: rgba(133, 4, 13, 0.04);
}

/* Third decorative circle (via extra element) */
.research-bg-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.018);
  top: 45%;
  left: 55%;
  pointer-events: none;
  z-index: 0;
}

/* Responsive — tablet */
@media (max-width: 1024px) {
  .research-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .research-img img {
    height: 400px;
  }
}
/* Responsive — mobile */
@media (max-width: 768px) {
  .research-layout {
    grid-template-columns: 1fr;
  }
  .research-img img {
    height: 340px;
  }
  .research-img-overlay {
    padding: 20px 24px;
  }
  .research-layout {
    gap: 48px;
  }
  .research-header {
    margin-bottom: 40px;
  }
  #research::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -100px;
  }
  #research::after {
    width: 240px;
    height: 240px;
  }
  .research-bg-circle {
    width: 200px;
    height: 200px;
  }
}

/* ===================== MEET TEAM ===================== */
.meet-team-section {
  position: relative;
  overflow: visible;
  padding: var(--section-py) 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(
      circle at left 75%,
      rgba(142, 0, 27, 0.35),
      transparent 28%
    ),
    linear-gradient(180deg, #05051b 0%, #06061d 45%, #200818 100%);
}
.meet-team-section .team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 52px;
}
.meet-team-section .team-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 42px;
}
.meet-team-section .team-heading {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}
.meet-team-section .team-heading-accent {
  width: 36px;
  height: 36px;
  display: inline-block;
  object-fit: contain;
}
.meet-team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 42px;
}
.meet-team-section .team-card {
  position: relative;
  overflow: hidden;
}
.meet-team-section .team-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.meet-team-section .team-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  padding: 16px 16px 14px;
  background: rgba(4, 4, 16, 0.78);
}

.meet-team-section .team-name {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.meet-team-section .team-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 1100px) {
  .meet-team-section .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .meet-team-section {
    padding: 72px 16px 84px;
  }
  .meet-team-section .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .meet-team-section .team-heading {
    font-size: 28px;
    padding: 0 12px;
  }
  .meet-team-section .team-heading-accent {
    width: 28px;
    height: 28px;
  }
}

/* ===================== GET IN TOUCH CARD ===================== */
.git-card {
  position: relative;
  z-index: 100;
  margin-top: 60px;
  transform: translateY(50%);
}
.git-card-inner {
  position: relative;
  background: var(--primary-600);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 56px;
  gap: 4px;
  min-height: 288px;
}
.git-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 518px;
  max-width: 100%;
  z-index: 1;
}
.git-card-text h2 {
  font-size: 36px;
  font-weight: 600;
  color: #fafafa;
  line-height: 44px;
}
.git-card-text p {
  font-size: 20px;
  color: #fafafa;
  line-height: 30px;
  max-width: 518px;
}
.git-card-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #211e3b;
  border: 2px solid #1c1932;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 2px;
  min-width: 48px;
  width: fit-content;
  backdrop-filter: blur(3px);
  transition: opacity 0.2s;
}
.git-card-btn:hover {
  opacity: 0.88;
}
.git-card-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.git-card-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 575px;
  height: 100%;
  opacity: 0.32;
}
.git-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.git-card-inner::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 1px;
  background: #520308;
}
@media (max-width: 900px) {
  .git-card-inner {
    flex-direction: column;
    padding: 40px 32px;
  }
  .git-card-img {
    position: absolute;
    width: 100%;
  }
}

/* ===================== INVITE / CONTACT SECTION ===================== */
.invite-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.invite-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.invite-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.invite-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 11, 21, 0.88) 0%,
    rgba(12, 11, 21, 0.72) 50%,
    rgba(12, 11, 21, 0.55) 100%
  );
  z-index: 1;
}
.invite-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 52px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.invite-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.invite-badge {
  display: inline-block;
  background: var(--primary-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  width: fit-content;
}
.invite-text h2 {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 420px;
}
.invite-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 400px;
}

/* ---- Invite form ---- */
.invite-form-wrap {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.invite-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.invite-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.invite-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.field-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}
.invite-field input,
.invite-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  box-sizing: border-box;
}
.invite-field input::placeholder,
.invite-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.invite-field input:focus,
.invite-field textarea:focus {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.1);
}
.invite-field textarea {
  resize: vertical;
  min-height: 72px;
}
.invite-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-600);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  width: fit-content;
  align-self: flex-start;
}
.invite-submit:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}
.invite-submit svg {
  transition: transform 0.2s;
}
.invite-submit:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .invite-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 32px;
  }
  .invite-text {
    align-items: center;
    text-align: center;
  }
  .invite-text h2 {
    max-width: none;
  }
  .invite-text p {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .invite-inner {
    padding: 48px 20px;
  }
  .invite-row {
    grid-template-columns: 1fr;
  }
  .invite-form-wrap {
    padding: 28px 20px;
  }
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--blue-800);
  color: var(--text-inv);
  position: relative;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 31, 0.25);
  z-index: 1;
}

/* ---- Footer body ---- */
.footer-body {
  padding: 80px 52px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand-logo img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-brand-logo span {
  background: var(--primary-400);
  color: #fff;
  padding: 1px 5px;
  border-radius: 2px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--blue-50);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--blue-50);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--blue-50);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  filter: brightness(0) invert(0.75);
  transition: filter 0.2s;
  flex-shrink: 0;
}
.footer-col ul li a:hover .footer-icon {
  filter: brightness(0) invert(1);
}

/* ---- Footer bottom ---- */
.footer-bottom {
  margin: 48px auto 0;
  padding: 24px 52px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--blue-50);
  gap: 16px;
  flex-wrap: wrap;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .footer-body,
  .footer-bottom {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 600px) {
  .footer-body {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-bottom {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}

/* ===== SECTION ICON BADGE ===== */
.section-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* ============================================================
       COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
       ============================================================ */

@media (max-width: 480px) {
  /* ── Global ── */
  .container {
    padding: 0 16px;
  }
  .section-pad {
    padding: 60px 0;
    min-height: 100vh;
  }

  /* ── Navbar ── */
  .navbar {
    top: 8px;
    padding: 0 10px;
  }
  .navbar-inner {
    padding: 10px 14px;
  }
  .navbar-logo-text {
    font-size: 17px;
  }

  /* ── Hero ── */
  #hero {
    min-height: 100vh;
  }
  .hero-content {
    min-height: 100vh;
    padding: 100px 16px 28px;
  }
  .hero-title {
    font-size: clamp(30px, 9vw, 42px);
  }
  .hero-sub {
    font-size: clamp(16px, 4.5vw, 22px);
  }

  /* ── AI-Powered Cards ── */
  .ai-card {
    min-height: 260px;
  }
  .ai-card-text {
    padding: 24px 20px;
  }
  .ai-card-text h3 {
    font-size: 18px;
  }
  .ai-card-text p {
    font-size: 14px;
  }

  /* ── Success Stories ── */
  #success .section-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  .story-main {
    min-height: 300px;
    border-radius: 0 120px 120px 0;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .story-grid-item {
    min-height: 140px;
  }

  /* ── Awards ── */
  #awards {
    padding: 64px 0 56px;
    min-height: 100vh;
  }
  .aw-header h2 {
    font-size: clamp(24px, 7vw, 36px);
  }
  .aw-subtitle {
    margin-bottom: 40px;
    font-size: 14px;
  }
  .aw-title-item-text {
    font-size: 14px;
  }
  .aw-images-grid {
    gap: 10px;
  }

  /* ── Partnerships ── */
  #partnerships {
    padding: 64px 0 56px;
    min-height: 100vh;
  }
  .tp-title-wrap h2 {
    font-size: 28px;
  }
  .tp-title-wrap {
    margin-bottom: 28px;
  }

  /* ── Research & Case Studies ── */
  #research {
    min-height: 100vh;
  }
  .research-header {
    margin-bottom: 28px;
  }
  .research-header h2 {
    font-size: clamp(24px, 7vw, 36px);
  }
  .research-text {
    display: none;
  }
  .research-img img {
    height: 260px;
  }
  .research-img-overlay {
    padding: 16px 18px;
  }
  .research-img-title {
    font-size: 15px;
  }
  .research-layout {
    gap: 24px;
  }
  .research-more {
    margin-top: 40px;
  }

  /* ── Meet Our Team ── */
  .meet-team-section {
    padding: 56px 12px 60px;
    min-height: 100vh;
    overflow: hidden;
  }
  .meet-team-section .team-container {
    padding: 0 8px;
  }
  .meet-team-section .team-heading {
    font-size: 24px;
  }
  .meet-team-section .team-heading-accent {
    width: 22px;
    height: 22px;
  }
  .meet-team-section .team-heading-wrap {
    margin-bottom: 28px;
  }
  .meet-team-section .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
    margin: 0 auto;
  }
  .meet-team-section .team-card {
    max-width: 100%;
    border-radius: 12px;
  }
  .meet-team-section .team-image {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    object-position: top center;
  }
  .meet-team-section .team-info {
    left: 10px;
    right: 10px;
    padding: 12px 14px 10px;
  }
  .meet-team-section .team-name {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .meet-team-section .team-role {
    font-size: 11px;
  }

  /* ── Get In Touch Card ── */
  .git-card {
    margin-top: 36px;
  }
  .git-card-inner {
    padding: 28px 18px;
    min-height: auto;
    flex-direction: column;
  }
  .git-card-text h2 {
    font-size: 22px;
  }
  .git-card-text p {
    font-size: 13px;
  }
  .git-card-btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  /* ── Invite / Contact ── */
  .invite-section {
    padding-top: 100px;
    min-height: 100vh;
  }
  .invite-inner {
    padding: 40px 16px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .invite-text {
    align-items: center;
    text-align: center;
  }
  .invite-badge {
    font-size: 10px;
    padding: 5px 12px;
  }
  .invite-text h2 {
    font-size: clamp(20px, 6vw, 28px);
    max-width: none;
  }
  .invite-text p {
    font-size: 13px;
    max-width: none;
  }
  .invite-form-wrap {
    padding: 22px 16px;
  }
  .invite-row {
    grid-template-columns: 1fr;
  }
  .invite-field label {
    font-size: 11px;
  }
  .invite-field input,
  .invite-field textarea {
    font-size: 13px;
    padding: 10px 12px;
  }
  .invite-submit {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13px;
  }

  /* ── Footer ── */
  .footer-body {
    grid-template-columns: 1fr;
    padding: 48px 16px 32px;
    gap: 28px;
  }
  .footer-brand-logo {
    font-size: 18px;
  }
  .footer-brand p {
    font-size: 13px;
  }
  .footer-col h4 {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .footer-col ul li a {
    font-size: 13px;
  }
  .footer-bottom {
    padding: 20px 16px 32px;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
  }
}

/* ── Additional fix: team section for tablets (641–900px) ── */
@media (min-width: 641px) and (max-width: 900px) {
  .meet-team-section .team-container {
    padding: 0 20px;
  }
  .meet-team-section .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .meet-team-section .team-image {
    max-height: 450px;
    object-fit: cover;
    object-position: top center;
  }
}
/* ── Team section phone fix (≤640px) ── */
@media (max-width: 640px) {
  .meet-team-section {
    padding: 56px 0 60px;
    min-height: auto;
    overflow: hidden;
  }
  .meet-team-section .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .meet-team-section .team-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .meet-team-section .team-heading-wrap {
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
    overflow: hidden;
  }
  .meet-team-section .team-heading {
    font-size: 20px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
  .meet-team-section .team-heading-accent {
    display: none;
  }
  .meet-team-section .team-grid {
    gap: 16px;
  }
  .meet-team-section .team-card {
    border-radius: 12px;
  }
  .meet-team-section .team-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    object-position: top center;
  }
  .meet-team-section .team-info {
    left: 10px;
    right: 10px;
    padding: 12px 14px 10px;
  }
  .meet-team-section .team-name {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .meet-team-section .team-role {
    font-size: 11px;
  }
}

/* ── Prevent horizontal overflow globally ── */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
  .meet-team-section {
    overflow: hidden;
  }
  .research-text {
    display: none;
  }
  .research-item,
  .research-item.reversed {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
       ENHANCED ANIMATIONS & HOVER EFFECTS
       ============================================================ */

/* ===== PAGE LOAD ANIMATION ===== */
body {
  opacity: 0;
  animation: pageLoad 0.8s ease forwards;
  animation-delay: 0.1s;
}
@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== ADDITIONAL SCROLL-IN ANIMATION CLASSES ===== */

/* Fade from left */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-left.visible {
  opacity: 1;
  transform: none;
}

/* Fade from right */
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-right.visible {
  opacity: 1;
  transform: none;
}

/* Scale up with fade */
.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children: parent applies sequential delays to animated children */
.stagger-children > .fade-up,
.stagger-children > .fade-left,
.stagger-children > .fade-right,
.stagger-children > .scale-up {
  transition-delay: calc(var(--stagger-i, 0) * 0.08s);
}

/* Shared delay modifiers for all new animation types */
.fade-left.fade-up-delay-1,
.fade-right.fade-up-delay-1,
.scale-up.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-left.fade-up-delay-2,
.fade-right.fade-up-delay-2,
.scale-up.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-left.fade-up-delay-3,
.fade-right.fade-up-delay-3,
.scale-up.fade-up-delay-3 {
  transition-delay: 0.3s;
}

/* will-change hint applied via JS before animation, removed after */
.will-animate {
  will-change: opacity, transform;
}

/* ===== ENHANCED TEAM CARD HOVER ===== */
.meet-team-section .team-card {
  transition: box-shadow 0.35s ease;
}
.meet-team-section .team-image {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.meet-team-section .team-card:hover .team-image {
  filter: grayscale(0%);
}
.meet-team-section .team-info {
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.5s ease,
    box-shadow 0.5s ease;
}
.meet-team-section .team-card:hover .team-info {
  transform: translateY(-12px);
  background: rgba(4, 4, 16, 0.88);
  box-shadow: 0 -8px 24px rgba(133, 4, 13, 0.15);
}
.meet-team-section .team-card:hover {
  box-shadow: 0 8px 32px rgba(133, 4, 13, 0.12);
}

/* ===== ENHANCED RESEARCH CARD HOVER ===== */
.research-item {
  transition: background 0.35s ease;
}
.research-img img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.research-item:hover .research-img img {
  transform: scale(1.06) !important;
}
.research-title {
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}
.research-item:hover .research-title {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.research-item:hover .research-date {
  color: var(--primary-200);
}
.research-date {
  transition: color 0.3s ease;
}

/* ===== ENHANCED AWARD HOVER TIMING ===== */
.aw-title-item {
  transition: background 0.25s ease;
}
.aw-title-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ===== FOOTER LINK UNDERLINE SLIDE-IN ===== */
.footer-col ul li a {
  position: relative;
  display: inline-block;
  transition: color 0.25s ease !important;
}
.footer-col ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-400);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.footer-col ul li a:hover::after {
  width: 100%;
}
.footer-col ul li a:hover {
  color: #fff !important;
}

/* ===== COUNTER ANIMATION ===== */
.count-up {
  display: inline-block;
}

/* ===== ENHANCED NAVBAR TRANSITIONS ===== */
.navbar-inner {
  transition:
    background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    backdrop-filter 0.35s ease !important;
}
/* ===== BUTTON HOVER ENHANCEMENTS ===== */
.btn-primary {
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease !important;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(133, 4, 13, 0.25);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-outline {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease !important;
}
.btn-outline:hover {
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}

/* ===== CONTACT MOSAIC SUBTLE ANIMATION ===== */
.cm {
  transition: opacity 0.4s ease;
}
.contact-mosaic:hover .cm {
  opacity: 0.85;
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    opacity: 1;
  }
  .fade-up,
  .fade-left,
  .fade-right,
  .scale-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stagger-children > * {
    transition-delay: 0s !important;
  }
  .meet-team-section .team-image,
  .meet-team-section .team-info,
  .meet-team-section .team-card,
  .research-img img,
  .tp-circle,
  .dexp-card,
  .btn-primary,
  .btn-outline,
  .footer-col ul li a::after {
    transition: none !important;
  }
}
