* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica Neue Bold,Helvetica Neue,Helvetica,Arial,sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

.logo img {
  height: 45px;          /* ajustá según tu logo */
  width: auto;
  cursor: pointer;
}

#logo{
  color: white;
  margin-bottom: 0px;
  /* font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; */
  font-family: Garamond, serif;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s;
}


section {
  padding: 4rem 2rem;
  max-width: 80%;
  margin: auto;
}

/*Wts button:*/
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-in-out;
}

/*Cards of Insurance*/
section.card {  
  width: 350px;
  height: 200px;
  background-color: #fcfcfc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.company-container{
    display: flex; margin-top: 30px;
}

.card svg {
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 3px;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px #000000;
  background-color: #474dc3;
  color: #ffffff;
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #474dc3;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  padding-left: 5px;
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.card:hover svg {
  scale: 0;
}

.card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    min-height: 70px;  
    text-align: center;
}
/* Commands to change the shadows in dark mode
@media (prefers-color-scheme: dark) {
  .card:hover {
  box-shadow: 0 8px 16px #000000;
  }
}*/

.goToQuote{
    margin-top: 10px;
}

/*Cards of Insurance*/

/*Card of insurance services:*/
.container-services-seguros{
    margin-top: 50px;
    display: flex;    
    justify-content: space-evenly;
    align-items: center;
}

.card-services-seguros{    
    margin-right: 10px;
    width: 30%;    
    background-color: #021322;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 150px;
    transition: 200ms;
}

.card-services-seguros:hover{
    width: 40%;    
}

.title-services-seguros{
    font-size: 15px;
    line-height: 1.5em;
}

.seguro-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100px;    
    border-radius: 50px;
}

/*End Card of insurance services:*/

/*Card of advocacy services:*/

.container-services-advocacy{
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-services-advocacy{    
    margin-right: 10px;
    width: 30%;
    padding: 20px;    
    background-color: #021322;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-services-advocacy:hover {
    transform: scale(1.05); /* crece un poco */
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3); /* opcional, para dar efecto de elevación */
    z-index: 1;
}

.title-services-advocacy{
    font-size: 20px;
    line-height: 2em;
}

.description-services-advocacy{
    text-align: center; /* centra el texto dentro del div */
    height: 200px;
    max-height: 200px;
}

.item-service-advocacy{
  font-size: 13px;      
   margin: 5px 0;  /* espacio entre cada línea */
}



.advocacy-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    max-height: 200px;
    background-color: #343c44;
    width: 100%;    
    border-radius: 50px;
    margin-bottom: 10px;
}

.advocacy-icon .imgService{
  width: 100%;  
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

/*End Card of advocacy services:*/


.whatsapp-button img {
  width: 32px;
  height: 32px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.title-section{
  justify-content: center;
  display: flex;
}

h2 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  color: rgb(7, 7, 7);
}

.language-selector {
  background-color: #34495e;
  color: black;
  border: none;
  padding: 0.3rem 0.6rem;
  margin-left: 1rem;
  cursor: pointer;
}

/*Tarjetas de servicios*/

.content-service-card{
  display: flex;
  justify-content: space-around;
  align-items: center; 
  flex-wrap: wrap; /* necesario para que hagan salto de línea */
}

.service-card {
  width: 19%;
  height: 300px;
  margin-right: 10px;
  padding: 10px;
  transition: all 0.4s;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
  font-size: 15px;
  color: white;
}

.service-card:hover {
  border-radius: 15px;
  cursor: pointer;
  transform: scale(1.2);
  box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
  background: rgb(103, 151, 255);
}

.first-content {
  height: 100%;
  width: 100%;
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
}

.service-card:hover .first-content {
  height: 0px;
  opacity: 0;
}

.second-content {
  height: 0%;
  width: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 0px;
  transform: rotate(90deg) scale(-1);
}

.service-card:hover .second-content {
  opacity: 1;
  height: 100%;
  font-size: 12px;
  transform: rotate(0deg);
}

/*Tarjetas de servicios*/

/*Ubicación*/
  #ubicacion{
    background: #272833;
    padding: 60px;
  }

  .map-container {
    position: relative;
    width: 40%;
    padding-bottom: 28.125%; /* 16:9 ratio para 50% de ancho */
    margin: 1.5rem auto; /* centra horizontalmente */
    
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .map-title {
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 80px;    
  }
/*Ubicación*/

/*TowingService*/
.container-services-grua{
  margin-top: 50px;
  display: flex;    
  justify-content: space-evenly;
  align-items: center;
  /* width: 190px; */
  height: fit-content;/*254px;*/
  border-radius: 30px;
  background: lightgrey;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 50px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 26px -18px inset; */
  box-shadow:  21px 21px 31px #a1a1a1,
             -21px -21px 31px #ffffff;
}

.tow{
    height: 140px;
    width: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/*/TowingService*/

/*Language selector*/
.language-selector {
  position: relative;
  margin: 0px;
  padding: 0px;
  height: max-content;
  width: 150px;
  cursor: pointer;
  user-select: none;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.selected-option, .dropdown-option {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding: 9px 10px;
  background-color: #F4F4F4;
  gap: 8px;
}


svg{
  height: 35px;    
  transition: opacity 3s ease-out, transform 3s ease-out;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #2C3E4F;
  z-index: 10;
  border-radius: 4px;
}

.dropdown-option:hover {
  background-color: #080808;
  color: white;
}

.dropdown img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.hidden {
  display: none;
}
/*Language Selector*/

/*Education:*/
.eduction-item{
  font-size: 15px;
  margin: 20px;
  text-align: center;
}
/*/Education:*/

.wallpaper{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*img format:*/

  background: url('./assets/s81.png'); 
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  
}

/*Form*/
 #contacto{
    background-color: black;
    width: 100% !important;   
 }

 .contactFormContainer {
      max-width: 600px;
      margin: auto;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);  
      color: white;
    }

    #contactFormTitle{
      text-align: center;
      margin-bottom: 20px;
      color: white;
    }

    label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
    }

    input[type="text"],
    input[type="email"],
    select {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
    }

    textarea{
      width: 100%;
      height: 100px;
      padding: 10px;
    }

    select[multiple] {
      height: 150px;
    }

    .error {
      color: red;
      font-size: 0.9em;
    }

    button {
      padding: 1.3em 3em;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 2.5px;
      font-weight: 500;
      color: #000;
      background-color: #fff;
      border: none;
      border-radius: 45px;
      box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease 0s;
      cursor: pointer;
      outline: none;
    }

    button:hover {
      background-color: #23c483;
      box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
      color: #fff;
      transform: translateY(-7px);
    }

    #inprogress:hover{
      background-color: #c48c23;
      box-shadow: 0px 15px 20px #64450b;
    }

    button:active {
      transform: translateY(-1px);
    }

    @keyframes sh02 {
      from {
        opacity: 0;
        left: 0%;
      }

      50% {
        opacity: 1;
      }

      to {
        opacity: 0;
        left: 100%;
      }
    }

    button:active {
      box-shadow: 0 0 0 0 transparent;
      -webkit-transition: box-shadow 0.2s ease-in;
      -moz-transition: box-shadow 0.2s ease-in;
      transition: box-shadow 0.2s ease-in;
    }


    @media (max-width: 600px) {
      .container {
        padding: 20px;
      }
    }
