/*

Template 2106 Soft Landing

http://www.tooplate.com/view/2106-soft-landing
	
*/
 
  @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400');

  body {
    font-family: 'Poppins', serif;
    overflow-x: hidden;
    background: #f9f9f9;
  }



  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-weight: 300, bold;
    line-height: normal;
    
  }

  h1 {
    font-size: 3em;
    font-weight: bold;
    
  }

  h2 {
    color: #353535;
    font-size: 2em;
    font-weight: bold;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #202020;
    text-decoration: none !important;
  }

  a,
  input, button,
  .form-control {
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  a:hover, a:active, a:focus {
    color: #29ca8e;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #202020;
  }

  .section-title {
    padding-bottom: 40px;
  }

  section {
    position: relative;
    padding: 100px 0;
  }

  #contact,
  footer {
    background: #ffffff;
    text-align: center;
  }

  .overlay {
    background: #556b2f; /* fallback para navegadores antiguos (verde oliva oscuro) */
    background: -webkit-linear-gradient(to right, #4b5320, #dfe6dc); /* Chrome 10-25, Safari 5.1-6 (verde militar oscuro a verde muy claro) */
    background: linear-gradient(to right, #4b5320, #dfe6dc); /* estándar W3C, IE 10+, Edge, Firefox, Chrome, Opera, Safari */

    opacity: 0.9;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .online-form {
    position: relative;
  }

  .online-form .form-control {
    border-color: #f0f0f0;
    display: inline-block;
    vertical-align: top;
    border-radius: 50px;
    box-shadow: none;
    height: 50px;
    margin-right: 0.5em;
    padding-left: 15px;
  }

  .online-form input[type="email"] {
    width: 60%;
  }

  .online-form button {
    background: #29ca8e;
    border: 0;
    color: #ffffff;
    position: absolute;
    right: 6em;
    width: 25%;
  }

  .online-form button:hover {
    background: #202020;
    color: #ffffff;
  }



  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn {
    background: #ff0000;
    border: 0;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    padding: 12px 30px;
    transition: 0.5s 0.2s;
  }

  .section-btn:hover,
  .section-btn:focus {
    background: #202020;
    color: #ffffff;
  }



  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
-----------------------------------------*/

.custom-navbar {
  border: none;
  margin-bottom: 0;
  padding: 25px 0;
}

.custom-navbar .navbar-brand {
  color: #ffffff;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
}

.top-nav-collapse {
  background: #ffffff;
}

.custom-navbar .navbar-nav {
  margin-left: auto;
  margin-right: auto;
}

.custom-navbar .nav li a {
  font-size: 16px;
  font-weight: normal;
  color: hsl(0, 0%, 0%);
  padding: 10px 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.custom-navbar .nav li a:hover {
  background: transparent;
  color: #29ca8e;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active > a {
  background-color: transparent;
  color: #29ca8e;
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 10px;
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: #29ca8e;
  border-color: transparent;
}

@media (min-width: 768px) {
  .custom-navbar {
    border-bottom: 0;
    background: 0 0;
  }

  .custom-navbar.top-nav-collapse {
    background: #556b2f;
    background: -webkit-linear-gradient(to right, #4b5320, #dfe6dc);
    background: linear-gradient(to right, #4b5320, #dfe6dc);
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
  }

  .top-nav-collapse .navbar-brand {
    color: #252525;
  }

  .top-nav-collapse .nav li a {
    color: hsl(0, 0%, 0%);
  }

  .top-nav-collapse .nav .section-btn a {
    color: #ffffff;
  }
}

/* RESPONSIVE MÓVIL */
@media (max-width: 767px) {
  .custom-navbar .navbar-nav {
    float: none !important;
    margin: 0;
  }

  .custom-navbar .navbar-nav li {
    display: block;
    width: 100%;
  }

  .custom-navbar .navbar-nav li a {
    font-size: 16px;
    padding: 12px 20px;
    text-align: left;
    border-top: 1px solid #eee;
  }
}

/* Animación del logo */
@keyframes spinCoin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.logo-spin {
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  display: inline-block;
}

.logo-spin:hover {
  animation: spinCoin 1s linear;
}

  /*---------------------------------------
      HOME          
  -----------------------------------------*/

  #home {
    background: url('../images/home-bg.jpg') no-repeat center center;
    background-size: cover;
    vertical-align: middle;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding-top: 12em;
    text-align: center;
    
  }

  #home h1 {
    color: hsl(0, 0%, 0%);
    margin-top: 10px;
    margin-bottom: 40px;
    
  }

  .home-info {
    margin-top: 7em;
    
  }

  .home-info h3 {
    color: #f0f0f0;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 10px 0;
  }
  


/* FEATURE Section Custom Layout */
#feature {
  background: #ffffff;
}

#feature .nav-tabs {
  border-bottom: 0;
}

#feature .nav>li>a {
  padding: 8px 0;
}

#feature .nav-tabs>li>a {
  color: #999999;
  font-size: 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  margin-right: 35px;
  font-weight: bold;
}

#feature .nav-tabs>li.active>a,
#feature .nav-tabs>li.active>a:focus,
#feature .nav-tabs>li.active>a:hover {
  background: transparent;
  color: #202020;
  border-bottom: 3px solid #29ca8e;
}

