/********** Template CSS **********/
:root {
    --primary: #009145;
    --light: #F6F7F8;
    --dark: #1A2A36;
}

/* colors classes */
.br-green {
    background-color: #32C36C!important;
}
.white-text {
    color: #fff!important;
}
.green-text {
    color: #009145!important;
}
.green-text-bold {
    color: #009145!important;
    font-weight: 900;
}

/* positions */
.position-relative-not-bootstrap {
    min-height: 100%;
}

/* alignment classes */
.text-centered {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* font size clases */
.fs-0med {
    font-size: 0.5rem!important;
}
.fs-08med {
    font-size: 0.8rem!important;
}
.fs-1 {
    font-size: 1rem!important;
}
.fs-1med {
    font-size: 1.5rem!important;
}
.fs-2 {
    font-size: 2rem!important;
}
.fs-4 {
    font-size: 4rem!important;
}

.fs-4med {
    font-size: 8rem!important;
}

.email-little-fonts {
    font-size: 1rem!important;
}

/* margin sizes */
.mt-6 {
    margin-top: 4rem!important;
}

.mt-7 {
    margin-top: 5rem!important;
}

.mt-8 {
    margin-top: 6rem!important;
}

.mb-6 {
    margin-bottom: 4rem!important;
}

.mb-7 {
    margin-bottom: 5rem!important;
}

/* bg images */
.bg-01 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-01.webp)!important;
}

.bg-02 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-02.webp)!important;
}

.bg-03 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-03.webp)!important;
}

.bg-04 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-04.webp)!important;
}

.bg-05 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-05.webp)!important;
}

.bg-06 {
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(0px);
    background-image: url(../img/bg-06.webp)!important;
}

/* containers no margin no padding */
.images-row-container {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* rounded corners images */
.rounded-corners-img {
    border-radius: 10px;
}

/* nice elements */
.text-underline::after {
    content: "";
    display: block;
    width: 25%;
    height: 3px;
    background-color: #009145;
    margin: 60px auto 0;
}

.text-underline-white::after {
    content: "";
    display: block;
    width: 25%;
    height: 3px;
    background-color: #fff;
    margin: 60px auto 0;
}

/* images adjust */
.fit {
    object-fit: cover;
}

.fit-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: 0;
    left: 0;
}

.w-50 {
    max-width: 50%;
}

.w-70 {
    max-width: 70%;
}

/* table styles */
.custom-header {
  background-color: #009145;
  color: #fff;
}

.text-primary{
    color:var(--primary);
}

.bg-gray{
    background: linear-gradient(135deg, #b7bdc4 0%, #f0f2f5 100%);
    border: 1px solid #b7bdc4;
    
}

.bg-gray i{
   color: var(--primary); 
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* span styles */
.counter {
    margin-top: 0;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    font-family: "Roboto", sans-serif;
    font-size: calc(1.375rem + 0.7vw);
    font-weight: 700;
    line-height: 1.2;
    color: #1a2a36;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
    flex-shrink: 0; /* Evita que se encoja en flexbox */
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    flex-shrink: 0; /* Evita que se encoja en flexbox */
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* Evita que se encoja en flexbox */
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar-brand img{
    max-height: 75px;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 479px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
    .navbar-toggler {
        margin: 0 auto;
    }
    .navbar-brand {
        margin: 0 auto;
    }
    .owl-stage-outer {
        margin-top: 10px;
    }
    .border-end {
        border-right: 0px transparent!important;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

}

@media screen and (min-width: 992px) {
  .navbar {
    padding: 0;
    line-height: 3rem;
    .dropdown-menu {
      line-height: initial;
    }
  }  
  
  .dropdown {
    .dropdown-menu {
      display: none;
    }
  }
  .dropdown,
  .dropend {
    &:hover {
      & > .dropdown-menu {
        display: block;
      }
    }
  }
  .dropdown {
    &:hover {
      & > .dropdown-menu {
        margin-top: -.5rem;
      }
    }
  }
  .dropend {
    &:hover {
      & > .dropdown-menu {
        position: absolute;
        top: -.5rem;
        left: 100%;
        margin-left: 0;
      }
    }
  }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-index.webp) center center no-repeat;
    background-size: cover;
}

.page-header-contacto {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-contacto.webp) center center no-repeat;
    background-size: cover;
}

.page-header-cotiza {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-cotiza.webp) center center no-repeat;
    background-size: cover;
}

.page-header-nosotros {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-nosotros.webp) center center no-repeat;
    background-size: cover;
}

