.studentcare-wrapper p {
  font-size: 14px;
  line-height: 160%;
  /* 22.4px */
}

.studentcare-wrapper h2 {
  font-weight: 500;
  font-size: 32px;
}

/* Video Section */
.video-wrapper {
  background-color: #fff6e7;
  padding: 62px 0;
  margin: 80px 0;
}

.video-subwrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-section {
  width: 50%;
  height: 410px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.video-thumbnail-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
}

.video-thumbnail-wrapper .studentcare-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-description-wrapper {
  width: 45%;
}

.video-description-wrapper h2 {
  padding-bottom: 16px;
}

/* Cards */
.features-card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  margin-bottom: 80px;
  gap: 32px;
}

.feature-card {
  border-radius: 20px;
  border-bottom: 1px solid #0066b0;
  background: #e6f0f8;
  padding: 30px;
  display: flex;
  gap: 15px;
  flex-direction: column;
  justify-content: space-between;
  height: 320px; /* Fixed height for all cards */
}

.feature-card p {
  flex: 1;
  overflow-y: auto; /* Inner scroll bar */
  max-height: 200px; /* Fixed max height for scroll */
  margin: 0;
  padding-right: 20px;
  scrollbar-width: thin;
  scrollbar-color: #03489f #dfdfdf;
  -webkit-overflow-scrolling: touch;
}

.feature-card.scrollbar p,
.feature-card.scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #03489f #dfdfdf;
}

.feature-card p::-webkit-scrollbar,
.feature-card.scrollbar p::-webkit-scrollbar,
.feature-card.scrollbar::-webkit-scrollbar {
  width: 2px !important;
}
.feature-card p::-webkit-scrollbar-button,
.feature-card.scrollbar p::-webkit-scrollbar-button,
.feature-card.scrollbar::-webkit-scrollbar-button {
  background: #ffffff !important;
}
.feature-card p::-webkit-scrollbar-track-piece,
.feature-card.scrollbar p::-webkit-scrollbar-track-piece,
.feature-card.scrollbar::-webkit-scrollbar-track-piece {
  background: #dfdfdf !important;
}
.feature-card p::-webkit-scrollbar-thumb,
.feature-card.scrollbar p::-webkit-scrollbar-thumb,
.feature-card.scrollbar::-webkit-scrollbar-thumb {
  background: #03489f !important;
  border-radius: 20px !important;
}

.students-names {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.feature-card-icon {
  width: 34px;
  height: 34px;
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 80px;
}

.gallery-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: "Playfair Display";
  color: #03489f;
  font-size: 32px;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-swiper .swiper-slide img:hover {
  transform: scale(1.03);
}

.gallery-swiper .swiper-pagination {
  bottom: -40px !important;
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: #03489f;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.swiperLetter .swiper-button-next, .swiper-button-prev{
    top: unset !important;
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
  font-size: 16px;
}

.curriculum-subwrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}

.curriculum-subwrapper .left-wrapper {
  width: 45%;
  background-color: #fff6e7;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  height: 420px;
  overflow: hidden;
  position: relative;
}

.curriculum-subwrapper .left-wrapper .left-wrapper-title {
  font-family: "PlayFair Display";
  font-size: 20px;
  color: #00243d;
  position: relative;
  z-index: 1;
}

.curriculum-subwrapper .right-wrapper {
  width: 50%;
}

/* Seventh Section ( Green ) */
.green-section-wrapper {
  border-radius: 20px;
  background-color: #def4e2;
  padding: 50px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.green-left-wrapper {
  width: 50%;
}

.green-section-right-wrapper-list {
  margin-top: 16px;
}

.assesment-desc {
  padding: 8px 0 0 0;
}

.assesment-qtn-wrapper p:first-child {
  padding: 40px 0 10px 0;
  font-weight: 500;
  font-size: 16px;
}

.green-right-wrapper {
  width: 45%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.green-right-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.green-right-wrapper-mobile {
  display: none;
}

/* MEDIA QUERY */
@media screen and (max-width: 1024px) {
  .features-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 820px) {
  /*  Video Section  */
  .video-wrapper {
    margin: 60px 0;
  }

  /* <!-- Fourth Section --> */
  .curriculum-wrapper {
    padding: 60px 0 10px 0;
  }

  .curriculum-subwrapper {
    flex-direction: column;
    gap: 20px;
  }

  .curriculum-subwrapper .left-wrapper,
  .curriculum-subwrapper .right-wrapper {
    width: 100%;
    height: auto;
  }

  /* <!-- Seventh Section ( Green ) --> */
  .green-section-wrapper {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .green-left-wrapper,
  .green-right-wrapper {
    width: 100%;
  }

  .green-right-wrapper {
    display: none;
  }

  .green-right-wrapper-mobile {
    display: block;
    margin: 20px 0;
    height: 400px;
  }

  .green-right-wrapper-mobile img {
    object-position: top;
  }

  .assesment-qtn-wrapper p:first-child {
    padding: 0 0 10px 0;
  }
}

@media screen and (max-width: 640px) {
  .studentcare-wrapper h2 {
    font-size: 24px;
  }

  /* <!-- Video Section --> */
  .video-wrapper {
    margin: 40px 0;
  }

  .video-subwrapper {
    flex-direction: column;
  }

  .video-section,
  .video-description-wrapper {
    width: 100%;
  }

  .video-section {
    height: 224px;
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .video-description-wrapper h2 {
    padding-bottom: 12px;
  }

  /* <!-- Third Section --> */
  .features-card-wrapper {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 24px;
    margin-bottom: 40px;
    gap: 20px;
  }

  .feature-card {
    height: auto;
    gap: 40px;
    padding: 24px;
  }

  /* <!-- Fourth Section --> */
  .curriculum-subwrapper .left-wrapper .left-wrapper-title {
    font-size: 16px;
  }

  /* <!-- Seventh Section ( Green ) --> */
  .green-section-wrapper {
    padding: 24px;
  }

  .green-right-wrapper-mobile {
    height: 200px;
    border-radius: 14px;
  }
  .gallery-title {
    text-align: center;
    margin-bottom: 20px;}

  /* <!-- Image Gallery Swiper --> */
  .gallery-swiper-wrapper .swiper-slide p {
    font-size: 16px;
  }

}
