.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Centrado real del video */
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* el “truco” es centrar y luego cubrir */
    transform: translate(-50%, -50%);

    /* que siempre cubra el contenedor */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;

    object-fit: cover;         /* por si el navegador lo respalda */
    object-position: center;   /* centros lógicos si aplica */
    z-index: 1;
}


/* Contenido centrado */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

/* Capa oscura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 2;
}

.overlay.show {
    opacity: 1;
}

.hero-content {
    opacity: 0;
}

.hero-content.show {
    opacity: 1;
}

#navbar {
    z-index: 9999;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.section-title {
    color:  #075465;
}

.seccion-arriba {
  text-align: center;
}

.seccion-diagonal {
    background-color: #8bb3c9;
    color: white;
    padding: 100px 20px;
    text-align: center;

    /* Diagonal en los bordes superior e inferior */
    clip-path: polygon(
        0 10%,   /* inicio diagonal superior izquierdo */
        100% 0,  /* inicio diagonal superior derecho */
        100% 90%, /* diagonal inferior derecho */
        0 100%    /* diagonal inferior izquierdo */
    );
}

.seccion-abajo {
  background-color: #075465;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.service-card {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    /*background: #8bb3c9;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto;
    transition: background 0.3s;
}

.card-text {
    color: #555;
}

.clientes-slider-container {
    padding: 0px 20px;
}
.cliente-item {
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 5px;
}

.cliente-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cliente-item img {
    max-height: 300px;
    display: block;
    margin: 0 auto;
}

.ver-mas {
    position: absolute;
    top: 50%;
    right: -70px; /* Ajusta según tu diseño */
    transform: translateY(-50%);
}

.ver-mas a {
    padding: 12px 20px;
    font-size: 1rem;
}

.slick-track {
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 10px 40px -1px 15px;
    font-size: 1rem;
    color: #333;
    width: 100%;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3e%3cpath fill='%23999' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
}

.custom-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

.custom-select:hover {
    border-color: #888;
}

.custom-select option {
    padding: 10px;
}

:root{
    --wa-size: 56px;
    --wa-bg: #25D366;
    --wa-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.wa-float{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: var(--wa-size);
    height: var(--wa-size);
    border-radius: 999px;
    background: var(--wa-bg);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--wa-shadow);
    z-index: 9999;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    outline: none;
}
.wa-float:hover{ transform: translateY(-2px); filter: brightness(1.05); }
.wa-float:active{ transform: translateY(0); }
/* Pulso suave opcional */
.wa-float::after{
    content:"";
    position:absolute; inset:0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37,211,102,.45);
    animation: wa-pulse 1.8s ease-out infinite;
}

.footer {
    background-color: #075465;
    position: relative;
    color: white;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0; /* parte superior */
    left: 50%; /* punto de referencia en el centro */
    transform: translateX(-50%); /* la mueve a la izquierda la mitad de su ancho */
    width: 90%; /* ancho de la línea */
    height: 3px; /* grosor */
    background: #8ab2c8;
    border-radius: 2px;
}

.slick-prev:before,
.slick-next:before {
    color: #8ab2c8; /* rojo */
    font-size: 30px; /* tamaño opcional */
}



@media (max-width: 1200px) { /* Computadora */
    #contact-img {
        width: 250px !important;
    }
}

@media (max-width: 768px) { /* Tablets */
     #services-title {
        margin-top: 100px;
    }
}

@media (max-width: 576px) { /* Móviles */
    .display-3 {
        font-size: 3.5rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    #contact-img {
        width: 250px !important;
    }
    #services-title {
        margin-top: 50px;
    }

    #navbar {
        background-color: rgba(255, 255, 255, 1) !important; /* negro con opacidad */
        margin-top: 0px !important;
    }

    .nav-link {
        color:  #075465 !important;
    }
}

.btn-services {
    background-color: #075465;
    color: white;
}

.btn-services:hover {
    color: white;
}

