/* ========================================================
   iTrend Solution — Global Styles (Light Glass Theme)
   ======================================================== */

:root {
  /* ----------------------------------------------------------
     BRAND PALETTE — pulled directly from the iTrend logo
     Purple (i-swirl / large circle) + Orange (lower circle),
     with the red & green dots as supporting accents.
     The legacy --orange / --orange-2 names are kept so every
     existing rule keeps working; only their VALUES changed,
     turning each former "blue" accent into brand purple→orange.
     ---------------------------------------------------------- */
  /* Premium take on the logo palette — same purple→orange identity, refined but
     with enough depth/saturation to read richly (not washed-out) on light UI. */
  --primary:       #7c2e85;   /* rich plum-purple (logo purple, deepened) */
  --primary-dark:  #4f1f56;   /* deep plum */
  --accent:        #ee942f;   /* warm amber (logo orange, refined) */
  --accent-red:    #d0616a;   /* softened coral   */
  --accent-green:  #6aa15a;   /* softened sage    */
  --surface:       #ffffff;
  --text:          #1f2937;
  --muted:         #6b7280;

  /* legacy aliases — now drive the whole UI in brand colours */
  --orange: var(--primary);   /* primary solid accent */
  --orange-2: var(--accent);  /* gradient partner → purple→amber gradients */
  --orange-soft: rgba(124, 46, 133, 0.09);
  --orange-soft-2: rgba(124, 46, 133, 0.15);

  --bg: #f3eef9;
  --bg-base: #f3eef9;
  --bg-soft: #eae1f2;

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-line: rgba(31, 38, 135, 0.08);

  --text-dark: #1f2937;
  --text-mid:  #4b5563;
  --text-soft: #6b7280;
  --text-mute: #9ca3af;

  --shadow-glass:
    0 12px 34px rgba(79, 31, 86, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --shadow-glass-lg:
    0 26px 64px rgba(79, 31, 86, 0.13),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Any in-page anchor / cross-page deep-link lands clear of the fixed navbar */
[id] { scroll-margin-top: 92px; }

body {
  background: var(--bg-base);
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* =========================================================
   HERO SECTION (preserved)
   ========================================================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Hero slideshow — image + video, cross-fading on loop */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 16s infinite ease-in-out;
  will-change: opacity;
}

.hero-slide--image {
  background: #ffffff url('../img/Map.png') no-repeat center center;
  background-size: contain;
}

.hero-slide--video { background: #000; }

.hero-slide--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -8s; }

@keyframes heroFade {
  0%, 45%, 100% { opacity: 1; }
  50%, 95%      { opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 7rem 1rem 2rem;
}

.hero-content { max-width: 700px; text-align: left; padding-top: 1rem; }

.hero-subtitle {
  color: #f5f5f5;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
  letter-spacing: 0.2px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -1px;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  min-height: 1.1em;
}

.typewriter {
  display: inline;
  transition: color 0.4s ease;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 0 1.5rem;
  line-height: 1.55;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-cta .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 6px 16px rgba(124, 46, 133, 0.3);
}

.hero-cta .btn-primary:hover {
  background: #6d1f6d;
  border-color: #6d1f6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 46, 133, 0.4);
}

.hero-cta .btn-outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-stats { margin-top: auto; padding-top: 2rem; }

.stat-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  text-align: left;
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-lg);
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}

/* =========================================================
   FLOATING NAV
   ========================================================= */

.floating-navbar {
  margin: 18px auto 0;
  max-width: 1200px;
  left: 0; right: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glass);
  padding: 0.6rem 1.25rem;
  transition: all 0.3s ease;
}

.floating-navbar .container,
.floating-navbar .container-fluid { align-items: center; }
.floating-navbar .navbar-brand { margin-right: 2rem; line-height: 1; }
.floating-navbar .navbar-nav { align-items: center; gap: 0.25rem; }

.floating-navbar:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-glass-lg);
}

.floating-navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 1.25rem;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.floating-navbar.scrolled .navbar-logo { height: 38px; }

.navbar-logo { height: 44px; width: auto; object-fit: contain; display: block; }

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.navbar-nav .nav-link:hover { color: var(--orange); background: var(--orange-soft); }
.navbar-nav .nav-link.active { color: var(--orange); background: var(--orange-soft-2); }

.glass-dropdown {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31, 38, 135, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  margin-top: 0.5rem !important;
  min-width: 240px;
}

.glass-dropdown .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
  background: var(--orange-soft);
  color: var(--orange);
}

