* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #000000, #001a0f, #003d1f, #00a651);
    color: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

header nav a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

header nav a:hover {
    color: #00ff88;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.carousel {
    width: 90%;
    max-width: 1000px;
    position: relative;
    background-image: url("./dolar.jpg");
    backdrop-filter: blur(8px);
}

.slide {
    display: none;
    text-align: center;
    animation: fadeSlide 1s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.content h1 {
    font-size: 3rem;
    color: #09140b;
}

.content p {
    margin: 15px 0;
    color: #09140b;
}

.content button {
    padding: 12px 25px;
    border: none;
    background: #00c853;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.content button:hover {
    background: #00ff88;
}

/* CONTROLES */
.controls span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    color: #17381d;
}

.prev { left: 0; }
.next { right: 0; }

.dots {
    text-align: center;
    margin-top: 20px;
}

.dots span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
}

.dots .active-dot {
    background: #00ff88;
}

/* BENEFICIOS */
.beneficios {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    width: 250px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* SIMULADOR */
.simulador {
    padding: 80px 20px;
    text-align: center;
}

.sim-card {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    margin: auto;
}

.sim-card input,
.sim-card select {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    border: none;
}

.sim-card button {
    width: 100%;
    padding: 12px;
    background: #00c853;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.resultado {
    margin-top: 20px;
    font-weight: bold;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.8);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    .content h1 {
        font-size: 2rem;
    }
}

/* FOOTER SOCIAL */
footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0,0,0,0.85);
}

.social {
    margin-bottom: 20px;
}

.social a {
    display: inline-block;
    margin: 0 12px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #00ff88;
    font-size: 18px;
    transition: 0.3s ease;
}

.social a:hover {
    background: #00ff88;
    color: black;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 15px #00ff88;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #00c853;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #00ff88;
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ff88;
}

/* Animación pulso */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Responsive */
@media(max-width: 768px){
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        line-height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* SOBRE NOSOTROS */
.sobre-nosotros {
    padding: 80px 20px;
    background: linear-gradient(135deg, #000000, #001a0f, #003d1f, #00a651);
    color: white;
    text-align: center;
}

.sobre-nosotros .container {
    max-width: 1100px;
    margin: auto;
}

.sobre-nosotros h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sobre-nosotros .descripcion {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Misión y Visión */
.mision-vision {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.mv-card {
    background: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-radius: 15px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.mv-card i {
    font-size: 40px;
    color: #00ff88;
    margin-bottom: 15px;
}

.mv-card h3 {
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0ffe0;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,255,136,0.3);
}

/* TESTIMONIOS */
.testimonios {
    max-width: 900px;
    margin: auto;
}

.testimonios h3 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
    font-style: italic;
    animation: fadeSlide 1s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-slide h4 {
    font-size: 1rem;
    color: #00ff88;
}

.testimonial-controls span {
    font-size: 30px;
    cursor: pointer;
    margin: 0 15px;
    color: #00ff88;
}

.testimonial-controls {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dots {
    text-align: center;
    margin-top: 15px;
}

.testimonial-dots span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
}

.testimonial-dots .active-dot {
    background: #00ff88;
}

/* Fade animation */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll fade-in */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media(max-width: 768px){
    .mision-vision { flex-direction: column; }
    .mv-card { width: 90%; margin: auto; margin-bottom: 20px; }
}
