/* Ensure the body and html take full height and width of the viewport */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers horizontally */
  justify-content: flex-start; /* Aligns content to the top */
  background-image: url("../images/about-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.logo img {
  width: 140px;
  height: 60px;
}

/* Navbar Container */
.navbar-container {
  width: 100%;
  display: flex;
  justify-content: center; /* Center navbar horizontally */
  position: absolute;
  top: 0;
  z-index: 10;
}

/* Navbar */
.navbar {
  margin: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 15px 0;
  color: white;
  border: 2px solid #dee807; /* Add a 2px border around the navbar */
  line-height: 1.5;
  width: 80%; /* Adjust the width as needed */
}

.navbar a {
  text-decoration: none;
  color: #fff;
}

.nav-item {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}

.primary_button {
  background-color: #dee807;
  color: #000;
  padding: 5px 15px;
  border-radius: 5px;
}

/* Container for the carousel only */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 50%;
  height: 250px;
  padding: 50px;
  margin-top: 200px; /* Space for the navbar */
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

/* Paragraph styling for the heading */
.carousel-heading {
  position: absolute;
  top: -120px;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

/* Centered carousel container */
.carousel-container {
  position: relative;
  max-width: 1800px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-item {
  min-width: calc(50%);
  padding: 5px;
  height: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  height: 100%;
  background-size: cover;
}

/* Arrows for navigation */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #dee807;
  cursor: pointer;
  font-size: 48px;
  font-weight: bold;
}

.arrow-left {
  left: -30px;
}

.arrow-right {
  right: -30px;
}

/* Pagination dots outside the carousel */
.pagination {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.pagination span {
  margin: 0 5px;
  padding: 8px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.pagination .active {
  background-color: rgba(255, 255, 255, 0.9);
}
