:root {
    --ruta-image-worldmap: url('assets/images/worldmap.svg');
    --ruta-image-fondo1: url('assets/images/image1.svg');
    --ruta-image-fondo2: url('assets/images/image2.svg');
    --ruta-image-fondo3: url('assets/images/image3.svg');

    --ruta-image-carrusel1: url('assets/images/carrusel1.png');
    --ruta-image-carrusel2: url('assets/images/carrusel2.png');
    --ruta-image-carrusel3: url('assets/images/carrusel3.png');

    --ruta-image-mapContact: url('assets/images/map-image.png');
}

body{
   background-color: white !important;
}
.centerMenu{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}
.titleAccordion{
    background-color: #e5d7d7;
    border-bottom: 2px solid #bf4b25;
    color: #11151a;
    font-size: 17px;
    font-weight: bold;
}
.spaceFiltos{
    padding-right: 5px;
}
.btnHome{
    color: #fff;
    background-color: #021132;
    border-color: #0a830e;
    font-size: 22px;
}

.headerColor{
    background-color: #021352 !important;
}
.headertext{
    font-weight: var(--fw-semibold);
    background: linear-gradient(119.88deg, #93F5EC 9.11%, #A77BF3 71.81%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.client-logos-fondo {
    margin-left: auto;
    background-image:var(--ruta-image-worldmap);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center -100px;
    background-size: 60%;

    
}
.client-logos{
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente (opcional) */
    /*height: 80vh !important;*/ /* Altura del viewport */
}
.center-vertical{
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente (opcional) */
}
.mx-auto {
    margin-right: auto!important;
    margin-left: auto!important;
}
.d-block {
    display: block!important;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.fondoEmpresas{
    background-color: white;
    height: 90px;
    max-width: 300px;
    width: 100%;
}
section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


.card-header {
    height: 50px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.card-basic{
    background: linear-gradient(195deg, rgb(237, 236, 255) 15%, rgb(220, 212, 246) 70%);
}
.card-conctrol{
    background: linear-gradient(195deg, rgb(245, 239, 252) 15%, rgb(219, 207, 240) 70%);
}
.card-analisis{
    background: linear-gradient(195deg, rgb(196, 249, 253) 15%, rgb(167, 221, 250) 70%);
}
.color-main{
   
    color: white;
    background-color: #021132;
    border-color: #0a830e;
}
.estilosMain{
    padding-top: 0px;
    background-color: white;
    border-color: #0a830e;
}
.imagefondo-1{
   
    background-repeat: no-repeat;
    background: linear-gradient(to bottom, #ffffff, #ffffff00), var(--ruta-image-fondo2);
    background-size: 100% 100%;
 
    
}
.imagefondo-2{
    background-image: linear-gradient(to bottom, #ffffff, #ffffff00),var(--ruta-image-fondo3);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.imagefondo-3{
    background-image: var(--ruta-image-fondo1);
    
}
.contedor-client{
    margin: 12px 12px;
    max-width: 220px;
    width: 100%;
    height: 140px;
    background-color: #fff;
    border-radius: 8px;
    border: solid 1px;
    box-shadow: 0 0 20px #858786a1;
    padding-top: 37px;
}



.modal-title-filter{
    border-bottom: 2px solid #67b030;
    color: #002970;
}
.modal-content{
    border: 2px solid #67b030; 
}
.width-filter{
    width: 85px;
    color: #002970;
  }
  .text-blue{
      color: #002970;
  }

.btn-primary-hms {
    color: black;
    background: white;
    min-height: 56px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px!important;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    position: relative;
    display: flex;
    gap: 6px;
    padding: 14px 40px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    transform: none;
    z-index: 10;
    overflow: hidden;
    text-decoration: none!important;
}
a.fill-purple:hover {
    background: purple !important;
    color: white;
}
.container-carrusel{
    border: 0;
    box-shadow: 0 4.8px 14.4px rgba(0,0,0,.18), 0 25.6px 57.6px rgba(0,0,0,.22);
    border-radius: 24px;
}
.left-carrusel{
    padding: 30px; border-radius: 20px 0 0 20px;
}
.rigth-carrusel{
    border-radius: 0 20px 20px 0;
     background-color: black;
}
.image1-carrusel{
    background-image: var(--ruta-image-carrusel1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
}
.image2-carrusel{
    background-image: var(--ruta-image-carrusel2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
}
.image3-carrusel{
    background-image: var(--ruta-image-carrusel3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #c3dae0;
    min-height: 300px;
}

.title-carrusel{
    --fontSize: 37; line-height: 1.19; padding-top: 20px;color: white;
}
.notice-carrusel{
    padding: 9px;
    border-radius: 5px;
    font-weight: bold;
}
.notice-purple{
    background-color: #c50fc1;
    color: white;
}
.notice-green{
    background-color: #4DA64D;
    color: white;
}


.btn-animation{
    color: black;
    background: white;
    min-height: 56px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 4px!important;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    /*position: relative;
    display: flex;*/
    gap: 6px;
    padding: 14px 40px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    transform: none;
    z-index: 10;
    overflow: hidden;
    text-decoration: none!important;
}
.btn-animation:hover{
    color: white !important;
    background-color: purple;
    border-color: purple !important;
}
.btn-animation {
    transition: all .3s;
}
.btn-animation{
    --bs-btn-bg: orange;
}
.space-module{
    height: 50px;
}
/*
section#Product{
    padding: 50px 0;
}*/
section#Product ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  section#Product .section-heading {
    color: #050505;
  }/*
section#Beneficios{
    padding: 50px 0;
}*/
section#Beneficios ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  section#Beneficios .section-heading {
    color: #050505;
  }
section#Client{
   
    background-repeat: no-repeat;
    background-position: center;
}
section#Client ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  section#Client .section-heading {
    color: #050505;
  }

section#noticias{
    background: linear-gradient(135deg, #021132  0%,#5b3d83 100%);
    /*background-color: #5b3d83;*/
    /*background-image: url(../../../assets/images/map-image.png);*/
    background-repeat: no-repeat;
    background-position: center;
}
section#noticias ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  section#noticias .section-heading {
    color: #fff;
  }

section#contact {
    background-color: #212529;
    background-image: var(--ruta-image-mapContact);
    background-repeat: no-repeat;
    background-position: center;
}

/* Contact Card Hover Effect */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

section {
    padding: 100px 0;
  }
  
  section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
  }
  
  section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  @media (min-width: 768px) {
    section {
      padding: 100px 0;
    }
  }



section#contact .section-heading {
    color: #fff;
  }
  
  section#contact .form-group {
    margin-bottom: 25px;
  }
  
  section#contact .form-group input,
  section#contact .form-group textarea {
    padding: 20px;
  }
  
  section#contact .form-group input.form-control {
    height: auto;
  }
  
  section#contact .form-group textarea.form-control {
    height: 248px;
  }
  
  section#contact .form-control:focus {
    border-color: #fed136;
    box-shadow: none;
  }
  
  section#contact ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  section#contact :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 18- */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  section#contact ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 19+ */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  section#contact :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  footer {
    padding: 25px 0;
    text-align: center;
  }
  
  footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  ul.social-buttons {
    margin-bottom: 0;
  }
  
  ul.social-buttons li a {
    font-size: 20px;
    line-height: 40px;
    display: block;
    width: 40px;
    height: 40px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: white;
    border-radius: 100%;
    outline: none;
    background-color: #212529;
  }
  
  ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: #fed136;
  }

