/* Hero Section */
.hero {
  position: relative;
  padding: 10px 0;
  overflow: hidden;
}

/* Enhanced Navigation Menu Styling - High Specificity */
#header .header .header-container .navmenu > ul {
  display: flex !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#header .header .header-container .navmenu > ul > li > a {
  position: relative !important;
  color: var(--nav-color) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 0.5rem 0 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  background: linear-gradient(to right, var(--accent-color), var(--accent-color)) no-repeat !important;
  background-size: 0% 2px !important;
  background-position: 0 100% !important;
}

#header .header .header-container .navmenu > ul > li > a:hover,
#header .header .header-container .navmenu > ul > li > a:focus,
#header .header .header-container .navmenu > ul > li > a.active {
  color: var(--accent-color) !important;
  background-size: 100% 2px !important;
}

#header .header .header-container .navmenu > ul > li > a.active {
  color: var(--accent-color) !important;
  font-weight: 700 !important;
}

/* Add subtle animation on hover */
@keyframes navLinkFade {
  from {
    opacity: 0.8;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#header .header .header-container .navmenu > ul > li > a:hover {
  animation: navLinkFade 0.3s ease forwards !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #header .header .header-container .navmenu > ul {
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1rem 0 !important;
  }
  
  #header .header .header-container .navmenu > ul > li > a {
    font-size: 1.1rem !important;
    padding: 0.75rem 1rem !important;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.hero-buttons .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
}

.hero-buttons .btn-outline-light:hover {
  background: #fff;
  color: var(--accent-color);
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-5px);
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

.hero-badge i {
  font-size: 1.25rem;
  margin-right: 8px;
}

/* Stats Section */
.stats-row {
  margin-top: 80px;
}

.stat-item {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

.stat-item p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Animated Shapes */
.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
  z-index: 1;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -200px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
  animation: float 8s ease-in-out infinite reverse;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation: float 10s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .stats-row {
    margin-top: 40px;
  }
  
  .stat-item {
    margin-bottom: 20px;
  }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .hero {
  background: linear-gradient(135deg, #1a1e21 0%, #212529 100%);
}

[data-bs-theme="dark"] .hero-content .lead {
  color: #adb5bd;
}

[data-bs-theme="dark"] .stat-item {
  background-color: #2c3034;
  border-color: #373b3e;
}

[data-bs-theme="dark"] .stat-item p {
  color: #adb5bd;
}
