/* 
 * ==========================================================================
 * Estilos Generales
 * ==========================================================================
 * 
 */


#contenedor-principal{
  -webkit-box-shadow: -1px 0px 17px 3px rgba(0,0,0,0.53);
  -moz-box-shadow: -1px 0px 17px 3px rgba(0,0,0,0.53);
  box-shadow: -1px 0px 17px 3px rgba(0,0,0,0.53);
  max-width: 1170px;
  margin: auto;
}

.letra-azul{
  color: #43A1C9;
}

.clear{
  clear: both;
}

.header{
  padding: 0;
}

/* ==========================================================================
   NavBar
   ========================================================================== */
.navbar {
    margin-bottom: 0 !important;
}

.navbar-default {
    background-color: #132C30;
    border-color: #132C30;
}

/* Navbar Brand */
.navbar-default .navbar-brand {
    color: #fff;
    text-decoration: none;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #5E5E5E;
}

/* Navbar Links */
.navbar-default .navbar-nav > li > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Hover Effects */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ffcc00; /* Amarillo */
    transform: scale(1.1); /* Escala */
}

/* Active Link */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #000;
    background-color: #FFB23A;
}

/* Dropdown Caret */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #751219;
    border-bottom-color: #751219;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #A6BCAB;
    border-bottom-color: #A6BCAB;
}
.navbar-default .navbar-nav > .open > a .caret,
.navbar-default .navbar-nav > .open > a:hover .caret,
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

/* Mobile Version */
.navbar-default .navbar-toggle {
    border-color: #DDD;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #DDD;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #CCC;
}

/* Underline Animation */
.navbar-default .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffcc00;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.navbar-default .navbar-nav > li > a:hover::after {
    width: 100%;
}

/* Center Navigation */
@media (min-width: 768px) {
    .navbar-nav {
        float: none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
}

/* Mobile Dropdown */
@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #A6BCAB;
    }
}


/* ==========================================================================
   Boton de contacto nav
   ========================================================================== */

.navbar-default .btn-cta {
    background-color: #ffb23a; /* Amarillo */
    color: #000; /* Texto negro */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: absolute; /* Para mantenerlo a la derecha */
    right: 20px; /* Ajusta la distancia del borde derecho */
    top: -40%; /* Centra verticalmente en la barra de navegación */
    transform: translateY(-50%); /* Corrige el centrado vertical */
    animation: balanceo 2s ease-in-out infinite; /* Aplica la animación */
}

/* Efecto Hover */
.navbar-default .btn-cta:hover {
    background-color: #f4b800; 
    transform: translateY(-50%) scale(1.1); 
    color: #FFF; 
}

/* Animación de Balanceo */
@keyframes balanceo {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg); 
    }
    50% {
        transform: translateY(-50%) rotate(2deg); 
    }
    75% {
        transform: translateY(-50%) rotate(-2deg); 
    }
}


/* ==========================================================================
   BOTON CONTACTO ABOUT US 
   ========================================================================== */

.contact-btn {
    background-color: #ffcc00; 
    color: #000; 
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    animation: balanceo 2s ease-in-out infinite; 
}

/* Efecto Hover */
.contact-btn:hover {
    background-color: #f4b800; 
    transform: translateY(-50%) scale(1.1); 
}

/* Animación de Balanceo */
@keyframes balanceo {
    0%, 100% {
        transform: rotate(0deg); 
    }
    50% {
        transform: rotate(1deg); 
    }
    75% {
        transform: rotate(-1deg); 
    }
}

/* Estilos para el ícono */
.contact-btn i {
    font-size: 16px; 
}

/* Botón Destacado con Ícono */
.nav-contact-btn {
    background-color: #ffcc00; 
    color: #000; 
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    animation: balanceo 2s ease-in-out infinite; 
    margin: 2.75rem 0 -2rem 0; /*top right bottom left*/
}

/* Efecto Hover */
.nav-contact-btn:hover {
    background-color: #f4b800; 
    transform: translateY(-50%) scale(1.1); 
}

