/* ═══════════════════════════════════════════════════
   MUSTAQBAL — Production CSS
   Responsive: 320px → 2560px
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Saans';
  src: url('/assets/fonts/Saans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'jh';
  src: url('/assets/fonts/Tajawal-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'sig';
  src: url('/assets/fonts/jh-medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* ── CUSTOM PROPERTIES ── */
:root {
  --warm-brown: #3e443c;
  --dark-brown: #707c6d;
  --light-sand: #dceaeb;
  --cream: #e3e3e3;
  --gold: #5a5e5a;
  --gold-light: #dceaeb;
  --white: #ffffff;
  --text-dark: #3e443c;
  --text-mid: #5a5e5a;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(2rem, 4vw, 4rem);
  --space-xl: clamp(3rem, 6vw, 6rem);
  --space-2xl: clamp(4rem, 8vw, 8rem);

  --section-pad-x: clamp(1.25rem, 6vw, 8rem);
  --section-pad-y: clamp(4rem, 8vw, 8rem);

  --nav-h: 7rem;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'saans', Georgia, serif;
  background: var(--light-sand);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

@font-face {
  font-family: 'saans';
  src: url('assets/fonts/Saans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jh';
  src: url('assets/fonts/jh-medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--dark-brown);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ════════════════════════════════════════
   VIDEO
   ════════════════════════════════════════ */
.video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-pad-x);
  height: var(--nav-h);
  background: var(--dark-brown);
}

/* ── Side containers — equal flex-1 keeps logo perfectly centered ── */
.nav-side {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-side--left {
  justify-content: flex-start;
}

.nav-side--right {
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 2rem);
}

/* ── Logo ── */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.5rem, 2vw, 2rem);
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 80px;
  height: auto;
  transition: opacity 0.3s;
}

.nav-logo img:hover { opacity: 0.85; }

/* ── Nav links ── */
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ── Language switcher ── */
.nav-lang {
  display: inline-flex;
  font-family: 'jh' , Arial, Helvetica, sans-serif;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.7rem;
  /* letter-spacing: 0.2em; */
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  width: 50px;
  height: 40px;
  flex-shrink: 0;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-lang:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

/* ── Mobile hamburger toggle ── */
/* Hidden on desktop by default */
.nav-toggle--mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  border-radius: 3px;
  padding: 0;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.nav-toggle--mobile:hover {
  border-color: rgba(255,255,255,0.6);
}

.nav-toggle--mobile span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle--mobile.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle--mobile.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle--mobile.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--dark-brown);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  transition: right 0.4s var(--ease-out);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}

.mobile-menu.open { right: 0; }

.mobile-menu ul { list-style: none; }

.mobile-menu ul li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu ul li:last-child { border-bottom: none; }

.mobile-menu ul a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.25rem 0;
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-menu ul a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}
.mobile-close:hover {
  border-color: var(--white);
  color: var(--white);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,22,14,0.45) 0%, rgba(61,50,40,0.25) 50%, rgba(30,22,14,0.58) 100%);
  z-index: 1;
}

.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("/assets/images/Asset 3mustaqbal1.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 400px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 var(--section-pad-x) clamp(3rem, 8vh, 6rem);
  max-width: 90vw;
}

.hero-tag {
  display: inline-block;
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  letter-spacing: 0.3em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: clamp(1rem, 3vh, 2rem);
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-h1 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
  margin-bottom: clamp(1.25rem, 3vh, 1.8rem);
}
.hero-h1 span { color: var(--gold-light); }

.hero-cta {
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--dark-brown);
  color: var(--white);
  text-decoration: none;
  padding: clamp(0.7rem,1.5vw,0.85rem) clamp(1.5rem,3vw,2.5rem);
  font-size: clamp(0.65rem,1.2vw,0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--warm-brown); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  padding: clamp(0.7rem,1.5vw,0.85rem) clamp(1.5rem,3vw,2.5rem);
  font-size: clamp(0.65rem,1.2vw,0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); font-weight: 700; transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 48.5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}
.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

.hero-mobile-text { display: none; }

/* ════════════════════════════════════════
   IMTIAZ BAND
   ════════════════════════════════════════ */
