body {

    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;

    color: #2b2d42;

    line-height: 1.6;

    overflow-x: hidden;

}





/* video modal de buscar opec */

#openModal {

    text-decoration: none;

    font-size: 20px;

    color: #007BFF;

    cursor: pointer;

}



#videoModal {

    display: none; 

    position: fixed;

    z-index: 1; 

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.5); 

    overflow: auto;

    padding-top: 50px;

}



.modal-content {

    background-color: #fff;

    margin: auto;

    padding: 20px;

    border: 1px solid #888;

    width: 80%;

    max-width: 800px;

    border-radius: 15px;

}



iframe {

    width: 100%;

    height: 450px;

    border-radius: 15px;

}



.close-btn {

    color: #aaa;

    float: right;

    font-size: 28px;

    font-weight: bold;

    cursor: pointer;

}



.close-btn:hover,

.close-btn:focus {

    color: black;

    text-decoration: none;

}

/* fin de video modal de buscar opec */













/* Hero Section - Versión Optimizada */

.hero-section {

    position: relative;

    padding: 5rem 0;

    min-height: 80vh;

    display: flex;

    align-items: center;

    color: #fff;

    overflow: hidden;

    background: linear-gradient(135deg, rgba(43, 45, 66, 0.85), rgba(6, 6, 6, 0.92)), 

                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;

    will-change: transform;

}



.hero-content {

    position: relative;

    z-index: 1;

}



/* Optimización de Tipografía */

.main-title {

    font-size: clamp(1.8rem, 4vw, 2.8rem);

    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 1.5rem;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

}



.lead-text {

    font-size: clamp(1rem, 2vw, 1.4rem);

    color: rgba(255, 255, 255, 0.9);

    margin-bottom: 2rem;

}



/* Video Container Optimizado */

.video-container {

    width: 100%;

    max-width: 600px;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

    background: #000;

    margin: 0 auto;

    aspect-ratio: 16/9;

    transform-style: preserve-3d;

    backface-visibility: hidden;

}



@media (min-width: 992px) {

    .video-container {

        transform: perspective(1000px) rotateY(-5deg);

        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    }



    .video-container:hover {

        transform: perspective(1000px) rotateY(0);

        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);

    }

}



.video-overlay {

    position: relative;

    padding-bottom: 56.25%;

}



.video-overlay iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: 0;

}



/* Security Badge Optimizado */

.security-badge {

    display: inline-flex;

    align-items: center;

    background: rgba(255, 255, 255, 0.15);

    padding: 0.6rem 1.2rem;

    border-radius: 50px;

    margin: 0 1rem 1rem 0;

    font-size: 0.9rem;

    font-weight: 600;

    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.2);

    transition: transform 0.2s ease;

    will-change: transform;

    backdrop-filter: blur(5px);

}



.security-badge i {

    margin-right: 0.5rem;

    color: #4cc9f0;

}



/* Media Queries Optimizadas */

@media (max-width: 767px) {

    .hero-section {

        padding: 3rem 0;

        min-height: 70vh;

    }

    

    .security-badge {

        padding: 0.4rem 0.8rem;

        font-size: 0.75rem;

        margin: 0 0.5rem 0.5rem 0;

    }

    

    .security-badge i {

        font-size: 0.7rem;

        margin-right: 0.3rem;

    }

    

    .badge-container {

        margin-top: 1.5rem;

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 0.5rem;

    }

}



@media (max-width: 375px) {

    .security-badge {

        padding: 0.3rem 0.6rem;

        font-size: 0.65rem;

    }

}

.floating-whatsapp {

    position: fixed;

    bottom: 1.5rem;

    right: 1.5rem;

    width: 56px;

    height: 56px;

    background-color: #25D366;

    color: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);

    z-index: 1000;

    transition: all 0.3s ease;

    text-decoration: none !important;

    border: none;

    outline: none;

    line-height: 1;

}



.floating-whatsapp::before,

.floating-whatsapp::after {

    content: none !important;

}



.floating-whatsapp:hover {

    transform: scale(1.1);

    color: white;

    text-decoration: none;

    background-color: #128C7E;

}



@keyframes pulse {

    0% {

        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);

    }



    70% {

        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);

    }



    100% {

        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);

    }

}



