/* Homepage Enhancement - Attractive UI & Faster Animations */

/* Admission Enquiry Button Enhancement */
#admission a {
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
  animation: pulse-button 2s infinite;
}

#admission a:hover {
  background-color: #e68900 !important;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(255, 152, 0, 0.5);
}

@keyframes pulse-button {
  0%, 100% {
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.6);
  }
}

/* Faster Slider Animations */
.rev_slider {
  animation: slideIn 0.3s ease-out !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome Section Enhancement */
.Welcome-area {
  padding: 60px 0;
}

.Welcome-area-text h2 {
  animation: slideInLeft 0.6s ease-out;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.Welcome-area img {
  animation: slideInRight 0.8s ease-out;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slider Bottom Box Enhancement */
.slider-btm-box {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-btm-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
}

.slider-btm-box h3 {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.slider-btm-box a {
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.slider-btm-box a:hover {
  transform: translateX(5px);
  color: #ff9800 !important;
}

/* Enhanced Video Section */
.video-main-area {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.video-play-btn a {
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.video-play-btn a:hover {
  transform: scale(1.1) translateY(0);
}

/* Smooth Transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Button Hover Effects */
.hvr {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hvr:hover {
  color: #ff9800;
  text-decoration: none;
}

/* Section Headers */
.section-header h2 {
  animation: fadeInDown 0.6s ease-out;
  font-weight: 700;
  font-size: 2.2rem;
  color: #2c3e50;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quick Admission Enquiry Modal (if added) */
.admission-modal-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* News & Events Cards */
.news-card, .event-card {
  transition: all 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-card:hover, .event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Preloader Speed Enhancement */
#preloader {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Text Gradient Effect for Main Heading */
.main-title {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Improved Responsive */
@media (max-width: 768px) {
  .Welcome-area-text h2 {
    font-size: 1.8rem;
  }
  
  #admission a {
    padding: 8px 12px !important;
    font-size: 0.85rem;
  }
  
  .slider-btm-box {
    margin-bottom: 20px;
  }
}
