#care-credit > div:first-child {
	display: flex;
	align-items: center;
	flex-direction: column;
}
#sunbit > div:first-child {
	display: flex;
	align-items: center;
	flex-direction: column;
}
#cherry > div:first-child {
	display: flex;
	align-items: center;
	flex-direction: column;
}


/* List styling */
.tab-list li {
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.tab-list li:hover {
  color: #0073aa;
}

/* Video container (hidden state) */
.video-content {
  margin-top: 25px;
  max-height: 0;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
  transition:
    max-height 0.9s ease,
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Video container (visible state) */
.video-content.show {
  max-height: 1000px; /* big enough for video */
  opacity: 1;
  transform: translateY(0);
}

/* Force video full width */
.video-content video {
  width: 100%;
  max-width: 100%;
  display: block;
}


.education-expand-section{
	display: none;
}
/* first section */

/* Wrapper */
.exam-wrapper {
  max-width: 1000px;
  margin: auto;
	margin-bottom: 30px;
}

/* Parent title */
.exam-title {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #000;
}

/* Tabs row */
.exam-tabs {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Individual tab */
.exam-tab {
  font-size: 18px;
  font-weight: 600;
  color: #ae2f2f;
  cursor: pointer;
  padding: 6px 12px;
  position: relative;
  transition: all 0.3s ease;
}

/* Active tab (dashed border like screenshot) */
.exam-tab.active {
  border: 2px dashed #2f6f63;
}

/* Hover effect */
.exam-tab:hover {
  opacity: 0.8;
}

/* Video container */
.exam-video {
  margin-top: 40px;
  max-height: 0;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
  transition:
    max-height 1s ease,
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* Show animation */
.exam-video.show {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
}

/* Video responsive */
.exam-video video {
  width: 100%;
  display: block;
}


/* first section end */

/* video modal */

/* Modal overlay */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

/* Show modal */
.video-modal.show {
  opacity: 1;
  visibility: visible;
}

/* Modal box */
.video-modal-inner {
  max-width: 900px;
  width: 90%;
/*   background: #000; */
  padding: 20px;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

/* Animate in */
.video-modal.show .video-modal-inner {
  transform: scale(1);
}

/* Video title */
#modalTitle {
  color: #fff;
  margin-bottom: 0px !important;
  font-size: 20px;
	background-color: #ae2f2f;
  font-weight: 500;
	padding: 10px 10px;
}

/* Video */
.video-modal video {
  width: 100%;
  display: block;
}


/* video modal end */
