* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.logo {
  height: 110px;
  width: 140px;
}

header {
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fcfcfc;
  position: fixed;
  width: 100%;
  z-index: 1000;
  margin: 0 auto;
  box-sizing: border-box;
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 24px;
  margin-right: 100px;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  transform: translateY(-3px);
  color: orange;
}

.menu-toggle {
  display: none; /* Hidden by default */
  font-size: 2rem;
  background: #333; /* Visible background */
  color: white; /* Text color */
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1100; /* Ensure it's above other elements */
  position: relative;
}

/* Mobile Styles */
/* Mobile Styles */
@media (max-width: 768px) {
  header {
    padding: 1rem; /* Reduce padding for smaller screens */
    width: 100%; /* Ensure it fits the screen width */
    max-width: 100%; /* Override max-width */
  }
  .menu-toggle {
    display: block; /* Show the menu toggle button */
    position: absolute; /* Absolute positioning within header */
    top: 50%; /* Center vertically within the header */
    right: 1rem; /* Set distance from the right edge */
    transform: translateY(-50%); /* Center properly vertically */
  }

  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column; /* Vertical layout */
    position: absolute;
    font-size: 18px;
    top: 100%; /* Below the header */
    right: 0;
    background-color: #fcfcfc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-right: 0;
  }

  .nav-links a {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }

  .nav-links.show {
    display: flex; /* Show the nav links when activated */
  }
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  animation: backgroundScroll 40s infinite;
  background-size: 100%;

  /* background-color: #fcfcfc; */
}

@keyframes backgroundScroll {
  0% {
    background-image: url("images/image1.jpeg");
  }
  24% {
    background-image: url("images/image1.jpeg");
  }
  25% {
    background-image: url("images/image2.jpeg");
  }
  49% {
    background-image: url("images/image2.jpeg");
  }
  50% {
    background-image: url("images/image3.jpeg");
  }
  74% {
    background-image: url("images/image3.jpeg");
  }
  75% {
    background-image: url("images/image4.jpeg");
  }
  99% {
    background-image: url("images/image4.jpeg");
  }
  100% {
    background-image: url("images/image1.jpeg");
  }
}

body.service-body {
  animation: backgroundScroll 40s infinite;
  background-position: center;
  background-size: 150%;
}
body.contact-body {
  animation: backgroundScroll 40s infinite;
  background-position: center;
  background-size: 100%;
}

footer {
  margin-top: 200px;
  background-color: black;
  color: #fcfcfc;
  display: flex;
}
footer.contact-footer {
  margin-top: 400px;
}

main {
  overflow: hidden;
  position: relative;
  opacity: 0.92;
  width: 60%;
  margin-top: 200px;
  height: 100%;
  margin-left: 143px;
  margin-right: 200px;
  margin-bottom: 50px;
  background-color: whitesmoke;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 1300px;
}

/* Button Styles */
.popup-button {
  padding: 15px 20px;
  font-weight: 600;
  font-size: medium;
  background-color: #151515;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 1rem;
  margin-bottom: 20px;
}

.popup-button:hover {
  transform: translateY(-3px);
  background-color: orange;
}

