* {
  font-family: Raleway, sans-serif;
}
body {
  margin: 0; /* Ensure no default margin */
  z-index: 0;
  background-color: white;
}

body,
html {
  height: 100%; /* Ensure the wrapper takes the entire height */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px; /* Add padding if needed for spacing */
  box-sizing: border-box;
}

.fixed-header {
  width: 100%;
  margin: 0 auto;
  position: relative;
  top: 0;
  z-index: 4;
  background: black;
  padding: 5px;
  box-sizing: border-box;
}

.fixed-header .logo img {
  height: 100px;
  margin-right: auto;
  flex-shrink: 1;
  padding-left: 60px;
}

/* Contact us button styling */
.contact-button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 50px;
  width: 100%;
  margin-top: -50px;
}
.contact-us,
.menu-button {
  padding: 5px;
  margin-left: 10px; /* Adds space between the contact-us and menu */
}

.contact-us {
  position: fixed;
  font-family: Raleway, sans-serif;
}
.contact-us button {
  background-color: white; /* Default white background */
  color: black; /* Black text color */
  border: 1px solid white; /* Border matching the background */
  padding: 9px 20px; /* Padding for the button */
  font-size: 15px; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 4px; /* Rounded corners */
  transition:
    background-color -1.3s ease,
    color 0.3s ease; /* Smooth transitions */
  font-family: Raleway, sans-serif;
  margin-right: 130px;
  margin-bottom: 40px;
}

.contact-us button.black-bg {
  background-color: black; /* Black background for carousel */
  color: white; /* White text color */
  border: 1px solid black; /* Border matching the background */
  font-family: Raleway, sans-serif;
}

.contact-us button:hover {
  background-color: white; /* Maintain white background on hover */
  color: green; /* Text color turns green on hover */
}

.contact-us button.black-bg:hover {
  background-color: black; /* Maintain black background on hover */
  color: green; /* Text color turns green on hover */
}
.menu-toggle {
  width: 50px;
  margin-right: 60px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 0px;
  top: 40px;
  z-index: 5; /* Ensure it stays on top */
  transition: transform 0.3s ease; /* Add transition for rotation */
}

.menu-toggle.active {
  transform: rotate(45deg); /* Rotate when active */
}

.menu-line {
  width: 30px;
  height: 4px;
  background-color: black;
  border-radius: 10px;
  margin: 3px 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease; /* Add transition for lines */
}

.menu-toggle.active .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg); /* Transform top line */
}

.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0; /* Hide middle line */
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); /* Transform bottom line */
}
.dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  z-index: 10; /* Ensure it stays on top */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a,
.dropdown-menu .back-button {
  color: white;
  text-decoration: none;
  padding: 10px; /* Reduced padding for smaller highlight boxes */
  font-size: 24px;
  text-align: center;
  display: table;
}

.dropdown-menu a:hover,
.dropdown-menu .back-button:hover {
  color: green; /* Change text color to green */
}

/* Move the back button to the right */
.back-button {
  position: absolute;
  top: 20px;
  right: 20px; /* Moved to the right side */
  background: none;
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
}

.menu-button {
  padding-left: 60px;
}

.project-header {
  text-align: left;
  margin-bottom: -5px;
  color: black;
  z-index: 10;
  font-size: xxx-large;
  margin-top: -20px;
  margin-bottom: 20px;
}

#Project-Description-Container {
  width: 100%;
  max-width: 77.688rem; /* Set maximum width for better alignment */
  text-align: center;
  margin: 6rem 0; /* Add some vertical spacing */
  position: relative;
  max-height: 51.813rem;
}

.image-wrapper {
  height: 699.953px;
  width: 1243px;
  z-index: 1;
}

.content-container {
  display: flex;
  justify-content: space-between;
  gap: 0.625rem;
  max-width: 77.688rem;
  margin: 2rem 0;
}

.content-container img {
  max-width: 36.8rem;
  margin: 1.25rem 0; /* Add some vertical spacing */
  position: relative;
  max-height: 51.813rem;
}

@media (max-width: 480px) {
  .fixed-header .logo img {
    height: 4.813rem; /* Further adjust for even smaller screens */
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    margin-top: 0.063rem;
    margin-right: 22px;
  }

  .menu-line {
    width: 20px;
    height: 3px;
  }
  .image-wrapper {
    height: 300px;
    width: 100%;
  }
  .projectImages {
    margin-top: 30px;
  }
  .content-container {
    display: block;
    gap: 0.625rem;
  }
  .content-container img {
    height: 300px;
    width: 100%;
  }
  .fixed-header .logo img {
    padding-left: 30px;
  }
}

@media (max-width: 780px) {
  .fixed-header .logo img {
    height: 4.813rem; /* Further adjust for even smaller screens */
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    margin-top: 0.063rem;
    margin-right: 22px;
  }

  .menu-line {
    width: 20px;
    height: 3px;
  }
  .image-wrapper {
    height: 300px;
    width: 100%;
  }
  .projectImages {
    margin-top: 30px;
  }
  .content-container {
    display: block;
    gap: 0.625rem;
  }
  .content-container img {
    height: 300px;
    width: 100%;
  }
}

/* Footer styling */
.footer {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background-color: white;
}

/* Container for navigation arrows */
.navigation-arrows {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

/* Styling for the arrows */
.nav-arrow {
  font-size: 6rem;
  text-decoration: none;
  color: black;
  margin: 0 1.563rem;
}

/*===============================================
  Mobile & Tablet Header + Footer Overrides
===============================================*/

/* Smartphones (≤480px) */
@media (max-width: 480px) {
  /* make header a true flex container */
  .fixed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }
  /* shrink logo */
  .fixed-header .logo img {
    height: 35px;
    padding-left: 15px;
    margin: 0;
  }
  /* reset contact button positioning */
  .contact-button {
    position: static;
    margin: 0;
  }
  .contact-us button {
    font-size: 12px;
    padding: 7px 14px;
    margin: 0;
  }
  /* shrink menu toggle */
  .menu-toggle {
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .menu-line {
    width: 20px;
    height: 3px;
  }
}

/* Tablets / small desktops (≤780px) */
@media (max-width: 780px) {
  .fixed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
  .fixed-header .logo img {
    height: 50px;
    padding-left: 0px;
  }
  .contact-us button {
    font-size: 10px;
    padding: 8px 16px;
  }
  .menu-toggle {
    width: 45px;
    height: 45px;
    margin: -25px 20px 0 0;
  }
  .menu-line {
    width: 25px;
    height: 3px;
  }
}