.glass-dropdown .dropdown-divider { margin: 0.4rem 0.25rem; border-color: rgba(0, 0, 0, 0.08); }
.navbar-nav .dropdown-toggle::after { margin-left: 0.4rem; vertical-align: middle; }

.navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(124, 46, 133, 0.2); }

/* =========================================================
   MARQUEE STRIP
   ========================================================= */

.marquee-strip {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 1.5rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scrollMarquee 38s linear infinite;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee-track span {
  background: linear-gradient(180deg, #2b2b35 0%, #8a8b95 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.marquee-track span.dot {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  font-size: 0.7em;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

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

/* =========================================================
   LIGHT GLASS CANVAS — wraps every section below hero
   ========================================================= */

.dark-canvas {
  position: relative;
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(124, 46, 133, 0.10), transparent 60%),
    radial-gradient(900px 600px at 95% 30%, rgba(124, 46, 133, 0.07), transparent 65%),
    radial-gradient(1000px 700px at 50% 95%, rgba(124, 46, 133, 0.06), transparent 65%),
    var(--bg-base);
  color: var(--text-dark);
  overflow: hidden;
  isolation: isolate;
}

.dark-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 38, 135, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 38, 135, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* floating tinted orbs — softer on light bg */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.orb-1 { width: 460px; height: 460px; background: rgba(124, 46, 133, 0.45); top: 5%; left: -120px; animation: float1 18s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: rgba(238, 148, 47, 0.38); top: 45%; right: -100px; animation: float2 22s ease-in-out infinite; }
.orb-3 { width: 420px; height: 420px; background: rgba(124, 46, 133, 0.25); bottom: 5%; left: 30%; animation: float3 26s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,-80px) scale(0.92); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-50px) scale(1.05); } }

.dark-canvas > section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 6%;
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================================================
   SHARED SECTION HEADINGS
   ========================================================= */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(124, 46, 133, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 12px rgba(31, 38, 135, 0.06);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 720px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 3rem;
}

/* Generic glass card mixin */
.glass,
.pillar,
.about-visual,
.service-card,
.market-chip,
.leadership-card,
.dept-chip,
.culture-quote,
.culture-card,
.reach-stat,
.careers-section,
.stat-card {
  /* nothing here — each uses its own variant below */
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.about-text .tagline-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-pillars { margin-top: 2.5rem; display: grid; gap: 1rem; }

.pillar {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(124, 46, 133, 0.35);
  transform: translateX(6px);
  box-shadow: var(--shadow-glass-lg);
}

.pillar-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border-radius: 12px;
  border: 1px solid rgba(124, 46, 133, 0.25);
}

.pillar-text h4 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: var(--text-dark);
}

.pillar-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* About Visual — Image card + Vision/Mission/Goal stack */
.about-right-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.about-image-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass-lg);
  background: var(--glass-bg-strong);
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}

.about-image-card:hover { transform: translateY(-4px); }

.about-image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}

.about-image-card:hover img { transform: scale(1.04); }

.about-visual {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-glass-lg);
}

.vmg-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--glass-line);
}
.vmg-item:last-of-type { border-bottom: none; }

.vmg-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.vmg-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

.vmg-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  padding: 2.2rem 1.8rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: all 0.5s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(124, 46, 133, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 46, 133, 0.45);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 30px 60px -20px rgba(124, 46, 133, 0.28),
    var(--shadow-glass-lg);
}

.service-icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.3);
  border-radius: 14px;
  margin-bottom: 1.3rem;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); }

.service-card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}

.card-arrow {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(31, 38, 135, 0.15);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-dark);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* =========================================================
   GLOBAL REACH
   ========================================================= */

.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.reach-stat {
  margin-top: 2.2rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, rgba(124, 46, 133, 0.16), rgba(238, 148, 47, 0.06));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(124, 46, 133, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
}

.reach-stat-num {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.reach-stat-label {
  margin-top: 0.4rem;
  color: var(--text-mid);
  font-size: 0.95rem;
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.market-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-glass);
  transition: all 0.35s cubic-bezier(.16,1,.3,1);
}

.market-chip:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(124, 46, 133, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glass-lg);
}

.market-chip .flag { font-size: 1.4rem; line-height: 1; }

.market-chip.dashed {
  border-style: dashed;
  opacity: 0.7;
  font-style: italic;
  color: var(--text-soft);
}

/* =========================================================
   LEADERSHIP
   ========================================================= */

.leadership-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-glass-lg);
  position: relative;
  overflow: hidden;
}