/*Form*/

.presentation{
  background-color: #f4f4f4;
}
.profile-card {
  background-color: white;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 5px
}

.eductationContent{
  display: flex;
  justify-content: center;
  margin-left: 5%;
}

.profile-photo {
  flex: 1;
  max-width: 300px;
  margin-right: 2rem;
}

.profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.profile-info {
  flex: 2;
}

.profile-info h2 {
  margin-bottom: 0.5rem;
}

.profile-info p {
  margin: 0.3rem 0;
}

.social-icons{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.social-icons a {
  margin-right: 1rem;
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.2rem;
  display: block;
}

/* Soft appearance */
.presentation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.presentation.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Soft appearance */

/*Carrusel:*/
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  /* max-width: 100vw; */
  margin: 0 auto;
  position: relative;
}


.container{
  display: flex;
  gap: 16px;
  animation: scroll 30s linear infinite;
  width: max-content;
  padding: 20px 0;
}

.experiencia-icon{
  flex: 0 0 auto;
  width: 120px;
  height: 140px;
  /* background: white; */
  /* border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.experiencia-img{
    height: 40px;
    width: 40px;
    border-radius: 50px;
    transition: transform 0.3s ease;    
  }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/*Carrusel*/
@media (max-width: 1700px) {
  .content-service-card{
    display: flex;
  }

  .service-card{
    width: 45%;
    margin-bottom: 20px;
  }

}

@media (max-width: 1500px) {
    .card{
        margin-top: 10px;
        min-width: 40%;
    }

    .company-container{
        display: block;
    }

    .container-services-seguros{
        flex-direction: column;
    }

    .container-services-grua{
        flex-direction: column;
    }
    
    .container-services-advocacy{
      justify-content: center;  
      flex-direction: column;
    }
 
    .card-services-seguros{    
        width: 60%;
    }

    .card-services-advocacy{    
        width: 60%;
    }
 
    .card-services-seguros:hover{
    width: 70%;    
}
}

@media (max-width: 1200px) {
    
  #languageSelector{
    display: none;
  }

  .content-service-card{
    display: flex;
  }

  .service-card{
    width: 35%;
    margin-bottom: 20px;
  }

  .wallpaper{
    height: fit-content;
    /* background: none; */
  }
  .menu-toggle {
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  nav.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
  }

  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50%;
  }

  #profile{
    justify-content: center;
    display: flex;
  }

  .profile-photo {
    margin: 0 0 1rem 0;
  }

  section {
    padding: 4rem 2rem;
    min-width: 90%;
    margin: auto;
  }
  

}

@media (max-width:950px) {
  .profile-card {
    width: 70%;
  }
}


@media (max-width: 800px) {
  
  .cliente-card{
    margin-right: 0px; padding: 0px;
  }

  .experiencia-icon{
    max-width: 120px;
    max-height: 140px;
  }
  .full-card-opinion{
    flex-direction: column;
    justify-content: center;  
    align-items: anchor-center;
  }

  .opinion{
    margin-top: 20px;
  }

  .service-card{
    width: 45%;
    margin-bottom: 20px;
  }
  
  .card-services-seguros{    
    width: 80%;
  }

  .card-services-advocacy{    
    width: 80%;
  }

  .card-services-seguros:hover{
    width: 90%;    
  }

  .profile-card{
    width: 90%;
  }
}

  @media (max-width: 768px) {
    .map-container {
      width: 90%;
      padding-bottom: 50.625%; /* ajusta la altura para pantallas chicas */
    }

    .eductationContentText{
      width: 100%;
    }
    .eductationContentImg{
      display: none;
    }
  }

@media (max-width: 600px) {

  .profile-card{
    width: 95%;
  }

  .content-service-card{
    display: block;
  }

  .service-card{
    width: 100%;
  }

  .card-services-seguros{    
    width: 90%;
  }

  .card-services-advocacy{    
    width: 90%;
  }
  
  .card-services-seguros:hover{
    width: 100%;    
  }

  section.card{
    width: 100%;
  }
  
  #footerLogo{
    width: 80%;
  }
}

@media (max-width: 456px) {
  section.card{
    height: 250px;
  }
}

@media (max-width: 400px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }
  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }
}