@import "tailwindcss";
@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap");
h1,
h2,
h3,
h4,
h5 {
  font-family: "Bitter", serif;
}

.glow-on-hover:hover {
  color: #000;
  text-shadow: 0 0 6px #8f97a3;
  transition: text-shadow 0.3s ease;
}

.hero-gradient {
  /* background: #0000; */

  background: linear-gradient(
    150deg,
    rgba(0, 0, 0, 1) 20%,
    rgba(11, 31, 85, 1) 100%
  );
}
.hero-bg {
  position: relative;
  /* Remove transform from here */
  background: none; /* Remove background-image from here */
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/WhatsApp\ Image\ 2025-05-27\ at\ 12.29.35_85c8d77f\ -\ Edited.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Limit visible items */
#press-row-container {
  max-width: 100%;
  overflow: hidden;
}
#press-row-1-unique {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
}

.link-item a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #334155;
  transition: width 0.3s ease;
}

.link-item a:hover::after {
  width: 100%;
}

.social-link {
  transform: scale(1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.philosophy-highlight {
  position: relative;
}

.philosophy-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.philosophy-highlight.animate-underline::after {
  transform: scaleX(1);
}

.floating-element-1,
.floating-element-2,
.floating-element-3 {
  animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
  animation-delay: -2s;
}

.floating-element-3 {
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.carousel-nav-btn {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

.carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.carousel-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-indicator.active {
  background: #4f46e5;
  transform: scale(1.2);
}

.carousel-progress {
  transition: width 0.1s linear;
}

/* Loading animation */
.carousel-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobile touch indicators */
.touch-indicator {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-container:hover .touch-indicator {
  opacity: 1;
}

/* Smooth fade animation for slide content */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.carousel-slide:hover .slide-content {
  transform: translateY(0);
}
.nalanda-mvv-card {
  opacity: 0;
  border: 1px solid #d9d9d9;
  transform: translateY(50px) scale(0.95);
  transition: all 0.3s ease;
}

.nalanda-mvv-text {
  font-family: "Arial", sans-serif;
  line-height: 1.7;
}

.curriculum-grid-container-unique{
    cursor: pointer;
}
