/* Fuente Exo 2 de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Exo 2', sans-serif;
}

/* Logo */
.navbar-brand {
    font-size: 25px;
}

/* Slider */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para mejorar la legibilidad */
    border-radius: 10px;
    bottom: 30%;
    transform: translateY(50%);
}

.carousel-inner {
    height: 720px;
}

.carousel-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-item {
    height: 100%;
}

/* Boton de volver arriba */
#back-to-top-btn {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #6BAFFB; 
    color: black; 
    cursor: pointer;
    padding: 15px 15px;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    clip-path: polygon(50% 0%, 100% 70%, 75% 100%, 25% 100%, 0% 70%);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#back-to-top-btn:hover {
    background-color: #6BAFFB; 
    transform: scale(1.1);
}

/* Fondo de encabezado de Páginas */
.banner {
    position: relative;
    height: 400px;
    background: url('/images/inicio/slide3.jpg') no-repeat center center; 
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

/* Cajas sección nosotros */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #6BAFFB;
    color: #000;
}


/* Servicios - Comportamiento de los Iconos */
.circulo-servicios {
    width: 80px;
    height: 80px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    transition: background-color 0.3s ease;
}

.circulo-servicios i {
    color: #e7f2fe;
    transition: color 0.3s ease;
}

.circulo-servicios:hover {
    background-color: #e7f2fe;
}

.circulo-servicios:hover i {
    color: #333;
}

/* Sección de Servicios Requerimientos u Obligaciones */

/* Cajas sección nosotros */
.card-hover-services {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-services:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #e7f2fe;
    color: #000;
}

