/* Estilos Generales */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ffde59;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.top-bar {
    height: 40px; /* Altura del contenedor vacío */
    background-color: #930303; /* Fondo transparente o personalizado */
}

/* Estilos para los iconos */
.nav-link i {
    font-size: 1.1rem; /* Tamaño de los iconos */
    vertical-align: middle; /* Alineación vertical */
}

/* Espaciado entre elementos del menú */
.navbar-nav .nav-item {
    margin-left: 10px;
}

/* Estilos para el logo */


header {
    padding: 0px 0;
}

.navbar {
    padding: 0 5px;
    background-color: red;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #fff !important;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffde59;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffde59 !important;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 80%;
}


section {
    padding: 0px 0px;
}

section.bg-light {
    background-color: #f8f9fa;
}

section img {
    max-width: 100%;
}

#carousel-principal {
    padding-top: 200px;
}

#carousel-principal .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: fadeIn 0.8s ease-in-out;
}

#carousel-principal .carousel-item.active {
    animation: slideInFromRight 0.8s ease-in-out;
}

/* Desactivar animaciones para el carrusel de marcas */
#carousel .carousel-item,
#carousel .carousel-item img {
    animation: none !important;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}





.svg-responsive {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.carousel-item:hover .svg-responsive {
    transform: scale(1.02);
}

.mobile {
    display: none;
}
h1, h2 {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
}
#logo {
    max-height: 100px;
    height: auto;
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 222, 89, 0.5));
}

#logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 222, 89, 0.8));
}

.icon {
    max-height: 50px !important;
    height: auto;
    width: auto;
}

h2 {
    font-size: 2em;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-lg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-lg:hover::before {
    width: 300px;
    height: 300px;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card {
    margin-bottom: 20px;
    --bs-card-border-color: none;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}
div.ccard{
    margin-top: 25px;
}

div.ccardRose{
    margin-top: 25px;
    background-color: #fba0ae;
}

.image-box {
    position: relative;
    height: 600px; /* Puedes ajustar la altura */
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.overlay {
    position: absolute;
    bottom: 20px; /* Ajusta esta distancia desde el fondo */
    left: 50%;
    transform: translateX(-50%);
}

.image-box button {
    font-size: 16px;
    padding: 10px 20px;
}

div.prse {
    padding-left: 0px;
    padding-right: 0px;
}

footer {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: footerShine 3s ease-in-out infinite;
}

@keyframes footerShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

footer p {
    position: relative;
    z-index: 1;
    margin: 0;
    animation: fadeIn 1s ease;
}

.custom-icon {
    font-size: 50px;
    color: #007bff;
    padding: 0;
    margin: 0;
    transition: all 0.4s ease;
}

.icon-bounce:hover .custom-icon {
    animation: bounce 0.6s;
    color: #ff6b6b;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(-7px); }
    75% { transform: translateY(-15px); }
}

.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 20px;
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.7);
}

.text {
    padding: 10px;
    font-size: 14px;
}

.subtitle{
    color: #007bff;
    position: relative;
    display: inline-block;
}

.subtitle h2 {
    position: relative;
    padding-bottom: 15px;
}

.subtitle h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #ff6b6b);
    border-radius: 2px;
}
@media (min-width: 1920px) {
    h1 {
        font-size: 2.6em;
    }

    h2 {
        font-size: 2.2em;
    }

    .btn-lg {
        padding: 15px 45px;
        font-size: 22px;
    }
}


/* Media Queries */
@media (max-width: 360px) {
    #carousel {
        padding-top: 50px;
    }
    
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.25em;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 16px;
    }

 
}

@media (max-width: 375px) and (min-width: 361px) {
    #carousel {
        padding-top: 50px;
    }
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }



    .btn-lg {
        padding: 10px 25px;
        font-size: 16px;
    }

    #logo {
        max-height: 30px; /* Ajusta el tamaño máximo del logo */
        height: auto;
        width: auto;
    }
}

@media (max-width: 720px) and (min-width: 376px) {
    #carousel {
        padding-top: 50px;
    }
    
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.75em;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 18px;
    }

    #logo {
        max-height: 70px; /* Ajusta el tamaño máximo del logo */
        height: auto;
        width: auto;
    }

    .desktop {
        display: none; /* Ocultar versión de escritorio */
    }
    .mobile {
        display: block; /* Mostrar versión mobile */
    }

  
    
}

@media (max-width: 1440px) and (min-width: 721px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.85em;
    }

    .btn-lg {
        padding: 12px 35px;
        font-size: 18px;
    }
}

@media (max-width: 1366px) and (min-width: 1441px) {
    h1 {
        font-size: 2.4em;
    }

    h2 {
        font-size: 2em;
    }

    .btn-lg {
        padding: 14px 40px;
        font-size: 20px;
    }
}

/* ========== ANIMACIONES Y EFECTOS MODERNOS ========== */

