

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background-color: #d3d3d3; /* Color gris */
}

.navbar .nav-link {
    color: #7f2a86;
}

.navbar .nav-link:hover {
    color: #5a1f5f; /* Color más oscuro para hover */
}

main {
    flex: 1;
    background-color: #ffffff;
}

/* Estilos para el footer */
footer {
    background-color: #f8f9fa; /* Color de fondo del footer */
    color: #212529; /* Color del texto */
}

footer h5 {
    font-weight: bold;
    margin-bottom: 1rem;
}

footer p, footer a {
    margin-bottom: 0.5rem;
}

/* Asegurar que los enlaces no se vean azules */
footer a {
    color: inherit; /* Hereda el color del texto del padre */
    text-decoration: none; /* Quitar subrayado */
}

footer a:hover {
    text-decoration: underline; /* Subrayado al pasar el ratón */
}


h2 {
    color: #7f2a86;
}

.container-fluid {
    width: 100%;
}

.reduced-size {
    max-width: 50%;
    height: auto;
}

.bg-image {
    background-image: url('../img/oficina.jpg') !important; /* Ajusta la ruta si es necesario */
    background-size: cover !important;
    background-position: center !important;
    height: 60vh !important; /* Ajusta la altura para mostrar más de la imagen */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 50px !important; /* Más margen arriba */
    margin-bottom: 50px !important; /* Más margen abajo */
}


.bg-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para el texto */
    color: white;
    padding: 10px;
    border-radius: 10px;
    width: 40%; /* Ancho de la caja de texto más estrecho */
    text-align: center;
}
.bg-overlay h3 {
    font-size: 2.5rem; /* Tamaño del título, ajusta según sea necesario */
}

.bg-overlay p {
    font-size: 1.4rem; /* Tamaño del texto de los párrafos, ajusta según sea necesario */
}

/* Ajusta el tamaño del video */
.ratio {
    margin-bottom: 1.5rem; /* Espacio inferior para separación */
}

.ratio iframe {
    border: none; /* Quitar el borde por defecto del iframe */
}

/* Botón centrado */
.btn-primary {
    background-color: #7f2a86; /* Color del botón */
    border-color: #7f2a86;
}

.btn-primary:hover {
    background-color: #5a1f5f; /* Color al pasar el ratón */
    border-color: #5a1f5f;
}

.service-box {
    background-color: #7f2a86;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
}
.service-box i {
    font-size: 40px;
    margin-bottom: 15px;
}