/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  background-color: var(--dark-color);
}

/* Background Elements */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 15s ease-out;
  filter: brightness(0.8) contrast(1.1);
  transform-origin: center center;
  will-change: transform;
}

.hero-section:hover .hero-background-image {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 26, 51, 0.92) 0%, 
    rgba(0, 51, 102, 0.85) 50%,
    rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

/* Content Wrapper */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--white);
  padding: 120px 0 60px;
  margin-top: 0px;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xl);
  justify-content: space-between;
  align-items: center;
}

/* Text Content */
.hero-text {
  max-width: 650px;
  animation: fadeInUp 1s ease-out;
  position: relative;
  order: 1; /* Text on right side */
}

.hero-subtitle {
  display: inline-block;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.15), 
    rgba(93, 224, 230, 0.2));
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.hero-text h1 {
  color: var(--white);
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-text h1 span {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.hero-text h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  line-height: 1.8;
  max-width: 90%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Call to Action Buttons */
.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 0.85rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-cta .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s;
  z-index: -1;
}

.hero-cta .btn:hover::before {
  left: 100%;
}

.hero-cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn i {
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.hero-cta .btn:hover i {
  transform: translateX(5px);
}

/* Hero Feature Cards */
.hero-features {
  display: grid;
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: var(--spacing-md);
  order: 2; /* Features on left side */
  max-width: 500px; /* Control width */
}

.hero-feature-card {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05));
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(93, 224, 230, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hero-feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-card:hover::before {
  opacity: 1;
}

.hero-feature-icon {
  font-size: 2.25rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.hero-feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--white);
}

.hero-feature-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-feature-card:hover h3 {
  color: var(--secondary-color);
}

.hero-feature-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.hero-feature-card:hover p {
  color: rgba(255, 255, 255, 1);
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicators */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  z-index: 10;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Desktop Scroll Indicator */
.desktop-indicator {
  display: flex;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
  position: relative;
  margin-bottom: var(--spacing-sm);
}

.scroller {
  width: 4px;
  height: 10px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 3s infinite;
}

/* Tablet Scroll Indicator */
.tablet-indicator {
  display: none;
}

.swipe-icon {
  font-size: 2rem;
  animation: bounce 2s infinite;
}

/* Mobile Scroll Indicator */
.mobile-indicator {
  display: none;
}

.finger-icon {
  font-size: 2rem;
  animation: bounce 2s infinite;
}

/* Animation Keyframes */
@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Styles - ENHANCED */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 850px;
  }
  
  .hero-content-wrapper {
    flex-direction: column-reverse;
    gap: var(--spacing-lg);
    align-items: center;
  }
  
  .hero-text {
    margin-top: 0;
    order: 2;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-features {
    order: 1;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 0;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-content {
    padding: 100px 0 80px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  /* Show tablet indicator, hide others */
  .desktop-indicator {
    display: none;
  }
  
  .tablet-indicator {
    display: flex;
    bottom: var(--spacing-md);
  }
  
  .mobile-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 800px;
  }
 
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .hero-content {
    padding: 80px 0 100px;
    text-align: center;
  }
  
  .hero-text {
    margin-top: 0px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-feature-card {
    padding: var(--spacing-md);
    width: 100%;
  }
  
  .hero-features {
    gap: var(--spacing-sm);
    width: 100%;
  }
  
  /* Adjust indicators for smaller tablets */
  .tablet-indicator {
    bottom: var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 1000px;
  }
  
  .hero-features {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    width: 100%;
    margin-top: var(--spacing-xl);
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }
  
  .hero-feature-card {
    padding: var(--spacing-sm);
    max-width: 100%;
  }
  
  .hero-feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-feature-card h3 {
    font-size: 1.1rem;
  }
  
  /* Show mobile indicator, hide others */
  .desktop-indicator {
    display: none;
  }
  
  .tablet-indicator {
    display: none;
  }
  
  .mobile-indicator {
    display: flex;
    bottom: var(--spacing-sm);
  }
  
  .mobile-indicator .finger-icon {
    font-size: 1.75rem;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .hero-section {
    min-height: 1050px;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-features {
    margin-top: var(--spacing-xxl);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  .mobile-indicator {
    bottom: var(--spacing-xs);
  }
}

@media (max-width: 340px) {
  .hero-section {
    min-height: 1100px;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-features {
    margin-top: 5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  .mobile-indicator {
    bottom: 0;
  }
}