.leadership-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124, 46, 133, 0.22), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.leader-img {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  box-shadow: 0 20px 50px -10px rgba(124, 46, 133, 0.45);
  overflow: hidden;
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.leader-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 46, 133, 0.4);
  animation: spin 30s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.leader-info .role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.leader-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.leader-info p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* =========================================================
   DEPARTMENTS
   ========================================================= */

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.dept-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.8rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
  cursor: default;
}

.dept-chip:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(124, 46, 133, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-glass-lg);
}

.dept-icon {
  font-size: 1.9rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border-radius: 50%;
  border: 1px solid rgba(124, 46, 133, 0.25);
  transition: transform 0.4s ease;
}

.dept-chip:hover .dept-icon { transform: rotate(10deg) scale(1.1); }

.dept-chip h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-dark);
}

/* =========================================================
   CULTURE
   ========================================================= */

.culture-quote {
  margin: 3.5rem 0 4rem;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--shadow-glass-lg);
  position: relative;
}

.culture-quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 30px;
  font-family: serif;
  font-size: 8rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.18;
  line-height: 1;
}

.culture-quote blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 auto 1rem;
  max-width: 800px;
}

.culture-quote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.culture-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.culture-card {
  padding: 2rem 1.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.culture-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 46, 133, 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-glass-lg);
}

.c-icon {
  font-size: 1.8rem;
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.25);
  border-radius: 14px;
  margin-bottom: 1.2rem;
}

.culture-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.culture-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* =========================================================
   GALLERY (Life at iTrend)
   ========================================================= */

.gallery-block { margin-top: 4rem; }

.gallery-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--text-dark);
  margin: 0 0 2rem;
}

.gallery-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--shadow-glass);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass-lg);
}

.gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}

/* =========================================================
   CAREERS CTA
   ========================================================= */

.careers-section {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 5rem 4rem !important;
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass-lg);
}

.careers-section::before {
  content: '';
  position: absolute;
  top: 50%; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124, 46, 133, 0.28), transparent 65%);
  filter: blur(60px);
  transform: translateY(-50%);
  pointer-events: none;
}

.careers-section .section-title { max-width: 700px; }

/* Glowing CTA button */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 32px -8px rgba(124, 46, 133, 0.5);
  transition: all 0.35s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 1.5rem;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -10px rgba(124, 46, 133, 0.6);
  color: #fff;
}

.btn-primary-glow:hover::before { opacity: 1; }
.btn-primary-glow .arrow { transition: transform 0.35s ease; display: inline-block; }
.btn-primary-glow:hover .arrow { transform: translateX(6px); }

/* =========================================================
   FINAL CTA
   ========================================================= */

.cta-section {
  text-align: center;
  padding: 8rem 6% !important;
}

.cta-inner { max-width: 800px; margin: 0 auto; }

.cta-section h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--text-dark);
}

.cta-section h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: var(--text-dark) !important;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  text-decoration: none;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(124, 46, 133, 0.35);
  color: var(--orange) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-lg);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  margin-top: 3rem;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(124, 46, 133, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-top {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4.5rem 6% 2rem;
}

/* ---- 4-column grid ---- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-line);
}

.footer-col { min-width: 0; }

.footer-logo {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-about {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 360px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: var(--shadow-glass);
  transition: all 0.35s cubic-bezier(.16,1,.3,1);
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(124, 46, 133, 0.55);
}

/* Section headings */
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0 0 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}

/* Quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  color: var(--orange);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact list */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-contact i {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.22);
  border-radius: 10px;
  color: var(--orange);
  font-size: 0.95rem;
}

.footer-contact div { display: flex; flex-direction: column; line-height: 1.4; }
.footer-contact strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.15rem;
}

.footer-contact span,
.footer-contact a {
  font-size: 0.94rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-contact a:hover { color: var(--orange); }

/* ---- Newsletter strip ---- */
.footer-newsletter {
  margin-top: 2.5rem;
  padding: 2rem 2.2rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.25rem;
}

.newsletter-text p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-mid);
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-width: 360px;
  flex: 1;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  outline: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 38, 135, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  min-width: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.newsletter-form input::placeholder { color: var(--text-mute); }

.newsletter-form input:hover {
  border-color: rgba(124, 46, 133, 0.45);
}

.newsletter-form input:focus {
  background: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(124, 46, 133, 0.18);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(124, 46, 133, 0.5);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(124, 46, 133, 0.6);
}

.newsletter-form button .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.newsletter-form button:hover .arrow { transform: translateX(4px); }

/* ---- Bottom bar ---- */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 6%;
  border-top: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.footer-copyright strong { color: var(--text-dark); font-weight: 700; }

