/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Barra promocional superior */
.promo-bar {
    background-color: #28a745;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
   
    color: white;
    padding: 120px 0;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color:#ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('/views/assets/images/imgi_82_h-3-2.jpg') no-repeat center center/cover;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.hero-section .btn {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Ajustes para móviles */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.15rem;
    }
}

/* Sección de beneficios médicos */
.medical-benefits {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

.medical-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/views/assets/images/imgi_16_leaf-2-1.png') no-repeat left top/contain;
    opacity: 0.1;
    pointer-events: none;
}

/* Sección de testimonios */
.testimonials-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('/views/assets/images/imgi_18_natural-2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

/* Sección de oferta */
.offer-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
    url('/views/assets/images/imgi_28_05.jpg') no-repeat center center/cover;
    color: white;
    background-attachment: fixed;
    background-position: center 30%;
    padding: 80px 0;
}

/* Efecto de superposición para mejorar la legibilidad */
.offer-section h2,
.offer-section h3,
.offer-section p,
.offer-section li {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('/views/assets/images/imgi_13_leaf--right.png') no-repeat right center/contain;
    opacity: 0.1;
}

/* Ajustes de contraste para mejor legibilidad */
.card {
    background-color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .hero-section,
    .testimonials-section,
    .offer-section {
        background-attachment: scroll !important;
    }
    
    .hero-section {
        padding: 60px 0;
    }
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.hero-section h1 {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-section .lead {
    color: #ffffff;
    font-size: 1.25rem;
}

/* Sección de beneficios */
.benefits-section {
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1),rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3),rgba(255, 255, 255, 1)),url('/views/assets/images/imgi_68_accordion-2-2.jpg') no-repeat center center/cover;
    opacity: 1;
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefits-section .card {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
}

.benefits-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefits-section .card:hover {
    transform: translateY(-5px);
}

/* Testimonios */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonials-section .card {
    border-radius: 10px;
}



.offer-section h2 {
    color: #ffffff;
}

.offer-section .card {
    border-radius: 10px;
}

/* Botones */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
}
