/* === HOMEPAGE HERO (product-page look, mapped to current DOM) === */
:root {
  /*--content-width: 1200px;*/
  --hero-min-h: 420px;
  --hero-max-h: 760px;
  --hero-pad-y: clamp(20px, 6vw, 64px);
  --hero-gutter: max(16px, calc((100vw - var(--content-width)) / 2));
  --hero-muted: #cfe0ff;
  --hero-accent: #2a4bff;
  --content-text: #000;
}

.home .one-container .container {
  background-color: #ffffff;
}

/* WRAPPER */
.homepage-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000; /* fallback */
  min-height: 70vh; /* immersive like product page */
}

/* HERO VIDEO SUPPORT */
.homepage-hero .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0; /* same layer as slider images */
  overflow: hidden;
}

.homepage-hero .hero-video {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  display: block;
}

/* Mobile/Desktop video visibility */
.homepage-hero .hero-video-mobile {
  display: block;
}

.homepage-hero .hero-video-desktop {
  display: none;
}

@media (min-width: 768px) {
  .homepage-hero .hero-video-mobile {
    display: none;
  }

  .homepage-hero .hero-video-desktop {
    display: block;
  }
}

/* SLIDER + SLIDE */
.homepage-hero .hero-slider {
  position: relative;
}
.homepage-hero .hero-slider .slide {
  position: relative;
}

/* IMAGE AS BACKGROUND LAYER */
.homepage-hero .hero-slider .slide > img {
  width: 100%;
  height: clamp(var(--hero-min-h), 55vw, var(--hero-max-h));
  min-height: 90vh; /* match wrapper height */
  object-fit: cover;
  display: block;
  position: absolute;
}

/* LEGIBILITY OVERLAY (left→right + soft bottom) */
.homepage-hero .hero-slider .slide::before,
.homepage-hero .hero-slider .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* TEXT LAYER (maps to .slide-content) */
.homepage-hero .slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: start;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 24px 16px;
  /* padding: clamp(1rem, 3vw, 4rem); */
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

/* Align to site gutters & set readable width */
@media (min-width: 1024px) {
  .homepage-hero .slide-content {
    padding-inline-end: 24px;
  }
  .homepage-hero .slide-content > * {
    max-width: min(54ch, calc(var(--content-width) * 0.55));
  }
}

/* TYPOGRAPHY (maps to your h3 + first p) */
.homepage-hero .slide-content h3 {
  margin: 0 0 12px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0.01em;
  /* If you want fixed sizes: uncomment next line and remove clamp line */
  /* font-size: 6.5rem; */
  font-size: clamp(28px, 4.6vw, 68px);
  color: #ff0;
}
.homepage-hero .slide-content p {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
  font-size: clamp(45px, 4.6vw, 68px);
  color: var(--hero-muted);
  text-align: start;
}
/* Make the first paragraph (the subtitle) stronger like product page */
.homepage-hero .slide-content p:first-of-type {
  color: #ffffff;
}

/* CTA (maps to your link inside the last <p>) */
.homepage-hero .slide-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;


    padding: 0.8rem 1.1rem;
    background: var(--global-color-blue);
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    font-size: 1.1rem;
    margin-top: 20px;
    font-family: Rajdhani, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.homepage-hero .slide-content a::after {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background: url(../images/chevron-right.svg) center center / contain no-repeat;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.homepage-hero .slide-content a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
:where([dir="rtl"]) .homepage-hero .slide-content a::after {
  transform: scaleX(-1);
}
:where([dir="rtl"]) .homepage-hero .slide-content a:hover::after {
  transform: translateX(-4px) scaleX(-1);
}

.homepage-hero .slide-content a:hover {
  /*transform: translateY(-1px);
  background: transparent;
  color:#ffffff;
  border-color: var(--hero-accent); */
}
.homepage-hero .slide-content a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 75, 255, 0.45);
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .homepage-hero .slide-content a {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .homepage-hero .slide-content {
    align-items: baseline;
    font-weight: 400;
    padding-bottom: clamp(24px, 8vw, 48px);
  }

  .homepage-hero .slide-content p:has(> a) {
    width: 100%;
    text-align: start;
  }

  .homepage-hero .slide-content a {
    padding: 0.8rem 1.1rem;
  }
}

