* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #f8f9fa;
    padding: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.hero {
    height: 80vh;
    background: url('Inicio.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
}

.hero .btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.courses {
    padding: 40px 20px;
    background-color: #f1f1f1;
    text-align: center;
}

.course-list {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.course-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.course-item img {
    max-width: 100%;
    border-radius: 10px;
}

.Quienessomos {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}


/* Contenedor del formulario */
.contact-form {
    background: #ffffff;
    color: #333;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #666;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    background: #f9f9f9;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #6e8efb;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    background: #6e8efb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #5a75d8;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-form {
        padding: 15px 20px;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    button {
        font-size: 0.9rem;
    }
}


footer {
    padding: 20px;
    background-color: #333;
    color: white;
    text-align: center;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

footer .social a {
    margin: 0 10px;
    color: white;
}