* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 1rem 2rem;
  position: fixed; /* Make the navbar stick to the top */
  top: 0;
  width: 85% !important;
  z-index: 1000; /* Ensure the navbar stays above other content */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.navbar-left,
.navbar-right {
  display: flex;
  gap: 1rem; /* Space between links */
}

.navbar-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 200;
}

.navbar-link:hover {
opacity: 70%;
}


h1{
  font-family: Montserrat;
  font-size: 2rem;
  font-weight: 550;
  letter-spacing: 0.1rem;
  color: white;
}

/* body styling */

body {
  padding-top: 5rem !important; /* Add padding to body to account for fixed navbar */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 10vh;
  background-color: #333;
}

.carousel {
  position: relative;
  width: 90%; /* Use a percentage for width */
  max-height: 80vh;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: opacity 0.8s ease-out;

}

.carousel-inner {
  display: flex;
  height: 100%; /* Ensure the inner container takes full height */
  transform: translateX(0) scale(0.95);
  opacity: 100;
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Ensure the item takes full height */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);

}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Ensures the entire image is visible without cropping */
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  opacity: 0.8;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.3); /* Darker on hover */
}

.prev {
  left: 10px; /* Position the previous button on the left */
}

.next {
  right: 10px; /* Position the next button on the right */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  h1{
    font-size: 1.6rem;
  }

  .navbar-link {
    font-size: 0.9rem;
  }

  .carousel {
    width: 95%;
    height: 100vh;
  }
}


@media (max-width: 480px) {
  .carousel {
    width: 95%;
    height: 100vh;
  }
  .navbar {
    padding: 0.5rem;
  }

  .navbar-left,
  .navbar-right {
    gap: 1rem;
  }

  .navbar-link {
    font-size: 0.8rem;
  }

  h1{
    font-size: 1.2rem;
  }
}

  .progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #000000, #ffffff);
    transform-origin: left;
}

@keyframes progress {
    0% { transform: scaleX(0) }
    100% { transform: scaleX(1) }
}

.footer {
  background-color: #333; /* Dark background */
  padding: 1rem 0; /* Padding for spacing */
  margin: 1rem 0;
  text-align: center; /* Center-align the text */
  font-family: 'Arial', sans-serif; /* Clean font */
  width: 100%;
  top: 90%;
  position: absolute;
}

.footer-text {
  font-size: 10px; /* Adjust font size */
  color: #949494; /* Light text color */
}