/* WordPress admin bar offset */
body.admin-bar .ibe-topnav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .ibe-topnav { top: 46px; }
}
/* ============================================
   IBE Design House — Custom Styles
   Bootstrap 5.3 + Custom CSS
   ============================================ */

:root {
  --ibe-bg-dark: #0a0a0a;
  --ibe-bg-soft: #111111;
  --ibe-text-light: #FFFAF6;
  --ibe-text-muted: rgba(255, 255, 255, 0.72);
  --ibe-text-dim: rgba(255, 255, 255, 0.45);
  --ibe-accent-red: #ff4749;
  --ibe-accent-yellow: #eab736;
  --ibe-accent-blue: #1a7dd6;
  --ibe-accent-gray: #434142;
  --ibe-border: rgba(255, 255, 255, 0.08);
  --ibe-font-primary: 'Zalando Sans Expanded', 'Montserrat', system-ui, sans-serif;
  --ibe-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  font-family: var(--ibe-font-primary);
  background-color: var(--ibe-bg-dark);
  color: var(--ibe-text-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* Paragraphs: Montserrat everywhere, no letter-spacing */
p,
.ibe-hero__subtitle,
.ibe-intro__text,
.ibe-intro__text--bold,
.ibe-split__desc,
.ibe-svc-row__desc,
.ibe-svc-step__desc,
.svc-step__desc,
.ibe-vm__feat-desc,
.ibe-vm__feat-copy,
.ibe-story__body,
.ibe-story__body p,
.ibe-footer__tagline,
.ibe-project-meta__value,
.story-text,
.story-text p,
.ibe-cta__subtitle,
.ibe-team__note,
.ibe-service-card__desc,
.ibe-viewall__lead,
.ibe-contact-lead,
.ibe-about-intro__text,
.career__desc,
.careers__intro {
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: normal !important;
}

/* ============================================
   TOP NAV
   ============================================ */
.ibe-topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
  padding: 1.75rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
  transition: background 0.4s var(--ibe-transition), padding 0.3s var(--ibe-transition);
}
.ibe-topnav > * { pointer-events: auto; }
.ibe-topnav.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 3rem;
}

.ibe-lang-switcher { display: flex; gap: 1.25rem; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.ibe-lang-switcher a[data-lang="ar"],
.ibe-overlay__lang a[data-lang="ar"] { font-family: 'Changa', 'Zalando Sans Expanded', sans-serif; }
.ibe-lang-switcher a { color: var(--ibe-text-light); text-decoration: none; opacity: 0.7; position: relative; padding-bottom: 3px; transition: opacity 0.3s var(--ibe-transition); }
.ibe-lang-switcher a.active { opacity: 1; }
.ibe-lang-switcher a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ibe-accent-red); }
.ibe-lang-switcher a:hover { opacity: 1; }

.ibe-topnav .ibe-logo-link { position: absolute; left: 50%; transform: translateX(-50%); top: 1.25rem; line-height: 0; transition: top 0.3s var(--ibe-transition); }
.ibe-topnav .ibe-logo { display: block; height: 56px; width: auto; transition: height 0.3s var(--ibe-transition); }
.ibe-topnav.is-scrolled .ibe-logo-link { top: 0.85rem; }
.ibe-topnav.is-scrolled .ibe-logo { height: 42px; }

.ibe-menu-btn { background: none; border: none; color: var(--ibe-text-light); display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; padding: 0.5rem 0.75rem; transition: opacity 0.3s var(--ibe-transition); }
.ibe-menu-btn:hover { opacity: 0.75; }
.ibe-menu-btn__lines { display: inline-flex; flex-direction: column; gap: 5px; width: 24px; }
.ibe-menu-btn__lines span { display: block; height: 1.5px; background: var(--ibe-text-light); width: 100%; transition: width 0.4s var(--ibe-transition); }
.ibe-menu-btn__lines span:last-child { width: 70%; align-self: flex-end; }
.ibe-menu-btn:hover .ibe-menu-btn__lines span:last-child { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.ibe-hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ibe-hero__bg-wrapper { position: absolute; inset: 0; z-index: 1; overflow: hidden; will-change: transform; }
.ibe-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; animation: kenBurns 22s ease-in-out infinite alternate; }
.ibe-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0.45) 0%, rgba(14,14,14,0.3) 50%, rgba(14,14,14,0.85) 100%); }

