/* =========================
   Global Reset
   Use: Base reset for spacing and box sizing
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Root Variables
   Use: Shared colors, widths, radius, and shadow values
========================= */
:root {
  --kg-blue: #001776;
  --kg-blue-deep: #07113b;
  --kg-blue-bright: #0d267a;
  --kg-red: #d73925;
  --kg-ink: #111827;
  --kg-muted: #5b6475;
  --kg-soft-blue: #eef3ff;
  --kg-line: rgba(0, 23, 118, 0.1);
  --kg-white: #ffffff;
  --kg-shadow: 0 24px 60px rgba(0, 23, 118, 0.14);
  --kg-shadow-soft: 0 16px 36px rgba(17, 24, 39, 0.08);
  --kg-radius-lg: 30px;
  --kg-radius-md: 22px;
  --kg-shell-max-width: 100%; /* Change to 1320px or 1440px if you want boxed layout again */
  --kg-side-gap: clamp(
    12px,
    2.4vw,
    32px
  ); /* Adjust left and right page spacing */
  --kg-section-width: 100%; /* Change to min(100%, 1200px) if you want narrower sections */
  --kg-section-gap: 28px; /* Adjust vertical gap between sections */
}

/* =========================
   Page Base
   Use: Overall page font, text color, and background
========================= */
body {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: var(--kg-ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(215, 57, 37, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #f8faff 0%, #ffffff 30%, #f7f9ff 100%);
}

main {
  padding: 20px 0 10px; /* Adjust top and bottom page spacing */
}

/* =========================
   Shared Wrapper
   Use: Main centered layout wrapper for the leadership page
========================= */
.leadership-page-shell {
  width: min(90%, var(--kg-shell-max-width)); /* Main page width control */
  margin: 0 auto;
  padding: 0 var(--kg-side-gap); /* Main left and right spacing control */
}

.leadership-hero,
.leadership-section,
.company-direction,
#customer-explore-page {
  width: var(--kg-section-width); /* Section width control */
  margin: 0 auto var(--kg-section-gap);
}

/* =========================
   Hero Section
   Use: Main introduction banner for the leadership page
========================= */
.leadership-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px); /* Adjust hero inner spacing */
  border-radius: var(--kg-radius-lg); /* Adjust hero corner roundness */
  /* background-image: url("../images/companyimage.jpeg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat; */
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.14),
      transparent 24%
    ),
    linear-gradient(135deg, var(--kg-blue) 0%, #0b2aa3 58%, #1637bb 100%);
  background-size: 200%;
  /* box-shadow: var(--kg-shadow); */
  animation: gradient 4s ease infinite;
}

.leadership-hero::before,
.leadership-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  animation: floatY 4s ease-in-out infinite;
}

/* circle shape white color*/
.leadership-hero::before {
  top: -80px;
  right: -30px;
  width: 230px;
  height: 230px;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}

/* circle shape red color */
.leadership-hero::after {
  bottom: -80px;
  left: -30px;
  width: 270px;
  height: 270px;
  background: rgba(215, 57, 37, 0.14);
}

.leadership-hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.leadership-hero-copy h1 {
  margin-bottom: 18px;
  color: var(--kg-white);
  font-size: 3.9rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.leadership-hero-lead {
  width: 90%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
  line-height: 1.8;
}

.leadership-eyebrow,
.company-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leadership-eyebrow,
.company-section-label {
  color: rgba(255, 255, 255, 0.92);
}

.leadership-eyebrow::before,
.company-section-label::before {
  content: "";
  width: 52px; /* Adjust accent line width */
  height: 2px;
  background: var(--kg-red);
}

.company-direction h2,
.leader-content-card h2 {
  margin-bottom: 16px;
  color: var(--kg-blue);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.leader-label-h2 span {
  font-size: 40%;
}

.company-section-highlight {
  font-weight: 700 !important;
}
/* =========================
   Leadership Section
   Use: Shared outer section for leadership and CEO profiles
========================= */
.leadership-section {
  display: grid;
  gap: clamp(26px, 4vw, 34px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--kg-line);
  border-radius: var(--kg-radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(238, 243, 255, 0.7)
  );
  box-shadow: var(--kg-shadow-soft);
}

.leader-block {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 15px);
  align-items: center;
  padding: clamp(16px, 2vw, 20px);
  border-radius: calc(var(--kg-radius-lg) - 6px);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(239, 244, 255, 0.9) 52%,
    rgba(222, 233, 255, 0.84) 100%
  );
}

