/* 🔐 FULLY ISOLATED NAVBAR CSS */

#rainbow-navbar .custom-offcanvas {
  width: fit-content;
  height: fit-content;
  max-height: 260px;
  top: 70px;
  border-radius: 10px;
}

#rainbow-navbar .menu-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

#rainbow-navbar .hamburger {
  background:
    linear-gradient(
      90deg,
      rgba(141, 219, 243, 0.6) 0%,
      rgba(249, 207, 227, 0.6) 100%
    ),
    #fff;
}
#rainbow-navbar ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#rainbow-navbar ul li:hover {
  background:
    linear-gradient(
      90deg,
      rgba(141, 219, 243, 0.6) 0%,
      rgba(249, 207, 227, 0.6) 100%
    ),
    #fff;
  transform: scale(1.05);
}

#rainbow-navbar .navbar-brand img {
  height: 70px;
  object-fit: contain;
}

#hero-section {
  background-image: url(/assets/images/home-poster.png);

  background-position: top;
  background-repeat: no-repeat;
  width: 100vw;
  background-size: cover;
  justify-content: center;
  align-items: center;
  height: 82vh !important;
  display: flex;
  justify-content: center;
  align-items: end;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}
#hero-section-2 {
  background-image: url(/assets/images/galley/home-poster-1.png);

  background-position: top;
  background-repeat: no-repeat;
  width: 100vw;
  background-size: cover;
  justify-content: center;
  align-items: center;
  /* height: 82vh !important; */
  display: flex;
  justify-content: center;
  align-items: end;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

#hero-section-3 {
  background-color: #d2e6e4;
  /* height: 82vh; */
  display: flex;
  align-items: end;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

.hero-side-image {
  max-width: 100%;
  transform: translateY(20px);
}

.color-green {
  color: #0b7077 !important;
}
.hero-text {
  color: #fff;
  font-family: "Sumana", serif;
  font-weight: 300;
  font-style: normal;
  text-align: center;
  font-size: 3rem;
}
.custom-btn i {
  font-size: 3rem;
  padding-left: 0.5rem;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}

.custom-btn {
  font-size: 2rem !important;
  font-weight: 100 !important;
  font-size: larger;
  padding: 0px 15px !important;
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.custom-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: right 0.6s ease;
}

.custom-btn::after {
  content: "→";
  position: absolute;
  right: 15px;
  font-size: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.custom-btn:hover::before {
  right: 100%;
}

.custom-btn:hover {
  padding-right: 25px !important;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-btn:hover i {
  transform: translateX(8px);
  animation: arrowBounce 0.6s ease-in-out;
}

.custom-btn:active {
  transform: scale(0.97);
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(15px);
  }
}
strong {
  font-weight: 700;
}

.explore {
  background: transparent;
  border: 0;
  position: absolute;
  top: 68%;
  width: fit-content;
  left: 43%;
}
.explore img {
  width: 78%;
}
#choose {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 2.84%,
    rgba(212, 237, 255, 0.6) 105.41%
  );
}
#course {
  background: #0e2a46;
}
.coures-card {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 15px;
}
.testimonial-card {
  border: 2px #ff9500;
  border-radius: 20px;
  border-style: dashed;
}
#enroll-details {
  background-image: url("/assets/images/enroll-bg.png");
  background-position: center;
  background-size: cover;
}
.contact-subtitle {
  color: #fe543d;
  font-family: Sora;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  text-transform: capitalize;
}
.contact-title {
  color: #fff;
  font-family: Sora;
  font-size: 3.45rem;
  font-style: normal;
  font-weight: 400;
  line-height: 4.5rem;
}
@media (max-width: 576px) {
  .contact-title {
    font-size: 1.8rem;
    line-height: 2.4rem;
    text-align: center;
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  .contact-title {
    font-size: 2.6rem;
    line-height: 3.4rem;
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  .contact-title {
    font-size: 2.6rem;
    line-height: 3.4rem;
  }
}
@media (min-width: 1200px) {
  .contact-title {
    font-size: 3.6rem;
    line-height: 4.8rem;
  }
}

#about-hero {
  background-color: #d2e6e4;
}
#about-mission {
  background-image: url("/assets/images/about-mission-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mission h2 {
  font-family: "Sumana", serif;
}
.facility-card {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 18px;
  border-radius: 4px;
  width: 100%;
  /* height: 260px; */
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.facility-center-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffc107;
  padding: 40px 32px;
  width: 90%;
  max-width: 420px;
  border-radius: 6px;
  text-align: left;
  z-index: 10;
}

/* Mobile fix: stack center card */
@media (max-width: 767px) {
  .facility-center-card {
    position: static;
    transform: none;
    margin-top: 20px;
  }
}
.course-section {
  background-color: #0f2742;
  color: #fff;
}

.course-tabs .nav-link {
  color: #aaa;
  font-weight: 600;
  border: none;
  background: transparent;
}

.course-tabs .nav-link.active {
  color: #000;
  background: #fff;
  border-radius: 0;
  position: relative;
}

.course-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fe543d;
}
#life-at-rainbow-section {
  position: relative;
  min-height: 600px;
  color: white;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 2;
}
.icon {
  font-size: 2rem;
}
.icon-style {
  padding-bottom: 20px;
  border-bottom: 5px groove;
}
#footer-section {
  background-image: url("/assets/images/footer-bg.png");
  background-position: top;
  background-size: cover;
}
.social-media-section {
  background-color: #0f2742;
}
.social-media-section {
  background: #000; /* adjust as needed */
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee-scroll 15s linear infinite;
}

.marquee-content img {
  height: 22px;
  margin-right: 8px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.marquee-content:hover {
  animation-play-state: paused;
}
.course-icons {
  animation: flipY 3.5s ease-in-out infinite;
  transform-style: preserve-3d;
  width: 150px;
}

@keyframes flipY {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.coures-card:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
  border: 2px solid #fe543d;
}
.explore {
  display: inline-block;
  border-radius: 50%;
  animation: rotate360 6s linear infinite;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*.lab-list{
  list-style: none;
}
.skew-hover {
  transition: transform 0.4s ease;
  transform-origin: center;
}

.student-pulse {
  animation: skewRock 4s ease-in-out infinite;
}

@keyframes skewRock {
  0% {
    transform: skewX(0deg);
  }
  50% {
    transform: skewX(10deg);
  }
  100% {
    transform: skewX(0deg);
  }
} */
/* .carousel-item img{
  height: 53vh !important;
} */

.nav-link.active,
.menu-link.active {
  color: #ff6b00 !important; /* your theme color */
  font-weight: 600;
  border-bottom: 2px solid #ff6b00;
}

.footer-menu {
  margin-top: 20px;
}

.footer-link {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: 0.3s;
}

.footer-link:hover {
  color: #ff6b00;
}