/* =========================
   Hero Image Slider Module
   ========================= */

/* Wrapper — Slick wraps slides inside this */
.homepage-hero .hero-image-slider {
  position: relative;
}

/* ── Bottom-center navigation bullets ── */
.homepage-hero .hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 34px);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-hero .hero-slider-dots li {
  width: 12px;
  height: 12px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.homepage-hero .hero-slider-dots li button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.45s ease, transform 0.45s ease;
}

.homepage-hero .hero-slider-dots li button::before {
  content: none;
}

.homepage-hero .hero-slider-dots li button:hover {
  background: rgba(255, 255, 255, 0.75);
}

/* Active bullet: wider pill + brand color */
.homepage-hero .hero-slider-dots li.slick-active {
  width: 34px;
}

.homepage-hero .hero-slider-dots li.slick-active button {
  background: var(--global-color-blue, #2a4bff);
}

@media (max-width: 767px) {
  .homepage-hero .hero-slider-dots {
    bottom: 14px;
    gap: 8px;
  }
  .homepage-hero .hero-slider-dots li {
    width: 10px;
    height: 10px;
  }
  .homepage-hero .hero-slider-dots li.slick-active {
    width: 28px;
  }
}

/* Each slide */
.homepage-hero .hero-img-slide {
  position: relative;
  min-height: 70vh;
}

/* Full-bleed background image */
.homepage-hero .hero-img-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/* Subtle left-to-right legibility gradient */
.homepage-hero .hero-img-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
:where([dir="rtl"]) .homepage-hero .hero-img-slide::before {
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Text content — inherits .slide-content layout; sits above gradient + object */
.homepage-hero .hero-img-slide__content {
  position: relative;
  z-index: 3;
}

/* Floating object image wrapper — positioned via inline top/right.
   Visibility/animation is now fully driven by JS (Web Animations API)
   to avoid CSS cache/optimizer/specificity issues. */
.homepage-hero .hero-img-slide__object {
  position: absolute;
  z-index: 2;
  max-width: 45%;
  height: auto;
  pointer-events: none;
  opacity: 0; /* JS will set this; this is the safe default before JS runs */
  will-change: transform, opacity;
}

/** Object entrance animation — triggered by JS adding .slide-in **/

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30vw);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.homepage-hero .hero-img-slide__object.slide-in {
  animation-name: slideInRight;
  animation-duration: 1.6s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: forwards;
}

.homepage-hero .hero-img-slide__object-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Desktop/mobile background image swap (image + event slides) ── */
.homepage-hero .hero-img-slide__bg--mobile {
  display: none;
}
.homepage-hero .hero-img-slide__bg--desktop {
  display: block;
}
@media (max-width: 767px) {
  .homepage-hero .hero-img-slide__bg--mobile {
    display: block;
  }
  .homepage-hero .hero-img-slide__bg--desktop {
    display: none;
  }
}

/* ── Video slide: full-bleed background video (behaves like __bg) ── */
.homepage-hero .hero-img-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/* Desktop/mobile video swap (mirrors the single global hero behaviour) */
.homepage-hero .hero-img-slide__video--mobile {
  display: none;
}
.homepage-hero .hero-img-slide__video--desktop {
  display: block;
}
@media (max-width: 767px) {
  .homepage-hero .hero-img-slide__video--mobile {
    display: block;
  }
  .homepage-hero .hero-img-slide__video--desktop {
    display: none;
  }
}

/* ── Event slide: eyebrow + title + meta list + button ── */
.homepage-hero .hero-event__eyebrow {
  margin: 0 0 16px !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.homepage-hero .hero-event__title {
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0.01em;
  font-size: clamp(28px, 4.6vw, 68px);
  color: #fff;
}

.homepage-hero .hero-event__meta {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.homepage-hero .hero-event__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  color: #fff !important;
  line-height: 1.2;
  letter-spacing: 0;
}

.homepage-hero .hero-event__meta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}

/* Mobile layout: text anchored to bottom, object centered at 75% width.
   Animation direction (data-direction) still drives the entrance translate. */
@media (max-width: 767px) {
  /* Text sits at the bottom of the slide with a small margin */
  .homepage-hero .hero-img-slide__content {
    justify-content: flex-end;
    padding-bottom: 32px;
  }

  /* Object: 75% wide, horizontally centered, ignore inline right value */
  .homepage-hero .hero-img-slide__object {
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    margin-inline: auto !important;
    max-width: 75%;
    width: 75%;
  }

  /* Event meta stacks vertically on mobile */
  .homepage-hero .hero-event__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Reduced motion: animation is JS-driven now, so no CSS rule needed.
   If accessibility becomes a concern, JS can check prefers-reduced-motion. */

/* =========================
   News & Updates (2-col)
   ========================= */
:root {
  --gap: clamp(16px, 2.2vw, 28px);
  --line: rgba(72, 117, 255, 0.25);
  --ink: #0b1222;
  --muted: #6b7b94;
  --brand: #2a4bff; /* IAI blue */
  --brand-2: #1e3df5;
  --paper: #ffffff;
}

.news-updates {
  padding: clamp(20px, 3.5vw, 75px) 0;
  color: var(--ink);
}

.news-updates h3.title,
.mosaic-title-cmplx h3.title {
  font-size: 3rem;
  font-weight: 400;
  color: var(--global-color-blue);
}

.news-updates .container,
.mosaic-title-cmplx .container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}
.news-updates .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* featured | list */
  gap: var(--gap);
  column-gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

/* ========== Featured ========== */
.news-updates .featured-news {
  background: var(--paper);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.news-updates .featured-news:hover {
}
.news-updates .featured-news a {
  display: flex;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}
.news-updates .featured-news .news-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-updates .featured-news .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-updates .featured-news h3 {
  font-size: clamp(20px, 1.5vw + 0.6rem, 28px);
  line-height: 1.15;
  margin-block: 5px 10px; margin-inline: 0px 18px;
  letter-spacing: 0;
  font-weight: 400;
  padding-inline-end: 15%;
}
.news-updates .featured-news p {
  margin: 0 18px 18px;
  color: var(--content-text);
  margin-block: 5px 10px;
  margin-inline: 0px 18px;
  line-height: 1.5;
  font-weight: 400;
  padding-inline-end: 15%;
}

/* ========== Latest list (right column) ========== */
.news-updates .latest-news {
  display: grid;
  gap: var(--gap);
}
.news-updates .latest-news .news-item {
  background: var(--paper);
  overflow: hidden;
}
.news-updates .latest-news .news-item:hover {
}
.news-item a {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.news-item a:hover {
}

.news-item:nth-child(2) a {
  flex-direction: row-reverse;
}

/* Left side: image */
.news-item .news-thumbnail {
  flex: 1 1 30%;
  position: relative;
  aspect-ratio: 16 / 9; /* keeps height proportional */
  overflow: hidden;
}
.news-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: initial;
  display: block;
}

.news-item:nth-child(2) {
  padding-block: 28px 28px; padding-inline: 0px 18px;
  border-top: 1px solid #e7e2e2;
  border-bottom: 1px solid #e7e2e2;
}

/* Date badge */
.news-item .news-date-badge,
.featured-news .news-date-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 48px;
  height: 48px;
  background: var(--global-color-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* keep the stack centered */
  align-items: center;
  font-weight: 600;
}

.news-item .news-date-badge .day,
.featured-news .news-date-badge .day {
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(4px); /* move number a bit lower */
}

.news-item .news-date-badge .month,
.featured-news .news-date-badge .month {
  font-size: 0.8rem;
  font-weight: 400;
  /*transform: translateY(-2px);  keep spacing visually balanced */
}

/* Right side: text */
.news-item .news-item-content {
  flex: 1 1 50%;
  background: #fff;
  padding: 0px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item:nth-child(2) .news-item-content {
  padding-block: 0px 16px; padding-inline: 0px 18px;
}

.news-item .news-item-content .news-category,
.featured-news .news-category {
  color: var(--global-color-blue);
  font-weight: 600;
}

.featured-news .news-category {
  padding-top: 18px;
}

.news-item .news-item-content h4 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1vw + 0.5rem, 20px);
  line-height: 1.25;
  font-weight: 400;
}
.news-item .news-item-content p {
  margin: 0;
  font-size: clamp(16px, 0.65rem + 0.55vw, 16px);
  color: rgb(0, 0, 0);
  font-weight: 400;
}

/* ========== Fade-up reveal (featured first, then small items) ========== */
/* .news-anim is added by JS, so content stays visible without JS */
.news-updates.news-anim .featured-news,
.news-updates.news-anim .latest-news .news-item {
  opacity: 0;
}
.news-updates.news-anim-in .featured-news,
.news-updates.news-anim-in .latest-news .news-item {
  animation: newsFadeUp 0.7s ease both;
}
.news-updates.news-anim-in .featured-news {
  animation-delay: 0s;
}
.news-updates.news-anim-in .latest-news .news-item:nth-child(1) {
  animation-delay: 0.45s;
}
.news-updates.news-anim-in .latest-news .news-item:nth-child(2) {
  animation-delay: 0.65s;
}
.news-updates.news-anim-in .latest-news .news-item:nth-child(3) {
  animation-delay: 0.85s;
}
@keyframes newsFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .news-item a {
    flex-direction: column;
  }
  .news-item .news-thumbnail,
  .news-item .news-item-content {
    flex: 1 1 100%;
  }
  .news-updates h3.title,
  .mosaic-title-cmplx h3.title {
    font-size: 2.3rem;
    font-weight: 400;
    color: var(--global-color-blue);
    line-height: 1;
  }
  .news-updates .featured-news h3 {
    margin: 0 0 10px;
  }
  .news-updates .featured-news a,
  .news-updates .latest-news .news-item {
    margin-bottom: 30px;
  }
}

