html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}
main {
  margin-left: 15%;
  margin-right: 15%;
  padding-top: 9rem;
}

ul {
  list-style-type: none;
}
h1 {
  font-weight: bold;
  color: #fff;
  font-size: 36px;
  margin-top: 15px;
  margin-bottom: 5px;
}
.content {
  flex: 1;
}
header {
  background: #333;
  color: white;
  text-align: center;
  position: fixed;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 10rem;
  padding-bottom: 5px;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

footer {
  bottom: 0;
  left: 0;
  height: 3%;
  width: 100%;
  background: #333;
  padding: 15px;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  position: relative;
}

.checkmark::before {
  content: "✔";
  color: green;
  font-weight: bold;
  margin-right: 8px;
}

.section {
  scroll-margin-top: 10rem;
}

.image-left-text-right,
.text-left-image-right {
  display: flex;
  align-items: center;
  gap: 20px; /* Spacing between image and text */
  max-width: 90%; /* Adjust width as needed */
  margin-top: 50px;
  justify-content: space-between;
}

.image-left-text-right img,
.text-left-image-right img {
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 10px; /* Optional: Adds rounded corners */
  object-fit: cover;
}

.text-content {
  width: 50%;
  text-align: left;
}
/* Reverse order for text on left, image on right */
.text-left-image-right {
  flex-direction: row-reverse;
}

/* Google Maps Section */
.map {
  text-align: left;
  margin-top: 50px;
}

iframe {
  border-radius: 8px;
  max-width: 100%;
  height: 400px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  html,
  body {
    height: 100%;
    overflow-x: hidden;
  }
  main {
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 0rem;
  }
  .image-left-text-right,
  .text-left-image-right {
    flex-direction: column-reverse;
    text-align: center;
  }

  .image-left-text-right img,
  .text-left-image-right img,
  .text-content {
    width: 100%;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }
  header {
    background: #333;
    color: white;
    text-align: center;
    position: sticky;
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 10rem;
    padding-bottom: 5px;
  }
  input,
  textarea {
    font-size: 14px;
  }

  button {
    font-size: 14px;
  }

  /* Navigation Links */
  #nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  #nav-links li {
    margin: 0 15px;
  }

  #nav-links a {
    font-size: 14px;
  }
}
