/* ===================================
   MODERN HERO SLIDER STYLES
   =================================== */

/* Hero Section Container */
.modern-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 0 !important;
}

.modern-hero__slider {
  position: relative;
  width: 100%;
  height: 700px;
}

/* Hero Slide */
.hero-slide {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.hero-slide__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
}

.hero-slide__image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 8s ease-out;
}

/* Ken Burns Effect */
.hero-slide.active .hero-slide__image img {
  transform: scale(1.1);
}

/* Overlay Gradient */
.hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
    height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

/* Slide Content */
.hero-slide__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 5%;
}

.hero-slide__content-inner {
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.hero-slide__subtitle {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd700;
  margin-bottom: 1rem;
  opacity: 0;
}

.hero-slide__title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.hero-slide__caption {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
}

.hero-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  opacity: 0;
}

.hero-slide__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.hero-slide__cta i {
  transition: transform 0.3s ease;
}

.hero-slide__cta:hover i {
  transform: translateX(5px);
}

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

.owl-item.active .animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.owl-item.active .animate-fade-in-up-delay-1 {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.owl-item.active .animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.owl-item.active .animate-fade-in-up-delay-3 {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

/* Custom Navigation */
.hero-navigation {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.hero-nav-btn {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Owl Carousel Dots */
.modern-hero .owl-dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.8rem;
}

.modern-hero .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.modern-hero .owl-dots .owl-dot.active {
  background: #fff;
  width: 40px;
  border-radius: 10px;
}

.modern-hero .owl-dots .owl-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Hide default Owl nav */
.modern-hero .owl-nav {
  display: none;
}

/* Fix Owl Carousel Item Height */
.modern-hero .owl-carousel .owl-item {
  height: 700px;
}

.modern-hero .owl-stage-outer,
.modern-hero .owl-stage {
  height: 700px;
}

/* Industry Quick Links */
.hero-industries {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 3rem 5%;
  z-index: 5;
}

.hero-industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-industry-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-industry-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.hero-industry-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-industry-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
  .hero-slide__title {
    font-size: 3.5rem;
  }
  
  .hero-slide__caption {
    font-size: 1.15rem;
  }
  
  .hero-navigation {
    bottom: 40px;
    right: 40px;
  }
}

@media (max-width: 992px) {
  .modern-hero__slider {
    height: 600px;
  }
  
  .hero-slide {
    height: 600px;
  }
  
  .hero-slide__image,
  .hero-slide__image img {
    height: 600px;
  }
  
  .modern-hero .owl-carousel .owl-item,
  .modern-hero .owl-stage-outer,
  .modern-hero .owl-stage {
    height: 600px;
  }
  
  .hero-slide__title {
    font-size: 3rem;
  }
  
  .hero-slide__caption {
    font-size: 1.1rem;
  }
  
  .hero-industries__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .hero-navigation {
    bottom: 30px;
    right: 30px;
  }
  
  .hero-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .modern-hero__slider {
    height: 500px;
  }
  
  .hero-slide {
    height: 500px;
  }
  
  .hero-slide__image,
  .hero-slide__image img {
    height: 500px;
  }
  
  .modern-hero .owl-carousel .owl-item,
  .modern-hero .owl-stage-outer,
  .modern-hero .owl-stage {
    height: 500px;
  }
  
  .hero-slide__subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  
  .hero-slide__title {
    font-size: 2.5rem;
  }
  
  .hero-slide__caption {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-slide__cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }
  
  .hero-industries {
    padding: 2rem 5%;
  }
  
  .hero-industries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hero-navigation {
    bottom: 20px;
    right: 20px;
    gap: 0.5rem;
  }
  
  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .modern-hero .owl-dots {
    bottom: 20px;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-slide__title {
    font-size: 2rem;
  }
  
  .hero-slide__caption {
    font-size: 0.9rem;
  }
  
  .hero-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-industry-card {
    padding: 0.75rem;
  }
  
  .hero-industry-card__icon {
    width: 40px;
    height: 40px;
  }
  
  .hero-industry-card__name {
    font-size: 0.8rem;
  }
}

/* Dark Mode Support */
.dark-mode .hero-industry-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .hero-industry-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* RTL Support */
.rtl .hero-slide__content-inner {
  direction: rtl;
}

.rtl .hero-slide__cta i {
  transform: rotate(180deg);
}

.rtl .hero-slide__cta:hover i {
  transform: rotate(180deg) translateX(5px);
}

.rtl .hero-navigation {
  right: auto;
  left: 50px;
}

@media (max-width: 992px) {
  .rtl .hero-navigation {
    left: 40px;
  }
}

@media (max-width: 768px) {
  .rtl .hero-navigation {
    left: 20px;
  }
}
