/* General styles for body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #D9D9D9; /* Color secundario */
    color: #38495B; /* Color primario */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Hero section styles */
header.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ensure the hero section takes up the full viewport height */
    background: url('/fondos_cursos/IMG-HlLvu52Xnx.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    text-align: center;
    color: #fff;
    z-index: 1; /* Ensure the hero is above other sections */
    overflow: hidden; /* Ensure the hero does not overflow */
}
header.contadores {
    position: relative;
    width: 100%;
    height: 100vh; /* Ensure the hero section takes up the full viewport height */
    background: url('/weblanding/assets/contadores.jpeg?auto') no-repeat center center/cover;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    text-align: center;
    color: #fff;
    z-index: 1; /* Ensure the hero is above other sections */
    overflow: hidden; /* Ensure the hero does not overflow */
}

header.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    display: flex;
    align-items: center; /* Vertically center the content within the overlay */
    justify-content: center; /* Horizontally center the content within the overlay */
    pointer-events: none; /* Allow clicks to pass through the overlay */
}

header.contadores .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    display: flex;
    align-items: center; /* Vertically center the content within the overlay */
    justify-content: center; /* Horizontally center the content within the overlay */
    pointer-events: none; /* Allow clicks to pass through the overlay */
}




header.hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Limit the width of the content for better readability */
    padding: 20px;
    text-align: center; /* Ensure text is centered within the container */
    pointer-events: all; /* Make sure clicks are allowed */
}

header.contadores .contadores-content {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Limit the width of the content for better readability */
    padding: 20px;
    text-align: center; /* Ensure text is centered within the container */
    pointer-events: all; /* Make sure clicks are allowed */
}

header.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

header.contadores h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

header.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

header.contadores p {
    font-size: 1.5em;
    margin-bottom: 30px;
}


/* Call to action button styles */
.cta-button {
    background-color: #38495B; /* Color primario */
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: all 0.3s ease-in-out;
    position: relative; /* Make sure z-index works */
    z-index: 3; /* Ensure the button is above other elements */
    cursor: pointer; /* Ensure the button has a pointer cursor */
}

.cta-button:hover {
    background-color: #2C3E50; /* Slightly darker shade for hover */
    transform: scale(1.1);
}

/* Main content styles to ensure it scrolls over the hero */
main {
    position: relative;
    z-index: 2;
    margin-top: -100vh; /* Start this section at the top of the page */
    padding-top: 100vh; /* Offset by the height of the hero section */
}

/* Course details section styles */
.course-details {
    background-color: #fff;
    color: #38495B; /* Color primario */
    text-align: center;
    padding: 60px 20px;
}
.course-details_black {
    background-color: #38495B;
    color: #ffffff; /* Color primario */
    text-align: center;
    padding: 60px 20px;
}

.course-details_black h2 {
    font-size: 2.5em!important;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

@media (max-width: 768px) { /* Dispositivos móviles (ancho menor o igual a 768px) */
    #nuevo_section.course-details_black {
        height: 1350px!important; /* Altura específica para móviles */
    }
}

@media (max-width: 768px) { /* Dispositivos móviles (ancho menor o igual a 768px) */
    #nuevo_section.course-details {
        height: 1350px!important; /* Altura específica para móviles */
    }
}

.course-details_black p {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 60%; /* Limit paragraph width to 60% of the screen */
    margin-left: auto;
    margin-right: auto;
}

.course-details h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.course-details p {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 60%; /* Limit paragraph width to 60% of the screen */
    margin-left: auto;
    margin-right: auto;
}

.course-details img {
    width: 300px;
    border-radius: 15px;
    margin-top: 20px;
}

/* Course content section styles */
.course-content {
    background-color: #fff;
    color: #38495B; /* Color primario */
    text-align: center;
    padding: 60px 20px;
}

.course-content h2 {
    font-size: 3em;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns layout */
    gap: 40px;
    padding: 20px;
}

.class {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-in-out forwards;
}

.class2 {
    background: #fff;
    text-align: left;
    margin-left: 10%;
  
}
.class3 {
    background: #38495B;
    text-align: left;
    margin-left: 10%;
  
}

.class h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.class ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 15px; /* Ensure the font size is the same as outside the bullets */
    color: #38495B; /* Ensure the color is the same as outside the bullets */
    font-family: Arial, sans-serif; /* Ensure the font family is the same as outside the bullets */
}
.claesedescri {
    font-size: 13px;
}
.class ul ul {
    list-style-type: circle;
}

