body {
    font-family: 'Arkhip_font', sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    background-color: #f4f8ff;
    color: #333;
}

.header {
    background-color: rgb(89 129 150 / 74%);
    color: #fff;
    padding: 22px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease; /* Añadir transición para el padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header.active {
    background-color: #fffbfb;
    padding: 15px 0; /* Ajustar el padding al hacer scroll hacia abajo */
}



.logo img {
    max-width: 200px;
    height: auto;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}







.hero {
    text-align: center;
    position: relative;
    height: 100vh;
}

.hero-content {
    background-color: rgba(44, 62, 80, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFA500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ecf0f1;
}


.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFA500;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    background-color: #FF7F00;
    transform: scale(1.05);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section {
    text-align: center;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Elimina opacity y transform aquí */
    /* opacity: 0;
    transform: translateY(20px); */
    transition: opacity 0.5s ease, transform 0.5s ease;
}



.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004170;
}


.footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 90px;
    font-size: 20px;
}

.swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #598196;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button:hover {
    background-color: #000000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.swiper-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transition: transform 0.3s ease-in-out;
}

.swiper-button-next::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    border-color: #f4f8ff;
}

.swiper-button-prev::after {
    transform: translate(-50%, -50%) rotate(135deg);
    border-color: #f4f8ff;
}

.btn-wsp {
    position: fixed;
    width: 70px;
    height: 70px;
    line-height: 55px;
    bottom: 40px;
    right: 30px;
    background-color: #0df053;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;

    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-wsp i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.btn-wsp:hover {
    text-decoration: none;
    color: #0df053;
    background-color: #f4f8ff;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5);
}

#seleccion-servicio {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #737373;
    border-radius: 5px;
}

.servicios {
    display: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-section {
    flex: 1;


    
}
#certificados {
    text-align: center;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004170;
}

.section-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #004170;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.service-card {
    width: 300px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 0 0 calc(25% - 40px); /* Ajusta el ancho de cada tarjeta para 4 en una fila */
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Aumentado el radio de borde */
    margin-bottom: 10px;
}

.service-card h5 {
    font-size: 1.8rem; /* Aumentado el tamaño del título */
    margin-bottom: 6px; /* Aumentado el margen inferior del título */
    color: #004170;
}

.service-card p {
    font-size: 1.2rem; /* Aumentado el tamaño del párrafo */
    color: #fcefef;
}

.service-card:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3); /* Aumentada la intensidad de la sombra */
}

.btn-conoce-mas {
    background-color: #004170;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-conoce-mas:hover {
    background-color: #00274a;
}



body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
}

#loading-message {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(89 129 150 / 74%);
    color: #fff;
}

#loading-message img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-top: 20px;
    font-size: 24px;
}

.spinner-border {
    margin-top: 20px;
}