:root {
  --red: #ed1c24;
  --heading: #252525;
  --card-bg: #fff;
  --shadow: 0 6px 18px rgba(12, 20, 30, 0.08);
}
html {
  scroll-behavior: smooth;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= SECTION ================= */

.leadership-section {
  width: 100%;
  padding: 50px 70px;
  background: url("../images/Rectangle 30.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.leadership-div {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1380px;
}

/* ================= MAIN LAYOUT ================= */
.leadership-div-first-layout,
.leadership-div-second-layout {
  display: flex;
  width: 100%;
  gap: 4%;
  flex-wrap: nowrap;
  align-items: center;
}

/* ================= COLUMNS ================= */
.leadership-div-first-layout-left,
.leadership-div-first-layout-right,
.leadership-div-second-layout-left,
.leadership-div-second-layout-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Right-side wrapper stays right */
.leadership-div-first-layout-right,
.leadership-div-second-layout-right {
  justify-content: flex-end;
}

/* ================= IMAGE BLOCK ================= */
.leadership-div-img1,
.leadership-div-img2 {
  flex-shrink: 0;
  max-width: 38%;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadership-div-img1 img,
.leadership-div-img2 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.leadership-div-img1 {
  padding-right: 25px;
}

.leadership-div-img2 {
  padding-left: 25px;
}

/* ================= TEXT BLOCK ================= */
.leadership-para {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.leadership-para p {
  font-family: Outfit;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  /* text-align: justify; */
  overflow-wrap: break-word;
}

.leadership-para h5 {
  font-family: Outfit;
  font-weight: 500;
  font-size: 24px;
  /* line-height: 100%; */
}

.leadership-para h6 {
  font-family: Outfit;
  font-weight: 500;
  font-size: 20px;
  /* line-height: 100%; */
  color: var(--red);
}

.leadership-para button {
  padding: 10px 25px;
  width: 153px;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(237, 28, 36, 0.25);
}

/* ================= RIGHT LAYOUT TEXT FROM RIGHT ================= */
.leadership-div-first-layout-right .leadership-para,
.leadership-div-second-layout-right .leadership-para {
  text-align: right;
  align-items: flex-end;
}

.leadership-div-first-layout-right .leadership-para p,
.leadership-div-second-layout-right .leadership-para p {
  /* text-align: justify; */
  text-align-last: right;
}

.leadership-div-first-layout-right .leadership-para button,
.leadership-div-second-layout-right .leadership-para button {
  align-self: flex-end;
}

/* ================= HEADING ================= */
.leadership-div-heading {
  text-align: center;
  font-family: "EB Garamond";
  font-size: 36px;
  color: var(--heading);
  padding-bottom: 45px;
  position: relative;
}

.leadership-div-heading::before {
  content: "";
  width: 32px;
  height: 4px;
  background: var(--red);
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ================= TABLET ================= */
@media (max-width: 1100px) {
  .leadership-div-first-layout,
  .leadership-div-second-layout {
    flex-direction: column;
    gap: 40px;
  }

  .leadership-div-first-layout-left,
  .leadership-div-first-layout-right,
  .leadership-div-second-layout-left,
  .leadership-div-second-layout-right {
    /* flex-direction: column; */
    width: 95%;
    text-align: center;
    align-items: center;
  }

  .leadership-div-first-layout-right .leadership-para,
  .leadership-div-second-layout-right .leadership-para {
    text-align: center;
    align-items: center;
  }

  .leadership-div-first-layout-right .leadership-para p,
  .leadership-div-second-layout-right .leadership-para p {
    text-align: justify;
    text-align-last: center;
  }

  .leadership-div-img1,
  .leadership-div-img2 {
    max-width: 420px;
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 740px) {
  .leadership-div-first-layout-left,
  .leadership-div-first-layout-right,
  .leadership-div-second-layout-left,
  .leadership-div-second-layout-right {
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: center;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
  .leadership-section {
    padding: 15px;
  }

  .leadership-div-heading {
    font-size: 22px;
  }

  .leadership-para h5 {
    font-size: 20px;
  }

  .leadership-para h6 {
    font-size: 18px;
  }

  .leadership-para p {
    font-size: 15px;
    line-height: 20px;
  }

  .leadership-para button {
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
  }
}

/* animated effect  */
/* ================= IMAGE HOVER ZOOM EFFECT ================= */

/* keep overflow hidden so image doesn't break layout */
.leadership-div-img1,
.leadership-div-img2 {
  overflow: hidden;
}

/* smooth zoom */
.leadership-div-img1 img,
.leadership-div-img2 img {
  transition: transform 0.6s ease;
}

/* zoom on hover */
.leadership-div-img1:hover img,
.leadership-div-img2:hover img {
  transform: scale(1.12);
}

/* ================= READ MORE BUTTON ANIMATION ================= */

.leadership-para button {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* background slide animation */
.leadership-para button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}

/* hover effect */
.leadership-para button:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.35);
}

/* background fill */
.leadership-para button:hover::before {
  transform: scaleX(1);
}

/* ================= AUTO ANIMATED ARROW ================= */

.leadership-para button {
  position: relative;
  padding-right: 45px; /* space for arrow */
}

/* Arrow */
.leadership-para button::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-size: 18px;
  opacity: 0;
  animation: arrowMove 2s ease-in-out infinite;
}

/* Arrow animation */
@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(-10px);
  }
  30% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  60% {
    opacity: 1;
    transform: translateY(-50%) translateX(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(12px);
  }
}

/* Arrow color change on hover */
.leadership-para button:hover::after {
  color: #fff;
}

/* ================= HEADING SHINE ANIMATION ================= */

.leadership-div-heading h3 {
  position: relative;
  display: inline-block;
  overflow: hidden;

  font-family: EB Garamond;
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;

  letter-spacing: 1%;
}

/* Shine layer */
/* .leadership-div-heading h3::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(234, 146, 146, 0.8),
    transparent
  );
  transform: skewX(-20deg);
  animation: headingShine 3.5s ease-in-out infinite;
} */

/* Shine animation */
/* @keyframes headingShine {
  0% {
    left: -120%;
  }
  40% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
} */

/* ================= H5 TEXT SHINE (TEXT ONLY) ================= */

.leadership-para h5 {
  position: relative;
  display: inline-block;

  /* text shine setup */
  background: linear-gradient(120deg, #000 40%, #ffffff 50%, #000 60%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: h5TextShine 3s ease-in-out infinite; */
}

/* Shine animation */
@keyframes h5TextShine {
  0% {
    background-position: -200% center;
  }
  50% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
