/* Container for all trainer cards */

/* Hero section */
.hero-section {
  min-height: 100%;
  width: auto;
  display: flex;
  color: #fff;
  padding-top: 8rem;
}
.hero-sec-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}
.hero-sec-content-wrap,
.hero-sec-video-wrap {
  max-width: 50%;
  width: 100%;
  height: 100%;
}
.hero-sec-video-wrap {
  display: flex;
  justify-content: end;
  align-items: center;
}
.hero-sec-video-wrap iframe {
  border-radius: 12px;
}
.hero-sec-content-wrap h1 {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-transform: capitalize;
}

.hero-sec-content-wrap p {
  font-size: 1rem;
  margin-bottom: 1.4rem;
}
/* END Hero section */

/* Find Your Trainer */
.find-trainer-section {
  color: #fff;
  background-color: #232323;
  /* width: 100%; */
  height: 100%;
  margin: auto;
}
.find-trainer-section h2 {
  text-align: center;
  margin: auto 0 4rem;
}

.find-trainer-wrapper iframe {
  max-width: 800px !important;
  width: auto;
  margin: auto;
  display: flex;
}

/* END OF Find Your Trainer */

#trainer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

/* Each trainer card */
.trainer-card {
  text-decoration: none;
  color: white;
  text-align: center;
  transition: transform 0.3s;
}

.trainer-card:hover {
  transform: scale(1.05);
}

/* Circular image with border */
.circle-image {
  position: relative;
  max-height: 300px;
  min-height: 300px;
  height: 100%;
  max-width: 300px;
  min-width: 300px;
  width: 100%;
  border: 6px solid #b5976d;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Hover overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
}

.circle-image:hover .overlay {
  opacity: 1;
}

/* Specialties */
.specialties {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #fff;
  padding: 0 10px;
  text-align: center;
}

.specialties span {
  font-size: 16px;
  /* background-color: rgba(255, 255, 255, 0.1); */
  padding: 4px 8px;
  border-radius: 4px;
}

/* Trainer name */
.trainer-name {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.trainer-filter-wrapper {
  width: 300px;
  margin: 20px auto;
}

#specialty-filter {
  width: 100%;
}

/* DropDown */
.is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
  max-width: 99%;
}
.choices__input,
.choices__inner {
  background-color: #485b60 !important;
}
.choices__inner {
  max-width: 98%;
  display: flex !important;
}
.choices__input::placeholder {
  color: #fff;
}

.trainers-list .choices {
  padding: 0 24px;
}

.choices__list--dropdown, .choices__list[aria-expanded] {
  width: 95.7% !important;
}

/*********************** RESPONSIVENESS *********************/
@media (max-width: 1024px) {
  .hero-sec-wrapper {
    flex-direction: column;
  }
  .hero-sec-content-wrap,
  .hero-sec-video-wrap {
    max-width: 100%;
  }

  .choices__list--dropdown, .choices__list[aria-expanded] {
  width: 94.7% !important;
}
}

@media (max-width: 768px) {
  .circle-image {
    max-width: 250px;
    max-height: 250px;
  }
  .choices__list--dropdown, .choices__list[aria-expanded] {
  width: 93.6% !important;
}
}
@media (max-width: 740px) {
  .footer-col iframe {
    display: none;
  }
}

@media(max-width: 425px) {
  .hero-sec-video-wrap iframe {
    height: 212px;
  }
  .choices__list--dropdown, .choices__list[aria-expanded] {
  width: 89.5% !important;
}
}
