
/* ==========================================================================
   LEADERSHIP TEAM PAGE — CSS ADDITIONS
   Append this block to the bottom of style.css
   All styles use existing CSS variables for full dark mode compatibility.
   ========================================================================== */


/* ── HERO: reuse .about-hero but override background image ── */
.ldr-hero-bg {
  background-image: url('images/management_cover_bg.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.ldr-hero-bg.loaded { transform: scale(1); }


/* ── SHARED LEADERSHIP PAGE UTILITIES ── */
.ldr-section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e6242e;
  margin-bottom: 0.85rem;
}

.ldr-section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.ldr-section-heading em {
  font-style: italic;
  color: var(--brand-primary);
}

/* Scroll-reveal base state */
.ldr-ab-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ldr-ab-reveal.ldr-visible {
  opacity: 1;
  transform: translateY(0);
}
.ldr-delay-1 { transition-delay: 0.12s; }
.ldr-delay-2 { transition-delay: 0.24s; }
.ldr-delay-3 { transition-delay: 0.36s; }

/* Alternate background sections */
.ldr-alt-bg { background: var(--bg-alt); }


/* ── FOUNDERS SECTION ── */
.ldr-founders-section {
  padding: 6rem 0;
  background: var(--bg);
}

.ldr-founders-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.ldr-founders-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 120px;
}

.ldr-founders-img-frame {
  position: relative;
  width: 100%;
  border-radius: 2px;
  overflow: visible;
}

.ldr-founders-img-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid var(--brand-primary);
  border-radius: 2px;
  opacity: 0.25;
  z-index: 0;
}

.ldr-founders-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: bottom;
  display: block;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}
.ldr-founders-img:hover { filter: grayscale(0%); }

.ldr-founders-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 52px;
  height: 52px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(33,45,99,0.35);
}

.ldr-founders-caption {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.ldr-founders-text {
  padding-top: 0.5rem;
}

.ldr-founders-tribute {
  margin-bottom: 2rem;
}

.ldr-founders-tribute-names {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.ldr-founders-tribute-message {
  font-family: var(--font-body);
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 1rem;
}

.ldr-founders-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.ldr-founders-divider::before,
.ldr-founders-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ldr-divider-icon {
  color: var(--brand-primary);
  font-size: 1.1rem;
  opacity: 0.6;
}


/* ── LEADERSHIP PROFILES ── */
.ldr-profiles-section {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.ldr-profiles-header {
  margin-bottom: 4rem;
}

.ldr-profiles-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.ldr-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.ldr-profile-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ldr-profile-card:hover {
  box-shadow: 0 16px 48px rgba(33,45,99,0.1);
  transform: translateY(-4px);
}

.ldr-profile-img-wrap {
  position: relative;
}

.ldr-profile-img-frame {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ldr-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}
.ldr-profile-card:hover .ldr-profile-img { transform: scale(1.04); }

.ldr-profile-gen-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.ldr-gen-3 {
  background: var(--brand-primary-light);
}

.ldr-profile-info {
  padding: 2rem 1.75rem 2.25rem;
}

.ldr-profile-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.ldr-profile-designation {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.15rem;
}

.ldr-profile-company {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.ldr-profile-divider {
  height: 2px;
  width: 40px;
  background: var(--brand-primary);
  margin: 1.25rem 0;
  opacity: 0.4;
}

.ldr-profile-bio {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 0;
}
.ldr-profile-bio em {
  font-style: italic;
  color: var(--text-primary);
}


/* ── NARRATIVE / EDITORIAL SECTIONS ── */
.ldr-narrative-section {
  padding: 0;
  overflow: hidden;
}

.ldr-editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.ldr-editorial-reverse {
  direction: rtl;
}
.ldr-editorial-reverse > * {
  direction: ltr;
}

.ldr-editorial-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.ldr-editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.ldr-editorial-img:hover img { transform: scale(1.04); }

.ldr-editorial-text {
  padding: 5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

.ldr-alt-bg .ldr-editorial-text {
  background: var(--bg-alt);
}

.ldr-narrative-text {
  font-family: var(--font-body);
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 1.1rem;
}
.ldr-narrative-text:last-child { margin-bottom: 0; }


/* ── QUOTE SECTION ── */
.ldr-quote-section {
  position: relative;
  padding: 8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.ldr-quote-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/mamnagement_cover_bg_1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.ldr-quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,30,0.88) 0%, rgba(33,45,99,0.82) 100%);
}

.ldr-quote-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.ldr-quote-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.ldr-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
}

.ldr-quote-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.ldr-quote-author {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.ldr-quote-role {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}


/* ── PHILOSOPHY SECTION ── */
.ldr-philosophy-section {
  padding: 6rem 0;
  background: var(--bg);
}

.ldr-philosophy-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.ldr-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.ldr-philosophy-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ldr-philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ldr-philosophy-card:hover {
  box-shadow: 0 12px 40px rgba(33,45,99,0.1);
  transform: translateY(-3px);
}
.ldr-philosophy-card:hover::before { opacity: 1; }

.ldr-philosophy-icon {
  font-size: 1.75rem;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.ldr-philosophy-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.ldr-philosophy-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}


/* ── CTA SECTION ── */
.ldr-cta-section {
  position: relative;
  padding: 7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ldr-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/mamnagement_cover_bg_2.jpg');
  background-size: cover;
  background-position: center;
}

.ldr-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,30,0.8) 0%, rgba(10,14,30,0.92) 100%);
}