@keyframes kenBurns { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.12) translate(-1.5%, -1%); } }

.ibe-hero__content { position: relative; z-index: 2; max-width: 900px; padding: 0 2rem; text-align: center; }
.ibe-hero__title { font-size: 37px; font-weight: 400; letter-spacing: 0; line-height: 1.1; margin-bottom: 1.75rem; text-transform: uppercase; text-wrap: balance; }
.ibe-hero__subtitle { font-size: clamp(0.95rem, 1.15vw, 1.1rem); font-weight: 300; line-height: 1.3; color: #FFFAF6; max-width: 620px; margin: 0 auto; text-wrap: pretty; }
.ibe-hero__content > * { opacity: 0; transform: translateY(24px); animation: fadeInUp 1.1s var(--ibe-transition) forwards; }
.ibe-hero__content > *:nth-child(1) { animation-delay: 0.3s; }
.ibe-hero__content > *:nth-child(2) { animation-delay: 0.55s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.ibe-explore { position: absolute; bottom: 2.5rem; left: 0; right: 0; margin-inline: auto; width: fit-content; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; color: var(--ibe-text-light); font-size: 12px; font-weight: 500; letter-spacing: 0; text-decoration: none; text-align: center; opacity: 0; animation: fadeInUp 1.1s var(--ibe-transition) 1.2s forwards; }
.ibe-explore:hover { color: var(--ibe-text-light); }
.ibe-mouse { width: 24px; height: 38px; border: 1.5px solid var(--ibe-text-light); border-radius: 14px; position: relative; display: flex; justify-content: center; padding-top: 7px; }
.ibe-mouse::before { content: ''; width: 3px; height: 7px; background: var(--ibe-text-light); border-radius: 2px; animation: mouseScroll 1.8s ease-in-out infinite; }
@keyframes mouseScroll { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ibe-transition), transform 0.9s var(--ibe-transition); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   INTRO — DESIGN DEFINES EXPERIENCE (light section)
   ============================================ */
.ibe-intro {
  position: relative;
  background: #faf5ee;
  color: #434142;
  padding: clamp(5rem, 10vw, 9rem) 0 0;
  overflow: hidden;
}
.ibe-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
}
.ibe-intro__left { padding-top: 0.25rem; }
.ibe-intro__title {
  font-family: var(--ibe-font-primary);
  font-weight: 300;
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #434142;
  margin: 0 0 2.5rem;
}
@media (max-width: 600px) {
  .ibe-intro__title { font-size: 32px; }
}
.ibe-intro__more {
  display: inline-block;
  color: #434142;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  padding-bottom: 8px;
  position: relative;
}
.ibe-intro__more::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 1.5px;
  width: 100%;
  background: #FF4749;
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: transform 0.55s var(--ibe-transition);
}
.ibe-intro__more:hover { color: #434142; }
.ibe-intro__more:hover::after { transform: scaleX(1); }

.ibe-intro__right {
  max-width: 640px;
  padding-top: 0.4rem;
}
.ibe-intro__text {
  color: #2a2a2a;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}
.ibe-intro__text--bold {
  font-weight: 700;
  color: #434142;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.ibe-intro__pattern {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding-right: 0;
}
.ibe-intro__pattern img {
  display: block;
  width: clamp(240px, 26vw, 420px);
  height: auto;
  margin-right: 0;
}

@media (max-width: 900px) {
  .ibe-intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ibe-intro__title { margin-bottom: 1.75rem; }
  .ibe-intro__pattern img { width: clamp(200px, 60vw, 320px); }
  .ibe-cta__title { font-size: clamp(1.5rem, 7vw, 2.25rem); }
.ibe-cta__link  { font-size: clamp(1.25rem, 7vw, 2.25rem); white-space: normal; padding-right: 0; }
}

/* ============================================
   SPLIT SECTION (carousel + light card)
   ============================================ */
.ibe-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.ibe-split__left {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  width: 100%;
  height: 100vh;
}

.ibe-split__left .ibe-carousel { position: absolute; inset: 0; }
.ibe-split__left .ibe-carousel__track { position: absolute; inset: 0; }
.ibe-split__left .ibe-carousel__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.1s var(--ibe-transition), transform 7s linear;
}
.ibe-split__left .ibe-carousel__slide.is-active { opacity: 1; transform: scale(1); }
.ibe-split__left:hover .ibe-carousel__slide.is-active {
  transform: scale(1.08);
  transition: transform 1.4s var(--ibe-transition), opacity 1.1s var(--ibe-transition);
}
.ibe-split__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%);
  transition: background 0.5s var(--ibe-transition);
}
.ibe-split__left:hover .ibe-split__shade {
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
}