.footer-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-legal a:hover { color: var(--orange); }
.footer-legal .sep { color: var(--text-mute); }

/* =========================================================
   PAGE HERO (inner pages: About, Services, Careers, Contact)
   ========================================================= */

.page-hero {
  position: relative;
  padding: 11rem 6% 5rem;
  background:
    radial-gradient(1000px 600px at 15% 10%, rgba(124, 46, 133, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 60%, rgba(124, 46, 133, 0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-base) 100%);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 38, 135, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 38, 135, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(31, 38, 135, 0.06);
}

.breadcrumb-nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.breadcrumb-nav a:hover { color: var(--orange); }

.breadcrumb-nav .sep {
  color: var(--text-mute);
  font-weight: 600;
}

.breadcrumb-nav .current { color: var(--orange); font-weight: 600; }

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin: 0 0 1rem;
}

.page-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =========================================================
   GLASS MODAL
   ========================================================= */

.modal-backdrop.show { opacity: 0.45; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.glass-modal-wrap .modal-dialog {
  max-width: 560px;
  margin: 1.75rem auto;
}

/* ---- Wide modal: long forms lay out horizontally instead of one tall column.
   Applied to the career application, which has 8 fields + an upload. ---- */
.glass-modal-wrap.modal-wide .modal-dialog { max-width: 940px; }
.glass-modal-wrap.modal-wide .modal-content { padding: 2.4rem 2.4rem 2rem; }

/* Two-column field grid; items marked .span-2 run the full width. */
.modal-wide .modal-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; row-gap: .9rem; align-items: start; }
.modal-wide .modal-form > .span-2,
.modal-wide .modal-form > .form-legend,
.modal-wide .modal-form > .form-actions,
.modal-wide .modal-form > .file-upload,
.modal-wide .modal-form > textarea { grid-column: 1 / -1; }
/* .form-row already subdivides — let its children sit directly on the parent grid. */
.modal-wide .modal-form > .form-row { display: contents; }
.modal-wide .modal-form textarea { min-height: 92px; }
.modal-wide .form-actions { margin-top: .3rem; }

/* ---- Professional field treatment for the wide modal ----
   The default inputs sit on translucent white over the modal's own light glass,
   so they read as flat and washed-out. Here we give them solid fills, a clearly
   visible hairline, a taller target, and a firmer focus ring. */
.glass-modal-wrap.modal-wide .modal-content {
  background: #ffffff;
  border: 1px solid rgba(31, 38, 135, 0.10);
}
/* Kill the decorative purple glow blob — the restrained look reads cleaner without it. */
.glass-modal-wrap.modal-wide .modal-content::before { display: none; }
.modal-wide .modal-form input,
.modal-wide .modal-form select,
.modal-wide .modal-form textarea {
  background: #f4f5fa;
  border: 1px solid rgba(31, 38, 135, 0.16);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  font-size: 0.97rem;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.modal-wide .modal-form input:hover,
.modal-wide .modal-form select:hover,
.modal-wide .modal-form textarea:hover { border-color: rgba(124, 46, 133, 0.45); background: #fff; }
.modal-wide .modal-form input:focus,
.modal-wide .modal-form select:focus,
.modal-wide .modal-form textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 46, 133, 0.14);
}
/* Section rhythm: give the header a hairline divider from the fields. */
.modal-wide .modal-content > div:not(.form-success):not(.modal-form) {
  border-bottom: 1px solid rgba(31, 38, 135, 0.08);
  padding-bottom: 1.4rem;
  margin-bottom: 1.5rem;
}
.modal-wide .form-legend { margin: -.2rem 0 .2rem; }

@media (max-width: 767px) {
  /* Collapse to a single column — two columns are unusable at phone widths. */
  .glass-modal-wrap.modal-wide .modal-content { padding: 1.6rem 1.2rem; }
  .modal-wide .modal-form { grid-template-columns: minmax(0, 1fr); }
  .modal-wide .modal-form > .form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .modal-wide .form-actions { justify-content: stretch; }
}

.glass-modal-wrap .modal-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 2.2rem 2rem;
  box-shadow:
    0 30px 80px rgba(31, 38, 135, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.glass-modal-wrap .modal-content::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124, 46, 133, 0.28), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.glass-modal-wrap .modal-content > * { position: relative; z-index: 1; }

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin: -0.6rem -0.4rem 0.8rem auto;   /* its own row, flush top-right, pushes heading below */
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(31, 38, 135, 0.10);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.25s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: rotate(90deg);
  box-shadow: 0 10px 22px -4px rgba(124, 46, 133, 0.5);
  outline: none;
}