/* Pulse Button Animation */
.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Offer Cards */
.offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.offer-card:hover::before {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.offer-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.offer-card img {
    transition: all 0.4s ease;
}

.offer-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(255, 107, 107, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.product-card img {
    transition: all 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.15);
}

/* Health Cards */
.health-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.health-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.health-card:hover::before {
    width: 500px;
    height: 500px;
}

.health-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.health-card img {
    transition: all 0.5s ease;
}

.health-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.2) brightness(1.05);
}

/* Benefit Cards */
.benefit-card {
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.benefit-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    background: linear-gradient(145deg, #ffffff, #e8f4ff);
}

.card-img-wrapper {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.card-img-wrapper::after {
    content: '👁️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.7);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.benefit-card:hover .card-img-wrapper::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.benefit-card .card-title {
    color: #007bff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.benefit-card:hover .card-title {
    color: #ff6b6b;
    transform: scale(1.05);
}

/* Contact Card */
.contact-card {
    border-radius: 25px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.contact-card:hover {
    transform: scale(1.02);
    border-color: #007bff;
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.2);
}

.form-group-animated input,
.form-group-animated .form-control {
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.form-group-animated input:focus,
.form-group-animated .form-control:focus {
    transform: scale(1.02);
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.submit-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover::before {
    width: 400px;
    height: 400px;
}

.submit-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

/* Carousel Indicators Animation */
.carousel-indicators button {
    transition: all 0.3s ease;
}

.carousel-indicators button:hover {
    transform: scale(1.3);
}

.carousel-indicators button.active {
    transform: scale(1.2);
}

/* Brand Images Animation */
#carousel.carousel {
    padding: 30px 0;
    min-height: 250px;
    position: relative;
}

#carousel .carousel-inner {
    padding: 20px 0;
}

#carousel .carousel-item {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#carousel .carousel-item.active {
    display: flex !important;
}

#carousel .carousel-item .row {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carousel .carousel-item .col-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

#carousel .carousel-control-prev,
#carousel .carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

#carousel .carousel-control-prev:hover,
#carousel .carousel-control-next:hover {
    opacity: 1;
}

#carousel .carousel-control-prev-icon,
#carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
    transition: all 0.3s ease;
}

#carousel .carousel-control-prev-icon:hover,
#carousel .carousel-control-next-icon:hover {
    background-color: rgba(0, 123, 255, 0.8);
}

#carousel .carousel-indicators button {
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.4);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#carousel .carousel-indicators button.active {
    background-color: #007bff;
    border-color: #007bff;
    transform: scale(1.3);
}

#carousel .carousel-indicators button:hover {
    background-color: rgba(0, 123, 255, 0.6);
}

.img-bn-m {
    width: 100%;
    height: auto;
    max-height: 120px;
    min-height: 60px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(50%) brightness(1);
    opacity: 0.85 !important;
    padding: 5px;
    display: block !important;
    visibility: visible !important;
    position: relative;
    transform: none;
}

.img-bn-m:hover {
    transform: scale(1.2) !important;
    filter: grayscale(0%) brightness(1.1);
    opacity: 1 !important;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Gradient Text Animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Backgrounds */
section {
    transition: all 0.3s ease;
}

/* Smooth transitions for all elements */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RIPPLE EFFECT STYLES ========== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========== SHAKE ANIMATION ========== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* ========== FOCUSED FORM GROUP ========== */
.focused label {
    color: #007bff;
    font-weight: bold;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* ========== FADE IN EFFECT ========== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

/* ========== LOADING SPINNER ========== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* ========== GRADIENT BORDER ANIMATION ========== */
@keyframes gradient-border {
    0% {
        border-image-source: linear-gradient(45deg, #007bff, #ff6b6b);
    }
    50% {
        border-image-source: linear-gradient(45deg, #ff6b6b, #ffde59);
    }
    100% {
        border-image-source: linear-gradient(45deg, #ffde59, #007bff);
    }
}

/* ========== HOVER GLOW EFFECT ========== */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6),
                0 0 40px rgba(0, 123, 255, 0.4),
                0 0 60px rgba(0, 123, 255, 0.2);
}

/* ========== TEXT GRADIENT EFFECT ========== */
.text-gradient {
    background: linear-gradient(135deg, #007bff, #ff6b6b, #ffde59);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

/* ========== CARD FLIP EFFECT ========== */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* ========== UNDERLINE ANIMATION ========== */
.underline-animation {
    position: relative;
    display: inline-block;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.underline-animation:hover::after {
    width: 100%;
}

/* ========== MOBILE RESPONSIVE ANIMATIONS ========== */
@media (max-width: 768px) {
    .pulse-button {
        animation-duration: 1.5s;
    }
    
    .offer-card:hover,
    .product-card:hover,
    .health-card:hover {
        transform: scale(1.02);
    }
    
    .benefit-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-box:hover {
        transform: translateY(-5px);
    }
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}