@media (max-width: 576px) {

    .floating-whatsapp {

        width: 50px;

        height: 50px;

        font-size: 1.3rem;

        bottom: 1rem;

        right: 1rem;

    }

}



/*Section de cursos con el selector*/

:root {

    --primary-dian: #000000;

    --accent-dian: #f8b739;

    --dark-dian: #1a2a36;

    --light-dian: #f8f9fa;

    --gradient-dian: linear-gradient(135deg, var(--primary-dian) 0%, #24282c 100%);

    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);

    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);

    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

}



* {

    box-sizing: border-box;

    transition: all 0.3s ease;

}



body {

    font-family: 'Montserrat', sans-serif;

    background-color: #f5f7fa;

    color: var(--dark-dian);

    line-height: 1.6;

    margin: 0;

    padding: 0;

}



/* Componente Tarjeta */

.dian-card {

    background: white;

    border-radius: 16px;

    box-shadow: var(--shadow-lg);

    border: none;

    overflow: hidden;

    margin-bottom: 2rem;

    position: relative;

    z-index: 1;

}



.dian-card::before {

    content: '';

    position: absolute;

    top: 0;

    right: 0;

    width: 120px;

    height: 120px;

    background: radial-gradient(circle, rgba(248, 183, 57, 0.1) 0%, rgba(248, 183, 57, 0) 70%);

    z-index: -1;

}



/* Encabezado */

.card-header {

    background: var(--gradient-dian);

    color: white;

    padding: 1.5rem;

    border-bottom: none;

    position: relative;

    overflow: hidden;

}



.card-header::after {

    content: '';

    position: absolute;

    bottom: -20px;

    left: 0;

    width: 100%;

    height: 40px;

    background: white;

    transform: skewY(-2deg);

    z-index: 1;

}



.card-header h2 {

    font-weight: 700;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    margin: 0;

}



/* Componentes de formulario */

.search-container {

    position: relative;

    margin-bottom: 1.5rem;

}



.search-icon {

    position: absolute;

    left: 20px;

    top: 16px;

    color: var(--primary-dian);

    z-index: 2;

}



#searchInput {

    width: 100%;

    padding: 15px 20px 15px 50px;

    border-radius: 50px;

    border: 2px solid #e0e8f0;

    font-size: 1rem;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s;

    background-color: white;

}



#courseSelect {

    width: 100%;

    padding: 15px 20px 15px 50px;

    padding-right: 40px;

    border-radius: 50px;

    border: 2px solid #e0e8f0;

    font-size: 1rem;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s;

    background-color: white;

    appearance: none;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004884'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");

    background-repeat: no-repeat;

    background-position: right 15px center;

    background-size: 16px 12px;

    cursor: pointer;

}



#searchInput:focus,

#courseSelect:focus {

    border-color: var(--accent-dian);

    box-shadow: 0 4px 15px rgba(248, 183, 57, 0.2);

    outline: none;

}



.selector-container {

    position: relative;

}



.selector-container::after {

    display: none;

}



@media (max-width: 768px) {

    #courseSelect {

        padding: 12px 15px 12px 45px;

        padding-right: 35px;

        font-size: 0.95rem;

        background-position: right 12px center;

        background-size: 14px 10px;

    }

}





/* Sugerencias de búsqueda */

.suggestions-container {

    position: absolute;

    width: 100%;

    max-height: 300px;

    overflow-y: auto;

    background: white;

    border-radius: 0 0 15px 15px;

    box-shadow: var(--shadow-lg);

    z-index: 1000;

    display: none;

    margin-top: -5px;

}



.suggestion-item {

    padding: 15px 20px;

    border-bottom: 1px solid #f0f4f8;

    cursor: pointer;

    transition: background-color 0.2s;

}



.suggestion-item:hover {

    background-color: #f8fafc;

}



.suggestion-item .course-title {

    font-weight: 600;

    color: var(--primary-dian);

    margin-bottom: 5px;

}



.suggestion-item .matched-text {

    font-size: 0.85rem;

    color: #6c757d;

}





/* Detalles del curso */

.course-details {

    display: none;

    padding: 2rem;

    animation: fadeInUp 0.5s;

}