.imtiaz {
  background-color: var(--dark-brown);
  position: relative;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.imtiaz-one { display: none; }

.imtiaz img { width: 200px; }

.imtiaz::after {
  content: '';
  position: absolute;
  top: 10%; right: 0;
  width: 400px; height: 200px;
  opacity: 0.3;
  background-image: url('/assets/images/Asset 1pattern.png');
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.imtiaz-text {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  color: var(--white);
  line-height: 1.7;
  width: 600px;
  margin: 30px 0;
}

/* ════════════════════════════════════════
   WHAT IS MUSTAQBAL
   ════════════════════════════════════════ */
#what {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.what-image {
  position: relative;
  overflow: hidden;
}
.what-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.what-image:hover img { transform: scale(1.04); }
.what-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122,107,90,0.3), transparent);
  pointer-events: none;
}

.what-text {
  background: var(--cream);
  padding: clamp(3rem,8vw,7rem) clamp(1.5rem,6vw,5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: clamp(0.55rem, 1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dark-brown);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--dark-brown);
  flex-shrink: 0;
}

.what-text h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  color: var(--warm-brown);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.what-text p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

/* ════════════════════════════════════════
   IMAGE STRIP
   ════════════════════════════════════════ */
.image-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(200px, 40vw, 55vh);
}
.strip-item {
  overflow: hidden;
  position: relative;
}
.strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.strip-item:hover img { transform: scale(1.06); }
.strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61,50,40,0.15);
  transition: background 0.4s var(--ease);
  pointer-events: none;
}
.strip-item:hover::after { background: rgba(61,50,40,0.05); }

/* ════════════════════════════════════════
   THE PROMISE
   ════════════════════════════════════════ */
#promise {
  background: var(--cream);
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#promise::before {
  content: 'مستقبل';
  position: absolute;
  font-family: 'sig', serif;
  font-size: clamp(10rem, 25vw, 30rem);
  color: rgba(122,107,90,0.04);
  top: 25%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}
#promise > * { position: relative; z-index: 1; }
#promise .section-label { justify-content: center; }
#promise .section-label::before { display: none; }
#promise h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  color: var(--warm-brown);
  margin-bottom: 60px;
  line-height: 1.2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}
.pillar {
  background: var(--dark-brown);
  padding: clamp(2rem,4vw,4rem) clamp(1.25rem,2.5vw,2.5rem);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  text-align: left;
}
.pillar.reveal.visible {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}
.pillar-number {
  font-family: 'saans', serif;
  font-size: clamp(3rem,6vw,5rem);
  font-weight: 300;
  color: #ffffff10;
  position: absolute;
  top: -0.5rem; right: 1rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.pillar h3 {
  font-family: 'saans', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.pillar p {
  font-size: clamp(0.8rem, 1.2vw, 0.85rem);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
.pillar-text { letter-spacing: 2px; }

.promise-footer { margin-top: 60px; }
.promise-intro {
  max-width: 600px;
  margin: auto;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ════════════════════════════════════════
   CEO QUOTE
   ════════════════════════════════════════ */
#quote {
  background-color: var(--dark-brown);
  min-height: clamp(400px, 60vh, 80vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--section-pad-x);
}
.quote-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.quote-logo { flex-shrink: 0; }
.quote-logo img {
  width: clamp(120px,15vw,250px);
  height: auto;
  margin-right: clamp(1.5rem,3vw,3rem);
}
.vertical-line {
  width: 1px;
  height: clamp(80px,12vh,160px);
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
  margin-right: clamp(1.5rem,3vw,3rem);
}
.quote-outer {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-text {
  font-family: 'Saans', serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}
.quote-name {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.quote-title {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  color: rgba(255,255,255,0.8);
}

/* ════════════════════════════════════════
   FUTURE INITIATIVES
   ════════════════════════════════════════ */
#future {
  padding: var(--section-pad-y) var(--section-pad-x);
  height: 75vh;
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
}
.future-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
}
#future h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--warm-brown);
  line-height: 1.15;
}
.future-desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(1rem,3vw,2rem);
}
.future-desc p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.future-desc strong {
  font-weight: 600;
  color: var(--dark-brown);
}

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
#contact {
  background: var(--dark-brown);
  padding: var(--section-pad-y) var(--section-pad-x);

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 6rem);
}

