/* Homepage refresh: scoped to index.php via body.home-modern. */
.home-modern {
  background: #f7f9fc;
  color: #243042;
}

.home-modern #wrapper {
  background: #f7f9fc;
}

.home-modern .header-top.bg-theme-color-2 {
  background: #0f766e !important;
}

.home-modern .header-middle {
  background: #ffffff !important;
  border-bottom: 1px solid #edf1f5;
  box-shadow: none;
}

.home-modern .header-middle .widget ul {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  padding: 0;
}

.home-modern .header-nav-wrapper,
.home-modern #menuzord {
  background: #0b3b5b !important;
}

.home-modern .menuzord-menu > li > a {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0;
}

.home-modern .menuzord-menu > li.active > a,
.home-modern .menuzord-menu > li:hover > a {
  color: #f7c948 !important;
}

.home-modern .header-nav .btn {
  background: linear-gradient(135deg, #f7c948, #ffe08a) !important;
  color: #17324d !important;
  font-weight: 800;
  border-radius: 999px !important;
}

.home-modern #home {
  background: #0b3b5b;
}

.home-modern .rev_slider_wrapper {
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(20, 31, 48, 0.16);
}

.home-modern .rev_slider li:after {
  background: linear-gradient(90deg, rgba(8, 31, 48, 0.72), rgba(8, 31, 48, 0.36), rgba(15, 118, 110, 0.2));
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 3;
}

.home-modern .tp-caption {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.home-modern .tp-caption.bg-theme-colored-transparent,
.home-modern .tp-caption.bg-dark-transparent-5,
.home-modern .tp-caption.bg-dark-transparent-6 {
  background: rgba(11, 59, 91, 0.78) !important;
  border-color: #f7c948 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.home-modern .btn,
.home-modern .btn.btn-theme-colored,
.home-modern .btn.btn-default.btn-transparent {
  border-radius: 6px !important;
  box-shadow: 0 12px 24px rgba(11, 59, 91, 0.18);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: all 0.25s ease;
}

.home-modern .btn:hover {
  box-shadow: 0 16px 30px rgba(11, 59, 91, 0.24);
  transform: translateY(-2px);
}

.home-modern .home-about,
.home-modern .home-courses,
.home-modern #event {
  padding: 56px 0;
}

.home-modern .home-courses > .container,
.home-modern .performers-2025 > .container,
.home-modern .home-video-showcase > .container,
.home-modern .student-testimonials > .container {
  padding-bottom: 28px !important;
}

.home-modern .home-about {
  background: #ffffff;
}

.home-modern .home-about h6,
.home-modern .section-title h2,
.home-modern #event h3 {
  letter-spacing: 0;
}

.home-modern .home-about h2,
.home-modern .home-courses h2,
.home-modern #event h3 {
  color: #17324d;
  font-weight: 800 !important;
}

.home-modern .home-about h4 {
  color: #0f766e !important;
  font-weight: 700;
}

.home-modern .home-about p {
  color: #536173;
  font-size: 16px;
  line-height: 1.8;
}

