

/* Wrapper to reserve space while inner section is fixed/absolute */
.media-cards-wrap {
  position: relative;
  width: 100%;
}

/* ---- Page layout ---- */
.page-wrapper {
  min-height: 100vh;
  padding-block: 80px;
}

/* Base state: section is normal in the flow */
#sports-section {
  position: relative;
  width: 100%;
}

/* When scrolled into range: pin to viewport and make it a scroll container */
#sports-section.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow-y: auto; /* internal scroll, required for sticky cards */
}

/* After we've scrolled past the entire section: stick it at the bottom of wrapper */
#sports-section.is-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  overflow: visible;
}

.section-title {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding-inline: 16px;
  text-align: left;
}

.section-title h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.section-title p {
  max-width: 640px;
  font-size: 14px;
  opacity: 0.75;
}

/* ---- Cards container ---- */
.cards-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px 200px;
}

.cards-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/*==========CARD 1 CSS START============*/

.card-1 {
  background: url("/wp-content/uploads/2025/11/walee-psl.jpg");
  background-size: cover;
  background-position: center;
  justify-content: center;
  padding: 100px;
  position: sticky;
  top: 130px;
  margin-bottom: 120px;
  border-radius: 24px;
  min-height: 260px;
  display: flex;
  align-items: stretch;
  gap: 24px;
  transform: scale(0.98);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  z-index: 0;
}

.card-left-1 {
  gap: 30px !important;
  display: flex;
  flex-direction: column;
}

.card-subtitle {
  font-size: 60px;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
}

.card-heading {
  font-size: 50px;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
}

.card-description {
  font-size: 28px;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0;
  width: 582px;
}

/*==========CARD 1 CSS END============*/

/*==========CARD 2 CSS START============*/

.card-2 {
  background: url("/wp-content/uploads/2025/11/walee-hbl-psl.jpg");
  background-size: cover;
  background-position: center;
  justify-content: center;
  padding: 40px 50px 80px 50px;
  position: sticky;
  top: 120px;
  margin-bottom: 120px;
  border-radius: 24px;
  gap: 24px;
  transform: scale(0.98);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  z-index: 0;
}

.card-2-main-heading {
  font-size: 40px;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
}

.card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 60px;
}

.card-left-2 {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card-2-subtitle {
  font-size: 24px;
  line-height: 100%;
  font-weight: 400;
  letter-spacing: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.logo-image {
  width: 77px;
  height: 77px;
}

.card-2-right-image {
  width: auto;
  height: 540px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 15px;
  font-size: 12px;
  width: 140px;
  text-align: center;
}

.metric-label {
  font-size: 12px;
  font-weight: 500;
  color: #000000;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  line-height: 100%;
  margin-top: 8px;
}

.metric-meta {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
}

.metric-card-1 {
  position: absolute;
  top: 28%;
  right: 35%;
}

.metric-card-2 {
  position: absolute;
  top: 67%;
  right: 34%;
}

.metric-card-3 {
  position: absolute;
  top: 27%;
  right: 8%;
}

/*==========CARD 2 CSS END============*/

/*==========CARD 3 CSS START============*/

.card-3 {
  background: url("/wp-content/uploads/2025/12/hbl-psl-10.png");
  background-size: cover;
  background-position: center;
  justify-content: center;
  padding: 40px 50px 80px 50px;
  position: sticky;
  top: 120px;
  margin-bottom: 120px;
  border-radius: 24px;
  gap: 24px;
  transform: scale(0.98);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  z-index: 0;
}

.card.is-active {
  transform: scale(1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  filter: brightness(1.05);
  z-index: 2;
}

/*==========CARD 3   CSS END============*/

/* ---- Responsiveness ---- */
@media (max-width: 900px) {
  .card {
    flex-direction: column;
  }

  .phone-mock {
    align-self: center;
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  .card {
    /* keep sticky on mobile, just reduce offset & padding */
    top: 100px;
    padding: 24px 18px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card-1 {
    padding: 60px 20px;
    top: 20px;
    height: 80vh;
  }

  .card-left-1 {
    gap: 20px !important;
    display: flex;
    justify-content: center;
  }

  .card-subtitle {
    font-size: 40px;
  }

  .card-heading {
    font-size: 28px;
  }

  .card-description {
    font-size: 18px;
    width: auto;
  }

  .card-2 {
    top: 20px;
    padding: 40px 20px 0px 20px;
  }

  .card-2-main-heading {
    font-size: 40px;
  }

  .card-2-subtitle {
    font-size: 18px;
  }

  .card-inner {
    flex-direction: column;
    padding-top: 20px;
  }

  .card-2-right-image {
    position: relative;
    height: 300px;
  }

  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 8px;
  }

  .logo-image {
    width: 50px;
    height: 50px;
  }

  .card-3 {
    top: 20px;
    padding: 40px 20px 0px 20px;
  }
}
