/* 1. Use a more intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Allow percentage-based heights in the application */
html,
body {
    height: 100%;
    font-family: "Inter", sans-serif;
}

/* 4. Improve typography defaults */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 6. Remove built-in form typography styles */
input,
button,
textarea,
select {
    font: inherit;
}

.skill-center {

    .container {
        max-width: 980px;
        width: 100%;
        margin: 0 auto;
    }


    header {
        background-color: #015F86;

        padding: 48px 0;
        position: sticky;
        top: 0;
        z-index: 100;

        .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        a {
            display: block;
            max-width: fit-content;
            background-color: #1EC6BD;
            border-radius: 53px;
            padding: 14px 24px;
            box-shadow: 0 1px 3px 0 #0000004D;
            font-size: 32px;
            color: #00534C;
            font-weight: 500;
        }
    }

    @media (max-width: 480px) {
        header {
            img {
                width: 45%;

            }

            a {
                font-size: 15px;
                font-weight: 700;
                padding: 10px;
            }
        }

    }

    .hero {
        padding: 150px 0;
        height: 900px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-image: url("https://327441.fs1.hubspotusercontent-na1.net/hubfs/327441/callcom/Tecmilenio/skill%20center/29c4b2f88e4721495537243cfbdbfd594c182d65.webp");
        background-size: cover;
        background-position: center;
        color: #fff;
        text-align: center;

        .container {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 24px;
        }

        h1 {
            font-size: 70px;
        }

        p {
            font-size: 32px;
        }

        a {
            max-width: fit-content;
            display: block;
            background-color: #1EC6BD;
            padding: 10px 24px;
            border-radius: 76px;
            font-size: 36px;
            color: #fff;
        }

    }

    .form-container {
        width: 100%;
        /* Ancho máximo similar a la imagen */
        padding: 20px;
        box-sizing: border-box;
        background-color: #015F86;
    }

    /* GRID para los inputs (2 columnas) */
    .input-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Dos columnas iguales */
        gap: 15px;
        /* Espacio entre los inputs */
        margin-bottom: 20px;
    }

    /* Estilos de los campos de texto */
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        width: 100%;
        padding: 12px 20px;
        border-radius: 25px !important;
        /* Bordes muy redondeados */
        border: none;
        outline: none;
        font-size: 16px;
        color: #1e4d45;
        /* Color del texto dentro del input (verde oscuro) */
        box-sizing: border-box;
        /* Para que el padding no afecte el ancho */
        font-weight: 500;
    }

    /* Estilo para el placeholder */
    ::placeholder {
        color: #1e4d45;
        opacity: 1;
        /* Firefox */
    }

    /* Estilos para el Checkbox y Texto legal */
    .checkbox-container {
        display: flex;
        align-items: flex-start;
        /* Alinea el checkbox arriba si el texto es largo */
        color: white;
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.4;
        justify-content: center;
    }

    .checkbox-container input {
        margin-right: 10px;
        margin-top: 3px;
        cursor: pointer;
    }

    .checkbox-container a {
        color: white;
        text-decoration: underline;
    }

    /* Botón de envío */
    .submit-btn {
        display: block;
        width: 100%;
        background-color: #63c6b6;
        /* Color turquesa/menta del botón */
        color: #1a443e;
        /* Texto oscuro en el botón */
        border: none;
        padding: 12px;
        border-radius: 25px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .submit-btn:hover {
        background-color: #55b0a0;
    }

    /* MEDIA QUERY: Para móviles */
    @media (max-width: 500px) {
        .input-group {
            grid-template-columns: 1fr;
            /* Cambia a una sola columna */
        }
    }

    .testimonial-card {
        background: linear-gradient(160deg, #00bfa5 0%, #006064 100%);
        text-align: center;
        /* max-width: 600px; */
        padding: 20px;
        color: white;
    }

    /* Contenedor de la imagen para posicionar el icono */
    .image-wrapper {
        position: relative;
        width: 220px;
        height: 220px;
        margin: 0 auto 30px auto;
        /* Centrado horizontal */
    }

    /* La imagen circular */
    .image-wrapper img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 6px solid white;
        /* Borde blanco grueso */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    /* El icono de las comillas */
    .quote-icon {
        position: absolute;
        top: 0;
        left: -10px;
        /* Ajuste para que sobresalga un poco a la izquierda */
        background-color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* Estilo del SVG dentro del icono */
    .quote-icon svg {
        width: 28px;
        height: 28px;
        stroke: black;
        /* Color de las comillas */
        fill: black;
    }

    /* Texto de la cita */
    .quote-text {
        font-size: 1.4rem;
        font-style: italic;
        line-height: 1.5;
        margin-bottom: 30px;
        font-weight: 400;
    }

    /* Información del autor */
    .author-info h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 10px 0;
    }

    .author-info p {
        font-size: 1.1rem;
        margin: 5px 0;
        font-weight: 400;
        opacity: 0.9;
        /* Un poco más suave que el título */
    }

    /* Responsividad para móviles */
    @media (max-width: 480px) {
        .image-wrapper {
            width: 180px;
            height: 180px;
        }

        .quote-icon {
            width: 50px;
            height: 50px;
            left: -5px;
        }

        .quote-text {
            font-size: 1.1rem;
        }
    }

    .why-tecmilenio {
        margin: 0 auto;
        padding: 40px 20px;
        text-align: center;
        color: white;
        background-color: #015F86;
    }

    /* Imagen del edificio con esquinas redondeadas */
    .campus-image-container img {
        width: 100%;
        border-radius: 20px 0;
        /* Redondeo suave */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        margin-bottom: 30px;
        object-fit: cover;
        max-height: 400px;
    }

    /* Título de la sección */
    .content-text h2 {
        color: #2ec4b6;
        /* Color turquesa brillante */
        font-size: 2rem;
        margin-bottom: 25px;
        font-weight: 700;
    }

    /* Párrafos de texto */
    .content-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Tarjeta blanca de estadísticas (Píldora grande) */
    .stats-card {
        background-color: white;
        color: black;
        border-radius: 50px;
        /* Borde muy redondeado tipo píldora */
        padding: 20px 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-width: 100%;
    }

    /* Icono de la medalla */
    .icon-medal svg {
        stroke: #000;
        /* Color del borde del icono */
        width: 45px;
        height: 45px;
    }

    /* Texto dentro de la tarjeta */
    .stats-text {
        text-align: left;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
    }

    /* Resaltado en turquesa dentro de la tarjeta */
    .stats-text .highlight {
        color: #2ec4b6;
        font-weight: 700;
    }

    /* Responsividad para móviles */
    @media (max-width: 600px) {
        .content-text h2 {
            font-size: 1.6rem;
        }

        .stats-card {
            flex-direction: column;
            /* Apila icono y texto en pantallas pequeñas */
            border-radius: 30px;
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
        }

        .stats-text {
            text-align: center;
            font-size: 1.1rem;
        }
    }

}

.site-footer {
    background-color: #2b2b2b;
    /* Gris muy oscuro, casi negro */
    color: white;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* Espacio vertical entre secciones */
}

/* -- Logo Simulado -- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.brand-subtitle {
    color: #2ec4b6;
    /* Turquesa del Skilling Center */
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

.brand-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* -- Iconos de Redes Sociales -- */
.social-icons {
    display: flex;
    gap: 20px;
    /* Espacio horizontal entre iconos */
    justify-content: center;
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    /* Pequeño salto al pasar el mouse */
    opacity: 0.8;
}

/* -- Texto Legal -- */
.footer-legal p {
    font-style: italic;
    /* Texto en cursiva como en la imagen */
    font-size: 16px;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.5;
}

/* -- Responsividad -- */
@media (max-width: 500px) {
    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 12px;
    }

    .social-icons svg {
        width: 30px;
        height: 30px;
    }

    .footer-legal p {
        font-size: 14px;
    }
}

