/* Hero Section Styles */
.hero-section {
  margin-top: 0;
  margin-bottom: 2rem;
  border-radius: 20px;
  overflow: hidden;
}
.stats-section {
    margin-top: 0;
    margin-bottom: 3rem;
}
.featured-section {
    margin-bottom: 3rem;
}

.features-section {
    margin-bottom: 3rem;
}
.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.hero-bg {
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.hero-shape-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Stat Cards */
.stat-card {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Trainer Cards */
.trainer-card .hover-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.trainer-card .hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.hover-overlay {
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.trainer-card .hover-card:hover .hover-overlay {
  opacity: 1 !important;
}

.default-avatar {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Institute Cards */
.institute-card .hover-card {
  transition: all 0.3s ease;
}

.institute-card .hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  margin-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
}
main.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.cta-bg {
  background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  filter: brightness(0.3);
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
}

/* Hover Scale Effect */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   main.container {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  .hero-section {
   border-radius: 15px;
   margin-bottom: 1.5rem;
  }

  .stats-section {
    margin-bottom: 2rem;
  } 
  .featured-section {
    margin-bottom: 2rem;
  }
  .features-section {
    margin-bottom: 2rem;
  }
  .cta-section {
    border-radius: 15px;
  } 
}

@media (max-width: 576px) {

  .maincontainer {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

   .hero-section {
    border-radius: 12px;
    margin-bottom: 1rem;
  }
  .stats-section {
    margin-bottom: 1.5rem;
  }
  .featured-section {
    margin-bottom: 1.5rem;
  }
  .features-section {
    margin-bottom: 1.5rem;
  }
  .cta-section {
    border-radius: 12px;
  }
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate__delay-1s {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate__delay-2s {
  animation-delay: 0.4s;
  opacity: 0;
}

/* Badge Styles */
.hero-badge .badge {
  animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Ensure all links maintain original functionality */
a[target="_blank"] {
  cursor: pointer;
}

/* Preserve original hover states */
.cursor-pointer {
  cursor: pointer;
}

/* Add smooth scrolling to page */
html {
  scroll-behavior: smooth;
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading] {
  opacity: 0;
}

img.loaded {
  opacity: 1;
}

/* ===== HIDE SCROLLBAR ===== */
html, body {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}