* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Basic body and layout styles */
body {
  background-color: black;
  overflow-x: hidden;
}

/* Carousel and other components */

.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  transition: transform 1.0s ease-in-out;
  width: 100%;
}

.carousel-item {
  min-width: 100%;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  max-width: 40%;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.carousel-text h2 {
  margin: 0 0 10px;
}

.carousel-text p {
  font-size: 1rem;
}

.next-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);

  color: white;
  border: none;
  padding: 14px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

@media (max-width: 768px) {
  .carousel-text {
    max-width: 90%;
    left: 5%;
    font-size: 14px;
    padding: 12px;
  }

  .carousel-text h2 {
    font-size: 1.5rem;
  }

  .carousel-text p {
    font-size: 1rem;
  }

  .carousel-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .text-content h2 {
    font-size: 1.5rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  li a {
    font-size: 1.2rem;
  }
  
}

/* Navbar styles */
.navbar {
  background-color: black;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 10px;
  justify-content: center;
  display: flex;
  width: 100%;
}

.navdiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin: 0 30px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 15px 12px;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar ul li a:hover {
  background-color: lightgray;
  color: #333;
  border-radius: 5px;
}

.navbar ul li a:hover:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: lightgray;
}

.logo a {
  font-size: 35px;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

li {
  list-style: none;
  display: inline-block;
}

li a {
  color: white;
  font-size: 50px;
  font-weight: bold;
  margin-right: 25px;
}

button {

  margin-left: 10px;
  border-radius: 10px;
 background-color: transparent;
  width: 90px;
}

button a {
  color: white;
  font-weight: bold;
  font-size: 15px;
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 15px;
  font-size: 16px;
  width: 100%;
  line-height: 1.6;
}

.footer-text {
  margin: 0;
  font-size: 1rem;
  word-wrap: break-word;
}

.text-content {
  padding: 20px;
  text-align: center;
  background-color: black;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

.text-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cta-button {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
  min-width: 140px;
}

.cta-button a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  display: block;
}

.cta-button:hover {
  background-color: lightgray;
}

.carousel-button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.carousel-button {
  background-color: black;
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.carousel-button:hover {
  background-color: white;
  color: black;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  .nav-links {
    display: none; /* Hide by default */
    flex-direction: column;
    background-color: black;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex; /* Show when active */
  }

  .nav-links li {
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid white;
    text-align: center;
    width: 100%;
  }

 .navdiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 10px 15px;
}


.menu-toggle {
  display: none; /* shown in mobile with media query */
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
   display: block;
}


  .navbar ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .navbar ul li {
    margin: 10px 0;
  }

  .navbar ul li a {
    font-size: 1rem;
    padding: 10px;
    display: block;
    width: 100%;
  }

  


  .logo a {
    font-size: 24px;
    font-weight: bold;
  color: white;
  text-decoration: none;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    flex-direction: row;
  }

  .menu-toggle {
     display: none;         /* shown in mobile only */
  font-size: 28px;
  color: white;
  cursor: pointer;
  }
}