body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
  color: #333;
}
header, footer {
  background-color: #1F3A93;
  color: white;
  padding: .5em;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 10%; 
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
}
.nav-links a {
  color: white;
  text-decoration: none;
}
.nav-links li:hover {
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
}

.logo img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s;
  background-color: white;
}

.logo img:hover {
  transform: scale(1.1);
}








.hero-image img {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  display: block;
  opacity: 70%;
}

.top-left {
  position: absolute;
  top: 10%;
  left: 20%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  max-width: 90%;
  margin: 150px 200px;
}

.top-left h1 {
  margin: 0 0 8px 0;
  font-size: 5.5rem;
  letter-spacing: 1px;
}







/* Main container grid for desktop */
 main {
  gap: 16px;
  padding: 20px;
  margin: 0 5%;
  max-width: 100%;
  /* background-color: #262c3f; */
}

main p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

main h2 {
  padding: 30px 20px;
  margin: 30px auto;
  max-width: 100%;
  background-color: #1F3A93;
  color: white;
  text-align: center; 
  font-size: 1.7rem;
  border-bottom: #ff0000 2px solid;
  border-radius: 20px;

}
  
.services-list {
  display: flex;
}

.services-list img {
  width: 55%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.services-list div {
  width: 45%;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 5px 4px 24px rgba(0,0,0,0.07);
}

.services-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 2rem;
} 














/* Footer Styles */
footer {
  background: #1F3A93;
  color: #fff;
  padding: 48px 0 24px 0;
  font-size: 1rem;
  margin-top: 40px;
}

.container-footer {
  max-width: 100%;
  padding: 20px;
  margin: 0 5%;
}

.footer {
  display: flex;
}

.footer-logo {
  width: 250px;
  height: 250px;
  margin: 0 35px 18px auto;
  display: block;
  border-radius: 20px;
}

footer .contact {
  width: 650px;
  margin: 0 35px 18px auto;
}

footer .contact-info {
  margin: 0 2px;
  
}

footer .contact-info p {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

footer .social-media {
  margin: 18px 0 10px 0;
} 


footer .about-us {
  /* width: 650px; */
  margin: 0 35px 18px 50px;
  width: 100%;
  /* background-color: #b5c7f8; */
}

footer .about-us p {
  /* margin: 0 40px; */
  width: 100%;
  line-height: 30px;
}

footer > div {
  margin-bottom: 24px;
}

footer h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #ff0000;
}

footer p{
  color: #eaeaea;
  margin: 0 0 8px 0;
  font-size: 1rem;
  text-decoration: none;
}

footer .social-media {
  margin: 18px 0 10px 0;
}

footer .social-media img {
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: #1F3A93;
  margin-right: 5px;
  vertical-align: middle;
}


footer .footer-links {
  display: flex;
  flex-direction: column; /* Makes the links stack vertically */
  align-items: flex-start; /* Aligns links to the left */
  padding-left: 50px;
  /* background-color: #ff0000; */
}
  

footer .footer-links a {
  /* margin-left: 30px; */
  font-size: 1rem;
  display: inline-block;
  transition: color 0.2s;
  color: white;
  width: 250px;
  /* background-color: #333; */
  padding: 5px;
}

footer .footer-links a:last-child {
  margin-right: 0;
}

footer > p {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #bdbdbd;
  text-align: center;
}

footer > p a {
  color: #ff0000;
  font-weight: 500;
}

.footer-links-all {
  margin: 18px 0 10px 0;
  width: 100%;
  border-top: #f8f8f8 1px solid;  
}

.footer-links-all p {
  /* margin: 0; */
  font-size: 1rem;
  color: #eaeaea;
  /* text-align: center; */
  width: 100%;

}

.footer-links-all p a {
  color: #ffffff;
  font-weight: 500;
  /* margin: 20% 0; */
}






/*************** Responsive Styles *****************/
/*************** Responsive Styles *****************/
/*************** Responsive Styles *****************/
/*************** Responsive Styles *****************/