/* Heading block — no longer needs to clear an absolute close button */
.glass-modal-wrap .modal-content > div:not(.form-success):not(.modal-form) {
  margin-bottom: 1.5rem;
}

.modal-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.4rem 0.95rem;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.28);
  border-radius: 999px;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.glass-modal-wrap .modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.glass-modal-wrap .modal-subtitle {
  color: var(--text-mid);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.55;
}

/* Form styles inside modal */
/* minmax(0,1fr) so a wide child (e.g. the button row) can't stretch the column
   past the container and push fields outside the card padding on mobile. */
.modal-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
.modal-form.hidden { display: none; }
.modal-form > * { min-width: 0; }

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 38, 135, 0.16);
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder { color: var(--text-mute); }

.modal-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231f2937' d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

.modal-form input:hover,
.modal-form select:hover,
.modal-form textarea:hover { border-color: rgba(124, 46, 133, 0.4); }

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  background: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(124, 46, 133, 0.18);
}

.modal-form textarea { resize: vertical; min-height: 100px; }

/* File upload (resume) */
.file-upload {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}

.file-upload-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px dashed rgba(31, 38, 135, 0.22);
  border-radius: 11px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.file-upload:hover .file-upload-content {
  border-color: rgba(124, 46, 133, 0.55);
  background: #ffffff;
}

.file-upload input[type="file"]:focus-visible + .file-upload-content {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(124, 46, 133, 0.18);
}

.file-upload-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.25);
  border-radius: 10px;
  color: var(--orange);
  font-size: 1.15rem;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}

.file-upload:hover .file-upload-icon { transform: translateY(-2px); }

.file-upload-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.file-upload-text strong {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload-text small {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.3;
}

.file-upload-action {
  flex-shrink: 0;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 38, 135, 0.14);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.file-upload:hover .file-upload-action {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

/* Selected state — file chosen */
.file-upload.has-file .file-upload-content {
  border-style: solid;
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(124, 46, 133, 0.10), rgba(238, 148, 47, 0.04));
}

.file-upload.has-file .file-upload-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.file-upload.has-file .file-upload-action {
  background: rgba(255, 255, 255, 0.85);
  color: var(--orange);
  border-color: rgba(124, 46, 133, 0.35);
}

.modal-form .btn-primary-glow {
  margin-top: 0.4rem;
  justify-content: center;
  width: 100%;
}

.modal-form .terms {
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
  margin: 0.2rem 0 0;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 1.75rem 1.25rem 1.25rem;
}
.form-success.show { display: block; animation: fadeInUp 0.45s cubic-bezier(.16,1,.3,1); }

/* Animated success badge — soft halo + drawn checkmark */
.success-badge {
  position: relative;
  width: 84px; height: 84px;
  margin: 0 auto 1.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(16,185,129,0.16), rgba(16,185,129,0) 70%);
}
.success-badge::before {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(16,185,129,0.35);
  opacity: 0;
}
.form-success.show .success-badge { animation: successPop 0.55s cubic-bezier(.16,1,.3,1) both; }
.form-success.show .success-badge::before { animation: successHalo 1.5s ease-out 0.25s both; }

.success-check { width: 60px; height: 60px; display: block; }
.success-check .sc-ring {
  fill: none; stroke: #10b981; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 151; stroke-dashoffset: 151;
}
.success-check .sc-tick {
  fill: none; stroke: #10b981; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
}
.form-success.show .sc-ring { animation: scDraw 0.5s ease-out 0.1s forwards; }
.form-success.show .sc-tick { animation: scDraw 0.35s ease-out 0.5s forwards; }

.form-success h4 {
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  color: var(--text-dark);
}

