.page-sports {
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: var(--body-bg-color, #1a1a2e); /* Ensure consistency with shared body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-sports__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-sports__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-sports__text-block {
  flex: 1;
}

.page-sports__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-sports__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-sports__text-block a:hover {
  color: #e0b000;
}

.page-sports__image-left,
.page-sports__image-right,
.page-sports__image-center {
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 50%; /* Default for desktop */
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__image-center {
  margin: 0 auto 40px auto;
  max-width: 80%;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-sports__list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-sports__list li::before {
  content: '✔️';
  margin-right: 10px;
  color: #FFD700;
  font-weight: bold;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-sports__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-sports__main-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #2C3E50;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-sports__cta-button:hover {
  background: #e0b000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
}

.page-sports__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

/* Sports Offering Section */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__sport-card {
  background: rgba(44, 62, 80, 0.8); /* Auxiliary color with transparency */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-sports__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__sport-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
}

.page-sports__sport-card p {
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  font-size: 15px;
}

/* Get Started Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-sports__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #FFD700;
}

.page-sports__step-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__step-card p {
  color: #f0f0f0;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2C3E50;
  color: #FFD700;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #3a5068;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

/* Dark background sections */
.page-sports__dark-bg {
  background-color: #2C3E50; /* Auxiliary color for contrast sections */
  color: #ffffff;
  padding: 60px 20px;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #FFD700;
}

.page-sports__dark-bg .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__dark-bg .page-sports__text-block p {
  color: #f0f0f0;
}

/* General image styles for content area */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 40px;
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
  .page-sports__section-title {
    font-size: 30px;
  }
  .page-sports__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-sports__cta-button--large {
    font-size: 20px;
    padding: 15px 40px;
  }
  .page-sports__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-sports__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .page-sports__image-left,
  .page-sports__image-right {
    max-width: 100%;
  }
  .page-sports__image-center {
    max-width: 90%;
  }
  .page-sports__sport-card p {
    font-size: 14px;
  }
  .page-sports__faq-question h3 {
    font-size: 16px;
  }
  .page-sports__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-sports__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-sports__main-title {
    font-size: 32px;
  }
  .page-sports__hero-description {
    font-size: 16px;
  }
  .page-sports__cta-button,
  .page-sports__cta-button--small,
  .page-sports__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__cta-button:not(:last-child) {
    margin-bottom: 15px;
  }
  .page-sports__section-title {
    font-size: 24px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-sports__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .page-sports__image-left,
  .page-sports__image-right,
  .page-sports__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__sports-grid,
  .page-sports__steps-grid {
    gap: 20px;
  }
  .page-sports__sport-title,
  .page-sports__step-title {
    font-size: 20px;
  }
  .page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-question h3 {
    font-size: 15px;
  }
  .page-sports__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  .page-sports__list li {
    padding: 10px 12px;
    font-size: 14px;
  }
  .page-sports__dark-bg {
    padding: 40px 15px;
  }
}