* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #6436ff;
    color: white;
    text-align: center;
}

/* Fondo animado */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff36a3;
}

/* Ajuste para que los títulos no queden ocultos detrás del navbar */
section {
    padding: 100px 10%;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    scroll-margin-top: 100px; /* Esto evita que el navbar tape los títulos */
}

/* Asegurar que el primer título también se vea correctamente */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
    padding: 20px;
    margin-top: 80px;
}

h1, h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Botones con mejor estilo */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff36a3, #ff0077);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(255, 0, 119, 0.4);
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(255, 0, 119, 0.6);
}

/* Testimonios mejor alineados */
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60%;
    margin: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.testimonial {
    display: none;
    font-size: 1.5rem;
    animation: fadeIn 1.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.testimonial span {
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: bold;
    color: #ff36a3;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Footer con más espaciado */
footer {
    margin-top: 50px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}
