
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
*/
body {
    background-color: #121212; 
    color: #e0e0e0; 
    overflow-x: hidden;
}


.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    min-height: 75vh;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 48px;
    color: #4612f3; 
    margin-bottom: 5px;
}

.hero-text h2 {
    font-size: 40px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 30px;
}


.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #2d2d2d;
}

.btn-info {
    display: inline-block;
    background-color: #1216f3;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(18, 22, 243, 0.4);
    transition: transform 0.2s, background-color 0.3s;
}

.btn-info:hover {
    background-color: #5d22e6;
    transform: translateY(-2px);
}


.cursos-section {
    padding: 60px 8%;
    background-color: #1a1a1a; 
}

.cursos-section h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 5px;
}

.subtitle {
    color: #777777;
    font-size: 14px;
    margin-bottom: 40px;
}


.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}


.curso-card {
    display: flex;
    align-items: center;
    background-color: #320ae6;
    color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(50, 10, 230, 0.4);
}

.curso-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.curso-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.curso-info p {
    font-size: 13px;
    color: #f2f2f2;
    opacity: 0.8;
}


@media (max-width: 768px) {
    .hero { 
        flex-direction: column-reverse; 
        text-align: center; 
        padding: 40px 8%; 
    }
    .hero-text { 
        max-width: 100%; 
    }
    .hero-img { 
        max-width: 90%; 
    }
    .cursos-grid { 
        grid-template-columns: 1fr; 
    }
}