* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal overflow */
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

h1 {
  font-family: "Merriweather", serif;
  font-weight: 800;
  /* Bold weight */
}
P {
  font-family: Arial, Helvetica, sans-serif;
}

header,
.navbar,
.footer {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

/* Loader Wrapper Styles */
#loader-wrapper {
  position: fixed; /* Cover the entire screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000; /* Dark background for better visibility */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease-in-out; /* Smooth fade-out */
}

/* Hide main content initially */
#main-content {
  display: none; /* Hide content initially */
}
/* Loader Image Styles */
#loader img {
  width: 200px;
  height: 200px;
  animation: spin 2s linear infinite;
}

/* Spin Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Stars Styles */
.stars {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 3px white;
  animation: twinkle 1.5s infinite alternate;
}

/* Twinkle Animation */
@keyframes twinkle {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.5;
  }
}

/* Example Star Positions - Update these to add more or adjust */
.star1 {
  top: 20%;
  left: 40%;
}

.star2 {
  top: 50%;
  left: 60%;
}

.star3 {
  top: 70%;
  left: 80%;
}

.star4 {
  top: 30%;
  left: 20%;
}

.star5 {
  top: 80%;
  left: 10%;
}

.star6 {
  top: 40%;
  left: 80%;
}

.star7 {
  top: 60%;
  left: 30%;
}

.star8 {
  top: 10%;
  left: 70%;
}

/* Additional Random Star Positions - You can add more as needed */

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 1em;
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  color: #041c15;
  width: 100px;
}

/* Menu */
.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #000000;
  z-index: 1000;
}

.navbar-menu li {
  position: relative;
  margin: 0 10px;
  padding: 1em;
  text-align: center;

  padding: 10px 3em;
  margin: 0 30px;
}

/* Hover effect for menu items */
.navbar-menu a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Ensure text is above the animated background */

  transition: color 0.3s ease;
  /* padding:  0 30px; */
}

/* Water Bucket Fill Effect */
.navbar-menu li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #007a4d;
  /* Light green color with transparency */
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: bottom;
  /* Origin from bottom */
  z-index: 0;
  /* Behind the text */
  opacity: 0;
  /* Initially hidden */
  color: white;
}

.navbar-menu li:hover::before {
  transform: scaleY(1);
  /* Fill effect */
  opacity: 1;
  /* Show the effect */
}

.navbar-menu li:hover a {
  color: #ffffff;
  /* Change text color on hover */
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  /* Initially hidden */
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: top;
  /* Origin from top */
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Smooth transition */
  width: 100%;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  /* Make visible */
  transform: scaleY(1);
  /* Expand dropdown */
}

.dropdown-menu li {
  padding: 1em;
  text-align: left;
  transition: background-color 0.3s ease;
  margin: 0;
  padding: 10px;
}

.dropdown-menu a {
  color: #000000;
  text-decoration: none;
  padding: 10px 15px;
  text-align: center;
}

dropdown-menu li:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
  /* background-color: #00a859; */
  transition: background-color 0.3s;
  /* Light grey background on hover */
}

.dropdown-menu a {
  color: #000000 !important;
  /* Ensure text color is black */
  text-decoration: none;
  display: block;
  width: 100%;
}

.dropdown-menu li:hover a {
  color: rgb(255, 255, 255) !important;
}

/* Hover effect for dropdown */
.navbar-menu .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: scaleY(1);
  visibility: visible;
}

.dropdown-menu {
  display: none;
  /* Hide dropdown by default */
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Toggle Button */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2em;
  /* Increased font size for better visibility */
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease, transform 0.3s ease;
  /* Smooth transition effect */
}

.navbar-toggle:focus {
  outline: none;
  /* Remove default outline */
}