.ibe-split__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 2rem 2.5rem 3rem;
  color: #FFFAF6;
}
.ibe-split__project {
  transform: translateY(0);
  transition: transform 0.55s var(--ibe-transition);
}
.ibe-split__left:hover .ibe-split__project { transform: translateY(-52px); }
.ibe-split__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
  color: #FFFAF6;
}
.ibe-split__name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}
.ibe-split__meta {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0;
}
.ibe-split__viewmore {
  position: absolute;
  left: 2.5rem;
  bottom: 1.75rem;
  color: #FFFAF6;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ibe-transition), transform 0.5s var(--ibe-transition);
  border-bottom: 1.5px solid #FFFAF6;
}
.ibe-split__viewmore i { font-size: 0.9rem; transition: transform 0.35s var(--ibe-transition); }
.ibe-split__left:hover .ibe-split__viewmore { opacity: 1; transform: translateY(0); }
.ibe-split__viewmore:hover { color: #FFFAF6; }
.ibe-split__viewmore:hover i { transform: translateX(4px); }

.ibe-split__left .ibe-carousel__bullets {
  position: absolute;
  bottom: 1.4rem;
  right: 2.5rem;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.ibe-split__left .ibe-carousel__bullets { gap: 3px; }
.ibe-split__left .ibe-carousel__bullet {
  width: 14px; height: 14px; border-radius: 50%;
  background: transparent;
  border: none; padding: 0; cursor: pointer;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ibe-transition);
}
.ibe-split__left .ibe-carousel__bullet::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.3s var(--ibe-transition), width 0.3s var(--ibe-transition), height 0.3s var(--ibe-transition);
}
.ibe-split__left .ibe-carousel__bullet::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.9);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s var(--ibe-transition), transform 0.3s var(--ibe-transition);
}
.ibe-split__left .ibe-carousel__bullet.is-active::before {
  background: #FFFAF6;
  width: 5px; height: 5px;
}
.ibe-split__left .ibe-carousel__bullet.is-active::after {
  opacity: 1;
  transform: scale(1);
}

