/* ============================================================
   Leadership Section Widget — Styles
   Theme: lahore-view-city
   ============================================================ */

/* === Base / Variables === */
.lvc-leadership {
  --lvc-ls-deep-blue: #082D49;
  --lvc-ls-gold: #C8A977;
  --lvc-ls-white: #ffffff;
  --lvc-ls-soft-white: rgba(255, 255, 255, 0.88);
  --lvc-ls-border-gold: rgba(200, 169, 119, 0.55);
  position: relative;
  width: 100%;
  height: 260vh;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* === Sticky viewport === */
.lvc-leadership__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Parallax background === */
.lvc-leadership__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: background-position, opacity;
}

/* === Blue reveal panel (GSAP animated) === */
.lvc-leadership__panel {
  position: absolute;
  width: 560px;
  height: 560px;
  z-index: 2;
  transform-origin: center center;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}

/* === Content grid === */
.lvc-leadership__grid {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0 clamp(24px, 4vw, 90px);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(440px, 560px) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
}

/* ============================================================
   COO Card (Center Column)
   ============================================================ */
.lvc-leadership__card {
  grid-column: 2;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: clamp(24px, 3vh, 34px) clamp(28px, 2.6vw, 40px);
  color: var(--lvc-ls-white);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Label --- */
.lvc-leadership__label {
  font-size: clamp(11px, 0.8vw, 13px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 2vh, 20px);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}

/* --- Image frame --- */
.lvc-leadership__image {
  position: relative;
  width: clamp(170px, 13vw, 220px);
  height: clamp(175px, 15vw, 235px);
  margin: 0 auto clamp(28px, 3.5vh, 38px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards;
}

.lvc-leadership__image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -40px 50px -20px rgba(8, 45, 73, 0.45),
              inset 0 0 30px rgba(8, 45, 73, 0.15);
  pointer-events: none;
  z-index: 1;
}

.lvc-leadership__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- Heading --- */
.lvc-leadership__heading {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  width: 100%;
  max-width: 480px;
  margin: 0 auto clamp(18px, 2.4vh, 24px);
  text-transform: capitalize;
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s forwards;
}

.lvc-leadership__heading-line {
  display: block;
}

/* --- Gold divider --- */
.lvc-leadership__divider {
  width: 120px;
  height: 2px;
  margin: 0 auto clamp(18px, 2.4vh, 24px);
  opacity: 0;
  animation: lvcLeaderFadeUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.65s forwards;
}

/* --- Quote / Message --- */
.lvc-leadership__quote {
  max-width: 500px;
  margin: 0 auto clamp(18px, 2.6vh, 26px);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.75s forwards;
}

/* --- Name --- */
.lvc-leadership__name {
  font-size: clamp(21px, 1.6vw, 28px);
  line-height: 1.2;
  margin-bottom: 9px;
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.9s forwards;
}

/* --- Designation --- */
.lvc-leadership__designation {
  font-size: clamp(11px, 0.75vw, 13px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: lvcLeaderFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 1s forwards;
}

/* === Entrance keyframes === */
@keyframes lvcLeaderFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Info Cards (Left + Right)
   ============================================================ */
.lvc-leadership__info {
  opacity: 0;
  width: 100%;
  min-height: 320px;
  padding: 42px 38px;
  color: var(--lvc-ls-white);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lvc-leadership__info--left {
  grid-column: 1;
  transform: translateX(-90px);
}

.lvc-leadership__info--right {
  grid-column: 3;
  transform: translateX(90px);
}

.lvc-leadership__info-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lvc-leadership__info-title {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 24px;
}

.lvc-leadership__info-line {
  width: 70px;
  height: 2px;
  margin-bottom: 26px;
}

.lvc-leadership__info-desc {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.8;
}

/* ============================================================
   Large screens (≥1600px)
   ============================================================ */
@media (min-width: 1600px) {
  .lvc-leadership__grid {
    grid-template-columns: 1fr 600px 1fr;
    gap: 90px;
    padding: 0 110px;
  }
  .lvc-leadership__card { max-width: 600px; }
  .lvc-leadership__panel { width: 620px; height: 620px; }
}

/* ============================================================
   ≤1200px
   ============================================================ */
@media (max-width: 1200px) {
  .lvc-leadership__grid {
    grid-template-columns: minmax(230px, 1fr) minmax(420px, 500px) minmax(230px, 1fr);
    gap: 30px;
    padding: 0 30px;
  }
  .lvc-leadership__heading { font-size: 30px; }
  .lvc-leadership__info { padding: 32px 26px; }
  .lvc-leadership__panel { width: 520px; height: 560px; }
}

/* ============================================================
   Tablet (≤991px) — stacked layout
   ============================================================ */
@media (max-width: 991px) {
  .lvc-leadership { height: auto; }

  .lvc-leadership__sticky {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 0;
  }

  .lvc-leadership__bg,
  .lvc-leadership__panel { display: none; }

  .lvc-leadership__grid {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .lvc-leadership__card {
    order: 1;
    width: 100%;
    max-width: none;
    max-height: none;
    min-height: auto;
    padding: 55px 28px;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: none;
  }

  .lvc-leadership__image { width: 200px; height: 225px; }
  .lvc-leadership__heading { font-size: clamp(28px, 5.5vw, 36px); }

  .lvc-leadership__info,
  .lvc-leadership__info--left,
  .lvc-leadership__info--right {
    opacity: 1;
    transform: none;
    width: 100%;
    min-height: auto;
    padding: 48px 28px;
    border-left: none;
    border-right: none;
    border-top: none;
    backdrop-filter: none;
  }

  .lvc-leadership__info--left  { order: 2; }
  .lvc-leadership__info--right { order: 3; }
}

/* ============================================================
   Mobile (≤575px)
   ============================================================ */
@media (max-width: 575px) {
  .lvc-leadership__card { padding: 44px 20px; }

  .lvc-leadership__label {
    font-size: 10px;
    letter-spacing: 2px;
    white-space: normal;
  }

  .lvc-leadership__image {
    width: 160px;
    height: 190px;
    margin-bottom: 24px;
  }

  .lvc-leadership__heading {
    font-size: 24px;
    max-width: 320px;
  }

  .lvc-leadership__heading-line { white-space: normal; }
  .lvc-leadership__divider { width: 80px; }
  .lvc-leadership__quote { font-size: 14px; line-height: 1.7; }
  .lvc-leadership__name { font-size: 22px; }

  .lvc-leadership__designation {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .lvc-leadership__info { padding: 40px 22px; }
  .lvc-leadership__info-title { font-size: 32px; }
  .lvc-leadership__info-desc { font-size: 15px; }
}