.page-header-gestion {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/cfe.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-industrial {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-industrial.webp) center center no-repeat;
    background-size: cover;
}

.page-header-ing-ejecucion {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-ingenieria-ejecucion.webp) center center no-repeat;
    background-size: cover;
}

.page-header-ing-diseno {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-ingenieria-diseno.webp) center center no-repeat;
    background-size: cover;
}

.page-header-monitoreo {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/monitoreo.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-cargadores-ev {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-cargadores-ev.webp) center center no-repeat;
    background-size: cover;
}

.page-header-cargadores-vehiculos {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-cargadores-vehiculos.webp) center center no-repeat;
    background-size: cover;
}

.page-header-proyectos-industriales {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-proyectos-industriales.webp) center center no-repeat;
    background-size: cover;
}

.page-header-interconexion {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-interconexion.webp) center center no-repeat;
    background-size: cover;
}

.page-header-interconexion-almacenamiento {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-interconexion-almacenamiento.webp) center center no-repeat;
    background-size: cover;
}

.page-header-construccion {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-construccion.webp) center center no-repeat;
    background-size: cover;
}

.page-header-logistica {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-logistica.webp) center center no-repeat;
    background-size: cover;
}

.page-header-servicios {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-servicios.webp) center center no-repeat;
    background-size: cover;
}

.page-header-servicio-1 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-servicio-1.webp) center center no-repeat;
    background-size: cover;
}

.page-header-servicio-2 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/header-servicio-2.webp) center center no-repeat;
    background-size: cover;
}

.page-header-servicio-3 {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
.dropzone {
    border: 2px dashed #ced4da; /* Borde punteado gris */
    background-color: #f8f9fa; /* Fondo claro */
    color: #6c757d; /* Texto gris */
    cursor: pointer; /* Indica que es interactivo */
    transition: all 0.3s ease; /* Transición suave para efectos */
}

.dropzone:hover {
    border-color: #007bff; /* Borde azul al pasar el mouse */
    background-color: #e9ecef; /* Fondo más oscuro al hover */
    color: #0056b3; /* Texto más oscuro */
}
.map-container {
    min-height: 400px; /* Altura mínima total, igual al original */
}

.map-item {
    height: 33.33%; /* Divide la altura en tres partes iguales */
    min-height: 120px; /* Altura mínima para cada mapa */
    border: solid transparent 5px;
}

.map-title {
    position: absolute;
    top: 10px; /* Distancia desde la parte superior */
    right: 10px; /* Distancia desde la derecha */
    background: var(--primary); 
    color: #fff; /* Texto blanco */
    padding: 5px 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    font-size: 16px; /* Tamaño de fuente */
    z-index: 1; /* Asegura que esté sobre el mapa */
}

/* Ajustes para tus media queries existentes */
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }
    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.bg-green{
    background-color: #009145 !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
    color: var(--light);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--dar);
}

.footer p{
    color: var(--light);
}

.footer a{
    color:#e5e5e5;
}

.footer-contact-item i {
    font-size: 1.7rem;
    color: #ffc107;
}
.footer-contact-text {
    font-size: 1.3rem;
    font-weight: 500;
}
.footer-border-custom {
    border-right: 2px solid #ddd;
}
.footer-border-custom:last-child {
    border-right: none;
}

/*client carousel*/
.client-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Para evitar desbordes si usas efectos adicionales */
}

/* Opcional: Añadir un brillo sutil */
.client-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none; /* Para que no interfiera con el contenido */
}

.client-carousel .item {
    text-align: center;
    padding: 15px;
}

