:root {
    --primary-turquoise: #4ECDC4;
    --secondary-turquoise: #A8E6CF;
    --accent-pink: #FF6B9D;
    --dark-teal: #2C5F5D;
    --light-mint: #B8F2E6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, var(--primary-turquoise), var(--secondary-turquoise), var(--light-mint));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: linear-gradient(45deg, var(--primary-turquoise), var(--secondary-turquoise), var(--light-mint));
    opacity: 0.45;
    z-index: -2;
    pointer-events: none;
}
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: white;
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: linear-gradient(45deg, var(--primary-turquoise), var(--secondary-turquoise), var(--light-mint));
    opacity: 0.4; /* Ajusta la opacidad aquí */
    z-index: -2;
    pointer-events: none;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating dots animation */
.floating-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Header Styles */
.navbar {
    background: rgba(44, 95, 93, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Tenor Sans', serif;
    font-size: 1.5rem;
    color: var(--primary-turquoise) !important;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: var(--light-mint) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-turquoise) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: none;
    width: 25px;
    height: 25px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    background: var(--primary-turquoise);
    height: 3px;
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* coach profesional */
/* Header section */
.header-section {
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-family: 'Tenor Sans', serif;
    font-size: 3.5rem;
    color: var(--dark-teal);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.4rem;
    color: var(--dark-teal);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Cards section */
.courses-section {
    padding: 60px 0;
}

.course-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    /* height: 200px; */
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-family: 'Tenor Sans', serif;
    font-size: 1.4rem;
    color: var(--dark-teal);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-text {
    color: var(--dark-teal);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-inscribirse {
    background: linear-gradient(45deg, var(--accent-pink), #FF8FB1);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.btn-inscribirse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    background: linear-gradient(45deg, #FF8FB1, var(--accent-pink));
    color: white;
}

/* fin coach */



/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 10px; /* Menos espacio abajo */
    margin-bottom: 0;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container {
    margin-bottom: 30px;
}

/* .logo-placeholder {
    width: 120px;
    height: 120px;
    background: var(--dark-teal);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
} */

/* .logo-placeholder i {
    font-size: 50px;
    color: var(--primary-turquoise);
} */
.logo-placeholder img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.typewriter {
    font-family: 'Tenor Sans', serif;
    font-size: 3.5rem;
    color: var(--dark-teal);
    margin-bottom: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-text {
    border-right: 3px solid var(--accent-pink);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        border-color: var(--accent-pink);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--dark-teal);
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-author {
    font-size: 1.2rem;
    color: var(--accent-pink);
    font-weight: 600;
}

/* Carousel Styles */
.carousel-section {
    background: rgba(255, 255, 255, 0.05);
}

.carousel-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.carousel-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
    /* height: 400px; */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(44, 95, 93, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators button {
    background-color: var(--accent-pink);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

/* Footer */
footer {
    background: var(--dark-teal);
    padding: 50px 0 30px;
    margin-top: 100px;
}

.social-links a {
    color: var(--primary-turquoise);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
}

/* Back button */
.back-btn {
    position: fixed;
    top: 100px;
    left: 20px;
    background: rgba(44, 95, 93, 0.9);
    color: var(--primary-turquoise);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: var(--dark-teal);
    color: var(--accent-pink);
    transform: scale(1.1);
}

.social-links a:hover {
    color: var(--accent-pink);
    transform: translateY(-3px);
}

.footer-text {
    color: var(--light-mint);
    text-align: center;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
}
.footer-text .github-icon {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    filter: brightness(0) invert(1);
    max-width: 22px;
    max-height: 22px;
}
@media (max-width: 576px) {
    body::before, body::after {
        width: 100vw;
        height: 100vh;
        background: linear-gradient(45deg, var(--primary-turquoise), var(--secondary-turquoise), var(--light-mint));
        opacity: 0.45;
    }
    .footer-text .github-icon {
        width: 16px;
        height: 16px;
        max-width: 16px;
        max-height: 16px;
        margin-right: 4px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .typewriter {
        font-size: 2.5rem;
        height: 80px;
    }

    .hero-section {
        padding: 30px 0 15px; /* Menos espacio arriba y abajo en móvil */
    }

    .hero-content {
        padding: 30px 10px;
        margin: 0 10px;
    }

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

    .carousel-item img {
        height: 180px;
    }

    .page-title {
        font-size: 2.5rem;
    }

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

    .back-btn {
        left: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .typewriter {
        font-size: 2rem;
        height: 60px;
    }

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

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

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

    .header-section {
        padding: 100px 0 40px;
    }
}