.leader-block--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.leader-block--reverse .leader-photo-wrap {
  order: 2;
}

.leader-block--reverse .leader-content-card {
  order: 1;
}

.leader-photo-wrap,
.leader-content-card {
  border-radius: var(--kg-radius-lg);
}

.leader-photo-wrap {
  position: relative;
  max-height: 420px;
  overflow: visible;
  background: transparent;
}

.leader-photo-wrap::before {
  pointer-events: none;
}

.leader-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--kg-radius-lg);
  background: linear-gradient(
    180deg,
    rgba(0, 23, 118, 0.12),
    rgba(0, 23, 118, 0.04)
  );
  opacity: 0.88;
}

.leader-content-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.leader-label {
  margin-bottom: 14px;
  color: var(--kg-red);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leader-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 16px; /* Adjust role badge spacing */
  border-radius: 999px;
  background: #dbe5f9;
  color: var(--kg-blue);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.leader-role::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kg-red);
  flex-shrink: 0;
}

.leader-message p {
  margin-bottom: 16px;
  color: var(--kg-muted);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
  text-align: justify;
  hyphens: auto;
}

.leader-message p:last-child {
  margin-bottom: 0;
}

.leader-quote {
  position: relative;
  margin: 24px 0 0;
  padding: 22px 24px; /* Adjust quote box spacing */
  border-left: 4px solid var(--kg-red); /* Adjust quote accent thickness */
  border-radius: 0 20px 20px 0;
  background: rgba(0, 23, 118, 0.05);
  color: var(--kg-blue);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.8;
  overflow: hidden;
}

.leader-quote::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 18%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent 100%
  );
  transform: skewX(-18deg) translateX(0);
  animation: quoteShine 3.8s ease-in-out infinite;
}

@keyframes quoteShine {
  0% {
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    transform: skewX(-18deg) translateX(750%);
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: skewX(-18deg) translateX(750%);
    opacity: 0;
  }
}
/* =========================
   Shared Direction Section
   Use: Three-card leadership priorities after the profile sections
========================= */
.company-direction {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 40px); /* Adjust section spacing */
  border-radius: var(--kg-radius-lg);
  /* background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.08),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      var(--kg-blue-deep) 0%,
      #0a1d63 60%,
      var(--kg-blue-bright) 100%
    ); */
  background: linear-gradient(
    135deg,
    #07113b 0%,
    #001776 40%,
    #0d267a 78%,
    #d73925 100%
  );
  box-shadow: var(--kg-shadow);
  background-size: 300% 300%;
  animation: gradient 6s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.company-direction-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.company-direction,
.company-direction h2 {
  color: var(--kg-white);
  font-weight: 600;
}

.company-direction-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; /* Adjust space between direction cards */
}

.company-direction-card {
  padding: 24px 22px; /* Adjust direction card spacing */
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.1s linear;
}

.company-direction-card:hover {
  transform: translateY(-5px); /* Adjust hover lift amount */
  border-color: rgba(215, 57, 37, 0.55); /* Adjust hover accent color */
}

.company-direction-card h3 {
  margin-bottom: 12px;
  color: var(--kg-white);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.company-direction-card p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  font-weight: 500;
}

.company-direction-card:hover h3 {
  color: var(--kg-red);
  transform: translateY(-2px);
}

/* last part */
#customer-explore-page {
  position: relative;
  margin-bottom: 28px;
}

/* last part */
/* =========================
   leadership Slider Frame
   Use: Outer size, width, height, and base container style
========================= */
#customer-explore-page {
  overflow: hidden;
  height: 550px;
  border-radius: var(--kg-radius-lg);
  background: #09143f;
  box-shadow: var(--kg-shadow);
}