/* RIGHT CARD */
.ibe-split__right {
  background: #faf5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
}
.ibe-split__card {
  max-width: 460px;
  width: 100%;
}
.ibe-split__title {
  font-size: 37px;
  font-weight: 300;
  color: #434142;
  line-height: 1.15;
  margin: 0 0 1.75rem;
  letter-spacing: 0;
}
.ibe-split__image {
  width: 376px;
  height: 322px;
  max-width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
}
.ibe-split__text {
  font-size: 14px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

@media (max-width: 900px) {
  .ibe-split { grid-template-columns: 1fr; min-height: 0; }
  .ibe-split__left { width: 100%; height: 520px; order: 2; }
  .ibe-split__right { padding: 3rem 1.5rem; order: 1; }
  .ibe-split__image { width: 100%; aspect-ratio: 376/322; height: auto; }
  .ibe-split--reverse .ibe-split__left { order: 2; }
  .ibe-split--reverse .ibe-split__right { order: 1; }
}

/* ============================================
   VIEW ALL PROJECTS (fixed-bg parallax)
   ============================================ */
.ibe-viewall {
  position: relative;
  height: 393px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.ibe-viewall__overlay {
  position: absolute; inset: 0;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
}
.ibe-viewall__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  text-decoration: none;
  color: #FFFAF6;
  padding: 0 1rem;
  text-align: center;
}
.ibe-viewall__text {
  font-family: var(--ibe-font-primary);
  font-size: 37px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2;
  color: #FFFAF6;
}
.ibe-viewall__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #FFFAF6;
}
.ibe-viewall__link:hover { color: #FFFAF6; }

/* Mobile: disable fixed attachment (iOS doesn't support it reliably) */
@media (max-width: 900px) {
  .ibe-viewall { background-attachment: scroll; height: 320px; }
}

/* ============================================
   CTA — TURNING VISIONARY AMBITION
   ============================================ */
.ibe-cta {
  background: #faf5ee;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.ibe-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 0 0;
  align-items: center;
}
.ibe-cta__art {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
  margin-left: 0;
}
.ibe-cta__art img {
  display: block;
  width: clamp(260px, 30vw, 420px);
  height: auto;
  margin-left: 0;
}
.ibe-cta__content {
  padding-left: 0;
}
.ibe-cta__title {
  font-family: var(--ibe-font-primary);
  font-weight: 300;
  font-size: 37px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #434142;
  margin: 0 0 2.5rem;
}
.ibe-cta__link {
  position: relative;
  display: inline-block;
  font-size: 37px;
  font-weight: 400;
  letter-spacing: 0;
  color: #FF4749;
  text-decoration: none;
  padding-bottom: 10px;
  padding-right: 50px;
  white-space: nowrap;
  transition: padding 0.45s var(--ibe-transition);
}
.ibe-cta__link span {
  display: inline-block;
  transition: transform 0.45s var(--ibe-transition);
}
.ibe-cta__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1.5px;
  width: 75%;
  background: #FF4749;
  transition: width 0.45s var(--ibe-transition);
}
.ibe-cta__link:hover { color: #FF4749; padding-right: 100px; }
.ibe-cta__link:hover span { transform: translateX(20px); }
.ibe-cta__link:hover::after { width: 100%; }

@media (max-width: 900px) {
  .ibe-cta__inner   { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem; }
  .ibe-cta__content { min-width: 0; }
  .ibe-cta__art img { width: clamp(220px, 55vw, 340px); }
  .ibe-cta__title { font-size: clamp(1.5rem, 7vw, 2.25rem); word-break: break-word; }
  .ibe-cta__link  { font-size: clamp(1.25rem, 7vw, 2.25rem); white-space: normal; padding-right: 0; word-break: break-word; }
}

/* ============================================
   FLOATING CALL US
   ============================================ */
.ibe-call-float { position: fixed; bottom: 5rem; right: 2rem; z-index: 1030; display: flex; align-items: center; gap: 0.5rem; }
.ibe-call-float__btn { background: #434142; color: var(--ibe-text-light); border: 1px solid #ffffff82; border-radius: 999px; height: 48px; padding: 0 1.5rem 0 1.25rem; font-size: 0.95rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.ibe-call-float__btn:hover { background: #434142; color: var(--ibe-text-light); }
.ibe-call-float__icon { width: 48px; height: 48px; border-radius: 50%; background: #434142; border: 1px solid #ffffff82; display: inline-flex; align-items: center; justify-content: center; color: #FFFAF6; cursor: pointer; text-decoration: none; }
.ibe-call-float__icon i { font-size: 1.4rem; line-height: 1; }
.ibe-call-float__icon:hover { background: #434142; color: #FFFAF6; transform: none; }

/* ============================================
   OVERLAY MENU
   ============================================ */
.ibe-overlay { position: fixed; inset: 0; z-index: 1050; background: #0a0a0a; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ibe-transition), visibility 0.5s var(--ibe-transition); }
.ibe-overlay.is-open { opacity: 1; visibility: visible; }
.ibe-overlay__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.ibe-overlay__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,0.7); }
.ibe-overlay__lang { position: absolute; top: 2rem; left: 3rem; z-index: 3; display: flex; gap: 1.25rem; font-size: 0.95rem; font-weight: 400; letter-spacing: 0; }
.ibe-overlay__lang a { color: rgba(255,255,255,0.85); text-decoration: none; position: relative; padding-bottom: 4px; transition: color 0.3s var(--ibe-transition); }
.ibe-overlay__lang a.active { color: #FFFAF6; }
.ibe-overlay__lang a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: #FFFAF6; }
.ibe-overlay__lang a:hover { color: #FFFAF6; }
.ibe-overlay__logo { position: absolute; top: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 3; }
.ibe-overlay__logo img { display: block; height: 64px; width: auto; }
.ibe-overlay__close { position: absolute; top: 2rem; right: 3rem; z-index: 3; background: none; border: none; color: var(--ibe-text-light); font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.65rem; padding: 0; letter-spacing: 0.02em; transition: opacity 0.3s var(--ibe-transition); }
.ibe-overlay__close i { font-size: 1.25rem; }
.ibe-overlay__close:hover { opacity: 0.75; }
.ibe-overlay__nav { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.25rem; list-style: none; padding: 0; margin: 0; }
.ibe-overlay__nav li { overflow: hidden; }
.ibe-overlay__nav a { color: var(--ibe-text-light); font-size: 35px; font-weight: 400; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; display: inline-block; position: relative; transform: translateY(100%); transition: transform 0.6s var(--ibe-transition), color 0.3s var(--ibe-transition); }
.ibe-overlay.is-open .ibe-overlay__nav a { transform: translateY(0); }
.ibe-overlay__nav li:nth-child(1) a { transition-delay: 0.15s; }
.ibe-overlay__nav li:nth-child(2) a { transition-delay: 0.22s; }
.ibe-overlay__nav li:nth-child(3) a { transition-delay: 0.29s; }
.ibe-overlay__nav li:nth-child(4) a { transition-delay: 0.36s; }
.ibe-overlay__nav li:nth-child(5) a { transition-delay: 0.43s; }
.ibe-overlay__nav a:hover { color: var(--ibe-accent-red); }

/* ============================================
   CALL MODAL
   ============================================ */
.ibe-modal .modal-content { background: #111; color: var(--ibe-text-light); border: 1px solid var(--ibe-border); border-radius: 4px; }
.ibe-modal .modal-header { border-bottom: 1px solid var(--ibe-border); padding: 1.5rem 2rem; }
.ibe-modal .modal-body { padding: 2rem; }
.ibe-modal .modal-title { font-weight: 300; letter-spacing: 0; text-transform: uppercase; font-size: 0.95rem; }
.ibe-modal .btn-close { filter: invert(1) grayscale(100%) brightness(2); opacity: 0.7; }

.ibe-contact-row { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--ibe-text-light); text-decoration: none; transition: padding 0.3s var(--ibe-transition), color 0.3s var(--ibe-transition); }
.ibe-contact-row:last-child { border-bottom: none; }
.ibe-contact-row:hover { padding-left: 0.5rem; color: var(--ibe-accent-red); }
.ibe-contact-row__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--ibe-border); }
.ibe-contact-row__label { font-size: 0.7rem; letter-spacing: 0; text-transform: uppercase; color: var(--ibe-text-muted); margin-bottom: 0.15rem; }
.ibe-contact-row__value { font-size: 1.05rem; font-weight: 400; }

/* ============================================
   FOOTER
   ============================================ */
.ibe-footer {
  background: #0C2236;
  color: rgba(255,255,255,0.85);
  padding: clamp(3rem, 6vw, 5rem) 0 1.75rem;
}
.ibe-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.ibe-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: 3rem;
}
.ibe-footer__brand {
  max-width: 480px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}
.ibe-footer__logo {
  height: 80px;
  width: auto;
  display: block;
}
.ibe-footer__logo-text {
  font-family: var(--ibe-font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0;
}
.ibe-footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
  margin: 0;
  font-weight: 400;
}
.ibe-footer__col ul { list-style: none; padding: 0; margin: 0; }
.ibe-footer__list li { margin-bottom: 1rem; }
.ibe-footer__list a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  transition: color 0.3s var(--ibe-transition), padding 0.3s var(--ibe-transition);
}
.ibe-footer__list a:hover {
  color: #FFFAF6;
  padding-left: 4px;
}

.ibe-footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 0 1.5rem;
}