/* ===== REGLAS GLOBALES DE RESPONSIVIDAD ===== */

/* Prevenir overflow horizontal */
body {
    overflow-x: hidden;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

/* Imágenes responsivas globales */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Asegurar que las imágenes en el navbar no se deformen */
.navbar img {
    display: inline-block;
}

/* ===== NAVBAR RESPONSIVO ===== */
.navbar-logo {
    max-width: 215px;
    width: 100%;
    height: auto;
}

/* Estilo del botón hamburguesa */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== VIDEOS RESPONSIVOS ===== */
#miVideo {
    max-width: 100%;
    width: 100%;
    height: auto;
    box-shadow: 0 0 20px #f8fffba1;
    border-radius: 5px;
}

/* Contenedor para videos con aspect ratio 16:9 */
.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive-container video,
.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 0 20px #f8fffba1;
}

/* ===== MEDIA QUERIES PARA TABLETS ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    #miVideo {
        max-width: 600px;
        width: 100%;
    }
    
    #Beneficios img {
        max-width: 650px;
        width: 100%;
    }
    
    h1.fusion-title-heading {
        font-size: 2.25rem !important;
    }
    
    section {
        padding: 75px 0;
    }
    
    .contedor-client {
        max-width: 200px;
    }
    
    .title-carrusel {
        font-size: 1.75rem;
    }
}

/* ===== MEDIA QUERIES PARA MÓVILES ===== */
@media (max-width: 991px) {
    /* Menú colapsado en móviles */
    .navbar-collapse {
        background-color: #021352;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-logo {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    /* Video en móviles */
    #miVideo {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }
    
    /* Imágenes en sección Beneficios */
    #Beneficios img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Títulos más pequeños */
    h1.fusion-title-heading {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    /* Carrusel responsivo */
    .container-carrusel .row {
        flex-direction: column;
    }
    
    .left-carrusel {
        order: 2;
        padding: 15px !important;
        border-radius: 0 0 20px 20px !important;
        min-height: 250px !important;
    }
    
    .rigth-carrusel {
        order: 1;
        border-radius: 20px 20px 0 0 !important;
        padding: 20px !important;
    }
    
    .rigth-carrusel > div {
        padding: 15px !important;
    }
    
    .col-8, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Ajustar imágenes del carrusel en móvil */
    .image1-carrusel,
    .image2-carrusel,
    .image3-carrusel {
        min-height: 200px !important;
        background-size: cover !important;
    }
    
    /* Secciones con menos padding */
    section {
        padding: 50px 0;
    }
    
    /* Cards con margen */
    .card {
        margin-bottom: 20px;
    }
    
    /* Logos de clientes */
    .contedor-client {
        max-width: 100%;
        margin: 10px auto;
    }
    
    /* Inputs de formulario */
    .form-control {
        font-size: 16px;
    }
    
    /* Ajustar títulos del carrusel */
    .title-carrusel {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        padding-top: 10px !important;
    }
    
    /* Ajustar texto del carrusel */
    .rigth-carrusel p {
        font-size: 0.9rem !important;
    }
    
    /* Botones en carrusel móvil */
    .rigth-carrusel .btn {
        font-size: 14px !important;
        padding: 10px 25px !important;
        min-height: 45px !important;
    }
}

/* ===== MEDIA QUERIES PARA DESKTOP/LAPTOP ===== */
@media (min-width: 1025px) {
    /* Contenedor principal con max-width para centrar contenido */
    .container {
        max-width: 1200px;
    }
    
    /* Hero section - mantener layout de dos columnas */
    .color-main .container {
        max-width: 1200px;
    }
    
    /* Video en desktop - tamaño controlado */
    #miVideo {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    /* Imágenes en sección Beneficios - tamaño fijo como en versión publicada */
    #Beneficios img {
        width: 750px !important;
        max-width: 100%;
        height: auto;
    }
    
    /* Imágenes en sección "Porque Elegirnos" */
    #elegirnos img {
        width: 750px !important;
        max-width: 100%;
        height: auto;
    }
    
    /* Asegurar que las columnas se mantengan lado a lado */
    .center-vertical {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Espaciado apropiado para secciones */
    section {
        padding: 100px 0;
    }
    
    /* Títulos principales en desktop */
    h1.fusion-title-heading {
        font-size: 45.99px !important;
        line-height: 1.35 !important;
    }
    
    /* Cards de productos - mantener en fila */
    .card {
        margin-bottom: 0;
    }
    
    /* Carrusel en desktop - mantener layout horizontal */
    .container-carrusel .row {
        flex-direction: row;
    }
    
    .left-carrusel {
        order: 1;
        border-radius: 20px 0 0 20px;
        padding: 30px;
    }
    
    .rigth-carrusel {
        order: 2;
        border-radius: 0 20px 20px 0;
    }
    
    /* Logos de clientes - tamaño apropiado */
    .contedor-client {
        max-width: 220px;
        width: 100%;
        height: 140px;
    }
    
    /* Asegurar que el contenido no se estire demasiado en pantallas grandes */
    .estilosMain {
        width: 100%;
        margin: 0 auto;
    }
}

/* ===== MEDIA QUERIES PARA PANTALLAS MUY GRANDES ===== */
@media (min-width: 1400px) {
    /* Limitar el ancho máximo del contenido en pantallas muy grandes */
    .container {
        max-width: 1320px;
    }
    
    /* Mantener imágenes en tamaño óptimo */
    #Beneficios img,
    #elegirnos img {
        width: 750px !important;
    }
}