* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background-color: #f0f0f0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #333;
  color: white;
  height: 70px;
  flex-wrap: wrap;
}

.nav-brand a {
  font-size: 2em;
  text-decoration: none;
  color: #ffffff;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li {
  margin-left: 10px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 1.2em;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #f0a500;
}

.nav-menu .dropdown {
  cursor: pointer;
}

.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  padding: 10px 0;
  margin: 0;
}

.nav-menu .dropdown:hover .dropdown-menu {
  display: block;
}

/* For mobile and smaller screens */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }
  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .nav-menu li {
    text-align: center;
    margin: 15px 0;
  }
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #000;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #ff6b00;
}

/* Carousel */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 3% 12%;
}

.carousel-wrapper {
  text-align: center;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}


/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #000;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #ff6b00;
}

/* Carousel */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 3% 12%;
}

.carousel-wrapper {
  text-align: center;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #000;
  font-size: 32px;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #ff6b00;
}

/* Carousel Grid */
/* General layout for the carousel grid */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Grid that adjusts based on screen size */
  gap: 30px;
  padding: 20px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0; /* Optional background color for better visibility */
}

.carousel-container {
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensure images cover the carousel area */
}

/* Navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

/* Carousel description */
.carousel-description {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: center;
    margin: 0;
}

/* Media Queries for responsiveness */

/* Tablets and smaller devices */
@media (max-width: 1024px) {
  .carousel-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Smaller items on tablets */
  }

  .carousel-description {
    font-size: 1em;
  }

  .nav-btn {
    padding: 8px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .carousel-wrapper {
    margin: 0 10px; /* Adjust for smaller screen space */
  }

  .carousel-description {
    font-size: 1em; /* Smaller text for mobile */
    padding: 8px;
  }

  .nav-btn {
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    margin: 0 5px; /* Even more space adjustments for small screens */
  }

  .carousel-description {
    font-size: 0.9em; /* Even smaller text for very small screens */
  }

  .nav-btn {
    padding: 5px;
  }
}
/* Footer */
.footer {
  text-align: center;
  background-color: #333;
  color: white;
  padding: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

.footer h4 {
  margin-bottom: 15px;
  color: #ff6b00;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #ffffff;
}

.footer ul li a:hover {
  text-decoration: underline;
  color: #f0a500;
}