.client-carousel .item img {
    max-height: 150px !important; /* Ajusta la altura máxima según tus logos */
    width: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.client-carousel .item img:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.highlight{
    color: var(--primary);
}

.about-us.service-item {
    background-color: #fff; /* Fondo blanco para los recuadros */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    min-height: 250px; /* Altura mínima para uniformidad */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente */
    align-items: center; /* Centrar horizontalmente */
}

.about-us.service-icon {
    color: #28a745; /* Color verde para los íconos, ajusta según tu tema */
}

.section-VA .service-item img {
    max-height: 200px; /* Limita la altura máxima */
    width: 100%; /* Mantiene el ancho responsivo */
    object-fit: cover; /* Asegura que la imagen se recorte bien sin distorsionarse */
}

.section-VA .service-icon {
    text-align: center;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto;
    margin-top: -50px;

}

/*testimonios*/

/* Estilo de la sección */
.bg-green {
    background-color: var(--primary);
    color: #ffffff;
}

.testimonial-card {
    background-color: var(--primary); /* Fondo gris oscuro de las tarjetas */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* Efecto de elevación al pasar el mouse */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.stars i {
    font-size: 18px; /* Tamaño de las estrellas */
    margin: 0 2px;
}

.text-muted {
    color: #bdc3c7 !important; /* Gris claro para el texto */
}

.text-success {
    color: #27ae60 !important; /* Verde para los nombres */
}

/* Responsividad */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%; /* Una columna en pantallas medianas y pequeñas */
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%; /* Tres columnas en pantallas grandes */
        max-width: 33.333333%;
    }
}

/*cta flotante*/

.floating-cta-btn {
    position: fixed;
    bottom: 15%;
    right: 20px;
    background-color: #009145;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

a.floating-cta-btn:hover{
    color: ##009145 !important;
}

.floating-cta-btn:hover {
    transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
    color: #009145;
    background-color: #fff;
}

.floating-cta-btn span {
    margin-right: 8px; /* Espacio entre texto e ícono */
}

/* Animación de pulsación */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.floating-cta-btn {
    animation: pulse 2s infinite; /* Pulsación cada 2 segundos */
}

/* Responsividad */
@media (max-width: 768px) {
    .floating-cta-btn {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 40px;
    }

    .floating-cta-btn:hover {
        transform: scale(1.05); /* Menor aumento en móviles */
    }
}

@media (max-width: 576px) {
    .floating-cta-btn {
        bottom: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Estilos para pestañas */
/* Estilos para pestañas */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    background: #f8f9fa;
    color: #2e7d32;
    border: 1px solid #dee2e6;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    margin-right: 5px;
    padding: 10px 20px;
}

.nav-tabs .nav-link.active {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32 #2e7d32 #fff;
}

.tab-pane {
    padding-top: 20px;
}

/* Estilos para la información a la derecha */
.info-box {
    background: #009145 !important; 
    border-radius: 10px;
    color: #fff;
     padding: 0 10%;

}

.info-box-title {
    color: #fff;
    font-size: 1.5rem;
}

.mpv-media {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.media-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #ffffff;
}

.media-body{
    flex: 1;
}

.media-info{
    margin: 0;
}

.media-body .media-info {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.media-body .media-info strong {
    color: #fff;
    font-size: 1.3rem;
}


/* Media queries existentes */
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }
    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .info-box {
        margin-top: 20px;
    }
}

/*=================================
    arrendamiento styles
==================================*/
input[type=radio].hogar-radio {
  position: absolute!important;
  top: 0!important;
  left: 0!important;
  opacity: 0!important;
  background-color: cyan!important;
}

ul.form-buttons {
  list-style-type: none;
  margin-top: 1.5vh;
  margin-bottom: 3vh;
}

ul.form-buttons li {
  display: inline; 
  margin-right: 10px;
}

.form-buttons-style {
  border: none;
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  font-family: var(--title-font);
  background-color: var(--theme-color2);
  color: var(--white-color);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 21.5px 40px;
  border-radius: 9999px;
  position: relative;
  z-index: 1;
  overflow: hidden;  
}

.form-buttons-style:before, .form-buttons-style:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  background-color: var(--theme-color);
  transform: scale(0);
  z-index: -1;
  border-radius: inherit;
  transform-origin: right bottom;
  transition: opacity ease 0.4s, visibility ease 0.4s, transform ease 0.4s;
}

.form-buttons-style:before {
  transform-origin: left top;
}

.form-buttons-style:hover {
  color: var(--white-color);
  background-color: var(--secondary-color);
}