.home-modern .home-about .video-popup {
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 25px 55px rgba(23, 50, 77, 0.18);
  display: flex;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.home-modern .home-about .video-popup:before {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  bottom: 16px;
  content: "";
  left: 16px;
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
}

.home-modern .home-about .video-popup img,
.home-modern .service-block .thumb img {
  transition: transform 0.4s ease;
}

.home-modern .home-about .video-popup img.home-about-logo {
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.home-modern .home-about .video-popup:hover img,
.home-modern .service-block:hover .thumb img {
  transform: scale(1.04);
}

.home-modern .home-courses {
  background: linear-gradient(180deg, #eef6f4 0%, #f7f9fc 100%) !important;
  padding-bottom: 20px;
}

.home-modern .home-courses > .container {
  padding-bottom: 8px !important;
}

.home-modern .student-testimonials {
  background: linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
  border-top: 1px solid #d6e8e4;
  padding: 54px 0;
}

.home-modern .performers-2025 {
  background: linear-gradient(180deg, #eaf4f2 0%, #f7fbfa 100%);
  border-top: 1px solid #d6e8e4;
  padding: 38px 0 8px;
}

.home-modern .performers-2025 .section-title {
  margin-bottom: 16px !important;
}

.home-modern .performers-carousel .owl-stage-outer {
  padding: 8px 0 18px;
}

.home-modern .performer-result-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0 12px;
  overflow: visible;
  padding: 0;
  transition: all 0.25s ease;
}

.home-modern .performer-result-card:hover {
  transform: translateY(-6px);
}

.home-modern .performer-result-card img {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(11, 59, 91, 0.2);
  height: auto;
  max-height: 720px;
  object-fit: contain;
  width: 100%;
}

.home-modern .home-video-showcase {
  background: #ffffff;
  padding: 54px 0 8px;
}

.home-modern .home-video-showcase .section-title {
  margin-bottom: 16px !important;
}

.home-modern .home-video-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
  padding: 8px 0 18px;
}

.home-modern .home-video-card {
  background: #071827;
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(11, 59, 91, 0.18);
  overflow: hidden;
  padding: 8px;
  transition: all 0.25s ease;
}

.home-modern .home-video-card:hover {
  transform: translateY(-6px);
}

.home-modern .home-video-card video {
  background: #050f19;
  border-radius: 6px;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.home-modern .home-video-card-featured {
  grid-column: 1 / span 7;
  grid-row: 1 / span 3;
  height: 594px;
}

.home-modern .home-video-card-small {
  grid-column: 8 / span 5;
  height: 186px;
}

.home-modern .home-video-card-wide {
  grid-column: 8 / span 5;
  height: 186px;
}

.home-modern .home-video-card-offset {
  grid-column: 8 / span 5;
  transform: none;
}

.home-modern .home-video-card-offset:hover {
  transform: translateY(-6px);
}

.campus-video-lightbox-open {
  overflow: hidden;
}

.campus-video-lightbox {
  align-items: center;
  background: rgba(3, 17, 29, 0.86);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 28px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.22s ease;
  z-index: 99999;
}

.campus-video-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.campus-video-lightbox-dialog {
  background: #050f19;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  max-height: 88vh;
  max-width: min(1040px, 92vw);
  overflow: hidden;
  padding: 10px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
  width: auto;
}

.campus-video-lightbox.is-visible .campus-video-lightbox-dialog {
  transform: translateY(0) scale(1);
}

.campus-video-lightbox video {
  background: #000000;
  border-radius: 6px;
  display: block;
  height: calc(88vh - 20px);
  max-height: calc(88vh - 20px);
  max-width: calc(92vw - 20px);
  object-fit: contain;
  width: auto;
}

.campus-video-lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 50%;
  color: #071827;
  display: flex;
  font-size: 30px;
  font-weight: 300;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 26px;
  top: 22px;
  transition: all 0.2s ease;
  width: 44px;
  z-index: 1;
}

.campus-video-lightbox-close:hover,
.campus-video-lightbox-close:focus {
  background: #f7c948;
  color: #071827;
  outline: none;
}

.home-modern .student-testimonials .section-title {
  margin-bottom: 16px !important;
}

.home-modern .student-testimonial-carousel .owl-stage-outer {
  padding: 8px 0 18px;
}

.home-modern .student-review-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 10px;
  overflow: visible;
  padding: 0;
  transition: all 0.25s ease;
}

.home-modern .student-review-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.home-modern .student-review-card img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(11, 59, 91, 0.22);
  height: auto;
  object-fit: contain;
  width: 100%;
}

.home-modern .home-courses .service-block {
  border: 1px solid #e1e9f0;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(23, 50, 77, 0.1);
  overflow: hidden;
  transition: all 0.25s ease;
}

.home-modern .home-courses .service-block:hover {
  border-color: #b7d9d2;
  box-shadow: 0 24px 48px rgba(23, 50, 77, 0.16);
  transform: translateY(-5px);
}

