/* ===== Navigation Styles ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hamburger menu button */
#menu-btn {
  width: 28px;
  height: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hamburger lines */
.hamburger-line {
  height: 3px;
  width: 100%;
  background-color: #1D4ED8;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger menu open state */
#menu-btn.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.open .line2 {
  opacity: 0;
}
#menu-btn.open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu open/close */
#mobile-menu {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Desktop menu links */
.desktop-menu a {
  position: relative;
  padding-bottom: 4px;
  color: #374151;
  font-weight: 600;
  transition: color 0.3s ease;
}

.desktop-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2563EB;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-menu a:hover,
.desktop-menu a:focus {
  color: #2563EB;
  outline: none;
}

.desktop-menu a:hover::after,
.desktop-menu a:focus::after {
  transform: scaleX(1);
}

.desktop-menu a.active {
  color: #2563EB;
}

.desktop-menu a.active::after {
  transform: scaleX(1);
}

/* Language button */
.lang-btn {
  color: #374151;
  font-weight: 600;
  transition: color 0.3s ease;
}

.lang-btn:hover,
.lang-btn:focus {
  color: #2563EB;
  outline: none;
}


/* ===== Hero Header Styles ===== */
.hero-header {
  max-width: 1400px; /* max container width */
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  color: #1f2937;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-content {
  flex: 1 1 400px;
  max-width: 600px;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e3a8a; /* dark blue */
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563; /* medium gray */
  margin-bottom: 1rem;
}

.hero-content strong {
  color: #2563eb; /* blue highlight */
}

.hero-btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.hero-btn:hover {
  background-color: #1d4ed8;
  box-shadow: 0 6px 15px rgba(29, 78, 216, 0.5);
}

.hero-video {
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-header {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .hero-content,
  .hero-video {
    max-width: 100%;
    flex: 1 1 100%;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}


/* ===== Slider Section ===== */
.slider-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

.slide {
  position: relative;
  display: none;
  width: 100%;
  height: 100vh; /* Full viewport height */
  animation: fadeIn 0.7s ease-in-out;
}

.slide.active {
  display: block;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text overlay on image */
.overlay-text {
  position: absolute;
  top: 50%;  /* vertically center */
  left: 50%; /* horizontally center */
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent dark background */
  border-radius: 12px;
}

.overlay-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #ffffff;
}

.overlay-text p {
  font-size: 1.2rem;
  color: #f3f4f6;
}

/* Navigation Buttons below slider */
.slider-nav {
  margin-top: 1rem;
  text-align: center;
}

.slider-nav button {
  background: #2563eb;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  margin: 0 1rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-nav button:hover {
  background: #1e40af;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive text overlay */
@media (max-width: 768px) {
  .overlay-text h2 {
    font-size: 1.6rem;
  }
  .overlay-text p {
    font-size: 1rem;
  }
}

/* our comapnies css start here */
/* ===== Our Companies Section ===== */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
  }

  .delay-100 {
    animation-delay: 0.1s;
  }
  