* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #102033;
    line-height: 1.6;
}

.hero {
    min-height: 90vh;
    background:
        linear-gradient(135deg, rgba(5, 16, 35, 0.94), rgba(0, 90, 120, 0.88)),
        radial-gradient(circle at top right, #00e6a8, transparent 35%);
    color: white;
    padding: 2rem 8%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7rem;
}

.navbar h1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    color: #00e6a8;
}

.hero-content {
    max-width: 850px;
}

.hero-content h2 {
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 680px;
    margin-bottom: 2rem;
    color: #d9edf2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: #00e6a8;
    color: #061629;
}

.btn-secondary {
    border: 1px solid #ffffff99;
    color: white;
}

.section {
    padding: 5rem 8%;
    text-align: center;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.card h3 {
    color: #006b7f;
    margin-bottom: 0.7rem;
}

.dark-section {
    background: #07182d;
    color: white;
}

.section-text {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #d8e9ef;
}

/* ===== REDES SOCIALES ===== */

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #07182d;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.social-links a:hover {
    background: #00e6a8;
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 230, 168, 0.35);
}

.social-links img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        align-items: flex-start;
        gap: 1rem;
        flex-direction: column;
        margin-bottom: 5rem;
    }

    .nav-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 1.5rem 6%;
    }

    .section {
        padding: 4rem 6%;
    }

    .social-links {
        gap: 14px;
    }

    .social-links a {
        width: 58px;
        height: 58px;
    }

    .social-links img {
        width: 30px;
        height: 30px;
    }
}
.course-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 640px;
    border: 1px solid rgba(0,0,0,0.04);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.course-badge {
    display: inline-block;
    margin-bottom: 1.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00e0b8, #00c8ff);
    color: #002244;
    font-size: 0.85rem;
    font-weight: 800;
}

.course-info {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    line-height: 1.8;
    color: #26384d;
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-card {
    display: inline-block;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    background: #12d8b0;
    color: #002244;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-card:hover {
    transform: scale(1.05);
    opacity: 0.92;
}

.btn-card.secondary {
    background: transparent;
    border: 1px solid #0f2a44;
    color: #0f2a44;
}
/* ===== SEMBLANZAS ===== */

.semblance-card {
    max-width: 1050px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #e9fbff);
    color: #102033;
    border-radius: 32px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.semblance-content h3 {
    font-size: 2.3rem;
    color: #006b7f;
    margin-bottom: 1rem;
}

.semblance-content p {
    font-size: 1.08rem;
    color: #26384d;
    max-width: 680px;
}

.semblance-visual {
    min-height: 260px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, #00e6a8, transparent 38%),
        linear-gradient(135deg, #07182d, #006b7f);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 40px rgba(255,255,255,0.08);
}

.semblance-visual span {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.semblance-visual p {
    max-width: 240px;
    margin-top: 1rem;
    text-align: center;
    color: #d8e9ef;
}

.btn-card.secondary.light {
    border: 1px solid #0f2a44;
    color: #0f2a44;
}

@media (max-width: 800px) {
    .semblance-card {
        grid-template-columns: 1fr;
    }
}