* {
  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-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .navbar .nav-menu {
    flex-direction: column;
    width: 100%;
    background-color: #333;
    padding: 10px 0;
    border-top: 1px solid #444;
  }

  .navbar .nav-menu.active {
    display: flex;
  }

  .navbar .menu-toggle {
    display: block;
  }

  .navbar .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
}

/* 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: #f0f0f0;
  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;
}



/* Photo Section */
/* General styling for the photo section */
.photo-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Flexible grid with minimum column size */
  gap: 20px;
  padding: 20px;
  justify-items: center; /* Center items within each grid cell */
}

/* Styling for each photo item */
.photo-item {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-item img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures images cover the container without stretching */
  border-radius: 10px;
}

/* Hover effect for the photo items */
.photo-item:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Styling for the photo captions */
.photo-item p {
  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 responsive behavior */

/* Tablets */
@media (max-width: 1024px) {
  .photo-section {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Slightly smaller grid on tablets */
  }
  .photo-item p {
    font-size: 1em; /* Slightly smaller text on tablets */
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .photo-section {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Smaller grid on mobile */
  }
  .photo-item p {
    font-size: 0.9em; /* Smaller caption text for mobile */
  }
}


.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;
}



/* 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;
}


@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 10px 0;
    min-width: 250px;
    text-align: center;
  }

  .footer h4 {
    font-size: 1.5em;
  }

  .footer ul li a {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {

  .footer-container {
    gap: 20px;
  }

  .footer h4 {
    font-size: 1.3em;
  }

  .footer ul li a {
    font-size: 1em;
  }
}
