:root {
    --blueDark: #1b1f44;
    --blue: #213986;
    --blueLight: #049fe3;
    --gray: #ebeaee;
    --white: #ffffff;
    --redDark: #832626;
    --red: #de0b17;
}

* {
    margin: 0px;
    padding: 0px;
}

*,
::after,
::before {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
}

p {
    line-height: 23px;
    margin-bottom: 15px;
    text-align: justify;
    color: #1b1f44;
}

.text-left {
    text-align: left !important;
}

.text-rigth {
    text-align: right !important;
}

.top--20 {
    position: absolute;
    top: -150px;
}

/* Clase para botón */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

/* Clase para botón principal */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #049fe3;
    border-color: #007bff;
    color: white;
}

.section-main-info {
    margin: 35px auto !important;
}

.container {
    position: relative;
    max-width: 1140px; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centrar el contenedor en la página */
    padding: 15px 15px; /* Añadir un poco de espacio en los bordes del contenedor */
    box-sizing: border-box; /* Incluir el padding y border en el ancho del contenedor */
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: linear-gradient(
        150deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(50, 69, 140, 1) 50%,
        rgba(200, 55, 50, 1) 100%
    );
}

.section-info-content {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-main-info-content .content-title {
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    text-align: right;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.section-main-info-content .content-description {
    display: inline-block;
    padding: 15px 0;
    margin-bottom: 20px;
    width: 100%;
    text-align: right;
    font-size: 20px;
    font-weight: 500;
    color: #c83732;
}

.logo img {
    max-height: 50px;
    border-radius: 10px;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li {
    margin-right: 20px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
}

.menu ul li a:hover {
    color: #c83732;
}

.redes-sociales ul {
    list-style: none;
    display: flex;
}

.redes-sociales ul li {
    margin-right: 10px;
}

.redes-sociales ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.redes-sociales ul li a:hover {
    color: #c83732;
}

.fab {
    font-size: 1.2rem;
}

/* Estilos del contenedor del slider */
.swiper-container {
    position: relative;
}
.swiper-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        150deg,
        rgba(27, 31, 68, 1) 40%,
        rgba(100, 171, 234, 0) 69%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 100;
}

.swiper {
    width: 100%;
    height: 350px;
}

.swiper-slide {
    position: relative;
    background-position: center;
    background-size: cover;
}

.swiper-slide-content {
    position: absolute;
    width: 50%;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 102;
}

.swiper-slide-content-title {
    font-size: 35px;
    font-weight: 300;
    color: #c83732;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.swiper-slide-content-description {
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper2 {
    width: 800px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* define dos columnas iguales */
    grid-template-rows: 1fr 1fr; /* define dos filas iguales */
}

.column-1 {
    background-color: #64abea;
    padding: 30px;
    border-radius: 0px;
    grid-row: 1 / 2;
    grid-column: 2 / 4;
}

.column-1 p {
    color: white;
}

.column-2 {
    background-color: #32458c;
    padding: 30px;
    border-radius: 0px;
    grid-row: 2 / 4;
    grid-column: 1 / 2;
}

.column-2 p {
    color: white;
}

.column-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto 0;
}

.column-img {
    position: relative;
}

.column-1-img img {
    display: block;
    width: 100%;
    height: 100%;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.column-2-img img {
    display: block;
    width: 100%;
    height: 100%;
    grid-row: 2 / 4;
    grid-column: 2 / 4;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 60px;
    justify-content: center; /* Centra todas las filas y columnas en el centro */
    align-items: center;
}

.card-quotes {
    display: flex;
    align-items: center;
    width: 100%;
    height: 170px;
    background: white;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #64abea;
    border: 2px solid #32458c;
    padding: 25px;
    text-align: center;
    cursor: pointer;
}

.card-quotes:nth-child(odd) {
    box-shadow: 5px 5px 10px #64abea;
    border: 2px solid #1b1f44;
    background: #64abea;
    color: white;
}

.card-quotes:nth-child(odd):hover {
    box-shadow: 5px 5px 10px #64abea;
    border: 2px solid #64abea;
    background: white;
    color: #1b1f44;
    transition: background-color 0.3s ease;
}

.card-quotes:hover {
    background-color: #64abea;
    color: white;
    transition: background-color 0.3s ease;
}

/* Footer */
.footer-section {
    background: #32458c;
    padding: 30px 30px;
}

.footer-info-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Formulario */
.footer-form {
    background: white;
    padding: 30px;
}

#my-form {
    text-align: center;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-control {
    width: 50%;
    border: none;
    border-radius: 5px;
    border-bottom: 2px solid #fff;
    box-shadow: none;
    padding: 10px 10px;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #fff;
    box-shadow: none;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group select {
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 5px;
    box-shadow: none;
    font-size: 16px;
    margin-bottom: 30px;
    padding: 10px 40px 10px 0;
}

.form-group select:focus {
    border-color: #fff;
    box-shadow: none;
}

.form-group input[type='submit'] {
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #252525;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    padding: 10px 30px;
    text-transform: uppercase;
}

.form-group input[type='submit']:hover {
    background-color: #f2f2f2;
    color: #252525;
}

.svg-container {
    width: 100%;
}

.svg-container svg {
    width: 100%; /* Establece el ancho del SVG al 100% */
    height: auto; /* Mantiene la proporción de aspecto */
}

.title-section {
    padding: 30px;
    width: 60%;
    margin: 0 auto;
    font-size: 30px;
    font-weight: 900;
    color: #1b1f44;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
}

.how-we-are-section {
    position: relative;
    background: url('../images/background/wake_up.svg') no-repeat 0px 20px /
        cover;
}

#services {
    background: url('../images/background/wave-haikei.svg') no-repeat 0px 0px /
        cover;
}

.contact-cards-container {
    width: 100%;
    height: auto;
    text-align: center;
}

.card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.card {
    padding: 10px;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    box-shadow: 0 0 10px #007bff;
    overflow: hidden;
    height: 450px;
    background-color: #32458c;
    color: white;
    gap: 20px;
}

.card-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

.card-content {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    text-align: center;
}

.card-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* define dos columnas iguales */
    gap: 0px; /* espacio entre las columnas */
}

.footer-logo {
    display: inline-block;
}
.footer-logo img {
    width: 250px;
    height: auto;
    border-radius: 10px;
}

.footer-social ul {
    list-style: none;
    display: flex;
}

.footer-social ul li {
    margin-right: 20px;
}

.footer-social ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
}

.footer-social ul li a:hover {
    color: #c83732;
}

.footer-form {
    border-radius: 10px;
    border: 1px solid white;
    background: #32458c;
    color: white;
}

.footer-form h3 {
    text-align: center;
    margin-bottom: 20px;
}

.section-copyright {
    margin-top: 10px;
    display: block;
}

.section-copyright p {
    text-align: center;
    color: white;
    font-weight: 500;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 1.5rem;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 0.2rem;
    background-color: white;
    border-radius: 1rem;
}

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-link {
    display: block;
    width: 70px;
    height: 70px;
    background-color: #24d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 35px; /* Aumentar el tamaño del icono de Font Awesome */
    text-decoration: none;
    transform: scale(1);
}

.whatsapp-link:hover,
.whatsapp-link:focus {
    transform: scale(1.1);
}
.whatsapp-link:hover {
    background-color: #128c7e;
}

.fa-whatsapp {
    font-size: 35px; /* Aumentar el tamaño del icono */
}

/* Estilos para pantallas pequeñas */
@media (max-width: 1100px) {
    .grid-container {
        display: grid;
        grid-template-columns: 1fr; /* define dos columnas iguales */
        grid-template-rows: 1fr; /* define dos filas iguales */
    }

    .column-1 {
        padding: 30px;
        grid-row: 2 / 4;
        grid-column: 1 / 1;
    }

    .column-2 {
        padding: 30px;
        grid-row: 4 / 4;
        grid-column: 1 / 1;
    }

    .column-1-img img {
        grid-row: 1 / 4;
        grid-column: 1 / 1;
    }

    .column-2-img img {
        grid-row: 3 / 4;
        grid-column: 1 / 1;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title-section {
        padding: 30px;
        width: 100%;
    }

    .swiper-slide-content {
        width: 70%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .swiper-slide-content-title {
        font-size: 25px;
        font-weight: 800;
    }

    .swiper-slide-content-description {
        font-size: 15px;
        font-weight: 800;
    }

    .section-info-content {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-main-info-content .content-title {
        text-align: center !important;
        line-height: 1.5;
    }
    .section-main-info-content .content-description {
        text-align: center !important;
        line-height: 1.5;
    }
}

/* Estilos para pantallas pequeñas */
@media (max-width: 914px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #1b1f44;
        position: absolute;
        top: 4.5rem;
        width: 100%;
    }

    .menu ul {
        flex-direction: column;
        align-items: end;
    }

    .menu li {
        margin: 0;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid #1b1f44;
    }

    .menu li:last-child {
        border-bottom: none;
    }

    .menu li a {
        color: #fff;
    }

    .menu.show {
        display: flex;
        z-index: 200;
    }
    .redes-sociales {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .form-control {
        width: 100%;
    }
    .card-container {
        flex-direction: column;
    }

    .card {
        flex-direction: column;
        width: 100%;
        height: 50%;
    }

    .card-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
    }
}

/* Estilos para pantallas pequeñas */
@media (max-width: 630px) {
    .card-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .footer-grid-container {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .footer-info-contact {
        align-items: end;
    }

    .footer-logo img {
        width: 180px;
    }
    .card-container {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
}