.ldr-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.ldr-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.ldr-cta-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

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


/* ── DARK MODE OVERRIDES ── */

[data-theme="dark"] .ldr-founders-img {
  filter: grayscale(30%) brightness(0.9);
}
[data-theme="dark"] .ldr-founders-img:hover {
  filter: grayscale(0%) brightness(1);
}

[data-theme="dark"] .ldr-profile-card {
  background: var(--bg-alt);
  border-color: var(--border);
}
[data-theme="dark"] .ldr-profile-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

[data-theme="dark"] .ldr-founders-img-badge {
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

[data-theme="dark"] .ldr-philosophy-card {
  background: var(--bg-subtle);
}
[data-theme="dark"] .ldr-philosophy-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

[data-theme="dark"] .ldr-editorial-text {
  background: var(--bg);
}
[data-theme="dark"] .ldr-alt-bg .ldr-editorial-text {
  background: var(--bg-alt);
}

[data-theme="dark"] .ldr-quote-section .ldr-quote-text {
  color: rgba(255,255,255,0.95);
}

[data-theme="dark"] .ldr-section-label {
  color: #6d88e0;
}

[data-theme="dark"] .ldr-section-heading em {
  color: #fff;
}

[data-theme="dark"] .ldr-profile-designation {
  color: #6d88e0;
}

[data-theme="dark"] .ldr-philosophy-icon {
  color: #6d88e0;
}

[data-theme="dark"] .ldr-philosophy-card::before {
  background: #6d88e0;
}

[data-theme="dark"] .ldr-founders-tribute-names {
  color: #6d88e0;
}


/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  .ldr-founders-inner {
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
  }
  .ldr-philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ldr-editorial-text {
    padding: 4rem 3rem;
  }
}

/* Mobile landscape / tablet portrait */
@media (max-width: 768px) {
  .ldr-founders-section { padding: 4rem 0; }
  .ldr-profiles-section { padding: 4rem 0; }
  .ldr-philosophy-section { padding: 4rem 0; }

  .ldr-founders-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ldr-founders-img-wrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .ldr-profiles-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .ldr-editorial-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ldr-editorial-reverse {
    direction: ltr;
  }
  .ldr-editorial-img {
    min-height: 280px;
  }
  .ldr-editorial-text {
    padding: 3rem 1.75rem;
  }

  .ldr-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ldr-quote-section {
    padding: 5rem 1.5rem;
  }
  .ldr-quote-bg {
    background-attachment: scroll;
  }

  .ldr-cta-section {
    padding: 5rem 1.5rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .ldr-founders-inner {
    gap: 2rem;
  }
  .ldr-profile-info {
    padding: 1.5rem 1.25rem 1.75rem;
  }
  .ldr-profile-name {
    font-size: 1.4rem;
  }
  .ldr-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}