#contact::after {
  content: '';
  position: absolute;
  top: 10%; right: 0;
  width: 400px; height: 200px;
  opacity: 0.3;
  background-image: url('/assets/images/Asset 1pattern.png');
  background-size: cover;
  pointer-events: none;
}
#contact .section-label { color: var(--white); }
#contact .section-label::before { background: var(--white); }
#contact h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
#contact p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 3rem;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.1rem);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--white);
  padding-bottom: 0.5rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  word-break: break-all;
}
.contact-email:hover { color: var(--white); border-color: var(--white); }
.contact-email svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  background: var(--warm-brown);
  padding: clamp(1.5rem,3vw,3rem) var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: clamp(0.65rem,1vw,0.7rem);
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-ar {
  font-family: 'jh', sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  color: var(--white);
  letter-spacing: 0.05em;
}
/* LEFT CONTENT */

.contact-inner{
  flex: 1;
}

.contact-inner h2 {
  line-height: 0.95;
}

.contact-inner p {
  max-width: 42ch;
}

/* =========================
   FORM
========================= */

.mutaqbal-form {
  flex: 1;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mutaqbal-form__wrapper {
  width: 100%;
  max-width: 640px;

  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ROW */

.mutaqbal-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 4px;
  margin-bottom: 1px;
}

/* FIELD */

.mutaqbal-form__field {
  display: flex;
  flex-direction: column;

  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.15);

  padding: 1rem 1.25rem 0.75rem;

  transition:
    background 0.25s,
    border-color 0.25s;
    margin-bottom: 4px;
}

.mutaqbal-form__field:focus-within {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.mutaqbal-form__field label {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.5);

  margin-bottom: 0.35rem;
  font-weight: 600;
}

.mutaqbal-form__field input {
  width: 100%;
  padding: 0;

  background: transparent;
  border: none;
  outline: none;

  color: var(--white);

  font-family: 'saans', serif;
  font-size: 0.9rem;
  font-weight: 300;
}

.mutaqbal-form__field input::placeholder {
  color: rgba(255,255,255,0.2);
  font-size: 0.82rem;
}

.mutaqbal-form__field--full {
  grid-column: 1 / -1;
}

/* =========================
   SUBMIT ROW
========================= */

.mutaqbal-form__submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  flex-wrap: wrap;

  margin-top: 2rem;
}

/* BUTTON */

.mutaqbal-form__button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;

  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.15);

  padding: 1rem 1.25rem 0.75rem;

  color: var(--white);

  font-family: 'saans', serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.mutaqbal-form__button:hover,
.mutaqbal-form__button:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.mutaqbal-form__button:active {
  transform: scale(0.98);
}

/* PRIVACY */

.mutaqbal-form__privacy {
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);

  max-width: 28ch;
}

/* SUCCESS */

.mutaqbal-form__success {
  display: none;
  align-items: center;
  gap: 0.75rem;

  margin-top: 1.5rem;

  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.mutaqbal-form__success.show {
  display: flex;
}

/* =========================
   LARGE TABLETS
========================= */

@media (max-width: 1024px) {
  #contact {
    flex-direction: column;
    gap: 2rem;
  }

  #contact p {
    margin-bottom: 10px;
  }

  .contact-inner,
  .mutaqbal-form {
    max-width: 100%;
    width: 100%;
  }

  .mutaqbal-form__wrapper {
    max-width: 100%;
  }
}

/* =========================
   TABLETS
========================= */

@media (max-width: 768px) {
  #contact {
    gap: 3rem;
  }

  .mutaqbal-form__row {
    grid-template-columns: 1fr;
    margin-bottom: 4px;
  }

  #contact p {
    margin-bottom: 10px;
  }

  .mutaqbal-form__submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mutaqbal-form__button {
    width: 100%;
    min-width: unset;
  }

  .mutaqbal-form__privacy {
    max-width: 100%;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
  #contact {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #contact p{
    margin-bottom: 10px;
  }

  .mutaqbal-form__field {
    padding: 0.95rem 1rem 0.7rem;
  }

  .mutaqbal-form__field label {
    font-size: 0.54rem;
    letter-spacing: 0.2em;
  }

  .mutaqbal-form__field input {
    font-size: 0.88rem;
  }

  .mutaqbal-form__button {
    padding: 0.95rem 1rem 0.7rem;
    font-size: 0.54rem;
  }
}