.vision-values {
  position: relative;
  overflow: hidden;
}

/* === QUICK FACTS ABOUT IAI === */
.quick-facts,
.solutions-section,
.vision-values {
  color: #000;
  padding: clamp(40px, 6vw, 90px) 0;
  overflow: hidden;
  position: relative;
  --gutter: max(0px, calc((100vw - var(--content-width)) / 2));
}

.solutions-section {
  padding: 0;
}

.quick-facts .container,
.solutions-section .container,
.vision-values .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--bar-gap);
  flex-wrap: nowrap;
  margin-inline-start: var(--gutter);
  margin-inline-end: 0;
  width: calc(100% - var(--gutter));
  max-width: none;
  flex-direction: column;
}

/* Header section */
.facts-header {
  text-align: start;
  margin-bottom: clamp(30px, 5vw, 60px);
}
.facts-header h3,
.solutions-section h3 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--global-color-blue);
  margin: 0 0 8px;
}
.facts-header p,
.solutions-section p {
  margin: 6px 0;
  color: #000;
  font-size: clamp(15px, 1vw + 0.25rem, 18px);
  letter-spacing: 0.01em;
}
.facts-header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2a4bff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border-radius: 0px;
  margin-top: 20px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.facts-header a:hover {
  color: #fff;
}