.form-success p {
  margin: 0 auto;
  max-width: 340px;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* "What happens next" chips under the confirmation */
.success-steps {
  list-style: none;
  margin: 1.35rem auto 0.25rem;
  padding: 0;
  max-width: 330px;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.success-steps li {
  display: flex; align-items: center; gap: 0.65rem;
  text-align: left;
  font-size: 0.86rem; color: var(--text-mid);
  background: var(--orange-soft);
  border: 1px solid var(--glass-line);
  border-radius: 11px;
  padding: 0.62rem 0.85rem;
}
.success-steps li i { color: var(--primary); font-size: 1.05rem; flex-shrink: 0; }
.form-success.show .success-steps li { animation: fadeInUp 0.5s cubic-bezier(.16,1,.3,1) both; }
.form-success.show .success-steps li:nth-child(1) { animation-delay: 0.62s; }
.form-success.show .success-steps li:nth-child(2) { animation-delay: 0.74s; }
.form-success.show .success-steps li:nth-child(3) { animation-delay: 0.86s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scDraw { to { stroke-dashoffset: 0; } }
@keyframes successPop {
  0%   { opacity: 0; transform: scale(0.7); }
  60%  { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes successHalo {
  0%   { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .form-success.show .success-badge,
  .form-success.show .success-badge::before,
  .form-success.show .sc-ring,
  .form-success.show .sc-tick,
  .form-success.show .success-steps li { animation: none; }
  .success-check .sc-ring, .success-check .sc-tick { stroke-dashoffset: 0; }
  .success-badge::before { opacity: 1; }
}

/* Newsletter modal variant — narrower */
#newsletterModal .modal-dialog { max-width: 460px; }

/* =========================================================
   PAGE-SPECIFIC: SERVICES DETAILS
   ========================================================= */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--glass-line);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse > .service-detail-text { order: 2; }

.service-detail-visual {
  position: relative;
  padding: 3rem 2.5rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-glass-lg);
  text-align: center;
  overflow: hidden;
}

.service-detail-visual::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124, 46, 133, 0.28), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.service-detail-icon {
  position: relative;
  font-size: 4rem;
  width: 120px; height: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 32px;
  margin-bottom: 1.2rem;
  box-shadow: 0 22px 50px -10px rgba(124, 46, 133, 0.5);
}

.service-detail-number {
  position: relative;
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.service-detail-text h3 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

.service-detail-text p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.6rem;
}

.service-features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-mid);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

/* =========================================================
   PAGE-SPECIFIC: CAREERS — Open positions
   ========================================================= */

.jobs-grid {
  display: grid;
  gap: 1.2rem;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 46, 133, 0.45);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-glass-lg);
}

.job-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.35rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
}

.job-tag.dept { color: var(--orange); background: var(--orange-soft); border-color: rgba(124, 46, 133, 0.2); }

.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 22px -6px rgba(124, 46, 133, 0.45);
  transition: all 0.3s ease;
}

.job-apply:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -6px rgba(124, 46, 133, 0.55); color: #fff; }

/* =========================================================
   PAGE-SPECIFIC: CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.contact-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glass-lg); border-color: rgba(124, 46, 133, 0.35); }

.contact-card .c-icon-wrap {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border: 1px solid rgba(124, 46, 133, 0.25);
  border-radius: 12px;
  color: var(--orange);
  font-size: 1.2rem;
}

.contact-card h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 0.4rem;
}

.contact-card p, .contact-card a {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
}

.contact-card a:hover { color: var(--orange); }

.contact-form-card {
  padding: 2.2rem 2.2rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--shadow-glass-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124, 46, 133, 0.22), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.contact-form-card > * { position: relative; z-index: 1; }

.contact-form-card .form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.4rem;
}

.contact-form-card .form-sub {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.map-embed {
  margin-top: 3rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass-lg);
}

.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.2) contrast(1.05); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse > .service-detail-text { order: 0; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .job-card { grid-template-columns: 1fr; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* stagger for grids */
.services-grid .reveal:nth-child(1).is-visible,
.dept-grid .reveal:nth-child(1).is-visible,
.culture-pillars .reveal:nth-child(1).is-visible,
.markets-grid .reveal:nth-child(1).is-visible { transition-delay: 0.05s; }

.services-grid .reveal:nth-child(2).is-visible,
.dept-grid .reveal:nth-child(2).is-visible,
.culture-pillars .reveal:nth-child(2).is-visible { transition-delay: 0.12s; }

.services-grid .reveal:nth-child(3).is-visible,
.dept-grid .reveal:nth-child(3).is-visible,
.culture-pillars .reveal:nth-child(3).is-visible { transition-delay: 0.19s; }

.services-grid .reveal:nth-child(4).is-visible,
.dept-grid .reveal:nth-child(4).is-visible,
.culture-pillars .reveal:nth-child(4).is-visible { transition-delay: 0.26s; }

.services-grid .reveal:nth-child(5).is-visible,
.dept-grid .reveal:nth-child(5).is-visible { transition-delay: 0.33s; }

.services-grid .reveal:nth-child(6).is-visible,
.dept-grid .reveal:nth-child(6).is-visible { transition-delay: 0.40s; }

