* {
  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;
}

body {
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background-color: #801b1b;
  color: rgb(0, 0, 0);
  overflow: auto;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  overflow: hidden;
}

.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;
    }
}


.Hero-Background {
    position: relative;
    background: black;
    color: aliceblue;
    text-align: center;
    overflow: hidden;
    min-height: 400px; 
}

.Hero-Img {
    width: 105%;
     height: 85vh;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.4);
    display: block;
     filter: brightness(50%); 
  
}

.Hero-Text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    z-index: 2;
    text-align: center;
    font-size: 20px;
}

.Hero-Button {
    margin-top: 45px;
    padding: 13px 23px;
    font-size: 23px;
    color: rgb(255, 255, 255);
    background-color: #801b1b;
    border: none;
    border-radius: 15px;
    cursor: pointer; /* Makes an apperence based off when the pointer is above the button*/
    font-weight: bolder;
    transition: background-color 0.3s ease, color 0.3s ease, t;
    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 */

}

.Hero-Button:hover {
    background-color: #333;
    color: #ffffff;
    transform: translateY(-5px); /* Moves the button 5px upward */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5); /* Makes the shadow more prominent */
}

/* Media queries for responsiveness */
@media (max-width: 1255px) {
    .Hero-Text {
        font-size: 14px; /* Slightly smaller font size */
    }

    .Hero-Img{
        width: auto;
    }

    .Hero-Button {
        padding: 10px 20px;
        font-size: 14px; /* Smaller button size */
        margin-top: 20px;
    }
}

@media (max-width: 706px) {
    .Hero-Text {
        font-size: 10px; /* Further reduce font size for smaller screens */
        line-height: 1.4; /* Improve text readability */
    }

    .Hero-Button {
        padding: 8px 18px;
        font-size: 12px; /* Compact button size */
        margin-top: 10px;
    }
}


.Section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.Section-Header,
.Section-Image {
  flex: 1;
  min-width: 200px;
}

.Section-Header {
  color: #333;
  text-align: left;
  font-size: 16px;
  letter-spacing: 1px;
  margin-top: 15px;
}

.Section-Header p {
  color: #333;
  margin-top: 20px;
  font-size: 17px;
  line-height: 2;
}

.Section-Image {
    text-align: center;
    object-fit:cover;
}

.Section-Image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 1080px) {
    .Section-Wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .Section-Header,
    .Section-Image {
        flex: none;
        width: 100%;
        text-align: center;
        font-size: 90%;
        
    }
    .Section-Header p{
        font-size: 90%;
    }
    .Section{
        gap: 40px;
        margin: 40px auto;
    }
}

@media (max-width: 400px){
    .Section-Header p{
        line-height: 1.5;
    }

    .Section-Image img {
        width: 90%;
    }
}

.Section-Button{
  margin-top: 25px;
  padding: 12px 27px;
  font-size: 18px;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  background-color: #801b1b;
  cursor: pointer;
  font-weight: bold;
  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 */

}

.Section-Button:hover {
  background-color: #333;
  color: #ffffff;
  transform: translateY(-5px); /* Moves the button 5px upward */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5); /* Makes the shadow more prominent */
}

.Services { 
  display: block;
  flex-wrap: wrap;
  background-color: #ffffff;
}

.Services > div:nth-child(1) {
  background-color: #a12121;
}

.Services > div:nth-child(2) {
  background-color: #801b1b; 
}

.Services > div:nth-child(3) {
  background-color: #5f0f0f; 
}

.Services > div:nth-child(4) {
  background-color: #410606; 
}

.Services > div:hover {
  background-color: #313030; /* Gray color on hover */
  transition: background-color 0.8s ease; /* Smooth transition effect */
}

.Services h2 {
  font-size: 30px;
  font-weight: bold;
  color: #e9e7e7;
  margin-bottom: 10px;
  text-align: center;
  padding-top: 30px;
}

.Services h3 {
  font-size: 25px;
  font-weight: bold;
  margin: 10px 0;
  color: #e9e7e7;
  text-align: center;
  font-style: italic;
}

.Services p {
  font-size: 15px;
  color: #e9e7e7;
  text-align: center;
  margin: 0 200px;
  padding: 10px;
  padding-bottom: 50px;
}

@media (max-width: 825px) {
  .Services > div {
      width: calc(100%); /* Full-width cards on small screens */
  }
  .Services p{
      margin: 0 100px;
  }
}

@media (max-width: 625px) {
  .Services > div {
      width: calc(100%); /* Full-width cards on small screens */
  }
  .Services p{
      margin: 0 50px;
  }
}

@media (max-width: 325px) {
  .Services > div {
      width: calc(100%); /* Full-width cards on small screens */
  }
  .Services p{
      margin: 0 20px;
  }
}

.testimonial-text{
  text-align: center;
  padding-top: 80px;
  background-color: #ffffff;
}

.testimonial-text h1{
  color: #444;
  font-size: 35px;
  margin-bottom: 30px;
  font-style: italic;
}
.testimonial-text p{
  font-size: 17px;
  color: #333;
  margin: 0 200px;
  line-height: 2;
}

