.featured-programs .metric-card {
  background: var(--surface-color);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.featured-programs .metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.featured-programs .metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.featured-programs .metric-card:hover::before {
  transform: scaleX(1);
}

.featured-programs .metric-card:hover .metric-icon-wrapper {
  background: linear-gradient(135deg,
      var(--accent-color),
      var(--heading-color));
  transform: rotate(360deg);
}

.featured-programs .metric-card:hover .metric-icon-wrapper i {
  color: var(--contrast-color);
}

.featured-programs .metric-card .metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.featured-programs .metric-card .metric-header .metric-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.featured-programs .metric-card .metric-header .metric-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.featured-programs .metric-card .metric-header .metric-value {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1;
}

.featured-programs .metric-card .metric-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.featured-programs .metric-card .metric-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.sticky-btn {
  position: fixed;
  top: 85%;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 999;
}

.flot-btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.flot-btn-book:hover {
  transform: scale(1.1);
}

.award-card {
  background: #f1f5f7;
  transition: all 0.3s ease;
  border-left: 4px solid #377540;
  display: flex;
}

/* Mobile view */
@media (max-width: 767px) {
  .award-card {
    text-align: center;
    /* center text on mobile */
    display: block;
    /* stack items vertically */
  }
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.award-thumb {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #eef2ff;
}

/* testimonials video start */

#testimonials .ratio {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(144, 238, 144, 0.5);
}


.video-slider {
  height: 510px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}

.video-slider-inner {
  animation: scrollVideos 35s linear infinite;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@keyframes scrollVideos {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-55%);
  }
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
}

.video-thumb::after,
.thumb-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(227, 237, 241, 0.3);
  border-radius: 14px;
  transition: background 0.4s ease;
}

.video-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.video-thumb:hover::after {
  background: rgba(0, 105, 148, 0.18);
}

.video-thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 30px;
  background: #ff0000;
  border-radius: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}


.video-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
  z-index: 6;
}

@media (max-width: 768px) {
  .video-slider {
    height: 300px;
    margin-top: 20px;
  }

  .video-thumb img {
    height: 210px;
  }
}

/* testimonials video start */

.testimonials .action-buttons {
  display: flex;
  gap: 15px;
}

@media (max-width: 992px) {
  .testimonials .action-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.testimonials .action-buttons a {
  padding: 14px 28px;
  font-weight: 600;
  /* border-radius: 8px; */
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .testimonials .action-buttons a {
    width: 100%;
  }
}

.testimonials .action-buttons .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .action-buttons .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}







/* Responsive YouTube Embed */
.yt-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
}

.yt-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.yt-shorts-wrapper {
  position: relative;
  width: 100%;
  max-height: 580px;
  /* controls desktop height */
  aspect-ratio: 9 / 16;
  /* keeps Shorts format */
  border-radius: 16px;
  overflow: hidden;
}

/* iframe fill */
.yt-shorts-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile – allow full height */
@media (max-width: 768px) {
  .yt-shorts-wrapper {
    max-height: 520px;
  }
}



.education-button {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 28px;
  font-weight: 600;
  /* border-radius: 8px; */
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.education-button:hover {
  /* background: #ffffff; */
  color: #ffffff;


}



.flash-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 18px;
  min-width: 260px;
  background: #28a745;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
}

.flash-popup.error {
  background: #dc3545;
}



.scroll-up-btn {
  position: fixed;
  right: 70px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: #002F3C;
  color: #fff;
  text-align: center;
  line-height: 45px;
  border-radius: 5px;
  /* square with soft edges */
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: all 0.3s ease;
}


.scroll-up-btn:hover {
  background: #377540;
}



@media (max-width: 768px) {

  .mob-center {
    text-align: center;
  }
}


/* Small stat style for achievement / journey sections */
.campus-facilities .mini-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.campus-facilities .mini-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.campus-facilities .mini-label {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}


.campus-facilities .highlight-item i {
  color: var(--contrast-color);
  font-size: 1.1rem; /* reduced from 1.5rem */
}
