.slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
}
.slide.active {
  opacity: 1;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.open {
  max-height: 200px;
}
.carousel {
  overflow: hidden;
  position: relative;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  min-width: 100%;
}
.counter {
  transition: all 2s ease;
}
.hidden {
  display: none;
}

/* Hamburger Menu Styles */
.navbar-burger {
  cursor: pointer;
  z-index: 60;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  padding: 8px;
  transition: all 0.3s ease;
}

.navbar-burger:hover {
  color: #fbbf24;
}

.navbar-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
}

.navbar-menu.active {
  display: block;
}

.navbar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 49;
}

.navbar-menu nav {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #1f2937;
  z-index: 52;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  max-height: 80vh;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-menu.active nav {
  transform: translateY(0);
}

.navbar-close {
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  padding: 8px;
}

.navbar-close:hover {
  color: #fbbf24;
  transform: rotate(90deg);
}

/* Mobile Menu Link Styles */
.navbar-menu nav ul li a {
  display: block;
  padding: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  margin: 4px 8px;
}

.navbar-menu nav ul li a:hover {
  background-color: #374151;
  color: #fbbf24;
}

/* Mobile menu visibility */
@media (max-width: 1023px) {
  .navbar-burger {
    display: block !important;
  }

  .desktop-nav {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .navbar-burger {
    display: none !important;
  }

  .navbar-menu {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 90%;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  #team .grid {
    grid-template-columns: 1fr 1fr;
  }
}