/* =========================
   leadership Slider Shared Height
   Use: Force inner track, slide, and image to match slider height
========================= */
#customer-explore-page .carousel-inner,
#customer-explore-page .carousel-item,
#customer-explore-page .carousel-item img {
  height: 100%;
}

#customer-explore-page .carousel-inner {
  position: relative;
  border-radius: inherit;
}

/* =========================
   leadership Slider Image Layer
   Use: Background image display and dark overlay for text contrast
========================= */
#customer-explore-page .carousel-item {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden; /* Keep image and overlay clipped inside rounded slider */
  background: var(--kg-blue-deep);
}

#customer-explore-page .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 9, 41, 0.18), rgba(0, 9, 41, 0.4)),
    linear-gradient(90deg, rgba(0, 23, 118, 0.62), rgba(0, 23, 118, 0.05));
}

#customer-explore-page .carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none; /* Prevent Bootstrap image sizing from shrinking the slide image */
  object-fit: cover;
  object-position: center center; /* Keep image centered while covering full slider */
  filter: saturate(0.92);
}

/* =========================
   leadership Slider Caption Position
   Use: Move caption block left, right, top, or bottom inside slide
========================= */
#customer-explore-page .carousel-caption {
  right: auto;
  bottom: 70px;
  left: 100px;
  z-index: 2;
  width: min(750px, calc(100% - 96px));
  padding: 0;
  text-align: left;
}

#customer-explore-page .carousel-caption h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 26px;
}

#customer-explore-page .carousel-caption h3 {
  margin: 0 0 12px;
  color: var(--kg-white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow:
    2px 4px 0 rgba(215, 57, 37, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.32);
}

#customer-explore-page .carousel-caption p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

#customer-explore-page .carousel-indicators {
  bottom: 18px;
  margin-bottom: 0;
}

#customer-explore-page .carousel-indicators button {
  width: 11px;
  height: 11px;
  margin: 0 6px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

#customer-explore-page .carousel-indicators .active {
  background-color: var(--kg-red);
}

/* =========================
   leadership Slider Arrows
   Use: Previous and next button hit area and icon styling
========================= */
#customer-explore-page .carousel-control-prev,
#customer-explore-page .carousel-control-next {
  width: 72px;
  opacity: 1;
  z-index: 4; /* Keep arrows above caption area so click/tap still works */
}

#customer-explore-page .carousel-control-prev {
  left: 16px;
  justify-content: flex-start;
}

#customer-explore-page .carousel-control-next {
  right: 16px;
  justify-content: flex-end;
}

#customer-explore-page .carousel-control-prev-icon,
#customer-explore-page .carousel-control-next-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  background-size: 46% 46%;
  backdrop-filter: blur(6px);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

#customer-explore-page .carousel-control-prev:hover .carousel-control-prev-icon,
#customer-explore-page
  .carousel-control-next:hover
  .carousel-control-next-icon {
  background-color: rgba(215, 57, 37, 0.82);
  transform: scale(1.05);
}

.customer-slide-btn {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 13px 20px 13px;
  outline: 0;
  border: 1px solid white;
  cursor: pointer;
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  text-decoration: none;
  color: white;
  font-weight: 700;
}

.customer-slide-btn:after {
  content: "";
  background-color: #d73925;
  width: 100%;
  z-index: -1;
  position: absolute;
  height: 100%;
  top: 7px;
  left: 7px;
  transition: 0.2s;
}

.customer-slide-btn:hover:after {
  top: 0px;
  left: 0px;
}