.facts-header a::after {
  content: "+";
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1;
}
.facts-header a:hover {
}

/* World map */
.facts-map {
  margin-top: 0px;
  /*margin-bottom: clamp(40px, 6vw, 80px); */
  text-align: start;
}
.facts-map img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Main fact highlight */

.main-fact-wrapper {
  display: flex;
  /*column-gap: 40px;*/
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  align-items: center; /* keeps everything aligned without spacing */
}

/* MAIN FACT – tighter vertical layout */
.main-fact {
  display: flex;
  gap: 4px; /* smaller gap */
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 100;
  color: #000;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-inline-end: 2px dotted var(--global-color-blue);
  padding-inline-end: 3rem;
  width: 560px;
  min-width: 560px;
  max-width: 560px;
}

.main-fact-num {
  text-align: start;
  margin: 0;
  padding: 0;
}

.main-fact .num {
  font-size: clamp(28px, 17vw, 18rem);
  line-height: 1;
  font-family:
    "Oxanium",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.main-fact .label {
  font-size: 0.9em;
  text-transform: uppercase;
  color: #000;
  position: relative;
  inset-inline-start: -25px;
  font-weight: 400;
  margin-inline-start: 5px;
}
.main-fact .sufix {
  font-size: clamp(18px, 1.2vw + 0.4rem, 22px);
  font-weight: 500;
  color: #000;
  margin-inline-start: 12px;
  line-height: 1.3;
  margin-block: 4px 0; margin-inline: 12px 0; /* smaller top margin */
  line-height: 1.2;
}

/* Facts list grid */
.facts-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 5rem;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0 !important; /* remove unwanted space */
  /*border-left: 2px dashed var(--global-color-blue); */
}