.ibe-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ibe-footer__copy {
  font-size: 14px;
  color: #fff;
  margin: 0;
  letter-spacing: 0;
}
.ibe-footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.ibe-footer__social a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: color 0.3s var(--ibe-transition), background 0.3s var(--ibe-transition), transform 0.3s var(--ibe-transition);
}
.ibe-footer__social a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .ibe-footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-bottom: 2rem; }
  .ibe-footer__brand { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .ibe-footer__logo { height: 64px; }
  .ibe-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .ibe-intro__title br { display: none; }
}
@media (max-width: 768px) {
  .ibe-topnav { padding: 1.1rem 1rem; }
  .ibe-topnav.is-scrolled { padding: 0.85rem 1rem; }
  .ibe-topnav .ibe-logo-link { top: 0.9rem; }
  .ibe-topnav .ibe-logo { height: 40px; }
  .ibe-topnav.is-scrolled .ibe-logo-link { top: 0.7rem; }
  .ibe-topnav.is-scrolled .ibe-logo { height: 32px; }
  .ibe-lang-switcher { font-size: 0.8rem; gap: 0.6rem; }
  .ibe-menu-btn { font-size: 0.8rem; gap: 0.5rem; padding: 0.4rem 0; }
  .ibe-menu-btn__lines { width: 20px; gap: 4px; }
  .ibe-call-float { bottom: 1.25rem; right: 1.25rem; gap: 0.4rem; }
  .ibe-call-float__btn { height: 44px; padding: 0 1rem 0 0.9rem; font-size: 0.85rem; gap: 0.45rem; }
  .ibe-call-float__btn i { font-size: 1rem; }
  .ibe-call-float__icon { width: 44px; height: 44px; }
  .ibe-call-float__icon i { font-size: 1.25rem; }
  .ibe-overlay__close { top: 1.25rem; right: 1.5rem; }
  .ibe-overlay__nav a::before { display: none; }
  .ibe-overlay__nav { gap: 3rem; padding: 9rem 1.5rem 4rem; height: 100%; overflow-y: auto; justify-content: flex-start; }
  .ibe-overlay__nav a { font-size: 26px; }
  .ibe-overlay__lang { top: 1.25rem; left: 1.5rem; }
  .ibe-overlay__logo { top: 0.85rem; }
  .ibe-overlay__logo img { height: 48px; }
  .ibe-project__overlay { padding: 1.5rem 1.25rem; }
  .ibe-carousel__bullets { right: 1.25rem; bottom: 1rem; }
  .ibe-view-more { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .ibe-topnav .ibe-logo { height: 36px; }
}

/* ============================================
   RTL
   ============================================ */
[dir="rtl"] .ibe-lang-switcher a.active::after { right: 0; left: auto; }
[dir="rtl"] .ibe-call-float { right: auto; left: 2rem; flex-direction: row-reverse; }
[dir="rtl"] .ibe-overlay__close { right: auto; left: 3rem; }
[dir="rtl"] .ibe-overlay__nav a::before { left: auto; right: -2.5rem; }
[dir="rtl"] .ibe-contact-row:hover { padding-left: 0; padding-right: 0.5rem; }
[dir="rtl"] .ibe-footer__list a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .ibe-carousel__bullets { right: auto; left: clamp(1.75rem, 3.5vw, 3rem); }
[dir="rtl"] .ibe-view-more::after,
[dir="rtl"] .ibe-cta__link::after,
[dir="rtl"] .ibe-btn-ghost::before { left: auto; right: 0; }
[dir="rtl"] .ibe-view-more:hover i,
[dir="rtl"] .ibe-cta__link:hover i,
[dir="rtl"] .ibe-btn-ghost:hover i { transform: translateX(-5px) scaleX(-1); }
[dir="rtl"] .ibe-view-more i,
[dir="rtl"] .ibe-cta__link i,
[dir="rtl"] .ibe-btn-ghost i { transform: scaleX(-1); }

@media (max-width: 768px) {
  [dir="rtl"] .ibe-call-float { left: 1.25rem; }
  [dir="rtl"] .ibe-overlay__close { left: 1.5rem; }
}

/* ── Hero video background ─────────────────────────────────── */
.ibe-hero__bg--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: none;
}
/* Gradient overlay for video mode — separate div because <video> ignores ::after */
.ibe-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.45) 0%, rgba(14,14,14,0.3) 50%, rgba(14,14,14,0.85) 100%);
  pointer-events: none;
}
/* ── View-all video background ───────────────────────────────── */
.ibe-viewall--video { background-image: none !important; }
.ibe-viewall__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── YouTube fullscreen background ─────────────────────────────
   Works in both .ibe-hero__bg-wrapper and .ibe-viewall          */