#feature .nav>li>a:focus,
#feature .nav>li>a:hover {
  background: transparent;
  border-bottom: 3px solid hsl(0, 88%, 50%);
  color: #202020;
}

#feature .tab-content {
  margin-top: 50px;
}

.tab-pane-item {
  margin: 20px 0;
 
}

.tab-pane-item h2 {
  margin: 0 0 5px 0;
   font-weight: bold;
}

/* Imagen centrada respecto al texto */
.feature-image-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px 0;
}

.feature-image-centered img {
  width: 500px;
  max-width: 100%;
  height: auto;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .feature-image-centered {
    padding: 20px 0;
    justify-content: center;
  }

  .feature-image-centered img {
    width: 100%;
  }

  #feature .col-md-6 {
    text-align: center;
  }
}




  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  #about .col-md-4 {
    margin: 0;
    padding: 0;
  }

  .team-thumb {
    background: #ffffff50;
    position: relative;
    overflow: hidden;
  }

  .team-thumb-up:after {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: -15px;
    right: 0;
    left: 0;
    content: "";
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #ffffff;
  }

  .team-thumb-down:after {
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: -15px;
    right: 0;
    left: 0;
    content: "";
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 15px solid #ffffff;
  }

  .team-info {
    position: relative;
    padding: 40px;
  }

  .team-info h2 {margin: 0;}

  .team-info small {
    display: block;
    font-size: 18px;
    margin: 5px 0 10px 0;
  }

  .team-thumb img {
    width: 100%;
  }



  /*---------------------------------------
      servicios         
  -----------------------------------------*/

 /* CONTENEDOR */
.servicios-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* menos espacio entre cuadros */
  margin-top: 40px;
}

.team-thumb-wrapper {
  flex: 0 1 calc(20% - 20px); /* 5 cuadros por fila con un gap de 20px */
  display: flex;
  justify-content: center;
  min-width: 150px; /* para evitar que se achiquen demasiado */
}

.team-thumb {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 280px; /* menos ancho para que no ocupe demasiado */
}

.team-thumb:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.team-thumb img {
  width: 100%;
  max-height: 180px; /* menos alto para que sean más chicas */
  object-fit: cover;
  border-radius: 8px;
}

.team-info h2 {
  font-size: 16px; /* un poco más pequeño para que el texto no ocupe mucho */
  margin: 12px 0 8px;
  color: #333;
  font-weight: bold;
}

.team-info p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.3s ease;
}

.btn.btn-white.modal-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;
}

.btn.btn-white.modal-btn:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}


