/* Home Page Styles */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.3) 0%, rgba(102, 16, 242, 0.4) 100%);
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.02)" points="0,1000 1000,0 1000,1000"/></svg>');
  z-index: 2;
}

.min-vh-75 {
  min-height: 75vh;
}

.text-gradient {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

/* Hero Stats */
.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
  font-size: 2rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 800;
}

.stat-item small {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Floating Cards */
.hero-image {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-card:first-child {
  top: 50px;
  right: 50px;
  width: 280px;
}

.floating-card-2 {
  bottom: 50px;
  left: 0;
  width: 260px;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Badges */
.section-badge {
  display: inline-block;
}

.section-badge .badge {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* About Section */
.about-image-wrapper {
  position: relative;
}

.about-image-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  z-index: 1;
}

.about-image-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: 20px !important;
}

.image-overlay-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  z-index: 3;
}

.overlay-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 193, 7, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature Items */
.feature-item {
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(13, 110, 253, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.2);
}

.service-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.05);
}

.service-card.featured .service-title {
  color: white;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
}

.service-icon-wrapper {
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.service-desc {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card.featured .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

.service-card.featured .service-features li {
  color: rgba(255, 255, 255, 0.9);
}

/* Registration Section */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.bg-gradient-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="800" r="150"/></svg>');
}



/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fadeInRight {
  animation: fadeInRight 1s ease-out forwards;
  opacity: 0;
}

.animation-delay-1 {
  animation-delay: 0.2s;
}

.animation-delay-2 {
  animation-delay: 0.4s;
}

.animation-delay-3 {
  animation-delay: 0.6s;
}

/* Button Enhancements */
.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Notification Styles */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 400px;
  border-left: 4px solid #667eea;
}

.custom-notification.show {
  transform: translateX(0);
}

.custom-notification-success {
  border-left-color: #28a745;
}

.custom-notification-error {
  border-left-color: #dc3545;
}

.notification-content {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #333;
}

.notification-close {
  background: none;
  border: none;
  margin-left: auto;
  padding: 0.25rem;
  color: #666;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.notification-close:hover {
  background: #f8f9fa;
  color: #333;
}

/* Scroll Animations */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Hover Effects */
.hero-buttons .btn {
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Container adjustments */
.container-fluid.px-4 {
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .container-fluid.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .floating-card {
    position: static;
    margin: 1rem 0;
    width: 100% !important;
  }
  
  .hero-image {
    height: auto;
    margin-top: 2rem;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .about-image-bg {
    display: none;
  }
  
  .text-gradient {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .custom-notification {
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .custom-notification.show {
    transform: translateY(0);
  }
} 
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Container adjustments */
.container-fluid.px-4 {
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .container-fluid.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .floating-card {
    position: static;
    margin: 1rem 0;
    width: 100% !important;
  }
  
  .hero-image {
    height: auto;
    margin-top: 2rem;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .about-image-bg {
    display: none;
  }
  
  .text-gradient {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .custom-notification {
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .custom-notification.show {
    transform: translateY(0);
  }
} 