.leadership-hero {
  padding: 36px 30px 40px; /* Adjust tablet hero spacing */
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
  /* hero part */
  .leadership-eyebrow {
    font-size: 13px;
  }

  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 40px; /* Adjust half-screen / tablet accent line width */
  }

  .leadership-hero-copy h1 {
    font-size: 45px;
  }

  .leadership-hero-lead {
    font-size: 17px;
    width: 100%;
    text-align: justify;
    hyphens: auto;
  }

  .leadership-hero {
    padding: 34px 26px 38px; /* Adjust half-screen / tablet hero spacing */
  }

  /* leadership part */
  .leadership-section {
    padding: 26px;
  }

  .leader-block,
  .leader-block--reverse {
    grid-template-columns: 1fr;
  }

  .leader-block .leader-photo-wrap,
  .leader-block--reverse .leader-photo-wrap {
    order: 1;
  }

  .leader-block .leader-content-card,
  .leader-block--reverse .leader-content-card {
    order: 2;
  }

  .company-direction-grid {
    grid-template-columns: 1fr;
  }

  .leadership-section {
    padding: 22px;
    background-color: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 30px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-photo {
    max-width: auto;
    max-height: 360px;
    margin: 0 auto;
  }

  .leader-content-card h2 {
    font-size: 29px;
    text-align: center;
  }

  .leader-label {
    font-size: 13px;
  }

  .leader-role {
    display: flex;
    width: 80%;
    margin: 0 auto 16px;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background: #dbe5f9;
  }

  .leader-message p {
    font-size: 16px;
    text-align: justify;
    hyphens: auto;
  }

  .leader-quote {
    font-size: 16px;
    text-align: center;
  }

  /* direction part */
  .company-direction {
    background-size: 220% 220%;
    animation: gradient 6s ease infinite;
    padding: 30px;
  }

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 100%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .company-section-label {
    font-size: 13px;
  }

  .company-direction h2 {
    font-size: 29px;
  }

  .company-section-highlight {
    font-weight: 700 !important;
  }

  .company-direction-card h3 {
    font-size: 22px;
  }

  .company-direction-card p {
    font-size: 16px;
  }

  /* last part */
  #customer-explore-page {
    height: 450px; /* Adjust phone slider height */
    border-radius: 22px; /* Adjust mobile slider roundness */
  }

  #customer-explore-page .carousel-item,
  #customer-explore-page .carousel-inner {
    min-height: 100%; /* Keep phone slider track stretched to full height */
  }

  #customer-explore-page .carousel-item img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%; /* Force phone image to fully cover slider height */
    object-fit: cover;
  }

  #customer-explore-page .carousel-caption {
    left: 20px;
    right: 20px;
    bottom: 45px; /* Adjust phone caption position */
    width: auto;
  }

  #customer-explore-page .carousel-caption {
    padding: 0 !important;
  }

  #customer-explore-page img.slider-1 {
    object-position: 70% center;
  }

  #customer-explore-page img.slider-2 {
    object-position: 90% center;
  }

  #customer-explore-page .carousel-caption h2 {
    font-size: 13px; /* Adjust tab paragraph size */
    line-height: 1.55;
    width: 85%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 27px; /* Adjust tab heading size */
    line-height: 1.16;
    width: 85%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption p {
    font-size: 16px; /* Adjust phone paragraph size */
    line-height: 1.55;
    width: 85%;
    margin: 0 auto 22px !important;
  }

  .customer-explore-btn-1,
  .customer-explore-btn-2 {
    display: flex;
    margin-left: 45px;
    margin-right: auto;
    justify-content: flex-start;
  }

  .customer-slide-btn {
    font-size: 14px;
  }

  #customer-explore-page .carousel-control-prev,
  #customer-explore-page .carousel-control-next {
    display: flex; /* Keep arrows available on phone */
    width: 50px; /* Adjust tab arrow hit area */
  }

  #customer-explore-page .carousel-control-prev-icon,
  #customer-explore-page .carousel-control-next-icon {
    width: 2.7rem; /* Adjust tab arrow icon size */
    height: 2.7rem;
  }

  #customer-explore-page .carousel-indicators {
    bottom: 14px; /* Adjust tab dot position */
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .leadership-page-shell {
    width: min(95%, var(--kg-shell-max-width));
    padding: 0 18px;
  }

  .leadership-hero {
    padding: 40px 34px 44px;
  }

  .leadership-section {
    padding: 30px;
  }

  .company-direction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* hero part */
  .leadership-eyebrow {
    font-size: 13px;
  }

  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 40px;
  }

  .leadership-hero-copy h1 {
    font-size: 55px;
  }

  .chairmain-hero-lead {
    font-size: 16px;
  }

  /* leadership part */
  .leader-label {
    font-size: 12px;
  }

  .leader-content-card h2 {
    font-size: 34px;
  }

  .leader-role {
    background: #dbe5f9;
    font-size: 14px;
  }

  /* direction part */
  .company-section-label {
    font-size: 13px;
  }

  .company-direction h2 {
    font-size: 34px;
  }

  .company-section-highlight {
    font-weight: 700 !important;
  }

  .company-direction-card h3 {
    font-size: 21px;
  }

  /* last part */
  #customer-explore-page {
    height: 500px;
  }

  #customer-explore-page .carousel-caption {
    left: 80px;
    bottom: 60px;
    width: 65%;
  }

  #customer-explore-page .carousel-caption h2 {
    font-size: 28px;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: clamp(2rem, 3vw, 2.45rem);
  }
}

