.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1, #0d0d0d); /* Ensure a fallback if --dark-bg-1 is not defined */
  line-height: 1.6;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-sports__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Further darken overlay */
  z-index: 2;
}

.page-sports__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-sports__section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Darker background for content sections */
  color: #ffffff;
}

.page-sports__section--intro {
  background-color: #0d0d0d;
}

.page-sports__section--benefits {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-sports__section--how-it-works {
  background-color: #0d0d0d;
}

.page-sports__section--sports-types {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-sports__section--guide {
  background-color: #0d0d0d;
}

.page-sports__section--tips {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-sports__cta-banner {
  background-color: #0d0d0d;
  padding: 60px 20px;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-sports__heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-sports__heading--light {
  color: #FFFFFF;
}

.page-sports__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__text--light {
  color: #FFFFFF;
}

/* Images */
.page-sports__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-sports__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-sports__cta-button--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-sports__cta-button--primary:hover {
  background-color: #1d8acb;
  border-color: #1d8acb;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-sports__cta-button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-sports__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-sports__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
  margin-top: 20px;
}

.page-sports__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Feature Grid */
.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* How It Works Steps */
.page-sports__how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-sports__step {
  text-align: left;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__step-number {
  font-size: 2.5em;
  color: #26A9E0;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-sports__step-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Sports Types Grid */
.page-sports__sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

.page-sports__sport-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-sports__sport-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Guide Steps */
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-sports__step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #26A9E0;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block; /* Ensure no extra space below image */
}

/* Tips List */
.page-sports__list {
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0;
  list-style: none; /* Remove default bullet points */
  padding-left: 0;
}

.page-sports__list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  display: flex;
  align-items: flex-start;
}

.page-sports__list li::before {
  content: '✔'; /* Custom bullet point */
  color: #26A9E0;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1.6;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0d0d0d;
}

.page-sports__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: #FFFFFF;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #26A9E0;
}

.page-sports__faq-title {
  font-size: 1.2em;
  margin: 0;
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important;
  padding: 20px !important;
}

.page-sports__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-sports__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__text-link:hover {
  text-decoration: underline;
}

/* CTA Banner */
.page-sports__cta-container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-sports__cta-image {
  width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  max-width: 600px; /* Max width for image display */
  height: auto;
  display: block;
}

.page-sports__cta-content {
  width: 50%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__heading {
    font-size: 2em;
  }
  .page-sports__cta-container {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__cta-image,
  .page-sports__cta-content {
    width: 100%;
    max-width: 800px;
  }
  .page-sports__cta-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__section {
    padding: 60px 15px;
  }
  .page-sports__container {
    padding: 0 15px;
  }

  /* Images responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__image,
  .page-sports__sport-image,
  .page-sports__icon,
  .page-sports__cta-image {
    margin-left: auto;
    margin-right: auto;
  }
  .page-sports__icon {
    width: 80px !important;
    height: 80px !important;
  }

  /* Video responsive */
  .page-sports video,
  .page-sports__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__hero-video {
    position: absolute; /* Re-apply absolute positioning for video */
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  /* Buttons responsive */
  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-cta-group,
  .page-sports__button-group,
  .page-sports__btn-container {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-sports__cta-button--small {
    padding: 12px 20px;
  }
}