.courses-section {
  width: 100%;
  padding: 186px 64px 64px 64px;
  background: #E7E8E9; /* Mirage-Lightest */
  display: flex;
  justify-content: center;
}

.courses-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.courses-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items: center;
}

.courses-text {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.courses-title {
  color: black;
  font-size: 65px;
  font-weight: 500;
  line-height: 86.4px;
}

.courses-description {
  color: black;
  font-size: 18px;
  line-height: 27px;
}

.courses-image {
  flex: 1 1 100px;
}

.courses-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  max-width: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .courses-title {
    font-size: 48px;
    line-height: 60px;
  }

  .courses-content {
    flex-direction: column;
    gap: 0px;
  }
}


.allvideos-section {
  width: 100%;
  padding: 112px 64px;
  background: #05070B; 
  display: flex;
  justify-content: center;
}

.allvideos-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: white;
}

.allvideos-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 39.2px;
}

.allvideos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.allvideos-card {
  flex: 1 1 calc(33% - 24px);
  background: #05070B;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.allvideos-thumbnail {
  position: relative;
  width: 100%;
  height: 223px;
  background-size: cover;
  background-position: center;
}

.allvideos-play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  width: 128px; height: 102px;
  /* background: rgba(0, 0, 0, 0.15); */
  transform: translate(-50%, -50%);
}

.allvideos-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 53px; height: 53px;
  /* background: white; */
  transform: translate(-50%, -50%);
}

.allvideos-card-content {
  padding: 24px;
}

.allvideos-card-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 30.8px;
}

.allvideos-pagination {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.allvideos-page-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.allvideos-page-numbers {
  display: flex;
  gap: 2px;
}

.allvideos-page {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 18px;
  cursor: pointer;
}

.allvideos-page.active {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .allvideos-card {
    flex: 1 1 calc(50% - 24px);
  }
}

@media (max-width: 600px) {
  .allvideos-card {
    flex: 1 1 100%;
  }

  .allvideos-pagination {
    flex-direction: column;
    gap: 16px;
  }
}



/* contactoneweb-section */

.contactoneweb-section {
  width: 100%;
  padding: 112px 64px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
              url('../images/Contact_BG.svg') center/cover no-repeat;
  display: flex;
  justify-content: center;
}

.contactoneweb-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.contactoneweb-content {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: space-between;
  align-items: center;
}

.contactoneweb-text {
  flex: 1 1 400px;
  color: white;
  font-size: 52px;
  font-weight: 500;
  line-height: 62.4px;
}

.contactoneweb-action {
  flex: 0 0 auto;
}

.contactoneweb-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: white;
  color: black;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border-radius: 100px;
  border: 1px solid white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contactoneweb-button:hover {
  background: transparent;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contactoneweb-text {
    font-size: 36px;
    line-height: 40px;
    flex: 1 1 0px;
  }

  .contactoneweb-content {
    flex-direction: column;
    gap: 30px;
    /* align-items: flex-start; */
  }
}


.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none; /* initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* margin-top: 50px; */
}

/* --- md --- */
@media (min-width: 768px) and (max-width: 1024px){
 .video-wrapper {
    position: relative;
    width: 80% !important;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: black;
}
}
/* --- sm xs --- */
@media (min-width: 200px) and (max-width: 767px){
 .video-wrapper {
    position: relative;
    width: 80%  !important;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: black;
}
}

.video-wrapper {
 position: relative;
  width: 50%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: black;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* .video-close {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  cursor: pointer;
  z-index: 9999;
  border-radius: 99px;
background: var(--Color-Neutral-Darkest, #000);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
display: flex;
padding: 8px;
align-items: center;
gap: 10px;
} */

.video-close {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  cursor: pointer;
  z-index: 9999;
  border-radius: 99px;
  background: var(--Color-Neutral-Darkest, #000);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

/* hover effect */
.video-close:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.85);
}



.allvideos-play-icon svg {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.allvideos-card:hover .allvideos-play-icon svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.allvideos-card:active .allvideos-play-icon svg {
  transform: scale(0.9);
}


/* --- xl --- */
@media (min-width: 1281px){
 
}
/* --- lg --- */
@media (min-width: 1025px) and (max-width: 1280px){
 
}
/* --- md --- */
@media (min-width: 768px) and (max-width: 1024px){
 .courses-title {
    color: black;
    font-size: 50px;
    font-weight: 500;
    line-height: normal;
}
}
/* --- sm xs --- */
@media (min-width: 200px) and (max-width: 767px){
 .courses-title {
    color: black;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
}
.courses-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex: 1 1 0px;
}
}


.coming-soon-thumbnail {
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
  animation: fadeIn 1s ease;
}