@keyframes scaleIn {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.modal-info {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.modal-text {
  flex: 1;
}

.modal-text h2 {
  font-size: 24px;
  color: #222;
  margin-top: 0;
}

.modal-text p {
  font-size: 16px;
  color: #444;
}

.modal-image {
  flex: 1;
  text-align: center;
}

.modal-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}


/* MEDIA QUERIES */
@media (max-width: 992px) {
  .team-thumb-wrapper {
    flex: 0 1 calc(50% - 20px);
  }

  .modal-info {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .team-thumb-wrapper {
    flex: 0 1 100%;
  }
}



#tab-image {
     transition: opacity 0.5s ease;
     opacity: 1;
     display: block;
     max-width: 100%;
}

#tab-image.fade-out {
     opacity: 0;
}




 


  /*---------------------------------------
      CONTACT             
  -----------------------------------------*/

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Títulos */
.section-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.section-title h1,
.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1rem;
  color: #555;
}

/* Contenedor de tarjetas */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* Tarjeta individual */
.contact-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

/* Icono SVG */
.contact-icon svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

/* Título y texto */
.contact-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-text p,
.contact-text a {
  font-size: 1rem;
  color: #333;
  margin: 0.25rem 0;
}

.contact-link {
  color: #007bff;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 992px) {
  .contact-card {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .contact-card {
    max-width: 100%;
  }
}




  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    padding-bottom: 80px;
  }

  .copyright-text p {
    margin: 5px;
  }

.titulo-principal {
  white-space: nowrap;     /* Evita que se divida en varias líneas */
  font-size: 2em;          /* Aumenta el tamaño del texto */
  display: block;
  text-align: center;      /* Centra el texto */
  font-weight: bold;
  color: rgb(241, 237, 245); /* Cambia el color del texto */
}
.btn-white {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ccc;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.btn-white:hover {
    background-color: #f0f0f0;
    color: #000;
}

  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
  }

  .social-icon li a {
    border-radius: 50px;
    color: #202020;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: #536976;
    color: #ffffff;
  }



  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media only screen and (max-width: 1200px) {

    .custom-navbar .navbar-nav {
      margin-left: 3em;
    }

    .home-info {
      margin-top: 0;
    }
  }


  @media only screen and (max-width: 992px) {

    section {
      padding: 60px 0;
    }

    .custom-navbar .navbar-nav {
      margin-left: 0;
    }

    .custom-navbar .nav li a {
      font-size: 14px;
      padding-right: 15px;
      padding-left: 15px;
    }

    #feature .nav-tabs>li>a {
      font-size: 16px;
      margin-right: 20px;
    }

    .feature-image {
      bottom: -24em;
    }

    .pricing-thumb {
      margin-bottom: 30px;
    }

    footer {
      padding-bottom: 40px;
    }
  }


  @media screen and (max-width: 767px) {

    .section-title {
      padding-bottom: 20px;
    }

    .custom-navbar {
      background: #ffffff;
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .nav li a {
      line-height: normal;
      padding: 5px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #202020;
      font-weight: normal;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #656565;
    }

    .feature-image {
      position: relative;
      bottom: 0;
    }

    #about .col-md-4:nth-child(3n) .team-thumb {
      display: flex;
      -webkit-box-orient: vertical;
      flex-direction: column-reverse;
      -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
    }

    .team-thumb-down:after {
      top: -15px;
      bottom: inherit;
      border-top: inherit;
      border-bottom: 15px solid #ffffff;
    }

    .testimonial-image,
    .testimonial-info {
      height: 85vh;
    }

    .testimonial-info {
      padding: 30px;
    }
  }


  @media screen and (max-width: 480px) {

    .online-form input[type="email"],
    .online-form .form-control {
      width: 85%;
    }

    .online-form .form-control {
      display: block;
      margin: 20px auto;
    }

    .online-form button {
      position: relative;
      right: 0;
    }

    .testimonial-image,
    .testimonial-info {
      height: 65vh;
    }
  }