/* FACT ITEM – tighten internal spacing */
.fact-item {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 240px;
  padding-block: 0 0; padding-inline: 5rem 0; /* smaller left pad */
  margin: 0;
}

.fact-item:nth-child(1),
.fact-item:nth-child(2),
.fact-item:nth-child(3) {
}

.fact-item:hover {
  /*background: rgba(42,75,255,0.12);
  transform: translateY(-2px); */
}
.fact-item .num {
  display: inline-block;
  font-size: clamp(28px, 7vw, 8rem);
  font-weight: 100;
  color: #000;
  line-height: 1;
  font-family:
    "Oxanium",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.icon-wrapper {
  max-height: 133px;
}

.icon-wrapper > img {
  max-height: 68%;
  width: auto;
}
.fact-item .label {
  display: inline-block;
  font-size: clamp(28px, 5vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  margin-inline-start: 4px;
  color: #000;
}
.fact-item .text {
  margin-top: -1px;
  font-size: clamp(14px, 1vw + 0.2rem, 17px);
  line-height: 1.3;
  color: #000;
  text-align: start;
}

/* MAP – remove extra spacing */
.facts-map img {
  display: block;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 960px) {
  .facts-list {
    gap: 18px;
  }
  .fact-item {
    flex: 1 1 calc(50% - 12px);
  }
}
@media (max-width: 640px) {
  .main-fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .facts-list {
    flex-direction: column;
    gap: 10px;
    margin-top: 0 !important;
  }
  .fact-item {
    flex: 1 1 100%;
  }
  .facts-map img {
    max-width: 100%;
  }
}

/* =============  VISION & VALUES  ============= */
.vision-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 0px;
  z-index: 2;
  background: none !important;
}
.vision-values {
  /* colors you can tweak or map to theme vars */
  --vv-text: #e9f0ff;
  --vv-muted: #a9b7e6;
  --vv-accent: var(--global-color-blue, #2a4bff);
  background-color: var(--global-color-blue);

  position: relative;
  isolation: isolate; /* keeps overlays contained */
  color: var(--vv-text);
  overflow: clip;
  /* section height scales with viewport but stays reasonable */
  min-height: clamp(765px, 75vh, 765px);
}

.vision-values .container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}

.vision-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Fixed height to prevent resizing when accordion opens/closes */
  height: clamp(765px, 75vh, 765px);
  min-height: clamp(765px, 75vh, 765px);
  max-height: clamp(765px, 75vh, 765px);
}