/* ════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%     { opacity: 0.8; transform: scaleY(0.7); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { gap: 1.5rem; }
  #what { grid-template-columns: 1fr 1fr; min-height: 60vh; }
  .pillars { max-width: 100%; }
  .future-top { gap: 2.5rem; }
  .quote-text { font-size: clamp(0.85rem, 1.5vw, 1.1rem); }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 900px)
   Layout: [hamburger][logo][EN]
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --nav-h: 85px; }

  #navbar {
    height: 85px;
    padding: 0 1.5rem;
    background: var(--dark-brown) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Hide desktop nav links */
  .nav-links { display: none; }

  /* Show mobile hamburger */
  .nav-toggle--mobile { display: flex; }

  /* Right side: just the language switcher */
  .nav-side--right {
    gap: 0; /* no extra gap needed — only one item */
    justify-content: flex-end;
  }

  /* Imtiaz band swap */
  .imtiaz { display: none; }
  .imtiaz-one {
    background-color: var(--dark-brown);
    position: relative;
    padding: 48px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .imtiaz-text { width: 95%; }
  .imtiaz-one img { width: 150px; }
  .imtiaz::after { width: 200px; height: 100px; }
  #promise::before { top: 15%; }
  #contact::after { width: 200px; height: 100px; }

  /* Hero: 16:9 video */
  #hero {
    position: relative;
    height: 56.25vw;
    min-height: unset;
  }
  #hero .hero-content,
  #hero .hero-overlay,
  #hero .hero-waves,
  #hero .scroll-hint { display: none; }

  .video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .video-bg video { width: 100%; height: 100%; object-fit: cover; }

  /* Mobile hero text block */
  .hero-mobile-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dark-brown);
    padding: 3rem 2rem;
  }
  .hero-mobile-text .hero-tag {
    opacity: 1; animation: none;
    font-size: 0.65rem; letter-spacing: 0.3em; font-weight: 700;
    text-transform: uppercase; color: rgba(255,255,255,0.65);
    margin-bottom: 1.25rem; display: inline-block;
  }
  .hero-mobile-text .hero-h1 {
    opacity: 1; animation: none;
    font-family: 'saans', serif; font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15;
    color: var(--white); margin-bottom: 1.75rem; text-align: center;
  }
  .hero-mobile-text .hero-h1 span { color: var(--gold-light); }
  .hero-mobile-text .hero-cta {
    opacity: 1; animation: none;
    display: flex; flex-direction: row; justify-content: center;
    gap: 1rem; width: 100%; flex-wrap: wrap;
  }
  .hero-mobile-text .btn-primary,
  .hero-mobile-text .btn-ghost { text-align: center; padding: 0.9rem 2rem; font-size: 0.7rem; }
  .hero-mobile-text .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.35); }

  /* Layout adjustments */
  #what { grid-template-columns: 1fr; min-height: auto; }
  .what-image { height: clamp(250px, 50vw, 400px); }
  .image-strip { grid-template-columns: 1fr; height: auto; }
  .strip-item { height: clamp(200px, 50vw, 350px); }
  .pillars { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .quote-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .quote-logo { margin-right: 0; }
  .quote-logo img { margin: 0 auto; }
  .vertical-line { width: clamp(60px,20vw,120px); height: 1px; margin: 0; }
  .quote-outer { max-width: 100%; align-items: center; }
  /* .quote-name { justify-content: center; } */
  .future-top { grid-template-columns: 1fr; gap: 2rem; }
  footer { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 600px)
   ════════════════════════════════════════ */
@media (max-width: 600px) {
  #navbar { padding: 0 1.25rem; }
  .nav-logo img { width: 70px; }

  #hero {
    position: relative;
    height: 56.25vw;
    min-height: unset;
    margin-top: 0;
  }
  #hero .hero-content,
  #hero .hero-overlay,
  #hero .hero-waves,
  #hero .scroll-hint { display: none; }

  .hero-mobile-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dark-brown);
    padding: 2.5rem 1.25rem;
  }
  .hero-mobile-text .hero-tag {
    opacity: 1; animation: none;
    font-size: 0.6rem; letter-spacing: 0.3em; font-weight: 700;
    text-transform: uppercase; color: rgba(255,255,255,0.65);
    margin-bottom: 1.25rem; display: inline-block;
  }
  .hero-mobile-text .hero-h1 {
    opacity: 1; animation: none;
    font-family: 'saans', serif; font-weight: 300;
    font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.15;
    color: var(--white); margin-bottom: 1.75rem; text-align: center;
  }
  .hero-mobile-text .hero-h1 span { color: var(--gold-light); }
  .hero-mobile-text .hero-cta {
    opacity: 1; animation: none;
    display: flex; flex-direction: column; align-items: center;
    gap: 0.75rem; width: 100%;
  }
  .hero-mobile-text .btn-primary,
  .hero-mobile-text .btn-ghost {
    width: 100%; text-align: center;
    padding: 0.9rem 1.5rem; font-size: 0.7rem;
  }
  .hero-mobile-text .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.35); }

  .what-text { padding: 2.5rem 1.25rem; }
  #promise { padding: var(--section-pad-y) 1.25rem; }
  #promise h2 br { display: none; }
  #quote { padding: 3rem 1.25rem; min-height: auto; }
  #future, #contact { padding: var(--section-pad-y) 1.25rem; }
  footer { padding: 2rem 1.25rem; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Extra Small (≤ 400px)
   ════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-h1 { font-size: 1.5rem; }
  .hero-tag { font-size: 0.5rem; letter-spacing: 0.2em; }
  .what-image { height: 200px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — Wide / 4K (≥ 1800px)
   ════════════════════════════════════════ */
@media (min-width: 1800px) {
  :root { --section-pad-x: 12rem; }
  .hero-h1 { font-size: 3rem; }
  .quote-text { font-size: 1.2rem; }
  .future-top, .image-strip { max-width: 2200px; margin: 0 auto; }
}

/* ════════════════════════════════════════
   PRINT
   ════════════════════════════════════════ */
@media print {
  #navbar, .mobile-menu, .mobile-overlay, .scroll-hint, .video-wrap { display: none !important; }
  body { background: white; color: black; }
  #hero { height: auto; padding: 2rem; background: #3d3228; }
  .hero-overlay, .hero-waves { display: none; }
  .hero-content { position: static; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 0.75rem; color: #666; }
}





/* ════════════════════════════════════════
   FORM POPUP
   ════════════════════════════════════════ */

.form-popup {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  background: rgba(20, 24, 20, 0.45);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);

  z-index: 9999;
}

.form-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* POPUP BOX */

.form-popup__content {
  width: 100%;
  max-width: 420px;

  background: rgba(112, 124, 109, 0.96); /* dark-brown */

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 18px;

  padding: 2rem 1.75rem;

  text-align: center;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);

  transform: translateY(20px) scale(0.98);

  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease);

  position: relative;

  overflow: hidden;
}