.navbar-toggle:hover {
  color: #00a859;
  transform: scale(1.1);
  /* Slightly scale up the button on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 120px;
    left: 0;
    background-color: #000000;
    border-radius: 0 0 10px 10px;
    /* Rounded corners */
    transition: max-height 0.5s ease, opacity 0.5s ease;
    /* Smooth opening effect */
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-menu li {
    margin: 0;
    padding: 1em;
    text-align: center;
    margin-bottom: 10px;
    width: 90%;
    border-radius: 10px;
  }

  .navbar-toggle {
    display: block;
    color: #ffffff;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    /* Add border for dropdown */
    border-radius: 5px;
    color: #000000 !important;
    /* Ensure text color is visible */
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .dropdown-menu li {
    padding: 1em;
    text-align: center;
    margin-top: 10px;
    width: 100%;
  }

  .dropdown-menu a {
    color: #000000 !important;
    /* Ensure text color is visible */
  }

  /* Adjust dropdown hover effect for mobile screens */
  .dropdown-menu li:hover {
    background-color: #f0f0f0;
    color: #000000;
  }

  dropdown-menu a:hover {
    /* background-color: #00a859; Highlight dropdown item on hover */
    color: #ffffff;
  }
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  filter: brightness(80%);
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-container h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5vw; /* Responsive font size */
  margin: 0;
  z-index: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; /* Bold weight */
  line-height: 1.2;
  color: #ffffff;
  text-align: center; /* Center text */
}

.btn-get-in-touch {
  position: absolute;
  top: 55%;
  left: 45%;
  /* transform: translate(-50%, -50%); */
  background-color: #00a859; /* Button color */
  color: #ffffff; /* Text color */
  padding: 12px 24px;
  font-size: 1em; /* Responsive font size */
  text-decoration: none;
  border-radius: 5px;
  z-index: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.btn-get-in-touch:hover {
  background-color: #007a4d; /* Darker color on hover */
  transform: scale(1.3); /* Slight scale on hover */
}

.slideshow-container p {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  z-index: 1;
  text-align: center; /* Center text */
}

/* Media queries for different screen sizes */
@media only screen and (max-width: 768px) {
  .large-screen {
    display: none;
  }
  .small-screen {
    display: block;
    filter: brightness(40%);
  }
  .slideshow-container h1 {
    font-size: 13vw; /* Responsive font size */
    top: 45%;
    text-align: left;
    left: 45%;
  }
  .btn-get-in-touch {
    top: 85%;
    left: 10%;
    font-size: 0.9em; /* Responsive font size */
    padding: 10px 20px;
  }
}

@media only screen and (min-width: 769px) {
  .large-screen {
    display: block;
  }
  .small-screen {
    display: none;
  }
}

/* Container-Service Styles */
.container-Service {
  position: relative;
  margin: 20px 5%;
  background-color: #d7f9f3;
  padding: 20px;
  color: rgb(31, 4, 4);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
  margin-top: -80px;
  border-radius: 10px;
}

.Services {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 50px;
  padding: 15px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  flex: 1 1 200px;
  /* Flex grow and basis for equal width */
  max-width: 150px;
  /* Max width for larger screens */
}

/* Adjusted image size and padding for consistency */
.Services img {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
  padding: 10px;
}

/* Hover effect */
.Services:hover {
  transform: scale(1.2);
  /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); */
  /* border: 2px solid #00a859; */
  /* background-color: #E8F9F4; */
  border-radius: 10px;
}

/* Adjusted text and image hover effect */
.Services:hover img {
  transform: scale(1.1);
}

.Services p {
  margin-top: 10px;
  font-size: 1em;
  font-family: "Merriweather", serif;
  font-weight: 700;
  /* Bold weight */
}

@media (max-width: 768px) {
  .container-Service {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px;
    border-radius: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    /* Shadow for better visibility */
    background-color: #d7f9f3;
    z-index: 1000;
    /* Ensure it stays above other elements */
    overflow-x: auto;
    /* Allow horizontal scrolling if needed */
    flex-direction: row;
    /* Align items horizontally */
    justify-content: space-around;
    /* Distribute space evenly */
  }

  .Services {
    flex: 1 1 auto;
    /* Auto width with flexible growth */
    max-width: none;
    /* Remove max-width constraint */
    padding: 5px;
    /* Adjust padding for smaller screens */
    margin: 5px;
  }

  .Services img {
    width: 40px;
    /* Adjust image size for mobile */
    padding: 5px;
    margin: 0;
  }

  .Services p {
    font-size: 1em;
    /* Adjust text size for mobile */
  }
}

@media (max-width: 480px) {
  .container-Service {
    padding: 0;
  }

  .Services img {
    width: 40px;
    /* Smaller image size */
  }

  .Services p {
    font-size: 0.6em;
    /* Smaller text size */
  }
}

/* main section */

.main-section h1 {
  text-align: center;
  padding: 20px;
}

.main-section p {
  padding: 20px;
  text-align: center;
}

.main-section {
  margin: 0 auto;
  position: relative;
  padding: 20px;
}

.main-section h2 {
  text-align: center;
}

.card-container-wrapper {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}

.card-container {
  display: flex;
  overflow-x: auto;
  /* Allow horizontal scrolling */
  scroll-behavior: smooth;
  padding: 0 20px;
  /* Adjust padding */
}

.card-container::-webkit-scrollbar {
  display: none;
}

.card-container {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.card {
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 10px;
  text-align: center;
  min-width: 150px;
  /* Adjusted width */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card a {
  text-decoration: none;
  color: #000000;
}

.card img {
  width: 30vh;
  /* Ensure image fits within card */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 100%;
  /* Prevent image from growing beyond the card */
  object-fit: cover;
  /* Cover the card area */
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.nav-button.left {
  left: 0;
}

.nav-button.right {
  right: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card-container {
    padding: 0 10px;
    /* Further reduce padding on small screens */
  }

  .card {
    min-width: 120px;
    /* Further reduce card width on small screens */
  }
}

.main-pack-section {
  padding: 20px;
  background-color: #f4f4f4;
}

.container-pack {
  max-width: 1200px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.column {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.column a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.column img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.column img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .column {
    flex: 1 0 50%;
  }
}

@media (max-width: 480px) {
  .column {
    flex: 1 0 100%;
  }
}

/* about section */
.about {
  display: flex;
  align-items: center;
  /* padding: 20px; */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  /* Allow wrapping */
  background-color: #d7f9f3;
  border-radius: 20px;
}

.about-image,
.about-content {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
}

.about-content {
  text-align: center;
  font-style: italic;
  font-size: 22px;
  padding: 30px;
}

.about-image {
  background-color: #1f6d5a;
  margin: 30;
  padding: 30px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  /* Optional styling */
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
  }

  .about-image,
  .about-content {
    flex: none;
    width: 100%;
    border-radius: 10px;
    font-size: 1em;
  }
}

/* contact form */

.contact-section {
  display: flex;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
  padding: 20px;
}

.contact-form input,
.contact-form textarea {
  margin: 10px 0;
  padding: 20px;
  width: 97%;
  background-color: #d7f9f3;
  border-radius: 10px;
  border: 2px solid #070000;
}

.contact-form .input-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.input-row input {
  margin-right: 20px;

  /* Add space between email and phone fields */
}

.contact-form button {
  align-self: flex-start;
  padding: 15px 50px;
  margin-top: 10px;
  background-color: #00a859;
  border-radius: 10px;
  border: 2px solid #ffffff;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #007a4d;
  /* Darker color on hover */
  transform: scale(1.3);
  /* Slight scale on hover */
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  /* Optional styling */
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    /* Stack on top of each other */
    text-align: center;
  }

  .contact-form,
  .contact-image {
    flex: none;
    width: 100%;
    /* Full width on small screens */
  }
  .contact-form .input-row {
    display: block;
    justify-content: space-between;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    max-width: 100%;
  }
  .input-row input {
    max-width: 100%;
  }
  .contact-form {
    padding: 0;
  }
  .contact-form button {
    align-self: center;
  }
}

#video-section {
  text-align: left;
  margin: 50px auto;
}

#video-section h1 {
  font-size: 3em;
}

#video-section p {
  padding: 0 50px;
}

