/* Estilos generales */

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
  list-style: none;
}

/* Variables */
:root{
  --main-color: #6F3D6F;
  scroll-behavior: smooth;
  scroll-padding: 25vh;
  box-sizing: border-box;
}

/* Header */
header {
  /* background-color: #f0f0f0; */
  /* padding: 20px; */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100vw;
  z-index: 10;
}
nav.scrolled {
  background-color: #fff;
  transition: background-color 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
nav::before{
  content: "";
  display: block;
  width: 100vw;
  height: 10px;
  background-color: var(--main-color);
  position: absolute;
  top: 0;
}
.nav-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  margin: 0 50px 0 50px;
  
}
nav .logo img{
  width: 80px; 
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links a:not(.btn){
  display: inline-block;
  margin-top: 10px;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

#check-menu{
  display: none;
}
.checkbtn{
  cursor: pointer;
  display: none;

}
/* Hero section */
.hero {
  display: flex;
  align-items: center;
  padding: 0 50px 50px 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  top: 50%;
  transform:translateY(-50%);
  position: absolute;
  margin-left: 3vw;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: left;
  width: 50vw;
}

.hero-image {
  flex: 1;
  border-radius: 120px 0 120px 0;
  margin-top: 4.5rem;
  background: url(/Assets/img/hero-image.jpg) no-repeat;
  background-size: cover;
  height: 85svh;
  overflow: hidden;
  border-bottom: #6F3D6F 10px solid ;
  border-left: #6F3D6F 10px solid ;
}

.hero .btn{
  font-size: 16px;
}

/* .hero-image img {
  max-width: 90%;
  border-radius: 120px 0 120px 0;
} */
.purple-text{
  color: var(--main-color);
  display: inline;
}

/* About section */
.about {
  background-color: #f8f8f8;
  text-align: center;
  padding: 50px;
}

.about-content h2 {
  font-size: 2.5em;
  margin-bottom: 0px;
}
.about-content p {
  margin-top: 0;
}

/* Purpose section */
.purpose {
  padding: 50px;
  display: flex;
  gap: 50px;
  justify-content: space-around;

}
.purpose-content{
  width: 50%;
  max-width: 500px;
}
.purpose-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.purpose-images {
  display: flex;
  margin-top: 30px;
  flex-direction: row;
  gap: 10px;
  width: 50vw;
}
.purpose-images img{
  border-radius: 20px;
  aspect-ratio: 1/1;
}

.purpose-images img {
  max-width: 45%;
}

/* Services section */
.services {
  background-color: #f0f0f0;
  padding: 50px;
}

.services h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-item {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
}

.service-item:hover{
  border: #6F3D6F solid 2px;
}

.service-item img {
  max-width: 80px;
  margin-bottom: 10px;
}
#services .btn {
  text-align: center;
  display: block;
  width:max-content;
  margin: 40px auto auto auto;
}

/* Trust section */
.trust {
  padding: 50px;
}

.trust h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}

.trust-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.trust-images img {
  max-width: 100%;
}

/* FAQ section */
.faq {
  background-color: #f8f8f8;
  padding: 50px;
}

.faq-container h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}
/* 
.faq-item h3 {
  margin-bottom: 5px;
} */

/* Location section */
.location {
  padding: 50px;
}

.location h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  /* background-color: #25D366; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  background-blend-mode:multiply;
}

.location  {
  background: url(/Assets/img/location-image2.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
  width: 100vw;
  background-position: top;
  margin: 0;
  padding: 0;
}

/* Botón */
a[class='btn'] {
  display: inline-block;
  background-color: var(--main-color);
  color: white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 0px;
}

/* Footer */
#footer-container {
  max-width: 80vw;
  margin: auto;
  text-align: left;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  
}
#footer-container:has(h2,h3){
  color: var(--main-color);

}

footer > div p:nth-child(1){
  display: block;
  color: #3f3f3f;
  text-align: center;
  width: 100vw;
}
.footer-links li {
  list-style: none;
  text-decoration: none;
}
.footer-links li a, #contact-info a{
  color: #333;
}
a{
  text-decoration: none;
}
#contact-info {
  display: flex;
  flex-direction: column;
  /* margin-top: 10px; */
  max-width: 200px;
  
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .hero-image {
    background-position: -220px;
    width: auto;
    min-width: 300px;
  /* filter: blur(2px); */

  }
  .hero{
    justify-content: center;
  }
  .hero-content h1{
    font-size: 2rem;
    text-align: center;
    line-height: 105%;
    /* margin: 0; */
  }
  .logo{
    margin-top: 2vh;
    padding: 0;
  }
  nav .logo img{
  width: 75px;
}
  .checkbtn{
    display: block;
    position: relative;
    z-index: 1000;
  }
  

  .hero-image {
    text-align: center;
  }

  .hero-content{
    font-size: .6rem;
    text-align: center;
  }

  nav{
    height: 10vh;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
    position: fixed;
    top:0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--main-color);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -100%;
    transition: all .3s ease-in;
  }

  #check-menu:checked ~ .nav-links{
    left: 0;
  }

  .nav-links a{
    color: #f0f0f0;
    
  }

  .purpose-images {
    flex-direction: column;
  }

  .purpose-images img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .trust-images {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .location h2{
  color: #fff;
}
/* Footer */
#footer-container{
  flex-direction: column;
  text-align: center;
  margin: 0;
  padding: 0;
}
 #contact-info, .footer-links, footer h2{
  max-width: 100vw;
  width: 100vw;
  margin: 0;
  padding: 0;

 }
}

.faq-container {
  width: 80%;
  margin: 50px auto;
}

.faq-item {
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.faq-question {
  background-color: #f0f0f0;
  border: none;
  padding: 15px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1.1em;
}

.faq-answer {
  padding: 15px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Whatsapp */
.btn-whatsapp {
  background-color: #25D366;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px rgba(19, 19, 19, 0.2);
          box-shadow: 0 0 10px rgba(19, 19, 19, 0.2);
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 20;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .2s ease-out;
  opacity: 1;
}
.btn-whatsapp:hover{
  transform: scale(1.1);
  background-color: #1fad53;
}

.whatsapp{
  height: 40px;
  width: 40px;
}