/* ============================================================
   KAÏDA GROUP — One-Page Website Stylesheet
   Colors: Navy #0D1B3E | Red #C41E3A | Gold #C9A84C | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #0D1B3E;
  --navy2: #162348;
  --red:   #C41E3A;
  --gold:  #C9A84C;
  --white: #FFFFFF;
  --light: #F4F4F6;
  --text:  #2C2C2C;
  --muted: #6B7280;
  --radius: 4px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: #a8182f; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #b8933e; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ── Navigation ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--navy);
  padding: 6px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#navbar.scrolled .nav-logo img {
  height: 36px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

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

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}

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

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

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #a8182f !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Slide backgrounds – all stacked, active one fades in */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.95s ease;
  /* Layer 1: dim + desaturate the photo so it recedes */
  filter: brightness(0.52) saturate(0.6);
}

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

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  /* Layer 2: navy-tinted bottom gradient + left vignette */
  background:
    linear-gradient(to right,  rgba(5,10,30,0.72) 0%,  rgba(5,10,30,0.18) 55%, transparent 100%),
    linear-gradient(to top,    rgba(5,10,30,0.95) 0%,  rgba(5,10,30,0.50) 40%, rgba(5,10,30,0.10) 100%);
}

/* Full-screen wrapper: stacks content + strip vertically */
.hero-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Area above strip — panels anchored at its bottom */
.hero-panels {
  flex: 1;
  position: relative;
  padding-top: 90px; /* clear fixed nav */
}

/* Each content panel — slides up + fades on activation */
.hero-panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding-bottom: 52px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease 0.15s, transform 0.65s ease 0.15s;
  pointer-events: none;
}


.hero-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);

  margin-bottom: 20px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.hero-panel-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Hero Strip ─────────────────────────────────────────── */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 56px;
  background: rgba(13,27,62,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Pause the progress bar fill animation when strip has .paused */
.hero-strip.paused .hero-strip-item.active .hero-strip-bar-fill {
  animation-play-state: paused;
}

.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.hero-strip-item:hover  { background: rgba(255,255,255,0.05); }
.hero-strip-item.active { background: rgba(255,255,255,0.04); }

.hero-strip-body { flex: 1; min-width: 0; }

.hero-strip-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.hero-strip-item.active .hero-strip-label { color: var(--white); }

.hero-strip-bar {
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
  overflow: hidden;
}

.hero-strip-bar-fill {
  height: 100%;
  width: 0;
  background: #4A7FC1;
  border-radius: 1px;
}

.hero-strip-item.active .hero-strip-bar-fill {
  animation: heroFill 5s linear forwards;
}

@keyframes heroFill {
  from { width: 0; }
  to   { width: 100%; }
}

.hero-strip-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.hero-strip-pause:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.hero-strip-pause .icon-play  { display: none; }
.hero-strip-pause .icon-pause { display: block; }
.hero-strip-pause.paused .icon-play  { display: block; }
.hero-strip-pause.paused .icon-pause { display: none; }

/* ── About ───────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-logo-main {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 8px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-main img {
  width: 100%;
}

.about-stat-box {
  position: absolute;
  bottom: -24px; right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 32px rgba(196,30,58,0.35);
}

.about-stat-box .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.about-stat-box .label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

/* ── Branches Overview ───────────────────────────────────── */
#branches {
  padding: 100px 0 0;
  background: var(--light);
}

.branches-header {
  text-align: center;
  margin-bottom: 64px;
}

.branches-header .gold-line { margin: 16px auto 0; }

/* ── Branch Rows V2 ──────────────────────────────────────── */

.branches-rows-v2 {
  display: flex;
  flex-direction: column;
}

.branch-row {
  display: flex;
  height: 360px;
  border-bottom: 1px solid #e8e8e8;
}

/* Alternating: even rows flip image to right */
.branch-row:nth-child(even) .branch-row-img { order: 2; }
.branch-row:nth-child(even) .branch-row-body { order: 1; }

.branch-row-img {
  flex: 0 0 42%;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.branch-row-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
}