/* Background image fills the section */
.vision-values .vision-bg,
.vision-values .vision-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
}
.vision-values .vision-bg img {
  object-fit: cover;
  object-position: 50% 55%;
  /* Ensure image maintains size */
  min-height: 100%;
  max-height: 100%;
}

/* --- Dark Overlay --- */
.vision-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Subtle vignette + blue line overlay, like in the mock */
.vision-values::before,
.vision-values::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vision-values::after {
  /* thin blue baseline reminiscent of the UI dividers */
  /* background: linear-gradient(
    90deg,
    rgba(42, 75, 255, 0),
    rgba(42, 75, 255, 0.25) 25%,
    rgba(42, 75, 255, 0) 70%
  ); */
  top: auto;
  height: 1px;
  transform: translateY(-1px);
  bottom: clamp(84px, 12vh, 140px); /* positions the line over the skyline */
  opacity: 0.6;
}

/* Content wrapper: two columns (text | accordion slot) */
.vision-values .vision-text {
  background: none !important;
}

.vision-values .container {
  background: none !important;
}

/* Left column text (your <p> currently lives here) */
.vision-values .vision-text > h3 {
  grid-column: 1;
  align-self: center;
  max-width: 46ch;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  color: #fff;
  margin-bottom: 5px;
}
.vision-values .vision-text > p {
  grid-column: 1;
  align-self: center;
  max-width: 41ch;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-weight: 300;
  color: #ffffff;
}

.vision-values .vision-text > p.sub-title {
  font-weight: 500;
  margin-bottom: 3.5rem;
  font-size: 1.8rem;
}

.vision-values .vision-text a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 1.25rem;
  background: #ffffff;
  color: var(--global-color-blue);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2rem;
  font-size: 1.2rem;
  font-family: Rajdhani, sans-serif;
  margin-top: 2rem;
}

.vision-values .vision-text a::after {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background: url(../images/chevron-right-blue.svg) center center / contain
    no-repeat;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.vision-values .vision-text a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
:where([dir="rtl"]) .vision-values .vision-text a::after {
  transform: scaleX(-1);
}
:where([dir="rtl"]) .vision-values .vision-text a:hover::after {
  transform: translateX(-4px) scaleX(-1);
}

.vision-values .vision-text > p br {
  content: "";
}

/* Optional subline styling if you split lines later with spans */
.vision-values .vision-text .sub {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  color: var(--vv-muted);
  letter-spacing: 0.01em;
}

/* ===== Accordion placeholder (right column) =====
   If/when you add the accordion markup, give it .vision-accordion
   and it will drop neatly into column 2.  */
.vision-accordion {
}

/* ===== CTA style (if/when you add the button) ===== */
.vision-values .vv-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--vv-accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(42, 75, 255, 0.35);
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.vision-values .vv-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(42, 75, 255, 0.45);
  opacity: 0.96;
}

.values-list {
  width: 100%;
  padding-inline-start: 10px;
  margin-top: 2.8rem;
}

.value-item {
  border-bottom: 1px solid #fff;
}

.value-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
}

.value-toggle:hover,
.value-toggle:focus {
  background: none;
}

.value-toggle .icon {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 16px;
}

.value-toggle .icon::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background: url(../images/chevron-down-white.svg) center center / contain
    no-repeat;
}

.value-toggle .icon {
  transition: transform 0.1s ease;
}

.value-item.open .value-toggle .icon,
.value-item.is-open .value-toggle .icon {
  transform: rotate(-90deg);
}
:where([dir="rtl"]) .value-item.open .value-toggle .icon,
:where([dir="rtl"]) .value-item.is-open .value-toggle .icon {
  transform: rotate(90deg);
}