.video-container {
  max-width: 100%;
  margin-top: 50px;
}

video {
  width: 100%;
  height: auto;
}

@media (max-width: 786px) {
  #video-section h1 {
    font-size: 2em;
  }

  #video-section p {
    padding: 0 10px;
  }
}

/* footer section */
.footer {
  background-color: #141a1a;
  color: #ffffff;
  padding: 2em;
  text-align: left;
  margin-top: 20px;
}

.foot-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-details {
  flex: 1;
  margin: 1em;
}

.footer-details img {
  width: 50px;
  margin-bottom: 1em;
}

.footer-details p {
  margin-bottom: 1em;
}

.footer-details input {
  padding: 0.5em;
  border: none;
  border-radius: 5px;
  width: 80%;
  max-width: 300px;
}

.footer-details ul {
  list-style: none;
  padding: 0;
}

.footer-details li {
  margin: 0.5em 0;
}

.footer-details a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.footer-details a:hover {
  color: #00a859;
  transform: translateY(-3px);
}

.footer-second {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2em;
  position: relative;
}

.footer-img-left {
  position: relative;
  left: 10px;
  width: 100px;
}

.footer-img-right {
  position: relative;
  right: 0;
}

.moving-dotted-line {
  width: 100%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    #fff 50%,
    rgba(255, 255, 255, 0) 0%
  );
  background-size: 10px 1px;
  animation: move 1s linear infinite;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer img {
  z-index: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
  .foot-details {
    flex-direction: column;
    align-items: left;
  }

  .footer-details {
    text-align: left;
    margin: 1em 0;
  }

  .footer-second {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-img-left,
  .footer-img-right {
    position: relative;
    width: 100px;
  }

  .footer-img-left {
    width: 50px;
  }

  .moving-dotted-line {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .footer {
    margin-bottom: 70px;
  }
}

@keyframes move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 10px 0;
  }
}
