:root {
    --primary-color: #ff6b8b;
    --secondary-color: #7c4dff;
    --accent-color: #ffcc80;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: #fffaf5;
    color: var(--dark-color);
}

nav{
    z-index: 10000!important;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    /* position: fixed; */
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.5rem;
}

.nav-link {
    color: white !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.flash-header {
    width: 100%;
    background-color: #008080;
    color:#FFFFFF;
    text-align: center;
    padding: 10px 0;
    z-index: 1050;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1604654894610-df63bc536371?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 134px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.box-video-hero-section{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.video-hero-section{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shadow-video-hero-section{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 5;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.swiper {
    width: 100%;
    height: 400px;
    margin-top: 50px;
}

.swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 390px;
    padding: 20px 0;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modules-section>div{
    margin-bottom: 30px;
}

.module-card {
    background: white;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.module-img {
    height: 200px;
    overflow: hidden;
}

.module-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-card:hover .module-img img {
    transform: scale(1.1);
}

.module-content {
    padding: 25px;
}

.module-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

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

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 107, 139, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 107, 139, 0.25);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 0;
    padding-bottom: 130px !important;
    text-align: center;
    font-size: 14px;
}

.footer a{
    color: rgba(255, 255, 255, .5)!important;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    padding-left: 5px;
    opacity: 0.8;
}

.social-links {
    font-size: 1.3rem;
}

.social-links a {
    color: white;
    margin-right: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-badge {
    background: linear-gradient(135deg, #ff6b8b, #ff8e53);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.bonus-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.bonus-img {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 139, 0.1), rgba(124, 77, 255, 0.1));
}

.bonus-img img {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.bonus-card:hover .bonus-img img {
    transform: scale(1.1);
}

.bonus-content {
    padding: 20px;
}

.bonus-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.sticky-bar.show {
    transform: translateY(0);
}


/* Subscribe Section */
.subscribe-section {
    padding: 80px 0;
}

.subscribe-box {
    background-color: #d2cff7;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.subscribe-seciton-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.subscribe-seciton-info h3{
    font-weight: bold;
    font-size: 1.7em;
    color: var(--primary-color);
}

.subscribe-seciton-info p{
    color: rgba(0,0,0,.5);
}

.form-control {
    height: 55px;
    border-radius: 30px;
    padding: 0 20px;
    font-size: 16px;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.last-bonus{
    display: flex;
    justify-content: center;
}

.collapse {
    visibility: visible!important;
}

.card-course-complete{
    position: relative;
}

.warranty{
    height: 150px;
    width: 150px;
    object-fit: contain;
    position: absolute;
    top: -39px;
    right: -59px;
}

/* Modal */
.modal-content {
    border-radius: 1rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.subscription-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.subscription-heading {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.subscription-text {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.8);
}

/* Animación personalizada para el modal */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-heading {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-text {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .swiper {
        height: 300px;
    }
}