.branch-row:hover .branch-row-img::after {
  background: rgba(0,0,0,0.18);
}

.branch-row-img > * { position: relative; z-index: 1; }

.branch-row-view {
  position: absolute;
  bottom: 0; left: 0;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.branch-row:hover .branch-row-view {
  opacity: 1;
  transform: translateY(0);
}

.branch-row-body {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 56px;
  gap: 0;
}

.branch-row-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.branch-row-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.branch-row-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.branch-row-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 28px;
}

.branch-row-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
  padding: 12px 28px;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.branch-row-btn:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ── Full-width Section Divider ──────────────────────────── */
.section-divider {
  height: 3px;
  background: linear-gradient(to right, var(--navy), var(--gold), var(--red));
}

/* ── Business Solutions ──────────────────────────────────── */
#business {
  padding: 100px 0;
  background: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-content .section-title { color: var(--navy); }

.domains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 24px 0 32px;
}

.domain-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.split-image-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 12px;
  line-height: 1.5;
}

.split-image-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.trusted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trusted-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1.5px solid rgba(13,27,62,0.2);
  border-radius: 100px;
  color: var(--navy);
}

/* ── Excellence (Académie) ───────────────────────────────── */
#excellence {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

#excellence .section-title { color: var(--white); }
#excellence .section-subtitle { color: rgba(255,255,255,0.65); }

.excellence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.programs-list { margin-top: 32px; }

.program-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.program-item:last-child { border-bottom: none; }

.program-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  min-width: 36px;
  line-height: 1;
  margin-top: 2px;
}

.program-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.program-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.excellence-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.excellence-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.excellence-photos img:first-child {
  grid-column: 1 / -1;
  height: 260px;
}

.excellence-motto {
  text-align: center;
  padding: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  margin-top: 0;
}

.excellence-motto blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
}

.excellence-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* ── KAÏDA CX ────────────────────────────────────────────── */
#cx {
  padding: 100px 0;
  background: var(--light);
}

.cx-content .section-title { color: var(--navy); }

.cx-approach {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 32px 0;
  flex-wrap: wrap;
}

.cx-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.cx-step-label {
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 16px;
  white-space: nowrap;
}

.cx-step-label.active { background: var(--red); }

.cx-arrow {
  color: var(--navy);
  font-size: 1.2rem;
  padding: 0 4px;
  opacity: 0.4;
}

.cx-expertises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.cx-expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.cx-expertise-item::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.cx-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cx-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cx-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* ── Marketing & Events ──────────────────────────────────── */
#events {
  padding: 100px 0;
  background: var(--white);
}

.events-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.service-card {
  padding: 32px;
  border-radius: 8px;
  background: var(--light);
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.events-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.events-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}

.events-gallery img:hover { transform: scale(1.02); filter: brightness(1.05); }
.events-gallery img:nth-child(1),
.events-gallery img:nth-child(5) { grid-column: span 2; height: 240px; }

/* ── Pourquoi KAÏDA ──────────────────────────────────────── */
#why {
  padding: 100px 0;
  color: var(--white);
  position: relative;
  background-image: url('assets/images/business-1.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 36, 0.88);
  z-index: 0;
}

#why > * {
  position: relative;
  z-index: 1;
}

#why .section-title { color: var(--white); }
#why .branches-header { margin-bottom: 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.why-item {
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}

.why-item:hover { background: rgba(255,255,255,0.07); }

.why-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.why-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── Trusted / Clients ───────────────────────────────────── */
#trusted {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

#trusted .branches-header { margin-bottom: 48px; }

.logos-track-wrapper {
  overflow: hidden;
  position: relative;
}

.logos-track-wrapper::before,
.logos-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}

.logos-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logos-track-wrapper::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.logos-track {
  display: flex;
  gap: 0;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}

.logos-track:hover { animation-play-state: paused; }

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee;
}

.logo-item img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-item:hover img { opacity: 1; filter: grayscale(0%); }

.logo-item span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.logo-item:hover span { opacity: 1; }

/* ── Gallery ─────────────────────────────────────────────── */
#gallery {
  padding: 100px 0;
  background: var(--light);
}