.dept-grid .reveal:nth-child(7).is-visible { transition-delay: 0.47s; }
.dept-grid .reveal:nth-child(8).is-visible { transition-delay: 0.54s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .about-grid, .reach-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-right-stack { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .culture-pillars { grid-template-columns: repeat(2, 1fr); }
  .leadership-card { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.8rem; }
  .leader-img { margin: 0 auto; }

  .careers-section { padding: 4rem 2.5rem !important; border-radius: 26px; }
  .careers-section .section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .newsletter-form { width: 100%; min-width: 0; max-width: none; }
}

@media (max-width: 768px) {
  .hero-section { min-height: auto; }
  .hero-slide--image { background-size: 160% auto; background-position: center 60%; }
  .hero-inner { min-height: auto; padding: 6rem 1rem 2rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-tagline { font-size: 0.9rem; }
  .hero-stats { padding-top: 1.5rem; }
  .stat-number { font-size: 1.6rem; }

  .dark-canvas > section { padding: 5rem 5%; }
  .services-grid, .dept-grid, .culture-pillars, .markets-grid { grid-template-columns: 1fr 1fr; }

  .leader-info h3 { font-size: 1.6rem; }
  .leader-img { width: 160px; height: 160px; font-size: 3.2rem; }

  .careers-section { padding: 3rem 1.5rem !important; border-radius: 20px; }
  .careers-section .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.15; }
  .careers-section .section-desc { font-size: 0.95rem; }
  .cta-section { padding: 5rem 6% !important; }

  .marquee-track { font-size: 1.2rem; gap: 1.8rem; }
}

@media (max-width: 600px) {
  .footer-top { padding: 3.5rem 6% 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; padding-bottom: 2.2rem; }
  .footer-newsletter { padding: 1.5rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 6%;
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid, .dept-grid, .culture-pillars, .markets-grid { grid-template-columns: 1fr; }
  .careers-section { padding: 2.5rem 1.25rem !important; border-radius: 18px; }
  .careers-section .btn-primary-glow { padding: 0.85rem 1.4rem; font-size: 0.92rem; }
}

@media (max-width: 991.98px) {
  .floating-navbar { margin: 12px 12px 0; border-radius: 14px; padding: 0.4rem 0.9rem; }
  .navbar-logo { height: 38px; }
  .navbar-collapse { margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid rgba(0, 0, 0, 0.06); }
  .navbar-nav .nav-link { padding: 0.6rem 0.85rem; margin: 2px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .orb, .leader-ring { animation: none !important; }
  .hero-slide { animation: none !important; opacity: 1; }
  .hero-slide--video { opacity: 0; }
  /* AOS + new motion off for reduced-motion users */
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dept-chip:hover .dept-icon,
  .why-card:hover .why-icon { animation: none !important; }
}

/* =========================================================
   BRAND DEPTH — extra ambience for the canvas (richer bg)
   ========================================================= */

/* a warm orange counter-orb so the purple isn't alone */
.orb-2 { background: rgba(238, 148, 47, 0.34); }
.dark-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 85% 8%, rgba(238, 148, 47, 0.10), transparent 60%),
    radial-gradient(700px 500px at 8% 70%, rgba(60, 122, 30, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Section "bands" — alternate a faint surface tint so sections feel distinct */
.dark-canvas > section.band {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.30));
  border-top: 1px solid rgba(124, 46, 133, 0.06);
  border-bottom: 1px solid rgba(124, 46, 133, 0.06);
  border-radius: 28px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   NAV — animated underline grow on hover
   ========================================================= */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem; right: 1rem;
  bottom: 0.32rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* =========================================================
   HERO — concrete subline + marketplace pills
   ========================================================= */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.45rem 0.95rem;
  background: rgba(124, 46, 133, 0.55);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(238,148,47,0.7);
  animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(238,148,47,0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(238,148,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(238,148,47,0); }
}
.hero-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.hero-market-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   WHY WORK AT iTREND
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.why-card {
  position: relative;
  padding: 2.2rem 1.9rem;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}
.why-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(124, 46, 133, 0.4);
  box-shadow: var(--shadow-glass-lg);
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  font-size: 1.9rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124,46,133,0.14), rgba(238,148,47,0.14));
  border: 1px solid rgba(124, 46, 133, 0.22);
  border-radius: 18px;
  margin-bottom: 1.3rem;
  transition: transform 0.4s ease;
}
.why-card:hover .why-icon { animation: bouncePop 0.6s ease; }
@keyframes bouncePop {
  0%,100% { transform: translateY(0) scale(1); }
  30%     { transform: translateY(-8px) scale(1.1); }
  60%     { transform: translateY(0) scale(0.98); }
}
.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.7rem;
}
.why-card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.65; margin: 0 0 1rem; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.why-list li {
  display: flex; gap: 0.55rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.5;
}
.why-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 0.05rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-soft); color: var(--primary);
  border-radius: 50%; font-size: 0.7rem; font-weight: 800;
}

