/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo .material-icons {
    font-size: 1.8rem;
    margin-right: 5px;
}

.logo .highlight {
    color: #0051FF;
}

.menu-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-links .register-btn {
    color: #fff;
    background-color: black;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

.nav-links .register-btn:hover {
    background-color: #333;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: white;
    color: black;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1001;
}


.sidebar.active {
    left: 0;
    display: block;
}

.sidebar .menu-close {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1rem;
    color: #7f7f7f;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.cta-btn, .secondary-btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.cta-btn {
    background-color: #000;
    color: #fff;
}

.secondary-btn {
    color: #0051FF;
    border-bottom: 2px solid #0051FF;
}

.hero-image img {
    width: 650px;
    height: auto;
}

.tools {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tools-header {
    background-color: #0051FF;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 1rem;
}

.tools h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tools-content {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.video-container {
    width: 100%;
    max-width: 560px;
}

.course-intro h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
}

.course-intro p {
    color: #7f7f7f;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 15px;
}

.course-intro ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.course-intro ul li {
    font-size: 1rem;
    color: #4a4a4a;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.course-intro ul li::before {
    content: "✔️";
    color: #0051FF;
    font-weight: bold;
    margin-right: 8px;
}

.pricing-plans {
    text-align: center;
    padding: 80px 0;
    font-family: Arial, sans-serif;
}

.pricing-plans h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.plan {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 250px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.plan.popular {
    border: 2px solid #0051FF;
}

.plan h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin: 10px 0;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plan ul li {
    font-size: 1rem;
    color: #333;
    padding: 8px 0;
}

.plan button {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.plan button:hover {
    background-color: #333;
}

.popular::before {
    content: 'Más popular';
    display: block;
    text-align: center;
    font-size: 0.8rem;
    background-color: #0051FF;
    color: #fff;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 10px;
}

.faq-section {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.faq-question {
    padding: 15px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #eee;
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f0f0f0;
}

.faq-answer.open {
    max-height: 300px; /* Valor suficiente para que el contenido se muestre */
    padding: 15px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}

.arrow {
    font-size: 0.8em;
    transition: transform 0.3s;
}

.faq-question.active .arrow {
    transform: rotate(180deg);
}


.promo-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.trade-anytime-section {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    width: 100%;
    height: 100vh;
}

.trade-anytime-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.trade-anytime-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.trade-anytime-section .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.trade-anytime-section .buttons a {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trade-anytime-section .buttons a:hover {
    background-color: blue;
}

.trade-anytime-section .buttons a img {
    width: 20px; /* Ajusta el tamaño según sea necesario */
    height: 20px; /* Ajusta el tamaño según sea necesario */
}

.trade-anytime-section .trade-image {
    margin-top: 20px;
    max-width: 50%;
    height: auto;
}

/* Estilos para la sección de introducción */
.intro-section {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
}

.intro-section h2 {
    font-size: 2rem;
}

.black-text {
    color: #000; /* Negro */
}

.purple-text {
    color: #0051FF; /* Morado */
}

.intro-section p {
    font-size: 1rem;
    color: #666;
}

/* Estilos para la sección morada */
.purple-section {
    background-color: #0051FF;
    padding: 50px;
    text-align: center;
    color: #fff;
}

.purple-section .box {
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    width: 250px;
    margin: 20px auto;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purple-section .box h3 {
    font-size: 2.5rem;
    color: #0051FF;
    margin-bottom: 10px;
    font-weight: bold;
}

.purple-section .box p {
    font-size: 1rem;
    color: #555;
}

.purple-section .box:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.purple-section .button-container {
    margin-top: 20px;
}

.purple-section .button-container button {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purple-section .button-container button:hover {
    background-color: #333;
}

.footer-section {
    background-color: black;
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin: 10px;
    text-align: left;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li a {
    text-decoration: none;  /* Sin subrayado */
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.social-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: filter 0.3s;
}

.social-icon:hover {
    filter: brightness(1.5) saturate(2);
}

/* Copyright text styling */
.footer-copyright {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 10px;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex; /* Mostrar opciones del menú horizontalmente */
        list-style: none;
        margin: 0;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

    .menu-toggle {
        display: none; /* Ocultar el botón de menú en computadoras */
    }

    .sidebar {
        display: none; /* Ocultar el menú lateral en computadoras */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; /* Ocultar solo en móviles */
    }

    .sidebar {
        display: block; /* Mostrar el menú lateral en móviles */
    }

    .plans-container {
        flex-direction: column; /* Cambia de fila a columna */
        align-items: center; /* Centra los elementos verticalmente */
    }
    
    .plan {
        width: 90%; /* Ajusta el ancho para dispositivos móviles */
        margin-bottom: 20px; /* Espacio entre los planes */
    }

    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 80px;
        padding: 15px;
    }

    .hero-text {
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }

    .tools-header {
        font-size: 0.9rem;
        padding: 15px;
    }

    .tools h2 {
        font-size: 1.5rem;
    }

    .tools-content {
        flex-direction: column;
        gap: 20px;
    }

    .video-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .video-container iframe {
        width: 100%;
        height: 200px;
    }

    .course-intro ul {
        text-align: center;
    }

    .course-intro ul li {
        font-size: 0.9rem;
    }
}