.form-buttons-style:hover:before, .form-buttons-style:hover:after {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.btnselected {
  color: var(--white-color);
  background-color: var(--secondary-color);
}

/*loading gif*/
.loading-gif {
    display: none; /* Oculto por defecto */
    margin-left: 10px;
}

.loading-gif img {
    vertical-align: middle;
}

/*inphographic*/
.cfemanagement {
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 30px auto;
}

.step-icon {
    width: 18%;
}

.step-icon i {
    font-size: 6rem;
}

.text-warning {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.text-warning::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 2px solid #009145;
    margin-top: 4px;
}

@media screen and (max-width: 767px) {
    .step-icon i {
        font-size: 2.5rem;
    }
}

/* flip cards */
.banner-card {
    perspective: 1000px;
    position: relative;
    width: 100%;
    min-height: 300px;
}

.face {
    position: absolute;
    width: 100%;
    height: 270px;
    backface-visibility: hidden;
    transition: transform 0.8s ease-in-out;
}

.face.front {
    transform: rotateY(0deg);
}

.face.back {
    transform: rotateY(180deg);
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.banner-card:hover .face.front {
    transform: rotateY(180deg);
}

.banner-card:hover .face.back {
    transform: rotateY(360deg);
}

.face.front img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.flip-list {
    list-style: none;
    text-align: left;
}

.flip-list li {
    line-height: 2.5rem;
}

/* cards */
.card {
    background-color: transparent;!important;
    border: none!important;
    margin: 0 auto!important;
    height: 430px;
}

/* new nav */
/* Reset específico solo para este menú */
#mainmenu ul,
#mainmenu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    max-width: 1500px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.menu-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.menu-logo img {
    width: 10vw;
    height: auto;
}

#mainmenu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding-left: 20px;
}

.menu {
    display: flex;
    gap: 24px;
}

.menu li,
.submenu li {
    position: relative;
}

#mainmenu .menu > li > a {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    color: #1A2A36;
    background: transparent;
    text-decoration: none;
    font-family: Roboto, sans-serif;
}

#mainmenu .menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: #009145;
    transition: width 0.4s ease;
}

#mainmenu .menu > li > a:hover::after {
    width: 100%;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.menu li:hover > .submenu,
.submenu li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.submenu a {
    background-color: transparent !important;
    padding: 10px 16px;
    color: #1A2A36;
    display: block;
    text-decoration: none;
    position: relative;
}

.submenu a::after {
    display: none;
}

.submenu a:hover {
    background: #009145!important;
    color: #fff;
}

.submenu .submenu {
    top: 0;
    left: 100%;
    position: absolute;
    background: #fff;
    min-width: 220px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.submenu li:hover > .submenu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
}

.has-submenu {
    position: relative;
}
.has-submenu.open > .submenu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
}

@media (hover: hover) {
  .has-submenu:hover > .submenu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
  }

  .submenu-toggle {
    display: none;
  }
}

.menu-toggle {
  position: relative;
  display: block;
  z-index: 1001;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 6px;
}
.menu-toggle span:nth-child(2) {
  top: 13px;
}
.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 13px;
}

.menu-toggle.open span {
  background: white;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background: #1A2A36;
    transition: all 0.3s ease;
}

.menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #009145;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    flex-direction: column;
}

.menu-fullscreen.open {
    transform: translateY(0);
}

.menu-fullscreen .menu {
    flex-direction: column;
    gap: 28px;
}

.menu-fullscreen .menu a {
    font-size: 1.5rem;
    color: #1A2A36;
    text-decoration: none;
}

.menu-fullscreen-mobile {
    display: flex; 
}

/* whatsapp floating button */
.float {
  position: fixed;
  width:60px;
  height:60px;
  top:60%;
  right:5px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.5);
  z-index:100;
  transition: all 0.3s ease;
}

.float:hover {
  background-color:#11BA50;
  color:#FFF;  
}

.my-float{
  margin-top:25%;
}

@media screen and (min-width: 1024px) and (max-width: 1365px) {
  .float {
    right: 10px;
  }  
}

@media screen and (min-width: 851px) and (max-width: 851px) /* xiaomi */ {
  .float {
    right: 10px;
  }
}

@media screen and (min-width: 575px) and (max-width: 767.98px) /* tablet and large mobiles */ {
  .float {
    right: 10px;
  }
}

@media screen and (min-width: 320px) and (max-width: 480px) /* Mobile*/ {
  .float {
    right: 10px;
  }
}

/* telephone floating button */
.float-telephone {
  position: fixed;
  width:60px;
  height:60px;
  top:50%;
  right:5px;
  background-color:#009145;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.5);
  z-index:100;
  transition: all 0.3s ease;
}

