#siteContentWrapperHome {
    margin-top: -2px !important;
    background-color: rgb(223,229,233) !important;
}

p {
    font-size: 18px;
    line-height: 1.6;
}
@keyframes cambiarFondo {
    0%, 33% {
        background-image: linear-gradient(to right, rgba(209, 253, 69, 0.5), rgba(0, 174, 221, 0.5)),
        url('../img/background 1.jpg');
    }
    34%, 66% {
        background-image: linear-gradient(to right, rgba(209, 253, 69, 0.5), rgba(0, 174, 221, 0.5)),
        url('../img/background 2.jpg');
    }
    67%, 100% {
        background-image: linear-gradient(to right, rgba(209, 253, 69, 0.5), rgba(0, 174, 221, 0.5)),
        url('../img/background 3.jpg');
    }
}

.custom-header header {
    width: 100%;
    height: auto;
    min-height: 650px;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: cambiarFondo 20s infinite ease-in-out;
}

.custom-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-container img {
    margin-right: 10px;
}

.custom-header nav .nav {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: row;
    gap: 5px;
}

.custom-header nav .nav > li > a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 15px;
    transition: background-color 0.3s;
    font-size: 16px;
}

.custom-header nav .nav > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.custom-header nav .nav > li > a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    text-decoration: none;
}

.textos-header-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    padding-top: 20px;
    gap: 20px;
}

.textos-header {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    max-width: 800px;
}

.textos-header h1 {
    font-size: 40px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}

.textos-header p {
    font-size: 20px;
    line-height: 1.6;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.acciones-llamado {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 750px;
}

.acciones-llamado .btn-custom-header-1,
.acciones-llamado .btn-custom-header-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: #fff;
}

.acciones-llamado .btn-custom-header-1 {
    background-color: #a0271b;
}

.acciones-llamado .btn-custom-header-1:hover {
    transform: scale(1.05);
    background-color: #a0271b;
    color: #fff;
}

.acciones-llamado .btn-custom-header-2 {
    background-color: #727829;
}

.acciones-llamado .btn-custom-header-2:hover {
    transform: scale(1.05);
    background-color: #727829;
    color: #fff;
}

.acciones-llamado .btn-custom-header-1:focus{
    background-color: #a0271b;
    color: #ededed;
}

.acciones-llamado .btn-custom-header-2:focus {
    background-color: #727829;
    color: #ededed;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 156px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave svg {
    position: relative;
    display: block;
}

.wave path {
    fill: #ffffff;
}

@media (max-width: 768px) {

    .custom-header header {
        min-height: 650px;
    }

    .custom-header nav {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 10px;
    }

    .logo-container {
        justify-content: flex-start;
        width: 100%;
        height: 0px;
        margin-top: 50px;
        text-align: left;
    }

    .custom-header nav .nav {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }

    .custom-header nav .nav > li {
        flex: none;
        text-align: right;
    }

    .custom-header nav .nav > li > a {
        padding: 5px 10px;
        font-size: 16px;
    }

    .acciones-llamado .btn-custom-header-1,
    .acciones-llamado .btn-custom-header-2 {
        width: auto;
        font-size: 20px;
        padding: 10px 15px;
    }

    .textos-header {
        text-align: left;
        align-items: flex-start;
    }

    .textos-header h1 {
        font-size: 25px;
        text-align: left;
    }

    .textos-header p {
        font-size: 17px;
    }

    .acciones-llamado {
        flex-direction: row;
        gap: 5px;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 545px) {
    .acciones-llamado {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        justify-content: flex-start;
        margin-left: 30px;
    }

    .textos-header-container {
        padding-top: 0px !important;
    }
}

.first-section {
    background: #FFFFFF;
    padding-top: 5px;
}

.first-section h2 {
    font-weight: bold;
    color: #333;
}

.first-section p {
    font-size: 17px;
    color: #555;
}

.first-section .text-info{
    font-size: 17px;
}

.first-section img {
    max-width: 100%;
}

.first-section .row{
    margin-top: -5px;
}

.first-section p{
    margin-top: 10px;
}

.first-section .fa-fw {
    text-align: left !important;
}

.number-section .row{
    margin-top: 50px;
    margin-bottom: 50px
}

.number-section .card-custom-1 {
    background: #00b0e0;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 1s ease;
    padding: 20px;
    margin-bottom: 10px;
}
.number-section .card-custom-2 {
    background: #bccc00;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 1s ease;
    padding: 20px;
    margin-bottom: 10px;
}

.number-section .card-custom-3 {
    background: #727829;
    color: white;
    transition: transform 1s ease;
    padding: 20px;
    margin-bottom: 10px;
}

.number-section .card-custom-1:hover {
    transform: scale(1.05);
}
.number-section .card-custom-2:hover {
    transform: scale(1.05);
}
.number-section .card-custom-3:hover {
    transform: scale(1.05);
}

.number-section .icon i {
    font-size: 3.2em;
    color: #ffffff;
    margin: 0;
}

.icon-counter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.number-section .counter {
    font-size: 80px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

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

.btn {
    font-size: 18px;
}

.site-section {
    background-color: #FFFFFF;
}

.site-section .title{
    margin-left: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.site-section h2 {
    font-weight: bold;
    color: #333;
}

.site-section .row{
    margin-top: 10px;
    margin-bottom: 50px;
}

.site-section .card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.site-section .img-card{
    width: 100%;
    height: 180px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.site-section .card a {
    margin-top: auto;
    align-self: center;
    background-color: #00b0e0;
    color: #fff;
    border-radius: 15px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.site-section h3{
    margin-top: 5px;
    margin-left: 5px;
    text-align: left;
}

.site-section p{
    margin-top: 10px;
    margin-left: 5px;
    text-align: left;
}

.site-section .visitanos{
    padding-left: 6px;
    padding-right: 0px;
}

.news-section .title{
    margin-left: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.news-section h2 {
    font-weight: bold;
    color: #333;
}

.news-section .card {
    margin-bottom: 20px;
    margin-right: 15px;
    margin-left: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-section .card > .card-header{
    background-color: #FFFFFF;
    border-bottom: none;
    border-top: none;
}


.news-section .card > .card-footer{
    background-color: #FFFFFF;
    border-top: none;
    border-bottom: none;
}

.news-section .btn-notice{
    margin-top: 15px;
    background-color: #bccc00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-section .btn-notice:hover {
    background-color: #bccc00;
    color: #fff;
}

.news-section .img-card{
    width: 100%;
    min-height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev{
    left: -100px !important;
}

.carousel-control-next{
    right: -100px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.see-more {
    text-align: left;
    margin-left: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.see-more .btn-see-more{
    background-color: #727829;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.see-more .btn-see-more:hover {
    background-color: #727829;
    color: #fff;
}

@media (max-width: 768px) {
    .news-section .card {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .news-section .carousel .row {
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
}