.home-modern .service-block .thumb {
  background: #dfe9ef;
  height: 190px;
  overflow: hidden;
}

.home-modern .service-block .thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-modern .service-block .content {
  padding: 22px 24px !important;
}

.home-modern .service-block h4 {
  color: #17324d;
  font-size: 18px;
  font-weight: 800;
  margin: 0 !important;
}

.home-modern .home-stats {
  background-position: center !important;
}

.home-modern .home-stats:before {
  background: linear-gradient(135deg, rgba(11, 59, 91, 0.93), rgba(15, 118, 110, 0.86)) !important;
}

.home-modern .home-stats .funfact {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 28px 20px;
}

.home-modern .home-stats .funfact i {
  color: #f7c948 !important;
  font-size: 52px;
}

.home-modern .home-stats .funfact h2 {
  font-weight: 800 !important;
}

.home-modern #event {
  background: #ffffff;
}

.home-modern #event article.post {
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px !important;
}

.home-modern #event .post-thumb img {
  border-radius: 6px;
  height: 118px;
  object-fit: cover;
  width: 150px;
}

.home-modern #event .panel {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
}

.home-modern #event .panel-title a {
  background: #f6fbfa;
  color: #17324d;
  font-weight: 800;
}

.home-modern #event .panel-title a.active {
  background: #0f766e;
  color: #ffffff;
}

.home-modern .owl-controls .owl-dot span {
  background: #b6c7d6;
  border-radius: 4px;
  height: 8px;
  width: 22px;
}

.home-modern .owl-controls .owl-dot.active span {
  background: #0f766e;
}

@media (max-width: 991px) {
  .home-modern .home-video-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }

  .home-modern .home-video-card video,
  .home-modern .home-video-card-featured video,
  .home-modern .home-video-card-small video,
  .home-modern .home-video-card-wide video {
    aspect-ratio: 9 / 16;
    height: auto;
  }

  .home-modern .home-video-card-featured,
  .home-modern .home-video-card-small,
  .home-modern .home-video-card-wide {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    margin-top: 0;
  }

  .home-modern .home-video-card-offset {
    transform: none;
  }

  .home-modern .home-video-card-offset:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 767px) {
  .home-modern .home-about,
  .home-modern .home-courses,
  .home-modern .home-video-showcase,
  .home-modern .student-testimonials,
  .home-modern #event {
    padding: 38px 0;
  }

  .home-modern .performers-2025 {
    padding: 30px 0 4px;
  }

  .home-modern .home-courses {
    padding-bottom: 12px;
  }

  .home-modern .home-courses > .container,
  .home-modern .performers-2025 > .container,
  .home-modern .home-video-showcase > .container,
  .home-modern .student-testimonials > .container {
    padding-bottom: 18px !important;
  }

  .home-modern .home-courses > .container {
    padding-bottom: 4px !important;
  }

  .home-modern .home-video-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .home-modern .home-video-card {
    margin-bottom: 18px;
  }

  .home-modern .home-video-card video,
  .home-modern .home-video-card-featured video,
  .home-modern .home-video-card-small video,
  .home-modern .home-video-card-wide video {
    height: auto;
    min-height: 0;
  }

  .campus-video-lightbox {
    padding: 18px;
  }

  .campus-video-lightbox-dialog {
    max-width: 96vw;
    padding: 8px;
  }

  .campus-video-lightbox video {
    height: auto;
    max-height: 82vh;
    max-width: calc(96vw - 16px);
    width: 100%;
  }

  .campus-video-lightbox-close {
    height: 38px;
    right: 14px;
    top: 14px;
    width: 38px;
  }

  .home-modern .header-middle .widget ul {
    display: inline-block;
  }

  .home-modern .service-block .thumb {
    height: 210px;
  }

  .home-modern #event .post-thumb {
    display: block;
    float: none !important;
    margin: 0 0 15px !important;
  }

  .home-modern #event .post-thumb img {
    height: auto;
    width: 100%;
  }
}
