/* Extracurricular Section Styles */
.extracurricular-section {
  padding: 18px 24px;
  background: var(--section-bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 20px auto 0 auto;
}

.extracurricular-section h2 {
  font-size: var(--section-heading-size);
  margin-bottom: var(--section-heading-margin);
  color: var(--section-heading-color);
  text-align: left !important;
  font-family: var(--section-heading-font);
  font-weight: var(--section-heading-weight);
  position: static !important;
  left: auto !important;
  transform: none !important;
  display: block !important;
}

.extracurricular-section h2 i {
  color: var(--section-icon-color);
  margin-right: 15px;
}

.extracurricular-section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--secondary-color);
  border-radius: 1px;
}

.extracurricular-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 5000px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding-bottom: 0;
  height: 800px;
  min-height: 800px;
  max-height: 800px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  min-height: 600px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
  cursor: pointer;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide.prev,
.carousel-slide.next {
  opacity: 0.3;
  z-index: 1;
}

.carousel-slide:hover {
  opacity: 0.8;
}

.carousel-slide.active:hover {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 203, 225, 0.9));
  color: #fff;
  padding: 2rem 2rem 1.5rem 2rem;
  border-radius: 0 0 8px 8px;
}

.carousel-text {
  text-align: left;
}

.carousel-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
  text-align: left;
  line-height: 1.2;
  min-height: 1.68rem;
  display: flex;
  align-items: center;
}

.carousel-text p {
  font-size: var(--body-font-size);
  color: #fff;
  margin-bottom: 0;
  line-height: 1.5;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 32px auto 0 auto;
  padding-top: 0;
  z-index: 2;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(30, 203, 225, 0.3);
  cursor: pointer;
  transition: background 0.3s;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.indicator:hover {
  background: rgba(30, 203, 225, 0.6);
}

@media (max-width: 700px) {
  .extracurricular-section {
    padding: 10px 6vw;
  }
  .carousel-text h3 {
    font-size: 1.2rem;
  }
  .carousel-text p {
    font-size: 1rem;
  }
}

.carousel-description {
  margin-top: 20px;
  text-align: center;
  padding: 0 20px 40px 20px;
  margin-bottom: 0;
  min-height: 0;
  max-height: none;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* overflow: hidden; */
}

.carousel-description h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--section-heading-color);
  margin-bottom: 12px;
  font-family: var(--section-heading-font);
  min-height: 1.56rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-description p {
  font-size: var(--body-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 250px;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

.carousel-arrow-left,
.carousel-arrow-right {
  top: 250px;
} 