@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.course-header {

    margin-bottom: 1.5rem;

    position: relative;

}



.badge-premium {

    background-color: var(--accent-dian);

    color: var(--dark-dian);

    font-weight: 700;

    padding: 8px 15px;

    border-radius: 50px;

    font-size: 0.8rem;

    letter-spacing: 0.5px;

    display: inline-block;

    margin-bottom: 15px;

    box-shadow: 0 2px 5px rgba(248, 183, 57, 0.3);

}



#courseTitle {

    font-weight: 700;

    color: var(--dark-dian);

    margin-bottom: 0.5rem;

    font-size: 1.5rem;

}



#courseInstructor {

    color: #6c757d;

    font-size: 0.95rem;

    margin-bottom: 1rem;

}



.price-container {

    background: linear-gradient(to right, #f9fafb, #ffffff);

    padding: 15px;

    border-radius: 10px;

    border: 1px solid #e0e8f0;

    margin-bottom: 1.5rem;

}



.current-price {

    font-size: 1.8rem;

    font-weight: 700;

    color: var(--primary-dian);

    line-height: 1;

}



.old-price {

    text-decoration: line-through;

    color: #6c757d;

    font-size: 1.1rem;

}



.discount-badge {

    background-color: #ff0000;

    color: white;

    padding: 3px 8px;

    border-radius: 4px;

    font-size: 1rem;

    font-weight: 600;

    display: inline-block;

    margin-left: 8px;

}





/* Acordeón de módulos */

.accordion-modules {

    margin-bottom: 2rem;

}



.accordion-modules .accordion-item {

    border: none;

    border-radius: 10px !important;

    overflow: hidden;

    margin-bottom: 15px;

    box-shadow: var(--shadow-sm);

}



.accordion-modules .accordion-button {

    background-color: #f8fafc;

    font-weight: 600;

    padding: 1rem 1.25rem;

    box-shadow: none;

    color: var(--primary-dian);

}



.accordion-modules .accordion-button:not(.collapsed) {

    background-color: #f1f8ff;

    color: var(--primary-dian);

}



.accordion-modules .accordion-body {

    padding: 0;

}



#modulesAccordion {

    border-radius: 8px;

}



#modulesAccordion .module-item {

    border: 1px solid #e0e8f0;

    border-radius: 8px;

    margin-bottom: 10px;

    overflow: hidden;

}



#modulesAccordion .module-header {

    background-color: white;

    font-weight: 500;

    padding: 0.75rem 1.25rem;

    display: flex;

    align-items: center;

}



#modulesAccordion .module-header .badge {

    font-size: 0.75rem;

    font-weight: 500;

    margin-left: auto;

}



#modulesAccordion .accordion-body {

    padding: 1rem 1.25rem;

    background-color: #fcfdfe;

}



.module-content {

    display: flex;

    align-items: flex-start;

}



.module-icon {

    color: var(--accent-dian);

    margin-right: 12px;

    font-size: 1.1rem;

    flex-shrink: 0;

}



.module-text {

    flex: 1;

}



.module-content-badges {

    margin-top: 12px;

}



.module-content-badges .badge {

    background-color: #e9f5ff;

    color: var(--primary-dian);

    font-weight: 500;

    margin-right: 8px;

    margin-bottom: 8px;

    padding: 5px 10px;

}



.btn-dian {

    background-color: var(--accent-dian);

    color: var(--dark-dian);

    font-weight: 700;

    padding: 12px 30px;

    border-radius: 50px;

    border: none;

    box-shadow: 0 4px 15px rgba(248, 183, 57, 0.3);

    text-transform: uppercase;

    letter-spacing: 0.5px;

    font-size: 0.9rem;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s;

    cursor: pointer;

}



.btn-dian:hover {

    background-color: #e0a62e;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(248, 183, 57, 0.4);

}



.btn-dian i {

    margin-right: 8px;

}



.hover-effect:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-lg);

}



@keyframes pulse {

    0% {

        transform: scale(1);

    }



    50% {

        transform: scale(1.03);

    }



    100% {

        transform: scale(1);

    }

}



.pulse-effect:hover {

    animation: pulse 1.5s infinite;

}



