* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background: #f1fbff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-size: 1.25rem; 
    margin-top: 1rem;
}

h1:hover {
    color: rgb(237, 222, 11);
}

.section-padding {
    padding: 6.25rem 0; 
}

.carousel-caption {
    bottom: 13.75rem; 
    z-index: 2;
}

.carousel-caption h5 {
    font-size: 2.8125rem; 
    text-transform: uppercase;
    letter-spacing: 0.125rem; 
    margin-top: 1.5625rem; 
}

.carousel-caption p {
    width: 60%;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.9;
}

.carousel-inner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.nav-link:hover {
    color: rgb(237, 222, 11);
}

.navbar-nav a {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-light .navbar-brand {
    color: #000;
    font-size: 1.5625rem; 
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.125rem; 
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: #000;
}

.w-100 {
    height: 100vh;
}

.services .card-body i {
    font-size: 3.125rem; 
}

.card:hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); 
}

.carousel-item {
    height: 100vh;
}

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

@media only screen and (min-width: 48rem) and (max-width: 61.9375rem) { 
    .carousel-caption {
        bottom: 23.125rem; 
    }

    .carousel-caption p {
        width: 100%;
    }
}

@media only screen and (max-width: 47.9375rem) {
    .navbar-nav {
        text-align: center;
    }

    .carousel-caption {
        bottom: 7.8125rem; 
    }

    .carousel-caption h5 {
        font-size: 1.0625rem; 
    }

    .carousel-caption a {
        padding: 0.625rem 0.9375rem; 
    }

    .carousel-caption p {
        width: 100%;
        line-height: 1.6;
        font-size: 0.75rem; 
    }
}

.servicios-carousel .carousel-inner::before {
    background: linear-gradient(to bottom, rgba(183, 174, 174, 0.5), rgba(50, 46, 46, 0.5));
}

.servicios-carousel .carousel-caption h5,
.servicios-carousel .carousel-caption p {
    text-shadow: 0.1875rem 0.1875rem 0.625rem rgba(0, 0, 0, 0.7); 
}

.servicios-carousel .carousel-caption p {
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: bold;
}

.btn {
    color: #000000;
    background-color: rgb(237, 222, 11);
    border-radius: 0.625rem; 
    border-color: #ffff;
    margin-top: 0.625rem; 
}

.btn:hover {
    color: rgb(237, 222, 11);
    background-color: #ffff;
    border-radius: 0.625rem; 
    border-color: rgb(237, 222, 11);
}

li {
    list-style-type: none;
}

textarea {
    min-height: 3.125rem; 
}

footer li, li {
    list-style-type: none;
    overflow-x: hidden;
}

footer .fs-5 a {
    font-size: 0.890rem;
    display: inline-block;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}

footer a {
    color: white;
}

footer a:hover {
    color: rgb(237, 222, 11);
}

@media (max-width: 1078px) {
    #contacto {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.empresa-card {
    background-color: #fff;
    border-radius: 0.625rem; 
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); 
    padding: 0.625rem; 
    transition: transform 0.3s ease;
}

.empresa-card:hover {
    transform: translateY(-0.3125rem); 
}

.empresa-card img {
    width: 100%;
    height: auto;
    max-width: 25rem; 
    max-height: 12.5rem; 
    border-radius: 0.9375rem; 
    object-fit: cover;
    margin-bottom: 0.625rem;
}

.empresa-card h5 {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
    font-weight: 600;
}