@media (max-width: 991px) {
  /* hero part */
  .leadership-eyebrow {
    font-size: 12px;
  }

  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 38px; /* Adjust half-screen / tablet accent line width */
  }

  .leadership-hero-copy h1 {
    font-size: 40px;
  }

  .leadership-hero-lead {
    font-size: 16px;
    width: 100%;
    text-align: justify;
    hyphens: auto;
  }

  .leadership-hero {
    padding: 34px 26px 38px; /* Adjust half-screen / tablet hero spacing */
  }

  /* leadership part */
  .leadership-section {
    padding: 26px;
  }

  .leader-block,
  .leader-block--reverse {
    grid-template-columns: 1fr;
  }

  .leader-block .leader-photo-wrap,
  .leader-block--reverse .leader-photo-wrap {
    order: 1;
  }

  .leader-block .leader-content-card,
  .leader-block--reverse .leader-content-card {
    order: 2;
  }

  .company-direction-grid {
    grid-template-columns: 1fr;
  }

  .leadership-section {
    padding: 22px;
    background-color: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 30px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-photo {
    max-width: auto;
    max-height: 350px;
    margin: 0 auto;
  }

  .leader-content-card h2 {
    font-size: 28px;
    text-align: center;
  }

  .leader-label {
    font-size: 13px;
  }

  .leader-role {
    display: flex;
    width: 80%;
    margin: 0 auto 16px;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    background: #dbe5f9;
  }

  .leader-message p {
    font-size: 16px;
    text-align: justify;
    hyphens: auto;
  }

  .leader-quote {
    font-size: 16px;
    text-align: center;
  }

  /* direction part */
  .company-direction {
    background-size: 220% 220%;
    animation: gradient 6s ease infinite;
    padding: 30px;
  }

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 100%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .company-section-label {
    font-size: 12px;
  }

  .company-direction h2 {
    font-size: 28px;
  }

  .company-section-highlight {
    font-weight: 700 !important;
  }

  .company-direction-card h3 {
    font-size: 22px;
  }

  .company-direction-card p {
    font-size: 16px;
  }

  /* last part */
  #customer-explore-page {
    height: 450px; /* Adjust phone slider height */
    border-radius: 22px; /* Adjust mobile slider roundness */
  }

  #customer-explore-page .carousel-item,
  #customer-explore-page .carousel-inner {
    min-height: 100%; /* Keep phone slider track stretched to full height */
  }

  #customer-explore-page .carousel-item img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%; /* Force phone image to fully cover slider height */
    object-fit: cover;
  }

  #customer-explore-page .carousel-caption {
    left: 20px;
    right: 20px;
    bottom: 45px; /* Adjust phone caption position */
    width: auto;
  }

  #customer-explore-page .carousel-caption {
    padding: 0 !important;
  }

  #customer-explore-page img.slider-1 {
    object-position: 70% center;
  }

  #customer-explore-page img.slider-2 {
    object-position: 90% center;
  }

  #customer-explore-page .carousel-caption h2 {
    font-size: 20px; /* Adjust tab paragraph size */
    line-height: 1.55;
    width: 85%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 26px; /* Adjust tab heading size */
    line-height: 1.16;
    width: 85%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption p {
    font-size: 16px; /* Adjust phone paragraph size */
    line-height: 1.55;
    width: 85%;
    margin: 0 auto 22px !important;
  }

  .customer-explore-btn-1,
  .customer-explore-btn-2 {
    display: flex;
    margin-left: 45px;
    margin-right: auto;
    justify-content: flex-start;
  }

  .customer-slide-btn {
    font-size: 14px;
  }

  #customer-explore-page .carousel-control-prev,
  #customer-explore-page .carousel-control-next {
    display: flex; /* Keep arrows available on phone */
    width: 50px; /* Adjust tab arrow hit area */
  }

  #customer-explore-page .carousel-control-prev-icon,
  #customer-explore-page .carousel-control-next-icon {
    width: 2.7rem; /* Adjust tab arrow icon size */
    height: 2.7rem;
  }

  #customer-explore-page .carousel-indicators {
    bottom: 14px; /* Adjust tab dot position */
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 18px;
  }

  .leadership-page-shell {
    padding: 0 12px; /* Adjust mobile left and right spacing */
  }

  .leadership-hero,
  .leadership-section,
  .company-direction {
    margin-bottom: 20px;
  }

  /* hero part */
  .leadership-eyebrow {
    gap: 8px;
    font-size: 11px; /* Adjust tab eyebrow text size */
    letter-spacing: 0.12em;
  }

  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 32px; /* Adjust tab accent line width */
  }
  .leadership-hero {
    padding: 28px 20px 32px; /* Adjust tab hero spacing */
    border-radius: 22px; /* Adjust tab hero roundness */
  }

  .leadership-hero::before {
    width: 150px; /* Adjust tab top decoration size */
    height: 150px;
    top: -46px;
    right: -28px;
  }

  .leadership-hero::after {
    width: 180px; /* Adjust tab bottom decoration size */
    height: 180px;
    bottom: -64px;
    left: -34px;
  }

  .leadership-hero-copy h1 {
    font-size: 35px;
  }

  .leadership-hero-lead {
    font-size: 15px;
    width: 100%;
    /* justify-content: center; */
    text-align: justify;
    hyphens: auto;
  }

  /* Adjust mobile body text size */
  /* .leadership-hero-lead,
  .leader-message p,
  .leader-quote,
  .company-direction-card p {
    font-size: 0.96rem; 
    line-height: 1.75;
  } */

  /* leadership part */
  .leadership-section {
    padding: 22px;
    background-color: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 30px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-photo {
    max-width: auto;
    max-height: 300px;
    margin: 0 auto;
  }

  .leader-content-card h2 {
    font-size: 27px;
    text-align: center;
  }

  .leader-label {
    font-size: 12px;
  }

  .leader-role {
    font-size: 14px;
  }

  .leader-message p {
    font-size: 15px;
    text-align: justify;
    hyphens: auto;
  }

  .leader-quote {
    padding: 10px 18px 10px 18px; /* Adjust mobile quote box spacing */
    font-size: 14px;
    text-align: center;
  }

  /* direction part */
  .company-direction {
    background-size: 200% 200%;
    animation: gradient 6s ease infinite;
    padding: 30px;
  }

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 100%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .company-section-label {
    font-size: 11px;
  }

  .company-direction h2 {
    font-size: 27px;
  }

  .company-section-highlight {
    font-weight: 700 !important;
  }

  .company-direction-card h3 {
    font-size: 22px;
  }

  .company-direction-card p {
    font-size: 15px;
  }

  /* last part */
  #customer-explore-page {
    height: 440px; /* Adjust phone slider height */
    border-radius: 22px; /* Adjust mobile slider roundness */
  }

  #customer-explore-page .carousel-item,
  #customer-explore-page .carousel-inner {
    min-height: 100%; /* Keep phone slider track stretched to full height */
  }

  #customer-explore-page .carousel-item img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%; /* Force phone image to fully cover slider height */
    object-fit: cover;
  }

  /* #customer-explore-page .carousel-item::after {
    background:
      linear-gradient(180deg, rgba(0, 9, 41, 0.2), rgba(0, 9, 41, 0.72)),
      linear-gradient(180deg, rgba(0, 23, 118, 0.26), rgba(0, 23, 118, 0.12));
  } */

  #customer-explore-page .carousel-caption {
    left: 20px;
    right: 20px;
    bottom: 50px; /* Adjust tab caption position */
    width: auto;
  }

  #customer-explore-page .carousel-caption {
    padding: 0 !important;
  }

  #customer-explore-page img.slider-1 {
    object-position: 70% center;
  }

  #customer-explore-page img.slider-2 {
    object-position: 90% center;
  }

  #customer-explore-page .carousel-caption h2 {
    font-size: 17px; /* Adjust tab paragraph size */
    line-height: 1.55;
    width: 80%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 22px; /* Adjust tab heading size */
    line-height: 1.16;
    width: 80%;
    margin: 0 auto 12px !important;
  }

  #customer-explore-page .carousel-caption p {
    font-size: 15px; /* Adjust phone paragraph size */
    line-height: 1.55;
    width: 80%;
    margin: 0 auto 22px !important;
  }

  .customer-explore-btn-1,
  .customer-explore-btn-2 {
    display: flex;
    margin-left: 65px;
    margin-right: auto;
    justify-content: flex-start;
  }

  .customer-slide-btn {
    font-size: 14px;
  }

  #customer-explore-page .carousel-control-prev,
  #customer-explore-page .carousel-control-next {
    display: flex; /* Keep arrows available on phone */
    width: 44px; /* Adjust phone arrow hit area */
  }

  #customer-explore-page .carousel-control-prev-icon,
  #customer-explore-page .carousel-control-next-icon {
    width: 2.3rem; /* Adjust tab arrow icon size */
    height: 2.3rem;
  }

  #customer-explore-page .carousel-indicators {
    bottom: 14px; /* Adjust tab dot position */
  }
}

