 /* Reset y estilos base */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
header {
    background-color: #CFD8C0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2A3240;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #2A3240;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #E65C37;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #E65C37;
    color: white;
}

.btn-primary:hover {
    background-color: #c7492a;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Webinars Section */
.webinars {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2A3240;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.webinar-card {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s;
    text-align: left;
}

.webinar-card:hover {
    transform: translateY(-5px);
}

.webinar-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.webinar-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    margin-left: 10px;
}

.tag-en-directo {
    background-color: #E65C37;
}

.tag-confirmado {
    background-color: #8DAA6D;
}

.tag-plazas-limitadas {
    background-color: #6A7A92;
}

.webinar-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2A3240;
}

.webinar-level {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* Cursos Section */
.cursos {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.curso-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    text-align: left;
}

.curso-card:hover {
    transform: translateY(-5px);
}

.curso-img {
    height: 180px;
    overflow: hidden;
}

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

.curso-info {
    padding: 20px;
}

.curso-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2A3240;
}

.curso-duration {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.curso-tags {
    display: flex;
    margin-bottom: 20px;
}

.curso-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 10px;
}

.tag-certificado {
    background-color: #CFD8C0;
    color: #2A3240;
}

.tag-intensivo {
    background-color: #E65C37;
    color: white;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #CFD8C0;
    border-radius: 5px;
    color: #2A3240;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.btn-outline:hover {
    background-color: #CFD8C0;
}

/* Testimonios Section */
.testimonios {
    padding: 80px 0;
    text-align: center;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonio-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonio-star {
    color: #CFD8C0;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonio-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonio-author {
    font-weight: 600;
    color: #2A3240;
}

.testimonio-position {
    font-size: 14px;
    color: #777;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #CFD8C0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    color: #2A3240;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 20px;
    color: #2A3240;
}

/* Recursos Section */
.recursos {
    padding: 80px 0;
    text-align: center;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.recurso-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.recurso-icon {
    font-size: 28px;
    color: #2A3240;
    margin-bottom: 15px;
}

.recurso-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2A3240;
}

.recurso-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-download {
    display: inline-block;
    color: #E65C37;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.btn-download:hover {
    color: #c7492a;
}

.btn-link {
    display: block;
    width: max-content;
    margin: 40px auto 0;
    padding: 12px 30px;
    background-color: #CFD8C0;
    color: #2A3240;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-link:hover {
    background-color: #b9c5a6;
}

/* Contacto Section */
.contacto {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.contacto-info {
    padding-left: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    color: #CFD8C0;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.info-text h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2A3240;
}

.info-text p {
    color: #666;
}

.btn-submit {
    background-color: #E65C37;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

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

/* Footer */
footer {
    background-color: #2A3240;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.5;
    margin-top: 20px;
}

/* Thank You Page */
.thank-you {
    background-color: #2A3240;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.thank-you h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-return {
    background-color: transparent;
    border: 2px solid #CFD8C0;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-return:hover {
    background-color: #CFD8C0;
    color: #2A3240;
}

/* Responsive */
@media (max-width: 992px) {
    .webinars-grid, 
    .cursos-grid, 
    .testimonios-grid, 
    .recursos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacto-info {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #CFD8C0;
        flex-direction: column;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .webinars-grid, 
    .cursos-grid, 
    .testimonios-grid, 
    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 28px;
    }
}