/* --- SECCIÓN SWIPER --- */
.certificates-section {
    background-color: white;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
}

.cert-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

/* Títulos */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #006d77;
    font-size: 2.5rem;
    font-weight: 700;
}

/* -- Estilos de las Tarjetas (Idéntico al anterior) -- */
.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Para que todas midan lo mismo */
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 200px;
    width: 100%;
    position: relative;
}

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

/* Power BI y Python estilos */
.powerbi-bg {
    background-color: #f2c811;
    display: flex;
    justify-content: center;
    align-items: center;
}

.powerbi-logo {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.python-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.card-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    /* Empuja el contenido para llenar la tarjeta */
}

.card-content h3 {
    color: #006d77;
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}


/* --- PERSONALIZACIÓN DE SWIPER --- */

/* Ajustar el padding del swiper para que no corte las sombras de las cards */
.swiper {
    padding-bottom: 50px !important;
    /* Espacio para la paginación */
    padding-top: 20px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Flechas de Navegación Personalizadas */
.swiper-button-next,
.swiper-button-prev {
    color: #006d77 !important;
    /* Color de la flecha */
    background-color: white;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

/* Hacemos las flechas más pequeñas visualmente */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

/* Paginación (Puntitos) */
.swiper-pagination-bullet-active {
    background-color: #006d77 !important;
    /* Color activo turquesa */
}