@media (max-width: 480px) {
  .leadership-page-shell {
    padding: 0; /* Adjust very small phone side spacing */
  }

  .leadership-hero,
  .leadership-section,
  .company-direction {
    border-radius: 18px; /* Adjust very small phone corner roundness */
  }

  .company-direction {
    padding-left: 18px;
    padding-right: 18px; /* Adjust very small phone inner spacing */
  }

  .leadership-section {
    padding: 18px;
  }

  .leadership-hero-copy h1 {
    font-size: 1.8rem; /* Adjust very small phone title size */
  }

  /* hero part */
  .leadership-eyebrow {
    font-size: 10px;
  }

  .leadership-hero-copy h1 {
    font-size: 17px;
    text-align: center;
  }

  .leadership-hero-lead {
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    margin: 0 auto;
  }

  /* leader part*/
  .leader-photo-wrap {
    max-height: 400px;
  }

  .leadership-section {
    padding: 22px;
    background-color: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 10px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-label {
    font-size: 11px;
    text-align: center;
  }

  .leader-content-card h2 {
    font-size: 20px;
    text-align: center;
  }

  .leader-role {
    width: 100%;
    font-size: 11px;
    padding: 10px 0 10px 0;
    text-align: center;
    justify-content: center;
    background: #dbe5f9;
  }

  .leader-message p {
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    padding: 0 5px 0 5px;
  }

  .leader-quote {
    font-size: 12px;
    text-align: center;
    padding: 10px;
  }

  /* direction part */
  .company-direction {
    background-size: 180% 180%;
    animation: gradient 6s ease infinite;
  }

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 100%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 25px;
  }

  .company-section-label {
    font-size: 10px;
  }

  .company-direction h2 {
    font-size: 20px;
    padding: 0 20px 0 20px;
    text-align: center;
  }

  .company-section-highlight {
    font-weight: 700 !important;
  }

  .company-direction-card {
    padding: 15px 6px 15px 6px;
  }

  .company-direction-card h3 {
    font-size: 16px;
    text-align: center;
  }

  .company-direction-card p {
    font-size: 14px;
    padding: 0 20px 0 20px;
    text-align: justify;
    hyphens: auto;
  }

  /* last part */
  #customer-explore-page {
    height: 500px; /* Adjust very small phone slider height */
    border-radius: 18px;
  }

  #customer-explore-page .carousel-caption {
    padding: 0 !important;
  }

  #customer-explore-page img.slider-1 {
    object-position: 80% center;
  }

  #customer-explore-page img.slider-2 {
    object-position: 50% center;
  }

  #customer-explore-page .carousel-caption h2 {
    font-size: 12px;
    text-align: center;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 17px;
    text-align: center;
  }

  #customer-explore-page .carousel-caption p {
    position: relative;
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    width: 85%;
    margin: 0 auto 20px !important;
  }

  .customer-explore-btn-1,
  .customer-explore-btn-2 {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .customer-slide-btn {
    font-size: 14px;
  }

  #customer-explore-page .carousel-control-prev,
  #customer-explore-page .carousel-control-next {
    width: 40px; /* Adjust very small phone arrow tap area */
  }

  #customer-explore-page .carousel-control-prev {
    left: 6px; /* smaller = closer to edge, bigger = more inward */
  }

  #customer-explore-page .carousel-control-next {
    right: 6px; /* smaller = closer to edge, bigger = more inward */
  }

  #customer-explore-page .carousel-control-prev-icon,
  #customer-explore-page .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 429px) {
  /* hero part */
  .leadership-eyebrow {
    font-size: 9px;
  }

  .leadership-hero-copy h1 {
    font-size: 17px;
  }

  .leadership-hero-lead {
    font-size: 13px;
  }

  /* leader part*/
  .leader-photo-wrap {
    max-height: 370px;
  }

  .leadership-section {
    padding: 20px;
    background: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 10px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-label {
    font-size: 10px;
  }

  .leader-content-card h2 {
    font-size: 19px;
  }

  .leader-role {
    font-size: 10px;
    padding: 8px 0 8px 0;
    text-align: center;
    justify-content: center;
    background: #dbe5f9;
  }

  .leader-message p {
    font-size: 13px;
    text-align: justify;
    hyphens: auto;
    padding: 0 5px 0 5px;
  }

  .leader-quote {
    font-size: 11px;
    text-align: center;
    padding: 8px;
  }

  /* company section */
  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 24px;
  }

  .company-section-label {
    font-size: 9px;
  }

  .company-direction h2 {
    font-size: 19px;
  }

  .company-direction-card h3 {
    font-size: 15px;
  }

  .company-direction-card p {
    font-size: 13px;
  }

  /* customer / carousel section */
  #customer-explore-page .carousel-caption h2 {
    font-size: 11px;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 16px;
  }

  #customer-explore-page .carousel-caption p {
    font-size: 13px;
    width: 85%;
  }

  .customer-slide-btn {
    font-size: 13px;
  }
}

