


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    background: linear-gradient(135deg, #2d6a8f 0%, #1e4a5f 100%);
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(232, 244, 248, 0.3), transparent);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
    filter: blur(5px);
}

.hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1rem;
    z-index: 1;
}

.hero-image-left {
    flex: 1;
    max-width: 500px;
    width: 100%;
    display: block;
}

.hero-image-left img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #4a9bc4;
}

.hero-content {
    flex: 1;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(30, 74, 95, 0.85);
    border-radius: 20px;
    border: 3px solid #4a9bc4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
}

.hero-content.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e8f4f8;
    line-height: 1.8;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4a9bc4 0%, #2d6a8f 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #6bb3d4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    background: linear-gradient(135deg, #5bb3d4 0%, #3d7a9f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}


.section {
    padding: 3rem 1rem;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a9bc4, transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    color: #1e4a5f;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4a9bc4, transparent);
}

.section-title.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-content {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    color: #2d6a8f;
    font-size: 1.1rem;
}

.section-content.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}


.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9bc4, #2d6a8f);
}

.card.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #4a9bc4;
}

.card-image {
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #1e4a5f;
}

.card p {
    line-height: 1.6;
    color: #2d6a8f;
}


.beneficios {
    background: linear-gradient(180deg, #e8f4f8 0%, #d4e8f0 100%);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.beneficio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.beneficio-item.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: #4a9bc4;
}

.beneficio-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a9bc4 0%, #2d6a8f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(74, 155, 196, 0.4);
}

.beneficio-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #1e4a5f;
}

.beneficio-item p {
    line-height: 1.6;
    color: #2d6a8f;
}


.actividades-mensuales {
    background: linear-gradient(180deg, #d4e8f0 0%, #e8f4f8 100%);
}

.actividades-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.actividades-text {
    opacity: 0;
    transform: translateY(20px);
    color: #2d6a8f;
    font-size: 1.1rem;
    line-height: 1.8;
}

.actividades-text.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.actividades-image {
    opacity: 0;
    transform: translateY(30px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #4a9bc4;
}

.actividades-image.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.actividades-image img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4a9bc4, #2d6a8f);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.slide-up-visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a9bc4 0%, #2d6a8f 100%);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #4a9bc4;
}

.timeline-content {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #d4e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1e4a5f;
}

.timeline-content p {
    line-height: 1.6;
    color: #2d6a8f;
}


.comunidad {
    background: linear-gradient(180deg, #e8f4f8 0%, #d4e8f0 100%);
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    border: 2px solid #d4e8f0;
    border-left: 5px solid #4a9bc4;
    transition: all 0.3s ease;
}

.testimonial-card.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
    color: #2d6a8f;
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
    color: #1e4a5f;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
    }

    .hero-image-left {
        display: block;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actividades-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (min-width: 1024px) {
    .hero-container {
        padding: 3rem 2rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section {
        padding: 5rem 1rem;
    }

    .beneficios-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .card-image {
        height: 250px;
    }
}