.gallery-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Montserrat', sans-serif;
}

.gallery-tab:hover { color: var(--navy); }
.gallery-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #000;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); opacity: 0.85; }

.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img,
.gallery-item.wide video { height: 280px; }

.gallery-item-video { cursor: default; }
.gallery-item-video:hover img,
.gallery-item-video:hover video { transform: none; opacity: 1; }
.gallery-item-video video { object-fit: cover; background: #000; }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  background: rgba(13,27,62,0.4);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg { color: var(--white); }

/* ── Lightbox ────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

#lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -40px; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 4px;
  transition: background 0.2s;
  z-index: 2001;
  user-select: none;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Contact ─────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

#contact .section-title { color: var(--white); }
#contact .section-subtitle { color: rgba(255,255,255,0.6); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-top: 56px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  display: block;
}

.contact-info-item a:hover { color: var(--gold); }

.contact-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.contact-action-btns .btn {
  font-size: 11px;
  padding: 10px 18px;
}

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group select option { background: var(--navy2); color: var(--white); }

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 16px;
  font-size: 12px;
  letter-spacing: 3px;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: #080f22;
  color: rgba(255,255,255,0.45);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  opacity: 0.75;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--gold); opacity: 0.8; }
.footer-bottom a:hover { opacity: 1; }

/* ── Scroll Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-float svg { color: var(--white); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-strip { grid-template-columns: repeat(5, 1fr) 44px; }
  .hero-strip-item { padding: 16px 12px; gap: 10px; }
}

@media (max-width: 1024px) {
  .branch-row { height: auto; min-height: 300px; }
  .branch-row-img { flex: 0 0 38%; }
  .branch-row-body { padding: 36px 32px; }
  .branch-row-title { font-size: 1.6rem; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .events-services { grid-template-columns: repeat(2, 1fr); }
  .hero-strip { grid-template-columns: repeat(3, 1fr) 36px; }
  .hero-strip-pause { grid-column: 4; grid-row: 1 / span 2; }
  .hero-strip-item:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-strip-item:nth-child(3) { border-right: none; }
}

@media (max-width: 768px) {
  /* iOS Safari doesn't support fixed backgrounds — fall back to scroll */
  #why { background-attachment: scroll; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid,
  .split-section,
  .split-section.reverse,
  .excellence-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-section.reverse { direction: ltr; }



  .branch-row { flex-direction: column; height: auto; }
  .branch-row:nth-child(even) .branch-row-img,
  .branch-row:nth-child(even) .branch-row-body { order: unset; }
  .branch-row-img { flex: none; height: 240px; }
  .branch-row-body { padding: 36px 24px; }
  .branch-row-view { opacity: 1; transform: none; }

  .events-services { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: repeat(2, 1fr) 36px; }
  .hero-strip-pause { grid-column: 3; grid-row: 1 / span 3; border-top: none; }
  .hero-strip-item:nth-child(2) { border-right: none; }
  .hero-strip-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-strip-item:nth-child(4) { border-right: none; }
  .hero-strip-item:nth-child(5) { grid-column: span 2; }
  .hero-panel-desc { font-size: 0.92rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .why-grid { grid-template-columns: 1fr; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .events-gallery { grid-template-columns: repeat(2, 1fr); }
  .events-gallery img:nth-child(1),
  .events-gallery img:nth-child(5) { grid-column: span 1; height: 200px; }

  .about-stat-box { position: static; margin-top: 24px; display: inline-block; }
  .split-image-badge { position: static; margin-top: 16px; display: inline-block; }

  .cx-images { grid-template-columns: 1fr; }
  .cx-images img:first-child { grid-column: 1; }

  .excellence-photos { grid-template-columns: 1fr; }
  .excellence-photos img:first-child { grid-column: 1; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .cx-approach { gap: 6px; }
  .cx-step-label { font-size: 10px; padding: 8px 10px; }

  .contact-action-btns { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tabs { gap: 0; }
  .gallery-tab { padding: 12px 16px; font-size: 10px; }
  .domains-grid { grid-template-columns: 1fr; }
}