/* content, hidden by default */
.value-content {
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-content p {
  font-size: 1.2rem;
  color: #fff;
}

/* when open - use large max-height to accommodate any content length */
.value-item.is-open .value-content {
  max-height: 2000px; /* large enough for any content */
}

/* Fallback for .open class (backwards compatibility) */
.value-item.open .value-content {
  max-height: 2000px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .vision-values .vision-text {
    grid-template-columns: 1fr; /* stack */
    gap: 28px;
  }
  .vision-accordion {
    grid-column: 1;
    max-width: 680px;
  }
  .vision-values::after {
    bottom: clamp(56px, 9vh, 96px); /* reposition baseline line a bit lower */
  }
}

@media (max-width: 640px) {
  .vision-values {
    min-height: 520px;
  }
  .vision-values .vision-text > p {
    max-width: initial;
  }

  .value-toggle {
    font-size: 18px;
    padding: 12px 0;
  }

  .value-toggle .icon::before {
    width: 32px;
    height: 32px;
  }

  .value-content {
    font-size: 1rem;
  }

  .value-content p {
    font-size: 1.1rem;
  }

  .value-item.is-open .value-content,
  .value-item.open .value-content {
    max-height: 3000px; /* even larger for mobile to accommodate long content */
  }
}

/* MOBILE TWEAKS */
@media (max-width: 767.98px) {
  .homepage-hero .hero-slider .slide::before {
    /* stronger overall darkening for small screens */
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }

  .homepage-hero .slide-content h3 {
    margin: 0 0 12px;
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: 0.01em;
    font-size: clamp(44px, 4.6vw, 68px);
  }

  .homepage-hero .slide-content {
    align-items: baseline;
    text-align: center;
    padding-bottom: clamp(24px, 8vw, 48px);
  }
  .homepage-hero .slide-content > * {
    max-width: none;
  }

  .news-updates .featured-news p {
    margin: 0px;
    line-height: 1.5;
    margin-inline-start: 0px;
    padding-inline-end: 0%;
  }

  .news-item .news-item-content {
    padding: 18px 0px 16px 0px;
  }

  .news-item .news-item-content h4 {
    margin: 0 0 8px;
    line-height: 1;
    font-weight: 500;
    font-size: 1.7rem;
  }

  .news-item .news-item-content p {
    margin: 0;
    font-size: clamp(20px, 0.55vw + 0.65rem, 16px);
    color: #000;
    line-height: 1.25;
  }

  .news-item:nth-child(2) {
    padding: 0px;
    border-top: none;
    border-bottom: none;
  }

  .news-updates .featured-news h3 {
    font-size: 1.7rem;
    line-height: 1.15;
    margin: 18px 0px 20px 0px;
    letter-spacing: 0;
    font-weight: 500;
    padding-inline-end: 0%;
  }

  .quick-facts .container,
  .solutions-section .container,
  .vision-values .container {
    max-width: var(--content-width);
    margin-inline: auto;
    padding-inline: 16px;
  }

  .news-item:nth-child(2) a {
    display: flex;
    flex-direction: column;
  }

  .vision-values .vision-text > h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  .vision-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }

  .vision-values .vision-text > p.sub-title,
  .vision-values .vision-text > p {
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }

  .value-item.open .value-content,
  .value-item.is-open .value-content {
    max-height: 2000px; /* large enough for mobile content */
  }

  .value-content p {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.2;
    font-weight: 300;
  }

  .main-fact-wrapper {
    flex-direction: column;
  }

  .main-fact {
    min-width: initial !important;
    width: auto;
    border: none;
    align-items: center;
  }

  .main-fact .num {
    font-size: 17rem;
    line-height: 1;
  }

  .facts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
  }

  .fact-item {
    width: 100%;
    min-width: auto;
    padding-block: 0 0; padding-inline: 1rem 0;
    text-align: justify;
  }

  .fact-item .num {
    font-size: 5rem;
  }

  .fact-item .text {
    margin-top: -1px;
    font-size: clamp(16px, 1vw + 0.2rem, 17px);
    line-height: 1.3;
    color: #000;
    text-align: start !important;
    padding: 0 10px 0;
  }

  #fact-item-4 .label {
    font-size: 18px;
  }
}