.class:nth-child(1) {
    animation-delay: 0.1s;
}
.class:nth-child(2) {
    animation-delay: 0.2s;
}
.class:nth-child(3) {
    animation-delay: 0.3s;
}
.class:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Parallax section styles */
.parallax-section {
    background: url('https://images.pexels.com/photos/8296970/pexels-photo-8296970.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed;
    background-size: cover;
    height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.parallax-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%; /* Full height for overlay */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.parallax-overlay .community-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.community-text {
    flex: 1;
    min-width: 300px;
}

.community-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.community-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.community-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.community-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Course includes section styles */
.course-includes {
    background-color: #fff;
    color: #38495B; /* Color primario */
    text-align: center;
    padding: 60px 20px;
    margin-top: -200px !important;
}
/* Ajuste para pantallas de tablet (típicamente entre 768px y 1024px de ancho) */
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .course-includes {
        margin-top: 0px !important; /* Mantener el margen en tablets */
    }
}

/* Ajuste para pantallas más pequeñas (dispositivos móviles, menor de 768px de ancho) */
@media only screen and (max-width: 767px) {
    .course-includes {
        margin-top: -200px !important; /* Quitar el margen en dispositivos más pequeños */
    }
}


.course-includes h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.course-includes ul {
    list-style-type: disc;
    margin-left: 20px;
    text-align: left;
    display: inline-block;
    font-size: 1.2em; /* Ensure the font size is the same as outside the bullets */
    color: #38495B; /* Ensure the color is the same as outside the bullets */
    font-family: Arial, sans-serif; /* Ensure the font family is the same as outside the bullets */
}

.course-includes p {
    text-align: left;
    font-size: 1.2em;
    margin: 10px 10px 10px 40px;
    max-width: 60%;
}

.course-includes .cta-button {
    margin-top: 20px;
}

/* Call to action section styles */
.cta-section {
    background-color: #38495B; /* Color primario */
    color: #fff;
    padding: 40px 20px;
    text-align: center; /* Center align text */
}

.cta-section .cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cta-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.cta-section .cta-button {
    background-color: #fff;
    color: #38495B; /* Color primario */
}

.cta-section .cta-button:hover {
    background-color: #D9D9D9; /* Color secundario */
}

/* FAQ section styles */
.faq {
    background-color: #fff;
    color: #38495B; /* Color primario */
    text-align: left;
    padding: 60px 20px;
}

.faq h2 {
    font-size: 3em;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.faq-item {
    margin: 20px 0;
}

.accordion {
    background-color: #38495B; /* Color primario */
    color: #fff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion:hover,
.accordion.active {
    background-color: #2C3E50; /* Slightly darker shade for hover */
}

.panel {
    padding: 0 15px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.panel p {
    font-size: 1.2em;
    margin: 15px 0;
}

/* Pricing section styles */
.pricing {
    background-color: #38495B; /* Color primario */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.pricing-title {
    font-size: 3em;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns layout */
    gap: 40px;
    padding: 20px;
}

.price-box {
    background: #fff;
    color: #38495B; /* Color primario */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease-in-out forwards;
}

.price-box h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.price-box p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.price-box ul {
    padding-left: 20px;
    font-size: 1.2em; /* Ensure the font size is the same as outside the bullets */
    color: #38495B; /* Ensure the color is the same as outside the bullets */
    font-family: Arial, sans-serif; /* Ensure the font family is the same as outside the bullets */
}

.price-box ul li {
    list-style-type: disc;
}

.price-box .important-info {
    margin-top: 20px;
}

.price-box .cta-button {
    display: inline-block;
    margin-top: 20px;
}

/* Footer styles */
footer {
    background: #38495B; /* Color primario */
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive styles */
@media (max-width: 720px) {
    .class-grid, .price-grid {
        grid-template-columns: 1fr; /* One column layout for mobile */
    }

    .community-content {
        flex-direction: column;
    }

    .community-image {
        margin-top: 20px;
    }

    .parallax-section {
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .cta-section {
        padding: 0px 20px 20px 20px; /* Increased padding for mobile */
    }
    .cta-section h2 {
        padding: 10px 0px 10px 0px;
        margin: 10px 0px 10px 0px; /* Increased padding for mobile */
    }
    .course-includes{
        padding: 220px 20px 60px 20px; /* Increased padding for mobile */
    }

    .course-details p {
        max-width: 90%; /* Limit paragraph width to 90% of the screen on mobile */
    }
    .faq h2 {
        margin: 0px;
    }
    h2.pricing-title {
        margin: 0px;
    }
    .course-content h2 {
        margin: 0px;
        padding: 0px;
    }
    .course-includes p {
        max-width: 100%;
    }
}
.cursissva{
    list-style-type: circle;
    font-style: italic; /* Añade cursiva al texto dentro de las subviñetas */
}
/* Button hover animation */
.cta-button.hovered {
    animation: pulse 0.3s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