.testimonial-Image{
  text-align: center;
  filter: opacity(100%);
}

.testimonial-Image img{
  height: 90px;
  width: auto;
  margin-top: 100px;
}

@media (max-width: 1125px) {
  .testimonial-text p{
      margin: 0 10px;
  }
}
.testimonial-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.testimonial-slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.testimonial p {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
  font-style: italic;
}

.testimonial h3 {
  margin-top: 15px;
  font-size: 25px;
  color: #801b1b;
  margin-bottom: 40px;
}

.testimonial-button{
  display: block; /* Makes the button a block element */
  margin: 0 auto; /* Centers the button horizontally */
  text-align: center; /* Optional: Centers the text inside the button */
  border-radius: 15px;
  background-color: #801b1b;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  margin-bottom: 80px;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease, t;
  font-weight: bold;
  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 */
}

.testimonial-button:hover {
  background-color: #333;
  color: #ffffff;
  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 {
  flex: 1; /* Allow map container to take available space */
  max-width: 45%; 
  padding: 60px;
}

iframe {
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 500px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
 
}

.map-section {
  display: flex;
  justify-content: space-between; /* This aligns the map and text in a row */
  align-items: left; /* This vertically aligns the content */
  background-color: #333;
  gap: 20px;
  flex-wrap: wrap;
}

.map-text {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  text-align: left;
  flex: 1;
  padding: 90px 80px 30px 80px;
  background-color: #333; /* Add a subtle background color */
}

.map-text label {
  display: flex;
  flex-direction: column;
  margin: 6px;
}

.map-text input {
  border-radius: 5px;
  border: none;
  padding: 10px;
  width: 100%;
}

.map-text h1 {
  opacity: 100%;
  color: #ffffff;
  font-weight: bolder;
  padding-bottom: 10px;
}

.map-text h4{
  font-size: 15px;
  opacity: 70%;
  color: #ffffff;
  padding-bottom: 5px ;
  font-weight: lighter;
}

.map-text p{
  font-size: 18px;
  color: #ffffff;
  padding-bottom: 10px;
  font-style: italic;
}

.map-text input:focus {
  outline: none; /* Remove default focus outline */
  border-color: #801b1b; /* Change border color on focus */
  box-shadow: 0px 0px 10px rgba(255, 30, 0, 0.5); /* Add focus shadow */
}

.map-text form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-family: Arial, sans-serif;;
}

.map-text textarea:focus {
  outline: none; /* Remove default focus outline */
  border-color: #801b1b; /* Change border color on focus */
  box-shadow: 0px 0px 10px rgba(255, 30, 0, 0.5); /* Add focus shadow */
}

.map-text button{
  display: block; /* Makes the button a block element */
  margin: 0 auto; /* Centers the button horizontally */
  text-align: center; /* Optional: Centers the text inside the button */
  border-radius: 15px;
  background-color: #801b1b;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  margin-bottom: 80px;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease, t;
  font-weight: bold;
  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 */
}

.map-text button:hover {
  background-color: #333;
  color: #ffffff;
  transform: translateY(-5px); /* Moves the button 5px upward */
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5); /* Makes the shadow more prominent */
}


.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: 908px) {
  .map-section {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center items horizontally */
  }

  .map-container {
      max-width: 100%; /* Full width on smaller screens */
      width: 90%;
      padding:  0px 40px 50px 40px;
  }

  .map-text {
      max-width: 100%;
      padding: 90px 40px 00px 40px;
      width: 90%;
  }
  .map-text button{
      margin: 0px;

  }
}

@media (max-width: 668px) {
  .map-section {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center items horizontally */
  }

  .map-container {
      max-width: 100%; /* Full width on smaller screens */
      width: 100%;
      padding:  0px 40px 50px 40px;;
  }

  .map-text {
      max-width: 100%;
      padding: 90px 40px 0px 40px;
      width: 100%;
  }
  .map-text button{
      margin: 0px;

  }
  iframe{
      height: 300px;
  }
}

.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 */
  }

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;
}


#scrollUpButton {
  position: fixed; 
  bottom: 40px; 
  right: 20px; 
  padding: 5px 10px 10px; 
  background-color: #801b1b; 
  color: white; 
  border: none; 
  border-radius: 25px; 
  font-size: 25px; 
  cursor: pointer; 
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
  z-index: 10000;
}

#scrollUpButton:hover {
  background-color: #333; /* Change button color on hover */
}



@media (max-width: 500px) {
  body, 

  .Section-Header, 
  .Section p, 

  .map-text {
    text-align: left !important; /* Force left alignment */
  }

  .Hero-Text{
    min-width: 300px;
  }
  .Hero-Button{
    margin-top: 50px;
    font-size: 20px;
  }

  .Services p{
    text-align: left;
    margin:0px 20px;
  }

  .test-p{
    text-align: left;
    padding-left: 3vw;
  }

  .testimonial-text h1{
    padding: 5px;
    font-size: 20px;
  }
}
