/* Premium Global Enhancements */
:root {
  --primary-glow: rgba(0, 51, 102, 0.6);
  --accent-gold: #f59e0b;
}

/* Cinematic Hero Slider */
.home-slider .slider-item {
  height: 95vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.home-slider .slider-item .overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 40, 0.7) 0%,
    rgba(0, 35, 71, 0.4) 50%,
    rgba(0, 20, 40, 0.8) 100%
  );
  z-index: 1;
}

.home-slider .slider-text h1 {
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  letter-spacing: -1px;
  line-height: 1.1;
}

.neon-glow {
  color: #fff;
  text-shadow: 
    0 0 10px rgba(255,255,255,0.3),
    0 0 20px rgba(255,255,255,0.2),
    0 0 30px var(--primary-glow);
}

/* Floating Admission Badge */
.fab-admission {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 999;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fab-float 3s ease-in-out infinite;
}

@keyframes fab-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.fab-admission:hover {
  transform: scale(1.1) rotate(-2deg);
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
}

/* Modern Card Hover Effects */
.transform-hover {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.transform-hover:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 51, 102, 0.2) !important;
}

/* Glassmorphism Components */
.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
}

/* Section Title Gradient */
.section-title-gradient {
  background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Animated Particles Background */
.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float-particle 15s linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* Custom Wave Separator */
.wave-container {
  overflow: hidden;
  line-height: 0;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 50% 100%;
  animation: wave-move 20s linear infinite;
}

@keyframes wave-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Counts Section Enhanced */
.counts .count-box {
  border: 1px solid rgba(0, 51, 102, 0.05);
  transition: all 0.4s ease;
}

.rotating-border {
  position: relative;
  background: linear-gradient(135deg, #003366, #0056b3);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

.rotating-border::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 51, 102, 0.2);
  animation: rotate-dashed 10s linear infinite;
}

@keyframes rotate-dashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Member Card Styles */
.member-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 51, 102, 0.8), transparent);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.member-card:hover .member-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.2));
}

/* Typography Enhancements */
.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
  border-right: .15em solid white;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}


/* About section */
#about {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

#about .text-muted {
  text-align: justify;
}

#about img {
  min-height: 400px;
  object-fit: cover;
}

/* Ashrama section */
#ashrama {
  background: linear-gradient(135deg, #f0f7ff 0%, #f8f9fa 100%);
}

#ashrama .text-muted {
  text-align: justify;
}

#ashrama img {
  min-height: 400px;
  object-fit: cover;
}

/* Centenary section */
#centenary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

#centenary .text-muted {
  text-align: justify;
}

#centenary img {
  min-height: 400px;
  object-fit: cover;
}

/* Events section */
#EventsandAwards {
  background: linear-gradient(135deg, #e0efff 0%, #f0f7ff 100%);
}

.events-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* Team section */
.team-img-container {
  height: 350px;
}

.team-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Featured story */
#featured-story {
  background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('assets/img/slider-img/bg_2.jpg') no-repeat center center / cover;
  background-attachment: fixed;
}

#featured-story .text-white {
  text-align: justify;
  line-height: 1.8;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

/* Quote section */
.quote-section {
  font-style: italic;
}

/* Committee section */
#committee {
  background: linear-gradient(135deg, #002347 0%, #003366 100%);
}

.committee-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
}

/* Training facilities */
.training-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

/* Contact section */
#contact {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
}

.map-container {
  height: 400px;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* Modal styles */
.modal-notice-title {
  margin-right: 90px;
}

.admission-img {
  max-width: 100%;
  height: auto;
}