/* Animación de Balanceo */
@keyframes balanceo {
    0%, 100% {
        transform: rotate(0deg); 
    }
    50% {
        transform: rotate(1deg); 
    }
    75% {
        transform: rotate(-1deg); 
    }
}

/* Estilos para el ícono */
.nav-contact-btn i {
    font-size: 16px; 
}


.sin-padding{
  padding: 0;
}

.contenedor-pedir-cita{
  padding: 20px 25px;
  font-size: 1.2em;
  color: #223033;
  text-align: justify;

}

#footer{
  background-color: #6e797a;
  padding: 20px;
  /*border-top: 10px solid #EA962D;*/
}

.separador{
  border-bottom: 10px solid #2F5E3C;
  border-top: 10px solid #8CC540;
  height: 30px
}

.separador-citas{
  background-color: #8CC540;
  height: 10px;
}

.label{
  color: #2F5E3C;
}

.inputStandard{
  background-color: #F2F2F2;
  /*border-bottom: 5px solid #D66028;*/
}

.franja-titulo{
  border-bottom: 10px solid #2F5E3C;
  border-top: 10px solid #2F5E3C;
  padding: 0 20px;
  background-color: #8CC540;
  color: #2F5E3C;
}

.barra-roja {
    background: linear-gradient(135deg, #1a3c3c 0%, #0f2424 100%); 
    color: #fff; 
    text-align: center;
    padding: 20px 40px;  
    margin-bottom: 20px;
    font-weight: 600; 
    font-family: "Poppins", sans-serif; 
    letter-spacing: 2px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

.barra-roja h2 {
    font-family: "Poppins", serif;
    font-weight: 600; 
    margin: 0;  
    padding: 0; 
    font-size: 3rem;  
}

.barra-amarilla {
    background: linear-gradient(135deg, #FFB136 0%, #e9a334 100%); 
    color: #fff; 
    text-align: center;
    padding: 20px 40px;  
    margin-bottom: 20px;
    font-weight: 600; 
    font-family: "Poppins", sans-serif; 
    letter-spacing: 2px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

.barra-amarilla h2 {
    font-family: "Poppins", serif;
    font-weight: 600; 
    margin: 0;  
    padding: 0; 
    font-size: 3rem;  
} 


.Home__div-img{
  width: 100%;
    height: 15vw;
}

.center{
  text-align: center;
}

.Home__div-ser{
  width: 100%;
    height: 5vw;
}

.caja {
  margin:20px 0 40px 0;	
  border:1px solid #d9d9d9;
  height:30px;
  overflow: hidden;
  width: 230px;
  position:relative;
}
.select {
  background: transparent;
  border: none;
  font-size: 14px;
  height: 30px;
  padding: 5px;
  width: 250px;
}
.select:focus{ outline: none;}

.caja::after{
 content:"\025be";
 display:table-cell;
 padding-top:7px;
 text-align:center;
 width:30px;
 height:30px;
 background-color:#d9d9d9;
 position:absolute;
 top:0;
 right:0px;	
 pointer-events: none;
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img{
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Servicios
   ========================================================================== */

.services {
  padding: 4rem 0;
}

.service-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1); /* Asegura estado base */
}

.service-card:hover {
  transform: scale(1.05); /* Agranda al hacer hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Sombra más notable */
}

.service-image {
  position: relative;
  overflow: hidden;
  padding-top: 66.67%; /* 3:2 Aspect Ratio */
}

.service-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1); /* Imagen se agranda un poco más */
}

.service-card h3 {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.8rem;
  color: #132c30;
  text-align: center;
  line-height: 1.4;
  font-weight: 400; 
}

.service-item {
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: #fff9f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.service-item:hover {
  background: #FFB334;
  color: white;
}

.service-item:hover i {
  color: white;
}

.service-item i {
  font-size: 1.5rem;
  color: #FFB334;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.service-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}


@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
    }
}

/* Centrar el último elemento en la mitad en pantallas grandes */
.service-grid > :last-child {
    grid-column: 2;  /* Esto coloca el último elemento en la columna del medio */
    justify-self: center;  /* Esto lo centra dentro de su celda */
}




/* ==========================================================================
   Experiencias
   ========================================================================== */

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Centra el último elemento cuando está solo en su fila */
    .experience-grid > :last-child {
        grid-column: 2;  /* Esto coloca el último elemento en la columna del medio */
        justify-self: center;  /* Esto lo centra dentro de su celda */
    }
}