.ibe-yt-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ibe-yt-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Ensure the iframe covers the container at any aspect ratio */
  width: 177.78vh;   /* 16/9 × 100vh */
  height: 56.25vw;   /* 9/16 × 100vw */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

/* ============================================
   PRELOADER
   ============================================ */
#ibe-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
#ibe-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#ibe-preloader img {
  max-width: 200px;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: preloaderPulse 2s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ============================================
   LANDING PAGE — location / language selector
   ============================================ */
#ibe-landing {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #faf5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
#ibe-landing.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ibe-landing__pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}
.ibe-landing__pattern img {
  display: block;
  max-height: 55vh;
  width: auto;
  opacity: 1;
}
.ibe-landing__body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ibe-landing__logo-wrap {
  margin-bottom: 3rem;
}
.ibe-landing__logo-wrap .ibe-logo,
.ibe-landing__logo-wrap img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: invert(0);
}
.ibe-landing__title {
  font-family: var(--ibe-font-primary);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: #434142;
  text-transform: uppercase;
  margin: 0 0 2.75rem;
  text-align: center;
}
.ibe-landing__fields {
  width: 100%;
}
.ibe-landing__field {
  margin-bottom: 2rem;
}
.ibe-landing__field-label {
  display: block;
  font-family: var(--ibe-font-primary);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #9a9a9a;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ibe-landing__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #bbb;
  padding: 0.55rem 2rem 0.55rem 0;
  font-family: var(--ibe-font-primary);
  font-size: 0.95rem;
  font-weight: 300;
  color: #434142;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23434142' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  transition: border-color 0.3s ease;
}
.ibe-landing__select:focus {
  outline: none;
  border-color: #434142;
}
.ibe-landing__btn {
  position: relative;
  display: inline-block;
  background: transparent;
  border: 0;
  padding: 0 0 6px 0;
  margin: 2.75rem 0 0;
  font-family: var(--ibe-font-primary);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #434142;
  cursor: pointer;
  transition: color 0.45s var(--ibe-transition);
}
.ibe-landing__btn span { display: inline-block; }
.ibe-landing__btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 56px;
  background: #FF4749;
  transition: width 0.45s var(--ibe-transition);
}
.ibe-landing__btn:hover { color: #FF4749; }
.ibe-landing__btn:hover::before { width: 100%; }
.ibe-landing__remember {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-family: var(--ibe-font-primary);
  font-size: 0.75rem;
  font-weight: 300;
  color: #434142;
  cursor: pointer;
  user-select: none;
}
.ibe-landing__remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #434142;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.ibe-landing__remember input[type="checkbox"]:checked {
  background: #434142;
}
.ibe-landing__remember input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid #faf5ee;
  border-bottom: 1.5px solid #faf5ee;
  transform: rotate(-45deg);
}
@media (max-width: 600px) {
  .ibe-landing__body { padding: 0 1.5rem; }
  .ibe-landing__title { font-size: 0.8rem; }
  .ibe-landing__logo-wrap .ibe-logo,
  .ibe-landing__logo-wrap img { height: 48px; }
}


/* ── Arabic (RTL) — Changa font override ─────────────────────────────────── */
:root:lang(ar),
html[lang="ar"] {
  --ibe-font-primary: 'Changa', system-ui, sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] .ibe-topnav,
html[lang="ar"] .ibe-overlay,
html[lang="ar"] .ibe-hero,
html[lang="ar"] .ibe-landing__body {
  font-family: 'Changa', system-ui, sans-serif  !important;
}

/* Override any hardcoded Montserrat/Zalando on Arabic */
html[lang="ar"] * {
  font-family: inherit;
}
html[lang="ar"] .ibe-story__body,
html[lang="ar"] .ibe-story__body p {
  font-family: 'Changa', system-ui, sans-serif !important;
}