/* Modal Styles */
.modal {
  opacity: 1 !important;
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  opacity: 1 !important;
  background-color: white !important;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.modal-controls {
  margin-top: 10px;
}

.control-button {
  padding: 10px 20px;
  font-size: 14px;
  margin: 0 10px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.control-button:hover {
  background-color: #555;
}

h2.body-header {
  font-size: 32px;
  font-style: normal;
  padding-top: 20px;
  padding: 0.5rem 0.5rem;
  color: #2c3e50;
}

.body-text {
  padding: 1rem;
  font-size: 28px;
  color: #2c3e50;
}

main.service-main {
  overflow: hidden;
  position: sticky;
  opacity: 0.92;
  width: 60%;
  margin-top: 200px;
  height: max-content;
  margin-left: 143px;
  margin-right: 200px;
  margin-bottom: 50px;
  background-color: whitesmoke;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 1300px;
}

@media (max-width: 768px) {
  h2.body-header {
    font-size: 28px;
  }
  .body-text {
    font-size: 20px;
  }

  main {
    min-width: 250px;
    width: 90%;
    margin-left: 20px;
  }
  main.service-main {
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 200px;
    min-width: 250px;
    width: 90%;
  }
  body {
    background-size: 450%;
  }
  body.service-body {
    background-size: 450%;
  }
  body.contact-body {
    background-size: 400%;
  }
  .modal-content-b {
    width: 80%;
    height: 60%;
  }
}

.body-contact-header {
  padding-top: 20px;
  padding-left: 30px;
  padding-bottom: 20px;
  padding-right: 50px;
  font-size: 24px;
  color: #2c3e50;
  width: 40%;
}
.body-contact {
  padding-left: 30px;
  padding-bottom: 20px;
  padding-right: 50px;
  font-size: 20px;
  color: #2c3e50;
  width: 40%;
}
.cta-button {
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
  margin-bottom: 30px;
  padding: 15px 20px;
  border: none;
  outline: none;
  background-color: #151515;
  color: #eee;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-out;
  font-size: medium;
}

.cta-button:hover {
  transform: translateY(-3px);
  background-color: orange;
}

.click-here {
  padding-left: 20px;
  font-style: italic;
}
.service {
  margin: 10px;
  border-radius: 4px;
  overflow: hidden;
}

h3 {
  padding: auto;
}

.service-header {
  margin-top: 4px;
  color: #2c3e50;
  background-color: whitesmoke;
  padding: 8px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-header:hover {
  background-color: orange;
  transform: translateX(-3px);
  transform: translateY(-3px);
}

.service-content {
  max-height: 0; /* Collapsed by default */
  transition: max-height 0.5s ease-out;
  padding: 1px 70px;
  background-color: whitesmoke;
  color: #2c3e50;
}

.service-header span {
  font-size: 18px;
  color: #2c3e50;
}
.list-item {
  margin-left: 30px;

  list-style-type: square;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 1001; /* On top of everything */
  opacity: 1;
  justify-content: center;
  align-items: center;
  isolation: isolate; /* Prevent inherited opacity */
  opacity: 1; /* Fully opaque */
}

/* Modal content */
.modal-content {
  opacity: 1; /* Fully opaque */
  isolation: isolate; /* Prevent parent styles from affecting the modal */
  margin-top: 220px;
  background-color: #fff;
  padding: 20px 20px;
  border-radius: 8px;
  max-width: 470px;
  margin-left: 20px;
  margin-right: 20px;
  width: 90%;
  max-height: 60%; /* Limit the height to 80% of the viewport */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds the height */
}
.modal-content-b {
  opacity: 1; /* Fully opaque */
  isolation: isolate; /* Prevent parent styles from affecting the modal */
  margin-top: 100px;
  background-color: #fff;
  padding: 20px 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80%; /* Limit the height to 80% of the viewport */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds the height */
}

/* Close button */
.close-button {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  float: right;
  cursor: pointer;
}

.e-label {
  margin-top: 5px;
  margin-left: 20px;
}
.e-label2 {
  margin-top: 5px;
  margin-left: 20px;
  width: 350px;
}

/* General footer styling */
footer {
  background-color: #333; /* Dark background for footer */
  color: #fff; /* White text for contrast */
  padding: 40px 10px; /* Spacing inside the footer */
  position: static;
  height: 100px;
  bottom: 0;
  width: 100%;
}

/* Flex container */
.footer-container {
  display: flex;
  align-items: left; /* Centers items vertically */
  max-width: 1200px; /* Limits the width of the footer */
  margin-left: 100px; /* Centers the container on the page */
  gap: 20px; /* Add spacing between sections */
}

/* Left section (Social Media Links) */
.footer-left a {
  margin-right: 15px; /* Space between icons */
  color: #fff; /* White icon color */
  font-size: 24px; /* Size of the icons */
  text-decoration: none; /* Removes underline */
}

.footer-left .fb:hover {
  color: #3b5998; /* Facebook blue */
}

.footer-left .insta:hover {
  color: #e4405f; /* Instagram pink */
}

.footer-left .tiktok:hover {
  color: #010101; /* TikTok black */
}
.footer-left .google:hover {
  color: #4285f4;
}

/* Right section (Contact Info) */
.footer-right p {
  margin: 0; /* Removes default paragraph margins */
}
@media (max-width: 768px) {
  .footer-container {
    margin-left: 10px;
  }
  .e-label2 {
    width: max-content;
  }
}
