* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: url('background_team.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar */
.navbar {
  background-color: #1c1c1c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 10px;
  font-weight: bold;
}

.nav-links a:hover {
  color: #ffc107;
}

/* Section Header */
.services-header {
  text-align: center;
  padding: 30px 10px 10px;
  background: #ddd;
}

.services-header h2 {
  font-size: 2.5rem;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 90%;
  margin: 20px auto 60px;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-img {
  min-width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}
.event-caption {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: #222;
}

.event-caption h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.event-caption p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ✅ Mobile Nav Layout Like Screenshot */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .logo {
    margin-bottom: 15px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-links a {
    padding: 10px 0;
    margin: 0;
    width: 100%;
    font-size: 18px;
    color: white;
  }

  .services-header h2 {
    font-size: 1.8rem;
  }

  .carousel-img {
    height: 220px;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 6px;
  }
  .event-caption {
    margin: 20px;
    padding: 20px;
  }

  .event-caption h2 {
    font-size: 1.4rem;
  }

  .event-caption p {
    font-size: 0.95rem;
  }
}
