body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.top-header .contact-info i {
    margin-right: 8px;
}

.top-header .social-icons a {
    margin-left: 10px;
    color: #000;
}

.top-header .social-icons a:hover {
    color: #981d1c;
}

.bottom-header .navbar-nav .nav-link {
    margin-left: 20px;
    color: #000;
}

.bottom-header .navbar-nav .nav-link:hover {
    color: #981d1c;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.bottom-header .navbar-nav .nav-link {
    font-size: 1.25rem;
    font-weight: bold;
    position: relative;
}

.bottom-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
    bottom: 0;
    transform: translateX(-50%);
}

.bottom-header .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.carousel-item {
    height: 80vh;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 20%;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.25rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.about-us {
    padding: 4rem 0;
}

.about-us h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-us p {
    font-size: 1.25rem;
    line-height: 1.5;
}

.about-us img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 6rem;
}

.services {
    padding: 4rem 0;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.services .nav-pills .nav-link {
    margin-right: 1rem;
    border-radius: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #981d1c;
    background-color: #f8f9fa;
}

.services .nav-pills .nav-link.active,
.services .nav-pills .show > .nav-link {
    background-color: #981d1c !important;
    color: white !important;
}

.services .nav-pills .nav-link.active i {
    color: white !important;
}

.services .tab-pane.fade.show.active p {
    color: black;
}

.services .nav-link i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #981d1c;
}

.services .nav-link {
    text-align: center;
    padding: 1rem;
}

.services .tab-content {
    margin-top: 2rem;
}

.services .tab-pane {
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.services .tab-pane h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #981d1c;
}

.services .tab-pane p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #981d1c;
}

.contact-form {
    background-color: #f8f9fa; 
    padding: 30px;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-top: 30px;
    margin-bottom: 30px;
}

.btn-enviar {
    background-color: #981d1c;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #7c1716;
}

.faq {
    background-color: #dadada;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.accordion-item {
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: #981d1c;
    color: #fff;
    border-radius: 0.25rem;
    padding: 1rem;
}

.accordion-button::after {
    color: #fff;
}

.accordion-button.collapsed {
    color: #fff;
}

.accordion-button:not(.collapsed) {
    color: #fff !important;
    background-color: #7b1716 !important;
}

.accordion-body {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

#ubicacion {
    padding: 4rem 0;
}

.embed-responsive {
    margin-bottom: 2rem;
}

.footer {
    background-color: #981d1c;
    color: white;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}