/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: f3f3f3;
}

/* Navbar Styles */
.navbar {
  background-color: #f0ed26;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0; /* Removes padding on the sides */
  height: 100px; /* Set a fixed height for the navbar */
  position: relative; /* Navbar will remain at the top of the page */
}

.logo img {
  height: 50px; /* Adjust based on your logo size */
}

.navbar .nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

/* Navbar Buttons */
.nav-button {
  font: inherit;
  background-color: #f0f0f0;
  border: 0;
  color: #242424;
  border-radius: 0.5em;
  font-size: 1.35rem;
  padding: 0.375em 1em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #fff;
  box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
              0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
              0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
  transition: 0.15s ease;
  cursor: pointer;
}

button:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
              0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
              0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
}

.navbar .nav-links li {
  display: inline;
  padding: 14px 20px;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  display: block;
  text-align: center;
}

.navbar .nav-links li a:hover {
  background-color: #575757;
  color: white;
}

/* Image Gallery Styles */
.image-gallery {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0; /* Remove gap between image containers */
  margin-top: 0; /* No extra margin needed if navbar is not fixed */
}

.image-container {
  position: relative;
  width: 33.33%; /* Each image takes up one-third of the gallery width */
  height: 400px; /* Adjust this value to make the images taller */
  margin: 0; /* Remove any margin */
  overflow: hidden;
  transition: width 0.3s ease-in-out;
}

.image-container img {
  width: 100%;
  height: 100%; /* Make the image fill the container height */
  object-fit: cover; /* Ensure the image covers the container without distortion */
  filter: brightness(50%);
  transition: filter 0.3s ease-in-out;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.image-container:hover {
  width: 50%;
}

.image-container:hover img {
  filter: brightness(100%);
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.image-container .image-name {
  font-size: 1.5em;
  font-weight: bold;
}

.image-container .description {
  font-size: 1em;
  margin-top: 10px;
}

/* About Us Section */
.about-section {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px 0;
}

.about-section header h1 {
  font-size: 2em; /* Adjust the size of the title */
  margin-bottom: 20px; /* Space between title and paragraph */
}

.about-section p {
  font-size: 1em; /* Adjust the size of the paragraph */
  max-width: 800px; /* Limit the width of the paragraph */
  margin: 0 auto; /* Center the paragraph */
}

/*=============== BRAND SLIDER SECTION ===============*/
.slider-brand {
  width: 75vw;
  height: auto;
  margin: auto;
  overflow: hidden;
}

.slider-brand .slide-track-brand {
  display: flex;
  gap: 10px; /* Space between slides */
  animation: scroll 80s linear infinite;
  -webkit-animation: scroll 80s linear infinite;
  width: calc((200px + 10px) * 18); /* Adjust width to account for gap */
}

.slider-brand .slide-brand {
  width: 200px; /* Fixed width for each slide */
  height: 200px; /* Fixed height for each slide */
  overflow: hidden; /* Prevents content from spilling out */
  display: flex;
  justify-content: center;
  align-items: center; /* Centers content vertically */
  background-color: #f5f5f5; /* Optional: Add background color for contrast */
  border-radius: 10px; /* Optional: Rounded corners for slides */
}

.slider-brand .slide-brand img {
  width: 100%; /* Ensure image fills the container width */
  height: 100%; /* Ensure image fills the container height */
  object-fit: contain; /* Preserve aspect ratio and make sure the whole logo fits */
  border-radius: 10px; /* Optional: Rounded corners for a cleaner look */
  background-color: hsl(0, 0%, 96%); /* Add a background to improve visibility of logos */
  padding: 10px; /* Add padding to avoid logos touching edges */
  box-sizing: border-box; /* Ensures padding doesn't affect image dimensions */
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-200px * 18));
  }
}



/* Contact Section */
.parent-container {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

.wrapper {
  display: inline-flex;
  list-style: none;
  padding-top: 40px;
  font-family: "Poppins", sans-serif;
  justify-content: center; /* Ensure the buttons are centered */
  margin: 0; /* Remove any default margin */
  padding: 0; /* Remove any default padding */
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Social Networks */
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 120px;
  width: 100%;
  padding-top: 40px;
  font-family: "Poppins", sans-serif;
  justify-content: center;
}

.wrapper .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1da1f2;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

.footer{
  background-color: #f0ed26;
}