@media (max-width: 374px) {
  /* hero part*/
  .leadership-eyebrow {
    font-size: 8px;
  }

  .leadership-hero-copy h1 {
    font-size: 16px;
  }

  .leadership-hero-lead {
    font-size: 12px;
  }

  /* leader part*/
  .leader-photo-wrap {
    max-height: 340px;
  }

  .leadership-section {
    padding: 18px;
    background-color: white;
  }

  .leader-block,
  .leader-block--reverse {
    gap: 18px;
    padding: 10px;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(239, 244, 255, 0.9) 52%,
      rgba(222, 233, 255, 0.84) 100%
    );
  }

  .leader-label {
    font-size: 9px;
  }

  .leader-content-card h2 {
    font-size: 18px;
  }

  .leader-role {
    font-size: 9px;
    padding: 5px 0 5px 0;
    text-align: center;
    justify-content: center;
    background: #dbe5f9;
  }

  .leader-message p {
    font-size: 12px;
    text-align: justify;
    hyphens: auto;
    padding: 0 5px 0 5px;
  }

  .leader-quote {
    font-size: 10px;
    text-align: center;
    padding: 8px;
  }

  /* company section */
  .leadership-eyebrow::before,
  .company-section-label::before {
    width: 24px;
  }

  .company-section-label {
    font-size: 8px;
  }

  .company-direction h2 {
    font-size: 18px;
  }

  .company-direction-card h3 {
    font-size: 14px;
  }

  .company-direction-card p {
    font-size: 12px;
  }

  /* customer / carousel section */
  #customer-explore-page .carousel-caption h2 {
    font-size: 10px;
  }

  #customer-explore-page .carousel-caption h3 {
    font-size: 15px;
  }

  #customer-explore-page .carousel-caption p {
    font-size: 12px;
  }

  .customer-slide-btn {
    font-size: 12px;
  }
}
