* {
  margin: 0;
  box-sizing: border-box;
}

/* Scrollbar Styling for Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px; 
}

::-webkit-scrollbar-track {
  background-color: #cececeaf; /* Background color */
}

::-webkit-scrollbar-thumb {
  background-color: #801b1b; 
  border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
  background-color: #cececeaf; 
}

/* For Firefox */
* {
  scrollbar-width: thick;
  scrollbar-color: #801b1b #cececeaf;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background-color: #801b1b;
  color: rgb(0, 0, 0);
  overflow: hidden;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.logo img {
  height: 100px;
  width: auto;
  display: inline-block;
  margin-left: 15px;
  padding: 10px;
}

.navbar ul {
  position: static;
  display: flex;
  flex-direction: row;
  list-style: none;
  margin-right: 10px;
  transition: max-height 0.7s ease-out; /* Smooth animation for dropdown */
  max-height: 0; /* Hidden by default */
  padding-bottom: 15px; /* Adds padding under for the border bottom line */
}


.navbar ul li {
  margin: 0 30px;
  padding: 0 0 0 0;
}

.navbar ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 20px;
  transition: color 0.5s;
  font-weight: bold;
  position: relative;
  padding-bottom: 7px ;
  text-transform: uppercase;
}

.navbar ul li a:hover {
  color: #a18c8cd2;
}

.navbar ul li a::after {
  content: ''; /* Creates the underline */
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background-color: #a18c8cd2;
  transition: width 0.2s ease-in-out; /* Smooth animation */
  border-radius: 10px; /* Makes the line underneath rounded */

}

.navbar ul li a:hover::after {
  width: 100%; /* Expands the underline from left to right */
}

.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 1050px) {
  .menu-toggle {
      display: block;
  }

  .navbar ul {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: center;
      background-color: #801b1b;
      margin: 0px;
      padding: 0;
  }

  .navbar ul.active {
      display: flex;
  }

  .navbar ul li {
      margin: 10px 0;
  }

  .navbar ul li a{
      font-size: 20px;
      padding: 0px 0px 10px 0px;
  }

  .logo img {
        height: 60px;
  }
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ecebe8;
  text-align: center;
}

.Hero-Background {
  display: flex;
  justify-content: center;
  align-items: center; /* Centers child elements vertically */
  text-align: center;
  flex-direction: column;
}

.Hero-Text h1 {
  padding: 0px;
  margin: 0px;
  text-transform: capitalize;
}

.Hero-Text h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #801b1b;
  padding: 0px;
  margin: 10px;
}

.Hero-Text p {
  font-size: 18px;
  line-height: 28px;
  color: #555;
  margin: 0px;
  width: 110%;
}

.Hero-Text {
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensures text content is centered horizontally */
  justify-content: center; /* Centers text vertically */
  color: rgb(255, 255, 255);
  z-index: 2;
  text-align: center;
  padding: 40px 60px;
  max-width: 50%;
}

.Hero-Text h1 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #000;
}

@media (max-width: 768px) {
  .Hero-Text {
    padding: 60px; /* Adjusted for better mobile responsiveness */
    max-width: 100%;
  }

  .Hero-Text p {
    font-size: 15px;
  }

  .Hero-Text h3 {
    font-size: 18px;
  }
}

.container {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: auto;
  background: white;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 40px;
  padding-top: 40px ;
}

.container p {
  padding-bottom: 5px;
  margin: 2px;
  font-style: italic;
  color: #333;
}

input, textarea {
  width: 90%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-width: 90%;
}
.container button {
  background: #801b1b;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 10px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Adds shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transform and shadow */
}

.container button:hover {
  background: #333;
  transform: translateY(-5px); /* Moves the button 5px upward */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5); /* Makes the shadow more prominent */
}

.map-container {
  max-width: 100%; 
  padding: 60px;
  padding-top: 0px;
}

iframe {
  border: 0;
  border-radius: 8px;
  width: 70%;
  height: 500px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
 
}


.popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745; /* Green for success */
  color: white;
  padding: 25px;
  border-radius: 8px;
  border-bottom-right-radius: 0px;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 99999999999999999999999001;
  opacity: 0;
  transform:translateY(50px) ;
  transition: opacity 0.3s ease, transform 0.3s ease; /* Animate both opacity and position */
}

/* Add a "show" class for when the pop-up should be visible */
.popup.show {
  opacity: 1;
  transform: translateY(0); /* Move to final position (slide up) */
}

.popup.error {
  background-color: #dc3545; /* Red for error */
}

@media (max-width: 1024px) {
  .container {
      width: 70%;
      padding: 15px;
  }

  iframe {
      width: 85%;
      height: 400px;
  }
  
}

@media (max-width: 768px) {
  .container {
      width: 90%;
      margin: 10px auto;
      padding: 10px;
  }

  input, textarea {
      width: 95%;
      max-width: 95%;
  }

  iframe {
      width: 100%;
      height: 350px;
  }

  .map-container {
      padding: 20px;
      padding-bottom: 60px;
  }

  
}

@media (max-width: 480px) {
  .Hero-Text{
      padding: 40px;
  }
  .container {
      width: 90%;
      padding: 10px;

  }

  .container button {
      padding: 8px 12px;
      margin: 5px 0;
  }

  iframe {
      height: 300px;
  }

  .Hero-Text h1{
      font-size: 25px;
  }
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 8px;
    text-align: center;
    background-color: #801b1b;
    color: white;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: small;
    z-index: 13;
}

footer p {
    padding-left: 20px;
    padding-right: 20px;
}



.floating-box {
  position: fixed;
  bottom: 40px;
  left: 20px;
  background-color: #801b1b; 
  color: white;
  padding: 5px 5px 2px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, t;
  box-shadow: 0px 4px 6px rgba(36, 19, 19, 0.3); /* Adds shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transform and shadow */
}

.floating-box img{
  width: 40px;
  height: auto;
}

.floating-box a {
  color: white;
  text-decoration: none;
}

.floating-box:hover {
  background-color: #333; /* Slightly darker red on hover */
  transform: translateY(-5px); /* Moves the button 5px upward */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5); /* Makes the shadow more prominent */
}

#scrollUpButton:hover {
  background-color: #333; /* Change button color on hover */
}