@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }
  .menu-toggle {
    display: block;
    padding: 1em;
  }

  /* Container holding the image and the text */
  .container {
    position: relative;
    /* text-align: left; */
    /* color: black; */
  }



  header a.logo img {
    width: 60px;
    margin: 1em;
    height: auto;
    background-color: white;
    padding: 0.3em;
    border-radius: 5px;
  }






  /* main {
    padding: 0 16px;
  }

  
  .services-section div {
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 5px 4px 24px rgba(0,0,0,0.07);
  } */




    /* Main container grid for desktop */
  main {
    gap: 16px;
    padding: 5px;
    margin: 0 1px;
    max-width: 90%;
    /* background-color: #262c3f; */
  }

    
  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    opacity: 70%;
  }


  .top-left {
    position: absolute;
    top: 12%;
    left: 15%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    max-width: 100%;
    margin:110px 0;
  }

  .top-left h1 {
    margin: 0 0 8px 0;
    font-size: 1.9rem;
    letter-spacing: 1px;
    width: 100%;
  }


  .services-section {
    width: 100%;
    padding: 10px;
  }

  .services-section h2 {
    padding: 20px 10px;
    margin: 20px auto;
    max-width: 70%;
    background-color: #1F3A93;
    color: white;
    text-align: center; 
    font-size: 1.5rem;
    border-bottom: #ff0000 2px solid;
    border-radius: 20px;
  }

  .services-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 5px;
    width: 95%;
  }



  .services-list {
    flex-direction: column;
  }

  .services-list div {
    margin-bottom: 12px;
  }

  .services-list img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }
  .services-list div {
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 5px 4px 24px rgba(0,0,0,0.07);
  }

  .services-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 2rem;
  }
  .services-list li:last-child {
    margin-bottom: 0;
  }
  .services-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 2rem;
  } 

  




















  /* Footer Styles */

  footer a, .footer-links a {
    color: white;
    text-decoration: none;
  }

  footer {
    display: block;
    padding: 32px 8px 18px 8px;
    border-radius: 0;
  }

  .footer {
    display: block;
  }


  .container-footer {
    max-width: 100%;
    padding: 2px;
    margin: 5px;
  }

  .footer-logo {
    width: 250px;
    height: 250px;
    margin-left: 18%;
    margin-bottom: 50px;
    display: block;
    border-radius: 20px;
  }


  footer .contact {
    width: 100%;
  }

  footer .contact-info {
    margin: 0 2px;
    
  }

  footer .contact-info p {
    margin-bottom: 30px;
    font-size: 1.05rem;
  }

  footer h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #ff0000;
    width: 70%;
    border-bottom: 2px solid #ff0000;
    border-bottom-right-radius: 50px;
  } 



  footer > div {
    margin-bottom: 18px;
    text-align: center;
  }


  footer .social-media {
    margin: 18px 0 10px 0;
  }
  
  footer .social-media img {
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: #1F3A93;
    margin-right: 5px;
    margin-bottom: 50px;
    vertical-align: middle;
    /* color: white; */
  }


  footer .contact-info p {
    margin-bottom: 25px;
    font-size: 1.05rem;
  }


  
  footer .social-media {
    margin: 18px 0 10px 0;
  }
  
  footer .about-us {
    margin: 0 35px 18px 0;
    width: 100%;
  }

  footer .about-us p {
    margin-bottom: 50px;
    width: 100%;
    line-height: 30px;
  }


  
  footer .footer-links {
    display: flex;
    flex-direction: column; /* Makes the links stack vertically */
    align-items: flex-start; /* Aligns links to the left */
    padding-left: 0;
    margin-left: 0;
  }
    

  footer .footer-links a {
    font-size: 1rem;
    display: inline-block;
    transition: color 0.2s;
    color: white;
    width: 100%;
  }




  footer > div,
  footer .footer-links {
    margin-bottom: 50px;
    text-align: left;
  }

  footer .footer-links,
  footer .social-media {
    margin-top: 8px;
  }

}