/* @media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    html {
        overflow-x: hidden;
    }
}

@media (min-width: 1441px) and (max-width: 2560px) {
    html {
        overflow-x: hidden;
    }
} */

html {
    scroll-behavior: smooth;
}


* {
    font-family: Arial, Helvetica, sans-serif;


}

.img-norma-third:hover {
    transform: scale(1.05);
}

/*Containers Iniciales*/

.container-start-index {
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.671), #29235cab), url("../img/index/main/Main.png");
    position: relative;
    top: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-start-servicios {
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.671), #29235cab), url("../img/servicios/main/Main.png");
    position: relative;
    top: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-repeat: no-repeat;
    background-size: cover;
}



/* Cards */

.card-servicios {
    width: 100%;
    max-width: 100%;
    height: 450px;
    /* Tamaño fijo */
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 0px;
    border: #fff solid 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #29235C;


}

.card-servicios:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}


.container-second-servicios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: rgba(128, 128, 128, 0.295);
    padding: 10px;
    margin-top: 50px;
}

.card-title {
    color: #fff;
    font-size: 25px;
    font-weight: bold;

}

.card-text {
    color: #fff;
    font-size: 18px;
    font-weight: 300;

}

.card-footer {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

.title-second-servicios {
    color: #29235C;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-top: 100px;
    width: 100%;
}

.title-second-servicios::after {
    content: '';
    display: block;
    width: 80%;
    height: 4px;
    background-color: #29235C;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}


.title-cards-servicios {
    color: #29235C;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-top: 50px;
    width: 100%;
    margin-bottom: 20px;
}


.title-third-servicios {
    color: #29235C;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-top: 50px;
    width: 100%;

}

.title-third-servicios::after {
    content: '';
    display: block;
    width: 80%;
    height: 4px;
    background-color: #29235C;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.container-third-servicios {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
    background-color: whitesmoke;
    ;
    padding: 20px;
    border-radius: 10px;
    margin-top: 0px;
}

.card-second-servicios {
    width: 18rem;
    height: 250px;
    /* Tamaño fijo */
    margin: 20px;
    border-radius: 10px;
    background-color: #29235C;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.card-second-servicios:hover {
    transform: scale(1.03);
    background-color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.card-second-servicios:hover .card-title {
    color: #29235C;
    font-weight: bold;

    padding: 10px;
    border-radius: 8px;
}

/* Estilo normal del texto */
.card-second-body {
    padding: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}


.container-fourth-servicios {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 10px;
    margin-top: 0px;
}

.card-third-servicios {
    width: 100%;
    max-width: 100%;
    height: auto;
    /* Tamaño fijo */
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 0px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f5f4ff7a;

}

.card-third-body {
    padding: 20px;
    color: #29235C;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.card-third-servicios:hover {
    transform: translateY(10px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
}

.card-third-title {
    color: #29235C;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.card-third-text {
    color: #29235C;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}


.container-contact-servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #29235C;
    padding: 20px;
    margin-top: 50px;
    color: #fff;
}

.title-contact-servicios {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.text-contact-servicios {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.button-contact-servicios {
    background-color: #fff;
    color: #29235C;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.button-contact-servicios:hover {
    background-color: #29235C;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;


}

.text-second-servicios {
    margin-top: 10px;
    color: #29235C;
    font-size: 22px;
    text-align: center;
    width: auto;
}

/* Termina la seccion de Servicios */

/* Inicio de la seccion de Nosotros */

.about-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 110px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 36px;
    color: #29235C;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* BOTÓN si usas uno dentro del texto */
.about-cta .btn-about {
    display: inline-block;
    padding: 12px 24px;
    background-color: #29235C;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.about-cta .btn-about:hover {
    background-color: #444179;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .about-text h2 {
        font-size: 30px;
    }

    .about-text p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        flex: 1 1 100%;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 15px;
    }

    .about-text h2 {
        font-size: 22px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-cta .btn-about {
        padding: 10px 20px;
        font-size: 14px;
    }
}


.contact-section {
    margin-top: 110px;
    padding: 20px 20px;
    background: #f0f2f5;
    font-family: 'Segoe UI', sans-serif;
}

.contact-container {
    max-width: 1500px;
    margin: auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-image {
    flex: 1 1 400px;
    max-height: 500px;
}

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

.contact-form {
    flex: 1 1 500px;
    padding: 40px;
    background-color: #fff;
}

.contact-form h2 {
    color: #29235C;
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 30px;
    color: #444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    transition: border 0.3s ease;

}

.contact-form textarea {
    margin-top: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #29235C;
    outline: none;
}

.contact-form button {
    background-color: #29235C;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #fff;
    color: #29235C;
    border: #29235C solid 2px;
}

select {
    width: 100%;
    padding: 14px;
    margin-bottom: 40px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    color: #333;

}


.map-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.map-title {
    font-size: 32px;
    color: #29235C;
    margin-bottom: 30px;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.map-box {
    flex: 1 1 400px;
    max-width: 500px;
}

.map-box h3 {
    font-size: 24px;
    color: #29235C;
    margin-bottom: 10px;
}


.form-alert {
    max-width: 500px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease;
}

.form-alert.success {
    background-color: #e6f9f0;
    color: #2f8f5b;
    border-left: 5px solid #2f8f5b;
}

.form-alert.error {
    background-color: #ffe6e6;
    color: #c0392b;
    border-left: 5px solid #c0392b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 991px) {

    /* Comienza la primera seccion */


    .title-start {
        color: #29235C;
        font-size: 50px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 20px;
        text-align: center;
        width: auto;

    }

    .button-start {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

    /*Termina la primera seccion */


    /* Comienza la segunda seccion */

    .container-second-start {
        margin-top: 150px;
        height: auto;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-second-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-second-second {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .logo-second-background {
        background-color: #9D9D9C;
        width: 105%;
        max-width: 150%;
        height: 200px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .logo-second {
        width: 90%;
        max-width: 300px;
        height: auto;
    }

    /*Termina la segunda seccion */

    /* Comienza la tercera seccion */

    .container-third-start {
        margin-top: 90px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-third-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;

    }

    .text-third-start {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .box-img-norma-third {
        position: relative;
        top: 0px;
        left: 45%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1400px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;

    }

    .img-norma-third {
        width: 300px;
        max-width: 90%;
        height: auto;
        transition: transform 0.3s ease;


    }

    /*Termina la tercera seccion */

    /* Comienza la cuarta seccion */

    .container-fourth-start {
        position: relative;
        /* Para mantenerlo dentro del flujo del documento */
        width: 100vw;
        /* Asegura que cubra todo el ancho de la pantalla */
        height: 400px;
        /* Mantiene buena altura, puedes ajustar */
        background-image: linear-gradient(rgba(255, 255, 255, 0.8),
                #29235cab),
            url("../img/index/main/servicios.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        margin: 0;
        /* Elimina márgenes inesperados */
        padding: 0;
        box-sizing: border-box;
        margin-top: 100px;

    }

    .title-fourth-start {
        position: relative;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        top: 100px;

    }

    .text-fourth-start {
        position: static;
        color: white;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;
        margin-top: 120px;
    }

    .button-fourth-start {
        position: relative;
        top: 40px;
        left: 0%;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        ;
        text-decoration: none;

    }

    .button-fourth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /*Termina la cuarta seccion */

    /* Comienza la quinta seccion */

    .container-fifth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-fifth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-fifth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .button-fifth-start {
        position: relative;
        top: 35px;
        left: 0%;
        transform: translate(-50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-fifth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-fifth-start {

        display: block;
        position: relative;
        top: 80px;
        transform: translateX(0%);
        width: 90%;
        max-width: 500px;
        height: auto;
        border-radius: 0px;
        box-shadow: 10px 10px 1px #29235C;
        margin-bottom: 150px;
    }

    /*Termina la quinta seccion */

    /* Comienza la sexta seccion */

    .container-sixth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-sixth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-sixth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .box-btn-sixth-start {
        position: relative;
        top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 10px;

    }


    .button-sixth-start {
        background-color: #29235C;
        color: white;
        padding: 10px 10px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;

    }


    .button-sixth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /* Termina la sexta seccion */


    /* Incia la seccion de Servicios */

    /* Servicios */


    .title-start-servicios {
        color: #29235C;
        font-size: 50px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second-servicios {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 22px;
        text-align: center;
        width: auto;

    }

    .button-start-servicios {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start-servicios:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }


    /* Termina la seccion de Servicios */
}

@media (min-width: 991px) and (max-width: 1024px) and (orientation: landscape) {
    /* Comienza la primera seccion */

    .title-start {
        color: #29235C;
        font-size: 50px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 20px;
        text-align: justify;
        width: auto;

    }

    .button-start {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

    /*Termina la primera seccion */


    /* Comienza la segunda seccion */

    .container-second-start {
        margin-top: 150px;
        height: auto;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-second-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-second-second {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .logo-second-background {
        background-color: #9D9D9C;
        width: 105%;
        max-width: 150%;
        height: 200px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }


    .logo-second {
        width: 90%;
        max-width: 300px;
        height: auto;
    }

    /*Termina la segunda seccion */

    /* Comienza la tercera seccion */

    .container-third-start {
        margin-top: 90px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-third-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;

    }

    .text-third-start {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .box-img-norma-third {
        position: relative;
        top: 0px;
        left: 45%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1400px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;

    }

    .img-norma-third {
        width: 300px;
        max-width: 90%;
        height: auto;
        transition: transform 0.3s ease;


    }

    /*Termina la tercera seccion */

    /* Comienza la cuarta seccion */

    .container-fourth-start {
        position: relative;
        /* Para mantenerlo dentro del flujo del documento */
        width: 100vw;
        /* Asegura que cubra todo el ancho de la pantalla */
        height: 400px;
        /* Mantiene buena altura, puedes ajustar */
        background-image: linear-gradient(rgba(255, 255, 255, 0.8),
                #29235cab),
            url("../img/index/main/servicios.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        margin: 0;
        /* Elimina márgenes inesperados */
        padding: 0;
        box-sizing: border-box;
        margin-top: 100px;

    }

    .title-fourth-start {
        position: relative;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        top: 100px;

    }

    .text-fourth-start {
        position: static;
        color: white;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;
        margin-top: 120px;
    }

    .button-fourth-start {
        position: relative;
        top: 40px;
        left: 0%;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        ;
        text-decoration: none;

    }

    .button-fourth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /*Termina la cuarta seccion */

    /* Comienza la quinta seccion */

    .container-fifth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-fifth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-fifth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .button-fifth-start {
        position: relative;
        top: 35px;
        left: 0%;
        transform: translate(-50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-fifth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-fifth-start {

        display: block;
        position: relative;
        top: 80px;
        transform: translateX(0%);
        width: 90%;
        max-width: 300px;
        height: auto;
        border-radius: 20px;
        box-shadow: 20px 20px 1px #29235C;
        margin-bottom: 150px;

    }

    /*Termina la quinta seccion */

    /* Comienza la sexta seccion */

    .container-sixth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-sixth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-sixth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .box-btn-sixth-start {
        position: relative;
        top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 10px;

    }


    .button-sixth-start {
        background-color: #29235C;
        color: white;
        padding: 10px 10px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;

    }


    .button-sixth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /* Termina la sexta seccion */

    /* Incia la seccion de Servicios */
    /* Servicios */
    .title-start-servicios {
        color: #29235C;
        font-size: 50px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second-servicios {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 22px;
        text-align: center;
        width: auto;

    }

    .button-start-servicios {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start-servicios:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }
}

/* Ipad */
@media (max-width: 1280px) and (min-width: 1025px) {

    /* Comienza la primera seccion */
    .title-start {
        color: #29235C;
        font-size: 50px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 20px;
        text-align: justify;
        width: auto;

    }

    .button-start {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

    /*Termina la primera seccion */


    /* Comienza la segunda seccion */

    .container-second-start {
        margin-top: 150px;
        height: auto;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-second-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-second-second {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .logo-second-background {
        background-color: #9D9D9C;
        width: 90%;
        max-width: 320px;
        height: 200px;
        border-radius: 20px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .logo-second {
        width: 90%;
        max-width: 300px;
        height: auto;
    }

    /*Termina la segunda seccion */

    /* Comienza la tercera seccion */

    .container-third-start {
        margin-top: 90px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-third-start {
        position: static;
        color: #29235C;
        font-size: 28px;
        font-weight: bold;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;

    }

    .text-third-start {
        position: static;
        color: black;
        font-size: 16px;
        text-align: justify;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .box-img-norma-third {
        position: relative;
        top: 0px;
        left: 45%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1400px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;

    }

    .img-norma-third {
        width: 300px;
        max-width: 90%;
        height: auto;
        transition: transform 0.3s ease;


    }

    /*Termina la tercera seccion */

    /* Comienza la cuarta seccion */

    .container-fourth-start {
        position: relative;
        /* Para mantenerlo dentro del flujo del documento */
        width: 100vw;
        /* Asegura que cubra todo el ancho de la pantalla */
        height: 400px;
        /* Mantiene buena altura, puedes ajustar */
        background-image: linear-gradient(rgba(255, 255, 255, 0.8),
                #29235cab),
            url("../img/index/main/servicios.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        margin: 0;
        /* Elimina márgenes inesperados */
        padding: 0;
        box-sizing: border-box;
        margin-top: 100px;

    }

    .title-fourth-start {
        position: relative;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        top: 100px;

    }

    .text-fourth-start {
        position: static;
        color: white;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;
        margin-top: 120px;
    }

    .button-fourth-start {
        position: relative;
        top: 40px;
        left: 0%;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        ;
        text-decoration: none;

    }

    .button-fourth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /*Termina la cuarta seccion */

    /* Comienza la quinta seccion */

    .container-fifth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-fifth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-fifth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .button-fifth-start {
        position: relative;
        top: 35px;
        left: 0%;
        transform: translate(-50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-fifth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-fifth-start {

        display: block;
        position: relative;
        top: 80px;
        transform: translateX(0%);
        width: 90%;
        max-width: 300px;
        height: auto;
        border-radius: 0px;
        box-shadow: 20px 20px 1px #29235C;
        margin-bottom: 150px;
    }

    /*Termina la quinta seccion */

    /* Comienza la sexta seccion */

    .container-sixth-start {
        margin-top: 70px;
        height: auto;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .title-sixth-start {
        position: static;
        color: #29235C;
        font-size: 38px;
        font-weight: bold;
        width: 100%;
        text-align: center;
        margin-top: 100px;
    }

    .text-sixth-start {
        position: static;
        color: black;
        font-size: 20px;
        text-align: center;
        width: 90%;
        line-height: 1.5;
        font-weight: 300;
        margin: 0 auto;

    }

    .box-btn-sixth-start {
        position: relative;
        top: 20px;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 10px;

    }


    .button-sixth-start {
        background-color: #29235C;
        color: white;
        padding: 10px 10px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;

    }


    .button-sixth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /* Termina la sexta seccion */

    /* Incia la seccion de Servicios */

    .title-start-servicios {
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second-servicios {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 28px;
        text-align: center;
        width: auto;

    }

    .button-start-servicios {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start-servicios:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

}

@media (min-width: 1281px) and (max-width: 1440px) {
    .title-start {
        position: absolute;
        top: 40%;
        left: 25%;
        transform: translate(-50%, -50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;

    }

    .text-start-second {
        width: 600px;
        position: absolute;
        top: 58%;
        left: 25%;
        transform: translate(-50%, -50%);
        color: rgb(255, 255, 255);
        font-size: 25px;
        text-align: justify;
    }

    .button-start {
        position: absolute;
        top: 70%;
        left: 30%;
        transform: translate(-50%, -50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

    /*Termina la primera seccion */

    /* Comienza la segunda seccion */

    .container-second-start {
        height: 890px;
        width: 20px;
        background-image: linear-gradient(to right, #29235C,
                #29235cab,
                rgba(255, 255, 255, 0.671));
        background-repeat: no-repeat;
        background-size: cover;

    }

    .title-second-start {
        position: relative;
        top: 35%;
        left: 300%;
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        width: 600px;

    }

    .text-second-second {
        position: relative;
        top: 38%;
        left: 200%;
        color: black;
        font-size: 20px;
        text-align: justify;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .logo-second {
        position: relative;
        top: 25%;
        left: 4%;
        width: 500px;
        height: auto;
        margin-top: 20px;

    }

    .logo-second-background {
        position: absolute;
        background-color: #9D9D9C;
        width: 550px;
        height: 600px;
        top: 155%;
        transform: translateY(-50%);
        left: 61%;
        border-radius: 50px 1px 1px 1px;
    }

    .container-second-end {
        position: relative;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -0%);
        width: 100%;
        height: 80px;
        background-image: linear-gradient(to top, #29235C,
                #29235cab,
                rgba(255, 255, 255, 0.671));
    }

    /*Termina la segunda seccion */

    /* Comienza la tercera seccion */

    .container-third-start {
        transform: translate(-0%, 20%);
        position: relative;
        height: 500px;
        width: 100%;
        background-color: #eceaffab;
    }

    .title-third-start {
        position: relative;
        top: 60px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-third-start {
        position: relative;
        top: 80px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .text-third-list {
        position: relative;
        top: 100px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 18px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: bolder;
    }

    .box-img-norma-third {
        position: relative;
        top: 70px;
        left: 50%;
        transform: translate(-50%);
        width: 1400px;
        height: 12 0px;
        display: flex;
        justify-content: space-around;

    }

    .img-norma-third {
        width: 300px;
        height: 150px;
        transition: transform 0.3s ease;
    }

    /*Termina la tercera seccion */

    /* Comienza la cuarta seccion */

    .container-fourth-start {
        position: relative;
        transform: translate(-0%, 50%);
        height: 400px;
        width: 100%;
        background-image: linear-gradient(rgba(255, 255, 255, 0.671),
                #29235cab),
            url("../img/index/main/servicios.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position-y: center;
        background-position-x: center;



    }

    .title-fourth-start {
        position: relative;
        top: 50px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-fourth-start {
        position: relative;
        top: 60px;
        left: 50%;
        transform: translate(-50%);
        color: rgb(255, 255, 255);
        font-size: 30px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .button-fourth-start {
        position: relative;
        top: 30px;
        left: 0%;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        ;
        text-decoration: none;
    }

    .button-fourth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /*Termina la cuarta seccion */

    /* Comienza la quinta seccion */

    .container-fifth-start {
        position: relative;
        transform: translate(-0%, 30%);
        height: 400px;
        width: 90%;
    }

    .title-fifth-start {
        position: relative;
        top: 200px;
        left: 35%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-fifth-start {
        position: relative;
        top: 220px;
        left: 35%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;

    }

    .button-fifth-start {
        position: relative;
        top: 35px;
        left: 0%;
        transform: translate(-50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-fifth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-fifth-start {
        position: relative;
        top: 90px;
        left: 85%;
        transform: translate(-40%, -50%);
        width: 500px;
        height: 300px;
        border-radius: 0px;
        box-shadow: 30px 30px 1px #29235C;
    }

    /*Termina la quinta seccion */

    /* Comienza la sexta seccion */

    .container-sixth-start {
        position: relative;
        transform: translate(0%, 95%);
        margin-bottom: 820px;
        height: 400px;
        width: 100%;
    }

    .title-sixth-start {
        position: relative;
        top: 30px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-sixth-start {
        position: relative;
        top: 50px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;

    }

    .box-btn-sixth-start {
        position: relative;
        top: 70px;
        left: 50%;
        transform: translate(-50%);
        display: flex;
        justify-content: space-around;
        width: 600px;

    }


    .button-sixth-start {
        position: relative;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;

    }

    .button-sixth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-animada {
        animation: fadeInUp 0.6s ease;
    }


    /* Termina la sexta seccion */

    /* Incia la seccion de Servicios */

    .title-start-servicios {
        color: #29235C;
        font-size: 70px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second-servicios {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 32px;
        text-align: center;
        width: auto;

    }

    .button-start-servicios {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start-servicios:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

}

@media (min-width: 1441px) and (max-width: 2560px) {

    .title-start {
        position: absolute;
        top: 40%;
        left: 25%;
        transform: translate(-50%, -50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;

    }

    .text-start-second {
        width: 600px;
        position: absolute;
        top: 58%;
        left: 25%;
        transform: translate(-50%, -50%);
        color: rgb(255, 255, 255);
        font-size: 25px;
        text-align: justify;
    }

    .button-start {
        position: absolute;
        top: 70%;
        left: 30%;
        transform: translate(-50%, -50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }

    /*Termina la primera seccion */

    /* Comienza la segunda seccion */

    .container-second-start {
        height: 890px;
        width: 100px;
        background-image: linear-gradient(to right, #29235C,
                #29235cab,
                rgba(255, 255, 255, 0.671));
        background-repeat: no-repeat;
        background-size: cover;

    }

    .title-second-start {
        position: relative;
        top: 35%;
        left: 300%;
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        width: 600px;

    }

    .text-second-second {
        position: relative;
        top: 38%;
        left: 200%;
        color: black;
        font-size: 20px;
        text-align: justify;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .logo-second {
        position: relative;
        top: 25%;
        left: 7%;
        width: 650px;
        height: auto;
        margin-top: 20px;

    }

    .logo-second-background {
        position: absolute;
        background-color: #9D9D9C;
        width: 727px;
        height: 600px;
        top: 155%;
        transform: translateY(-50%);
        left: 61%;
        border-radius: 50px 1px 1px 1px;
    }

    .container-second-end {
        position: relative;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -0%);
        width: 100%;
        height: 80px;
        background-image: linear-gradient(to top, #29235C,
                #29235cab,
                rgba(255, 255, 255, 0.671));
    }

    /*Termina la segunda seccion */

    /* Comienza la tercera seccion */

    .container-third-start {

        transform: translate(-0%, 20%);
        position: relative;
        height: 500px;
        width: 100%;
        background-color: #eceaffab;
    }

    .title-third-start {
        position: relative;
        top: 60px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-third-start {
        position: relative;
        top: 80px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .text-third-list {
        position: relative;
        top: 100px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 18px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: bolder;
    }

    .box-img-norma-third {
        position: relative;
        top: 70px;
        left: 50%;
        transform: translate(-50%);
        width: 1400px;
        height: 12 0px;
        display: flex;
        justify-content: space-around;

    }

    .img-norma-third {
        width: 300px;
        height: 150px;
        transition: transform 0.3s ease;
    }

    /*Termina la tercera seccion */

    /* Comienza la cuarta seccion */

    .container-fourth-start {
        position: relative;
        transform: translate(-0%, 40%);
        height: 400px;
        width: 100%;
        background-image: linear-gradient(rgba(255, 255, 255, 0.671),
                #29235cab),
            url("../img/index/main/servicios.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position-y: center;
        background-position-x: center;



    }

    .title-fourth-start {
        position: relative;
        top: 50px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-fourth-start {
        position: relative;
        top: 60px;
        left: 50%;
        transform: translate(-50%);
        color: rgb(255, 255, 255);
        font-size: 30px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;
    }

    .button-fourth-start {
        position: relative;
        top: 30px;
        left: 0%;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        ;
        text-decoration: none;
    }

    .button-fourth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    /*Termina la cuarta seccion */

    /* Comienza la quinta seccion */

    .container-fifth-start {
        position: relative;
        transform: translate(-0%, 50%);
        height: 400px;
        width: 100%;
    }

    .title-fifth-start {
        position: relative;
        top: 270px;
        left: 25%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-fifth-start {
        position: relative;
        top: 270px;
        left: 25%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;

    }

    .button-fifth-start {
        position: relative;
        top: 30px;
        left: 0%;
        transform: translate(-50%);
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-fifth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-fifth-start {
        position: relative;
        top: 130px;
        left: 70%;
        transform: translate(-40%, -50%);
        width: 700px;
        height: 500px;
        border-radius: 0px;
        box-shadow: 50px 50px 1px #29235C;
    }

    /*Termina la quinta seccion */

    /* Comienza la sexta seccion */

    .container-sixth-start {
        position: relative;
        margin-top: 450px;
        margin-bottom: 680px;
        transform: translate(-0%, 60%);
        height: 400px;
        width: 100%;
    }

    .title-sixth-start {
        position: relative;
        top: 30px;
        left: 50%;
        transform: translate(-50%);
        color: #29235C;
        font-size: 60px;
        font-weight: bold;
        text-align: center;
    }

    .text-sixth-start {
        position: relative;
        top: 50px;
        left: 50%;
        transform: translate(-50%);
        color: black;
        font-size: 20px;
        text-align: center;
        width: 800px;
        line-height: 1.5;
        font-weight: 300;

    }

    .box-btn-sixth-start {
        position: relative;
        top: 70px;
        left: 50%;
        transform: translate(-50%);
        display: flex;
        justify-content: space-around;
        width: 600px;

    }


    .button-sixth-start {
        position: relative;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;

    }

    .button-sixth-start:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .img-animada {
        animation: fadeInUp 0.6s ease;
    }

    .title-start-servicios {
        color: #29235C;
        font-size: 75px;
        font-weight: bold;
        text-align: center;
    }

    .text-start-second-servicios {
        margin-top: 10px;
        color: rgb(255, 255, 255);
        font-size: 32px;
        text-align: center;
        width: auto;

    }

    .button-start-servicios {
        margin-top: 20px;
        background-color: #29235C;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        box-shadow: 5px 4px 5px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .button-start-servicios:hover {
        color: #29235C;
        background-color: #fff;
        font-weight: bold;
        transition: background-color 0.3s ease;

    }
}


/*Moda Servicios*/

/* Modal general */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}


.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 1500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #29235C;
}


/* Botón cerrar */
.close {
    color: #9D9D9C;
    font-size: 48px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #29235C;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show .modal-content {
    animation: modalFadeIn 0.4s ease-out;
}


.title-modal-servicios {
    color: #29235C;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.subtitle-modal-servicios {
    color: #29235C;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.list-modal-servicios {
    color: #333;
    font-size: 18px;
    text-align: justify;
    line-height: 1.7;
    font-weight: 400;
    margin: 20px auto;
    padding: 0 20px;
    max-width: 1100px;
}

.list-modal-servicios ul {
    list-style-type: disc;
    padding-left: 30px;
}

.list-modal-servicios li {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
}

.btn-modal {
    background-color: #29235C;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-modal:hover {
    background-color: #fff;
    color: #29235C;
}



/* Responsivo para móviles */
@media screen and (max-width: 768px) {

    .modal-content {
        width: 95%;
        height: auto;
        padding: 15px;
    }

    .title-modal-servicios {
        font-size: 28px;
        margin-top: 30px;
    }

    .subtitle-modal-servicios {
        font-size: 20px;
    }

    .list-modal-servicios {
        font-size: 16px;
        padding: 0 10px;
    }

    .list-modal-servicios li {
        font-size: 16px;
    }

    .close {
        font-size: 34px;
        top: 8px;
        right: 10px;
    }
}



/* Fin Modal Servicios */


.animation-txt {
    animation: fadeInRight 1s ease-in-out;
}



.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 35px;
    background: #29235C;
    color: white;
    padding: 12px;
    border-radius: 10%;
    display: none;
    z-index: 1000;
    transition: background 0.3s;
}

.scroll-to-top:hover {
    background: #fff;
    color: #29235C;
}