.yl-join-us {
  display: flex;
  flex-direction: column;
}

.yl-nav-img {
  color: white;
  text-decoration: none;
}

.yl-nav-img:hover {
  opacity: 0.8;
}

.yl-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.yl-socials img {
  width: 24px;
  height: 24px;
}

/* Main banner container */
.main-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Banner wrapper */
.banner {
  margin-top: -10px;
  position: relative;
}

/* Banner image */
.banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

/* Hover effects */
.banner a:hover .banner-image {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner {
    margin-top: -5px;
  }

  .banner img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .banner {
    margin-top: 0;
  }
}

/* Custom animations */
.banner-image {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.banner.loading {
  opacity: 0.7;
}

.banner.loading img {
  filter: blur(2px);
}

.about-us {
  padding: 50px 0 100px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-us-container {
  width: 900px;
  margin: 0 auto;
}

.about-us-gray {
  background-color: #e1e1d7;
}

.about-us-title {
  font-size: 48px;
  color: #010101;
  font-weight: 600;
  margin: 0 0 20px;
}

.about-us-description {
  font-size: 18px;
  color: #4e4e43;
  margin: 0 0 30px;
}

.about-us-more-button {
  font-size: 16px;
  border: none;
  padding: 0;
  font-weight: 600;
  background: transparent;
  margin: 0 0 50px;
  font-family: "Inter", sans-serif;
}

.youtube-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.responsive-iframe {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  padding: 12px 8px;
  color: #fff;
  background: #000;
  font-size: 14px;
  line-height: 1.4;
}

/* 992px and up (Desktop) */
@media (min-width: 992px) {
  .youtube-container {
    max-width: 850px;
    padding: 25px;
    border-radius: 20px;
  }

  .video-caption {
    font-size: 17px;
    padding: 20px;
  }
}

/* 768px-991px (Tablets in landscape) */
@media (min-width: 768px) {
  .youtube-container {
    max-width: 90%;
    padding: 20px;
  }

  .video-caption {
    font-size: 16px;
    padding: 18px 15px;
  }
}

@media screen and (max-width: 767px) {
  .about-us {
    width: auto;
    padding: 20px 10px;
  }

  .about-us-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-us-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .about-us-more-button {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

/* 481px-767px (Larger phones/tablets in portrait) */
@media (min-width: 481px) {
  .youtube-container {
    padding: 15px;
    border-radius: 16px;
  }

  .video-caption {
    font-size: 15px;
    padding: 15px 10px;
  }
}

/* Special styling for very small devices (under 360px) */
@media (max-width: 360px) {
  .youtube-container {
    padding: 8px;
    border-radius: 8px;
  }

  .video-caption {
    font-size: 13px;
    padding: 10px 6px;
  }
}

/* Video Container Styles */
.video-container {
  margin-top: 30px;
  text-align: center;
}

.video-container iframe,
.video-container video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  border: none;
}

.video-container video {
  display: block;
  margin: 0 auto;
}

.check-your-healt-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 100px 80px;
  position: relative;
}

.health-check-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: auto;
}

.health-check-watermark a {
  display: block;
  cursor: pointer;
}

.health-check-watermark img {
  height: 232px !important;
  width: 100%;
  transition: opacity 0.3s ease;
}

.health-check-watermark:hover img {
  opacity: 0.2;
}

.check-your-health {
  padding: 0;
}

.top-circle-wrap {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 0;
  top: 30px;
}

.top-circle {
  background-color: #f7eeed;
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: -48%;
  left: 50%;
  transform: translate(-50%, 0);
}

.bottom-circle-wrap {
  position: absolute;
  right: 0;
  width: 100%;
  height: 50%;
  bottom: 0;
}

.bottom-circle {
  background-color: #f7eeed;
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  right: -20px;
  bottom: 20px;
}

.health-left-content {
  width: 50%;
  position: relative;
  padding: 0 30px;
}

.health-right-image {
  width: 50%;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  height: 800px;
  padding: 0 30px;
}

.check-your-health .category {
  font-size: 14px;
  font-weight: 600;
  color: #b88917;
  margin-bottom: 7px;
  font-family: "Inter", sans-serif;
}

.check-your-health-title {
  font-size: 48px;
  color: #010101;
  font-weight: 800;
  margin-bottom: 5px;
  margin-left: 0;
}

.check-your-health-desc {
  font-size: 18px;
  color: #4e4e43;
  font-weight: 400;
  margin-bottom: 20px;
  width: 80%;
}

.start-your-health-check-button {
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  color: white;
  background-color: #4c6580;
  border: none;
  border-radius: 0 48px 48px;
  line-height: 45px;
  display: inline-block;
  min-width: 180px;
  text-align: center;
}

.start-your-health-check-button:hover {
  background-color: #344558;
}

.health-right-image img {
  max-height: 800px;
  width: auto;
  height: 100%;
  z-index: 2;
  position: relative;
  max-width: fit-content;
  margin-left: auto;
  margin-right: 0;
  display: block;
}

.check-your-health .subtitle {
  color: #4e4e43;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 15px !important;
  font-family: "PP Neue Machina";
}

.yl-experts {
  position: relative;
  z-index: 2;
}

.block-content {
  display: flex;
  justify-content: end;
  height: 800px;
  position: relative;
}

.block-content-right {
  width: 50%;
  background-color: #a9594abf;
  position: absolute;
  border-radius: 32px 0 0 0;
  right: 0;
  bottom: 10%;
}

.content {
  padding: 30px;
}

.content p {
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  margin-bottom: 0;
}

.content h5 {
  font-size: 32px;
  line-height: 42px;
  color: #fff;
}

.yl-experts .category {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.yl-category {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: #e1e1d7;
}

.yl-category .yl-category-container {
  margin: 0 auto;
  max-width: 1272px;
  text-align: center;
}

.yl-category .category {
  color: #b88917;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.yl-category .title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #010101;
  text-align: center;
}

.yl-category-title {
  color: #010101;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  display: none;
}

.yl-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  justify-content: center;
}

.yl-category-row .yl-category-item {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-color: transparent;
  height: 240px;
}

/* --- Default: row 1 (3 items: 33.33/33.33/33.33) --- */
.yl-category-row .yl-category-item:nth-child(1) {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 300px;
}

.yl-category-row .yl-category-item:nth-child(2) {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 300px;
}

.yl-category-row .yl-category-item:nth-child(3) {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 300px;
}

/* --- If 4 items total (row 2 has 1 item full width) --- */
.yl-category-row .yl-category-item:nth-child(4):last-child {
  flex: 1 1 100%;
  max-width: 100%;
}

/* --- If 5 items total (row 2 has 2 items: 50/50) --- */
.yl-category-row .yl-category-item:nth-child(4):nth-last-child(2) {
  flex: 1 1 calc(33.33% - 30px);
  max-width: 300px;
}

.yl-category-row .yl-category-item:nth-child(5):last-child {
  flex: 1 1 calc(66.66% - 30px);
  max-width: 630px;
}

/* --- If 6 items total (row 2 also 20/60/20) --- */
.yl-category-row .yl-category-item:nth-child(4) {
  flex: 1 1 calc(20% - 30px);
  max-width: 300px;
}

.yl-category-row .yl-category-item:nth-child(5) {
  flex: 1 1 calc(60% - 30px);
  max-width: 630px;
}

.yl-category-row .yl-category-item:nth-child(6) {
  flex: 1 1 calc(20% - 30px);
  max-width: 300px;
}

/* Mobile responsive styles for health-check water-mark */
@media screen and (max-width: 768px) {
  .health-check-watermark img {
    max-width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .health-check-watermark img {
    max-width: 120px;
  }
}
