* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #F7F7F7;
  color: #333;
}

header {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px 0 20px 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  height: 100%;
}

.navbar-link {
  font-size: 20px;
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
  transition: 0.2s ease;
  position: relative;
}

.dropdown-position {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 0;
  z-index: 10;
  top: 40px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  display: none;

}

.dropdown-menu-list-container {
  list-style: none;
  width: 100%;
}

.dropdown-menu-list {
  padding: 10px 20px 10px 20px;
  width: 100%;
  text-align: center;

}

.dropdown-menu-list-item {
  color: #333333;
  text-decoration: none;
  text-align: center;
  width: 100%;
  transition: 0.2s ease;
}

.dropdown-menu-list:hover {
  background-color: #b8b8b8;
}

.dropdown-position:hover .dropdown-menu {
  display: flex;
  opacity: 1;
}



.navbar-link:hover {
  background-color: #ADD8E6;
  color: white;
}

.logo-container {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.logo {
  border-radius: 20px;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  color: black;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s ease;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 10px;
}

.nav-links a:hover {
  color: blue;
}

.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  width: 100%;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}


.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgb(0, 0, 0, 0.5);
  color: #F0F0F0;
}

.slide-content p {
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgb(0, 0, 0, 0.5);
}

.cta-btn-container {
  margin-top: 1.5rem;
}

.cta-btn {
  padding: 1rem 1.4rem;
  background-color: #ADD8E6;
  border-radius: 2px;
  text-decoration: none;
  color: #525252;
  font-weight: 600;
  font-size: 17px;
  transition: 02.;
}

.cta-btn:hover {
  background-color: #8dbac9;
  color: #6d6d6d;
}

.services {
  padding: 5rem 2rem;
  text-align: center;
}

.service-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-box {
  background-color: #E8E8E8;
  padding: 3rem;
  border-radius: 5px;
  width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  border: 2px solid #ADD8E6;
  transition: 0.2s ease;
}

.team {
  padding: 5rem 2rem;
  background-color: #F0F0F0;
  text-align: center;
}

.contact {
  padding: 1rem 1rem;
  height: 500px;
}



footer {
  background-color: #f8f8f8;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-map {
  width: 60%;
}

.footer-contact {
  width: 35%;
  padding-left: 20px;
}

.footer-contact h3 {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.contact-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
 
.contact-card h4 {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.contact-card p {
  margin: 0;
  font-size: 0.95em;
  color: #555;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }

  .footer-map, .footer-contact {
      width: 100%;
      padding: 0;
      margin-bottom: 20px;
  }
}


.nav-links a:hover,
.cta-btn-nav:hover,
.service-box:hover {
    background-color: #ADD8E6;
    color: #fff;
}

.display {
  display: none;
}

.navbar-links-phone {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 10px;
  font-size: 16px;
  margin-top: 20px;
}

.navbar-link-phone {
  padding: 5px 10px 5px 10px;
}





@media (max-width: 1024px) {
  .hero h1 {
      font-size: 2.8rem;
  }

  .service-box {
      max-width: 45%;
  }

  .nav-links {
      font-size: 1.1rem;
  }

  .cta-btn-nav {
      padding: 8px 18px;
  }

  .navbar-links-phone {
    display: flex;
  }

  .navbar-link {
    font-size: 18px;
  }

  .navbar-links {
    display: none;
  }

  .navbar {
    justify-content: center;
    flex-direction: column;
  }

  .logo {
    height: 70px;
  }

  .logo h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
      flex-direction: column;
      display: none;
  }

  .navbar.active .nav-links {
      display: flex;
  }

  .nav-cta {
      display: none;
  }

  .service-box {
      max-width: 90%;
  }

  .hero h1 {
      font-size: 2.2rem;
  }

  .cta-btn-nav {
      padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
      font-size: 1.8rem;
  }

  .cta-btn-nav {
      padding: 6px 12px;
  }

  .service-box {
      padding: 2rem;
  }

  .nav-links a {
      padding: 10px 15px;
  }

  .service-img {
    height: 100px;
  }
}
