@import "tailwindcss";
@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Cinzel:wght@400..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Cinzel:wght@400..900&family=DM+Serif+Display:ital@0;1&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&display=swap');
p,span {
  font-family: "Poppins", sans-serif;
  /* font-family: "dm sans"; */
 
}
.primary-education,.secondary-education{
  background-color: #ffffffb7;
}

.active{
  color: #2BA7E2;
}



.hero-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active-slide {
  opacity: 1;
  z-index: 1;
}






.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-overlay.active {
  display: flex;
}

.popup-wrapper {
  position: relative;
}

.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #444;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.close-btn:hover {
  color: #000;
}

.poster-popup {
  width: 90vw;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  background-image: url("../assests/poster.png");
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: popup 0.3s ease-out;
}

@keyframes popup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.admission-bar {
  background: #0193DC;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.admission-track {
  display: inline-flex;
  gap: 50px;
  padding: 10px 0;
  animation: scrollText 18s linear infinite;
}

.admission-track span {
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .admission-track span {
    font-size: 16px;
  }
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.admission-track:hover {
  animation-play-state: paused;
}

.admission-bar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}















.carousel-container {
    position: relative;
    overflow: hidden;
    height: 500px;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size:  cover ;
    background-position: center;
}
.active-slide {
    opacity: 1;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    z-index: 10;
}
.scroll-down {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.curriculum-card {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
  }

  .curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  }


 /* Card styling */
 .connect-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  .connect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }


  .footer-link {
    position: relative;
    display: inline-block;
  }
  
  .footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
  }
  
  .footer-link:hover::after {
    width: 100%;
  }
  
  .social-icon {
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    transform: translateY(-3px);
  }
  
  .back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }