* {
  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;
  background-color: #ecebe8;
}

.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;
  }
  
}


/*About Us Section*/
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-row {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px); /* Slightly below its final position */
  transition: opacity 0.6s ease-out, transform .9s ease-out;
  will-change: opacity, transform;
}

.about-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  width: 60%;
  border-radius: 8px;
}

.about-text {
  width: 50%;
}

.about-text h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #801b1b;
  margin-bottom: 10px;
}

.about-text h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  margin: 0px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .about-row {
      flex-direction: column; /* Stack elements vertically */
      text-align: center; /* Center-align text for smaller screens */
      gap: 20px;
  }

  .about-row.reverse{
      flex-direction: column-reverse
  }

  .about-image {
      width: 90%; /* Reduce image size */
  }

  .about-text {
      width: 100%; /* Expand text to full width */
  }

  .about-text h1 {
      font-size: 28px; /* Adjust heading size */
  }

  .about-text p {
      font-size: 14px; /* Reduce paragraph font size */
  }
}

@media (max-width: 480px) {
  .about-section {
      padding: 40px 10px; /* Reduce padding on very small screens */
  }

  .about-text h1 {
      font-size: 24px; /* Further reduce heading size */
  }

  .about-text p {
      font-size: 13px; /* Adjust paragraph size for readability */
  }

  .about-row {
      margin-bottom: 50px; /* Reduce spacing between rows */
  }

  .about-image {
      width: 100%; /* Ensure the image fits the screen */
  }
}


.container {
  max-width: 800px;
  margin: 0px auto;
  padding-bottom: 25px ;
}

.service-text {
  text-align: center;
  text-transform: capitalize;
  
}

.service-text h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #801b1b;
  margin-bottom: 10px;
}

.service-text h1 {
  font-size: 30px;
  margin-bottom: 16px;
}

.service-text p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 28px;
  color: #555;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.service-item {
  background: #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 32px;
  text-align: center;
  width: 250px;
  color: #000000;
  transition: all 0.4s ease-out;
}

.service-item img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 10px;
}

.service-item h3 {
  margin: 8px 0;
  font-size: 18px;
}

.service-item p {
  font-size: 14px;
  color: #333;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.5); 
  transition: all 0.4s ease-in-out; /* Smooth transition for all properties */
}

@media (max-width: 1000px) {
  .service-text{
      padding: 10px;
  }
  .service-text p{
      font-size: 15px
  }
}

/*Testimonal Information*/


.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: 16px;
  line-height: 1.5;
  color: #333;
  font-style: italic;
}

.testimonial h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #801b1b;
  margin-bottom: 10px;
}

.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 Content*/
.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 */
}

@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;
  }
}

#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); 
}

#scrollUpButton:hover {
  background-color: #333; /* Change button color on hover */
}

.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;
}

.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 */
}