/* =========================================================
   EMPLOYEE VOICES (testimonials)
   ========================================================= */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.voice-card {
  position: relative;
  padding: 2.4rem 1.9rem 1.9rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
}
.voice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glass-lg); }
.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem; left: 1.3rem;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
}
.voice-quote { position: relative; color: var(--text-mid); font-size: 0.97rem; line-height: 1.7; margin: 0.8rem 0 1.5rem; }
.voice-person { display: flex; align-items: center; gap: 0.85rem; }
.voice-avatar {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 800; font-size: 1.05rem;
}
.voice-meta strong { display: block; font-size: 0.98rem; color: var(--text-dark); font-weight: 700; }
.voice-meta span { font-size: 0.84rem; color: var(--text-soft); }

/* =========================================================
   GROWTH PATH — career timeline
   ========================================================= */
.timeline {
  position: relative;
  margin-top: 1rem;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding: 0.9rem 0 1.8rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -8px rgba(124,46,133,0.5);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), background 0.35s ease, color 0.35s ease;
}
.timeline-step:hover .timeline-dot {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.timeline-body {
  padding: 1.3rem 1.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.timeline-step:hover .timeline-body { transform: translateX(6px); box-shadow: var(--shadow-glass-lg); }
.timeline-body .stage { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.timeline-body h4 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 0.25rem 0 0.4rem; }
.timeline-body p { margin: 0; font-size: 0.92rem; color: var(--text-soft); line-height: 1.6; }

/* =========================================================
   DEPARTMENTS — richer interactive grid
   ========================================================= */
.dept-chip { position: relative; overflow: hidden; }
.dept-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,46,133,0.06), rgba(238,148,47,0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.dept-chip:hover::after { opacity: 1; }
.dept-chip .dept-icon { background: linear-gradient(135deg, rgba(124,46,133,0.12), rgba(238,148,47,0.12)); }
.dept-chip .dept-count {
  position: relative; z-index: 1;
  font-size: 0.78rem; color: var(--text-soft); margin-top: 0.15rem;
}
.dept-chip h4 { position: relative; z-index: 1; }

/* =========================================================
   AWARDS & RECOGNITION
   ========================================================= */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.award-card {
  text-align: center;
  padding: 1.8rem 1.4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.award-card:hover { transform: translateY(-6px); border-color: rgba(238,148,47,0.45); box-shadow: var(--shadow-glass-lg); }
.award-frame {
  width: 92px; height: 92px;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,46,133,0.10), rgba(238,148,47,0.10));
  border: 1px solid rgba(124,46,133,0.2);
}
.award-frame img { width: 100%; height: 100%; object-fit: cover; }
.award-frame .award-emoji { font-size: 2.6rem; }
.award-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.3rem; line-height: 1.35; }
.award-year { font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* =========================================================
   GALLERY — caption overlay + lightbox
   ========================================================= */
.gallery-grid { grid-auto-rows: 1fr; }
/* feature a couple of tiles larger for a masonry feel */
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  background: linear-gradient(0deg, rgba(79,31,86,0.85), rgba(79,31,86,0) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item .zoom-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
}
.gallery-item:hover .zoom-badge { opacity: 1; transform: scale(1); }

@media (max-width: 600px) {
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(40, 12, 40, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; animation: fadeInUp 0.3s ease; }
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 5vh; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox-btn:hover { background: var(--primary); transform: scale(1.08); }
.lightbox-close { top: 4vh; right: 4vw; }
.lightbox-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

/* =========================================================
   LEADERSHIP — larger, more prominent MD photo
   ========================================================= */
.leadership-card { grid-template-columns: 300px 1fr; gap: 3.5rem; }
.leader-img { width: 280px; height: 280px; font-size: 5rem; }
@media (max-width: 1100px) {
  .leadership-card { grid-template-columns: 1fr; }
  .leader-img { width: 240px; height: 240px; }
}

/* =========================================================
   RESPONSIVE — new sections
   ========================================================= */
@media (max-width: 1100px) {
  .why-grid, .voices-grid { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .why-grid, .voices-grid { grid-template-columns: 1fr; }
  .timeline-step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .timeline::before { left: 21px; }
  .timeline-dot { width: 44px; height: 44px; font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr; }
}