.float-telephone:hover {
  background-color:#007c3b;
  color:#FFF;  
}

@media screen and (min-width: 1024px) and (max-width: 1365px) {
  .float-telephone {
    right: 10px;
  }  
}

@media screen and (min-width: 851px) and (max-width: 851px) /* xiaomi */ {
  .float-telephone {
    right: 10px;
  }
}

@media screen and (min-width: 575px) and (max-width: 767.98px) /* tablet and large mobiles */ {
  .float-telephone {
    right: 10px;
  }
}

@media screen and (min-width: 320px) and (max-width: 480px) /* Mobile*/ {
  .float-telephone {
    right: 10px;
  }
}

/* snippet animation */
.snippet-hidden {
  display: none;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-snippet.slide-in {
  animation: slide-down 0.6s ease-out forwards;
}

.snippet-speech {
  position: absolute;
  background-color: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  transition: none;
  z-index: 10;
  pointer-events: none;
  animation: none;
}
.snippet-speech.show {
  animation: fade-bounce 0.9s ease-out forwards;
}
.snippet-speech::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

@keyframes fade-bounce {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  70% {
    transform: scale(0.95) translateY(-4px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

/* responsive last items */

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #mainmenu {
    padding-left: 0px;
  }

  .menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
  }

  .menu-logo img {
    width: 35vw;
    height: auto;
  }

  .menu-toggle {
    position: relative;
    display: block;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-fullscreen-mobile {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #009145;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .menu-fullscreen-mobile.open {
    transform: translateY(0);
  }

  .menu-fullscreen-mobile .menu {
    flex-direction: column;
    gap: 28px;
  }

  .menu-fullscreen-mobile.open ul.menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: left;
  }

  .menu-fullscreen-mobile ul.menu a {
    color: #1A2A36;
    font-size: 1.5rem;
    text-decoration: none;
  }

  .menu-fullscreen-mobile ul.menu li {
    text-align: left;
  }

  .menu-fullscreen-mobile ul.menu li a {
    color: #fff!important;
  }

  .menu-wrapper .menu {
    display: none;
  }

  .submenu {
    position: static !important;
    top: auto;
    left: auto;
    width: 100%;
    background-color:#009145!important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    padding-left: 0;
    margin-top: 0;
  }

  .submenu .submenu {
    position: static !important;
    left: auto;
    top: auto;
    background: transparent;
    margin-left: 16px;
  }

  .submenu a {
    font-family: Roboto, sans-serif;
    font-size: 1.2rem!important;
    padding: 10px 30px;
    color: white;
    display: block;
    text-decoration: none;
  }

  .submenu li {
    margin-bottom: 6px;
  }

  .submenu li.has-submenu {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
}

  .submenu li.has-submenu > a {
  flex-grow: 1;
  /*padding: 10px 24px;*/
  font-size: 1.2rem;
  color: white;
  text-align: left;
  white-space: normal;
}
  .submenu li.has-submenu > .submenu-toggle {
  flex-shrink: 0;
  margin-left: 8px;
  margin-right: 8px;
}

  .has-submenu.open > .submenu {
    max-height: 1000px;
    opacity: 1;
  }

  .has-submenu.open > .submenu > .has-submenu.open > .submenu {
    max-height: 1000px;
    opacity: 1;
  }

  .has-submenu.open > .submenu-toggle span {
    transform: rotate(45deg);
  }

  .submenu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
  }

  .submenu-toggle span {
    display: inline-block;
    transition: transform 0.3s ease, content 0.3s ease;
    font-size: 1.4rem;
    line-height: 1;
  }

  .menu li {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu li > a {
    flex-grow: 1;
  }

  .btn {
    font-weight: 400;
    line-height: 1.5;
    font-size: 0.6rem;
    margin-bottom: 10px;
  }

  .margin-botton-20 {
    margin-bottom: 20px;
  }

  .margin-botton-350 {
    position: relative;
    padding-bottom: 300px;
  }

  .mobile-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .mobile-items-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .padding-top-20 {
    padding-top: 20px;
  }
}

/* main container */
@media (min-width: 1400px) {
    .index-banner-button {
        display: block;
        height: auto;
        overflow: hidden;
    }

    .index-banner-button a {
        display: block;
        width: 35%;
        margin-bottom: 2vh;
    }
}