.text{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: -10px;
  position: relative;
  z-index: 999;
  flex-wrap: wrap;
}

.inner-text{
   display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  padding: 20px;
  width: 300px;
  margin: 10px 0 10px 0;
  transition: all 450ms ease;
}

.inner-text:hover{
  cursor: pointer;
  box-shadow: -1px 6.5px 15px rgba(208, 211, 214, 0.75);
}

.ic{
  font-size: 35px;
  color: #EBA675;
  transition: all 250ms ease;
}

.ic:hover{
 opacity: .7;
}

.inner-text h3{
  color: #223033;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 15px;
}

.inner-text h5{
  color: #626b77;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.inner-text p{
  color: #6D85A8;
}

.inner-content{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}

.Exp__img{
  width: 100px;
  height: 100px;
  border-radius: 68px;
}

.box__es{
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  padding: 26px 10px 9px;
}
.box__es-p{
    font-style: italic;
    font-size: 22px;
    font-variant: common-ligatures;
    font-weight: bold;
    color: #e4a955;
}

.team-section {
    background: #ffffff;
}

.content-box {
    background: white;
}

.team-header {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    margin: 2rem;
}

.team-header h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.team-header .company-name {
    font-weight: bold;
    color: #2c3e50; /* Ajusta el color según tu diseño */
    font-size: 1.2em; /* Ligeramente más grande que el texto secundario */
}

.team-header .company-description {
    color: #2c3e50; /* Ajusta el color según tu diseño */
}

.team-header h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-family: "Poppins", serif;
    font-weight: 700;
}

.team-header h2 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-family: "Poppins", serif;
    font-weight: 700;
}

.team-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FFB334;
    margin: 1rem auto;
    border-radius: 2px;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    margin: 2rem 0 -1rem 0; /*top right bottom left*/
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #fff9f0;
}

.feature-item i {
    font-size: 2.5rem;
    color: #FFB334;
    margin-bottom: 1rem;
}

.content-text {
    line-height: 1.8;
    color: #223033;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
}

.text-box {
    text-align: center;
    line-height: 1.75;
    color: #223033;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    padding: 2rem;
    margin: 2rem 2.5rem -3rem 2.5rem; /*top right bottom left*/
}

.highlight {
    color: #FFB334;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}



/* ==========================================================================
   BOTON CONTACTO
   ========================================================================== */

.contact-btn {
    display: inline-block;
    background-color: #FFB334;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: 2px solid #FFB334;
    margin: 5rem 0 2rem 0; /*top right bottom left*/
}

.contact-btn:hover {
    background-color: white;
    color: #FFB334;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 52, 0.2);
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 95%;
  position: static;
}

.form-control {
  font-size: 1rem;
  padding: 12px 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

input[type="text"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
textarea.form-control {
  font-size: 1.3rem;
  background-color: #e8e8e8;
}

textarea.form-control {
  resize: vertical;
}

.form-control:focus {
  border-color: #ffb23a;  
  background-color: #f1f1f1;
  outline: none;
  box-shadow: none; 
}

.form-control::placeholder {
  color: #888;
  font-style: italic;
}

textarea.form-control[style] {
  height: 120px;
}


/* ==========================================================================
   EXPERIENCIAS ICONO
   ========================================================================== */

.experience-grid h5 i {
    margin-right: 5px; /* Espacio entre el ícono y el texto */
    color: #132c30; /* Cambia el color del ícono */
    font-size: 1.2rem; /* Cambia el tamaño del ícono */
}


/* ==========================================================================
   EXPERIENCIAS ICONO
   ========================================================================== */

.aboutus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    margin: 2rem 0;
}