@media (max-width: 768px) {

    .dian-card {

        border-radius: 0;

        margin-bottom: 0;

        box-shadow: none;

    }



    .card-header {

        padding: 1.2rem;

    }



    .card-header h2 {

        font-size: 1.4rem;

    }



    .card-header::after {

        height: 30px;

        bottom: -15px;

    }



    #searchInput,

    #courseSelect {

        padding: 12px 15px 12px 45px;

        font-size: 0.95rem;

    }



    .search-icon {

        left: 15px;

        top: 13px;

        font-size: 0.9rem;

    }



    .course-details {

        padding: 1.5rem;

    }



    #courseTitle {

        font-size: 1.3rem;

    }



    .price-container {

        padding: 12px;

    }



    .current-price {

        font-size: 1.5rem;

    }



    .btn-dian {

        width: 100%;

        padding: 15px;

    }



    .suggestions-container {

        max-height: 60vh;

    }



    .accordion-modules .accordion-button,

    #modulesAccordion .module-header {

        padding: 0.75rem 1rem;

        font-size: 0.95rem;

    }



    #modulesAccordion .accordion-body {

        padding: 0.75rem 1rem;

    }

}



@media (max-width: 576px) {

    .card-header {

        padding: 1rem;

    }



    .course-details {

        padding: 1rem;

    }



    .module-content-badges .badge {

        display: block;

        width: 100%;

        margin-right: 0;

        margin-bottom: 8px;

    }

}





/* Apartado de Reseñas */

.card {

    border-radius: .7rem;

}



/* Footer Premium */

footer {

    background-color: #ffffff;

    border-top: 1px solid rgba(0, 0, 0, 0.1);

    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

    transition: all 0.3s ease;

}



footer a {

    color: #333333;

    text-decoration: none;

    font-weight: 500;

    position: relative;

    transition: all 0.3s ease;

    padding: 5px 0;

}



footer a:hover {

    color: #004884;

}



footer a:after {

    content: '';

    position: absolute;

    width: 0;

    height: 2px;

    bottom: 0;

    left: 0;

    background-color: #004884;

    visibility: hidden;

    transition: all 0.3s ease-in-out;

}



footer a:hover:after {

    visibility: visible;

    width: 100%;

}



footer i {

    color: #004884;

    transition: transform 0.3s ease;

}



footer a:hover i {

    transform: translateX(3px);

}



footer .small {

    color: #004884;

    font-weight: 500;

    letter-spacing: 0.5px;

}



.list-inline-item:not(:last-child) {

    position: relative;

}



.list-inline-item:not(:last-child):after {

    content: '•';

    position: absolute;

    right: -20px;

    top: 50%;

    transform: translateY(-50%);

    color: rgba(0, 0, 0, 0.2);

}



.list-inline-item {

    transition: transform 0.3s ease;

}



.list-inline-item:hover {

    transform: translateY(-2px);

}



@media (max-width: 768px) {

    .list-inline-item {

        display: block;

        margin: 10px 0 !important;

    }

    

    .list-inline-item:after {

        display: none;

    }

    

    footer {

        padding: 30px 0 !important;

    }

    

    footer p {

        font-size: 0.9rem;

    }

}



@media (max-width: 991.98px) {

    .hero-section {

        padding: 3rem 0;

        min-height: auto;

        text-align: center;

    }



    .security-badge {

        display: inline-flex;

        margin: 0.5rem;

    }



    .video-container {

        margin-top: 2rem;

        max-width: 100%;

    }

}



@media (max-width: 575.98px) {

    .main-title {

        font-size: 1.6rem;

    }



    .lead-text {

        font-size: 1rem;

    }



    .floating-whatsapp {

        width: 50px;

        height: 50px;

        font-size: 1.3rem;

    }

}



/* Animaciones */

.animate__animated {

    animation-duration: 1s;

    animation-fill-mode: both;

}



.animate__fadeIn {

    animation-name: fadeIn;

}



.animate__fadeInUp {

    animation-name: fadeInUp;

}



.animate__delay-1s {

    animation-delay: 0.5s;

}



.animate__delay-3s {

    animation-delay: 1.5s;

}



@keyframes fadeIn {

    from {

        opacity: 0;

    }



    to {

        opacity: 1;

    }

}



@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}