body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: white;
  transition: background-color 0.3s ease;
  z-index: 1000;
  border-bottom: 2px solid #3eaeef;
}

.header a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth color transition */
}

.header a:hover {
  color: #3eaeef;
  text-decoration: underline;
}

.header a.active {
  color: #3eaeef; /* Different color for active link */

  border-radius: 4px; /* Rounded corners */
}

.logo-pic {
  max-width: 100px; /* Adjust the size of the logo */
  height: auto; /* Keeps the aspect ratio */
  display: block;
  padding: 10px 40px 10px;
  transition: transform 0.3s ease;
}

.logo-pic:hover {
  transform: scale(1.04);
}
.navlist {
  gap: 20px;
  display: none;
  padding-right: 80px;
  flex-direction: row; /* Stack items vertically */
}

.navlist.active {
  display: flex; /* Show the menu when the 'active' class is added */
}

#menu-close {
  display: none;
}

.navlist a {
  text-decoration: none;
  color: black; /* Adjust color */
  font-weight: 700;
}

/* Navigation menu (desktop view) */
.navlist {
  display: flex;
  list-style: none;
}

.navlist li {
  margin-left: 20px;
}

.navlist li a {
  text-decoration: none;
  color: #333;
}

.dropdown {
  padding: 2px;
}

ul li ul.dropdown {
  display: none;
  z-index: 1001;
  position: absolute;
  background: rgb(238, 234, 234);
}

ul li:hover ul.dropdown {
  display: block;
}

ul li ul.dropdown li {
  display: block;
  margin: 0%;
}

/* Mobile hamburger icon */
.nav-icons {
  display: none;
  cursor: pointer;
}

.nav-icons i {
  font-size: 35px;
  color: #333;
  padding: 10px 10px 10px;
}

.scroll {
  display: none; /* Hide arrow initially */
  position: fixed;
  bottom: 2.2rem;
  border-top: 2rem;
  right: 3.2rem;
}

.scroll i {
  font-size: 32px;
  color: #3eaeef;
  background: white;
  padding: 10px;
  border-radius: 2rem;
}

.main-content {
  flex: 1;
}

.top-image img {
  width: 100%;
  height: auto;
  margin-top: 60px; /* Adjust this if your header height changes */
}

/* Content below the image */
.content-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 3px solid #3eaeef;
}

.content {
  flex: 1;
  padding: 20px;
  text-align: left;
}

.content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 2rem auto; /* Center text and add spacing */
  padding: 0 20px;
}
.content-textBlue {
  color: #3eaeef;
}

.content p span {
  display: inline-block;
}

.team-section {
  padding-bottom: 2rem;
  padding-top: 4rem;
}

.team-section h4 {
  text-align: center;
}

.about-us-team {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
  align-items: flex-start;
}

.team-container {
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.about-us-team-member {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.about-us-team-member img {
  width: 250px; /* Set the width for a round image */
  object-fit: cover; /* Ensures image fits within the circle */
  overflow: hidden;
  transition: 0.15s ease-in-out;
}

.about-us-team-member h3 {
  margin-top: 3rem;
}

.about-us-team-member h4 {
  text-align: center;
}

.about-us-team-member p {
  line-height: 33px;
  text-align: center;
}

.about-us-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.phone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.email {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.info-box {
  background-color: #f4f4f4;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 0 10px #d1eaf9;
}

.info-box i {
  font-size: 20px;
  margin-left: 5px;
  color: #3eaeef;
}

.info-box i:hover {
  color: #0a1af8;
}

.info-box p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.info-box h5 {
  margin: 5px 0;
  line-height: 1.2;
}

.info-box h4 {
  margin: 5px 0;
  line-height: 1.2;
}

.visit-us {
  text-align: left;
  color: #555;
  max-width: 800px;
  margin: auto;
  padding: 10px;
  border-top: 2px solid #3eaeef;
}

.google-map {
  flex-grow: 1; /* Allows the map container to expand */
  display: flex;
  justify-content: center; /* Centers the map horizontally */
  align-items: flex-end; /* Aligns the map to the bottom of the page */
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.google-map iframe {
  width: 100%; /* Full width */
  max-width: 850px; /* Optional max width */
  height: 450px; /* Fixed height */
  border: none;
  box-shadow: 0 0 10px #d1eaf9;
}

.footer {
  background-color: black;
  color: white;
  text-align: left;
  padding: 10px 0;
  width: 100%;
  margin-top: auto; /* Pushes the footer to the bottom when content is less */
  position: relative;
  border-top: 2px solid #3eaeef;
}

.footer-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-right: 30px;
}

.devBy:hover {
  transform: scale(1.05); /* Slightly enlarge the div on hover */
}

.devBy i {
  font-size: 15px;
}

.devBy a {
  color: white; /* Main color for the link */
  text-decoration: none; /* Remove underline */
  font-weight: bold;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease; /* Smooth transition for the color */
}

.devBy a::after {
  content: ''; /* Add pseudo-element for underline */
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #3eaeef;
  left: 0;
  bottom: -4px;
  transform: scaleX(0); /* Start with hidden underline */
  transition: transform 0.3s ease;
  transform-origin: right;
}

.devBy a:hover {
  color: #3eaeef; /* Change color on hover */
}

.devBy a:hover::after {
  transform: scaleX(1); /* Expand the underline on hover */
  transform-origin: left;
}

/* Mobile responsiveness */
@media (max-width: 970px) {
  .navlist {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgb(238, 234, 234);
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navlist.active {
    display: flex;
  }

  .nav-icons {
    display: block;
  }

  .logo-pic {
    padding: 10px 10px 10px;
  }

  .half-page {
    width: 100%;
    height: 50vh;
  }

  body {
    flex-direction: column;
  }

  .content {
    padding: 20px;
  }

  .team-container {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .about-us-team-member p {
    margin-left: 0%;
    width: 100%;
  }
  .about-us-team {
    flex-direction: column; /* Stack team members on mobile */
    align-items: center;
    justify-content: center;
  }

  .google-map iframe {
    height: 300px;
  }
  .footer-list li {
    font-size: smaller;
  }
}