.form-popup.show .form-popup__content {
  transform: translateY(0) scale(1);
}

/* subtle pattern glow */

.form-popup__content::after {
  content: '';

  position: absolute;
  top: -40%;
  right: -20%;

  width: 240px;
  height: 240px;

  background: radial-gradient(
    circle,
    rgba(255,255,255,0.06),
    transparent 70%
  );

  pointer-events: none;
}

/* MESSAGE */

.form-popup__content p {
  margin: 0;

  color: var(--white);

  font-family: 'saans', serif;

  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;

  letter-spacing: 0.02em;

  position: relative;
  z-index: 2;
}

/* BUTTON */

.form-popup__content button {
  margin-top: 1.75rem;

  min-width: 140px;

  background: rgba(255,255,255,0.08);

  border: 0.5px solid rgba(255,255,255,0.18);

  padding: 0.95rem 1.4rem 0.8rem;

  color: var(--white);

  font-family: 'saans', serif;
  font-size: 0.58rem;
  font-weight: 600;

  letter-spacing: 0.25em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;

  position: relative;
  z-index: 2;
}

.form-popup__content button:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

.form-popup__content button:active {
  transform: scale(0.98);
}

/* MOBILE */

@media (max-width: 600px) {
  .form-popup {
    padding: 1rem;
  }

  .form-popup__content {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .form-popup__content p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .form-popup__content button {
    width: 100%;
  }
}