:root {
    --color-yellow: #FFD923;
    --color-red: #FF0202;
    --color-dark: #2c1a1a;
    --color-cream: #fff9f0;
    --color-light-yellow: #fff0c1;
}

body.dark-mode {
    --color-cream: #1a1a1a; /* Dark background */
    --color-cream: #181a1b; /* Darker, more neutral background */
    --color-dark: #f0f0f0;  /* Light text */
    --color-dark: #e8e6e3;  /* Softer off-white text */
    --color-red: #ff4d4d;   /* Brighter red for contrast */
    --color-red: #e5484d;   /* Slightly desaturated red for better feel */
    --color-yellow: #f0c419; /* Deeper yellow for better contrast */

    /* Dark-mode specific variables */
    --color-surface-1: #242627; /* For cards and primary surfaces */
    --color-surface-2: #323537; /* For hovered surfaces or secondary elements */
    --color-border: #3c3f41;
    --color-text-secondary: #a0a0a0;
}

body.dark-mode {
    background-color: var(--color-cream);
    color: var(--color-dark);
}

body.dark-mode .navbar {
    background: rgba(24, 26, 27, 0.85); /* Use surface color with blur */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(255,255,255,0.05);
}

body.dark-mode .nav-links a {
    color: var(--color-dark);
}

body.dark-mode .animated-strip {
    background-color: #8b0000; /* Dark red for dark mode */
    /* Text color is handled by .scrolling-text using var(--color-dark) */
}

body.dark-mode .menu-item,
body.dark-mode .choose-card,
body.dark-mode .location-card,
body.dark-mode .order-platform {
    background: var(--color-surface-1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Dark mode: "Why Choose Us" icons. Change yellow to dark red for contrast. */
body.dark-mode .choose-card i {
    background: #8b0000; /* Dark red */
    color: var(--color-dark); /* Light icon color */
}

body.dark-mode .testimonial-card {
    background: var(--color-surface-2); /* Slightly lighter to stand out */
}

body.dark-mode .testimonial-card p,
body.dark-mode .client span {
    color: var(--color-text-secondary);
}

body.dark-mode .menu-info p,
body.dark-mode .special-item p,
body.dark-mode .about-text p,
body.dark-mode .order-platform p,
body.dark-mode .location-card p,
body.dark-mode .contact-info p,
body.dark-mode .about-subtitle {
    color: var(--color-text-secondary);
}

/* Dark mode: "Order Online" title color */
body.dark-mode .order-platform h3 {
    color: var(--color-dark); /* Título blanco por defecto */
}

/* Dark mode specific hover effects for Order Online section */
body.dark-mode .order-platform:hover h3,
body.dark-mode .order-platform:hover p {
    color: #181a1b; /* Dark text for high contrast on yellow hover background */
}

body.dark-mode .order-platform .order-buttons .btn:hover {
    background: #a30000; /* Dark red on hover */
    color: white;
    box-shadow: 0 5px 20px rgba(163, 0, 0, 0.4);
}

body.dark-mode .about,
body.dark-mode .special-section {
    background: #202223; /* A slightly different dark shade to break monotony */
}

body.dark-mode .special-note {
    background: rgba(240, 196, 25, 0.1); /* Yellow accent bg */
    border-left-color: var(--color-yellow);
    color: var(--color-dark);
}

body.dark-mode .section-title::after {
    background: var(--color-yellow);
}

body.dark-mode .has-rotating-bg {
    background: linear-gradient(to bottom, #5e0000, #8b0000); /* Darker red gradient */
}

body.dark-mode .contact-wrapper {
    background: var(--color-surface-1);
}

/* Dark mode: Fix for the locations section background */
body.dark-mode #locations {
    background: var(--color-cream); /* Replaces the light gradient with a solid dark color */
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: var(--color-cream);
    border-color: var(--color-border);
    color: var(--color-dark);
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: var(--color-yellow);
    background: var(--color-surface-1);
}

body.dark-mode footer {
    background-color: #111; /* Even darker for footer */
    background-image: none; /* Remove light pattern */
}

body.dark-mode .social-links a {
    background: rgba(255,255,255,0.08);
}

body.dark-mode .scroll-to-top {
    background-color: var(--color-red);
    color: var(--color-dark);
}

body.dark-mode .btn {
    color: #181a1b; /* Dark text for yellow buttons */
}

/* Fix for order buttons text color in dark mode */
body.dark-mode .order-buttons .btn {
    color: white;
}

body.dark-mode .carousel-btn {
    background: var(--color-yellow);
    color: #111; /* Icono oscuro para contraste */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body.dark-mode .carousel-btn:hover {
    background: var(--color-red);
    color: white;
}

body.dark-mode .carousel-btn:disabled {
    background: var(--color-surface-2);
    color: var(--color-text-secondary);
    opacity: 0.6;
}

/* Theme toggle button */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
    font-size: 1.3rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle .fa-sun {
    display: none;
}

body.dark-mode .theme-toggle .fa-moon {
    display: none;
}

body.dark-mode .theme-toggle .fa-sun {
    display: block;
    color: var(--color-yellow);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.lang-btn.active {
    border-color: var(--color-yellow);
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:root {
    --color-yellow: #FFD923;
    --color-red: #FF0202;
    --color-dark: #2c1a1a;
    --color-cream: #fff9f0;
    --color-light-yellow: #fff0c1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
}

/* ========== NAVBAR ORIGINAL (SIN CAMBIOS) ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
}

.nav-menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.logo img {
    height: 105px; /* Aumentado */
    width: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--color-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-dark);
}

.logo-mobile {
    display: none;
}

.mobile-menu-close {
    display: none; /* Oculta el botón de cierre en escritorio por defecto */
}

.btn {
    padding: 16px 40px;
    background: var(--color-yellow);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(255, 217, 35, 0.5);
    display: inline-block;
}

.btn:hover {
    background: var(--color-red);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 2, 2, 0.5);
}

/* Animación específica para los botones dentro del hero */
.hero .btn {
    animation: fadeInUp 1s ease 0.6s both;
}


/* ========== HERO RECONSTRUIDO (CSS) ========== */
.hero {
    height: 890px; /* Altura fija de 890px */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide.active img {
    animation: ken-burns 25s ease-in-out infinite alternate;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Start slightly zoomed in */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05); /* Overlay casi transparente (5%) */
    z-index: 1; /* Asegura que esté sobre las imágenes pero debajo del contenido */
}

@keyframes ken-burns {
    from {
        transform: scale(1.1) translate(0, 0);
    }
    to {
        transform: scale(1.2) translate(-3%, 2%);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    padding: 20px 5% 0; /* Añadida separación superior de 20px */
    width: 50%; /* Ocupa la mitad izquierda */
    max-width: 750px; /* Límite para que el texto no se extienda demasiado */
}

.hero-content {
    display: none; /* Oculta todos los textos por defecto */
}
.hero-content.active {
    display: block; /* Muestra solo el texto activo */
    animation: fadeIn 1s ease;
}
.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ========== CINTA AMARILLA ANIMADA DEBAJO DEL HERO ========== */
.animated-strip {
    background-color: var(--color-yellow);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap; /* Asegura que el texto esté en una sola línea */
    position: relative;
    z-index: 50; /* Para asegurar que esté por encima de otros elementos si hay solapamiento */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.scrolling-text {
    display: flex; /* Usamos flex para un control más predecible */
    font-size: 1.8rem; /* Ligeramente más pequeño */
    font-weight: 700;
    color: var(--color-dark);
    animation: scrollText 30s linear infinite; /* Duración ajustable */
    text-transform: uppercase; /* Pone el texto en mayúsculas */
}

.scrolling-text span {
    margin-right: 50px; /* Espacio entre las frases repetidas */
}

@keyframes scrollText {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Movemos la mitad de la longitud total para un bucle perfecto */
}

/* Responsive para la cinta animada */
@media (max-width: 768px) {
    .animated-strip { padding: 10px 0; }
    .scrolling-text {
        font-size: 1.3rem; /* Ligeramente más pequeño */
        animation: scrollText 20s linear infinite; /* Más rápido en pantallas pequeñas */
    }
}
@media (max-width: 576px) {
    .scrolling-text { font-size: 1.1rem; animation: scrollText 15s linear infinite; } /* Ligeramente más pequeño */
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    border: none;
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: var(--color-yellow);
    color: var(--color-dark);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 5%; /* No muy pegado al borde */
}

.hero-next {
    right: 5%; /* No muy pegado al borde */
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-arrow,
.hero-dots {
    /* Oculta los controles del slider para un look más limpio */
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive para el Hero */
@media (max-width: 768px) {
    .hero-content-wrapper {
        width: 100%; /* En móvil, el texto ocupa todo el ancho */
        max-width: none;
    }

    .slide img {
        object-position: left center; /* Alinea la imagen a la izquierda en móvil */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.3rem;
    }
    .animated-strip {
        padding: 10px 0;
    }
    .scrolling-text { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

        /* ========== SECCIONES GENERALES ========== */
        section {
            padding: 120px 5%;
            scroll-margin-top: 100px;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 60px;
            color: var(--color-red);
            position: relative;
            text-transform: uppercase;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: var(--color-yellow);
            margin: 20px auto 0;
            border-radius: 2px;
            box-shadow: 0 2px 10px rgba(255, 217, 35, 0.5);
            animation: pulse-underline 2.5s ease-in-out infinite;
        }

        .menu-item {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            height: auto;
            display: flex;
            height: 100%;
            flex-direction: column;
        }

        .menu-item:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .menu-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .menu-item:hover .menu-img {
            transform: scale(1.1);
        }

        .menu-info {
            padding: 30px;
            text-align: center;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .menu-info h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--color-red);
        }

        .menu-info p {
            color: #555;
            margin-bottom: 20px;
            font-size: 1rem;
            flex-grow: 1;
        }

        /* ========== WHAT MAKES US SPECIAL ========== */
        .special-section {
            background: linear-gradient(to right, rgba(255,250,240,0.8), rgba(255,245,230,0.8)), url('https://www.toptal.com/designers/subtlepatterns/uploads/mexican-pattern.png');
            background-size: 300px;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding: 120px 5%;
            animation: pan-pattern 30s linear infinite;
        }

        .special-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
        }

        .special-image img {
            width: 100%;
            border-radius: 20px;
        }

        .special-image.show {
            animation: float-loop 6s ease-in-out infinite;
        }

        .special-list {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .special-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .special-item svg {
            flex-shrink: 0;
            margin-top: 5px;
        }

        .special-item h3 {
            color: var(--color-red);
            margin-bottom: 8px;
            font-size: 1.8rem; /* Aumentado para más presencia */
        }

        .special-item p {
            font-size: 1.1rem; /* Tamaño consistente con otras secciones */
            color: #555;
        }

        .special-note {
            margin-top: 40px;
            padding: 25px;
            background: rgba(255, 217, 35, 0.2);
            border-radius: 15px;
            font-style: italic;
            font-weight: 500;
            color: var(--color-dark);
            border-left: 4px solid var(--color-yellow);
        }

        /* ========== TESTIMONIOS ========== */
        .testimonials-section {
            padding: 120px 5%;
        }

        .testimonial-card {
            background: rgba(255,255,255,0.9);
            padding: 40px;
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            background: rgba(255, 255, 255, 0.95); /* Ligeramente más opaco */
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .testimonial-card p {
            font-size: 1.2rem;
            font-style: italic;
            margin-bottom: 25px;
            line-height: 1.7;
            color: #333;
        }

        .client strong {
            display: block;
            color: var(--color-red);
            font-weight: 700;
            margin-bottom: 5px;
        }

        .client span {
            color: #777;
            font-size: 0.9rem;
        }

        /* ========== ABOUT US ========== */
        @keyframes float-loop {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
            100% { transform: translateY(0px); }
        }

        @keyframes pan-pattern {
            from { background-position: 0 0; }
            to { background-position: 300px 0; }
        }

        .about {
            background: linear-gradient(to right, rgba(255,250,240,0.8), rgba(255,245,230,0.8));
            background-size: 300px;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            animation: pan-pattern 30s linear infinite;
        }

        .about::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1574715682518-8246383b6eef?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
            opacity: 0.03;
            z-index: 0;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
            color: var(--color-red);
        }

        .about-text p {
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 1.1rem;
        }

        .about-subtitle {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--color-dark);
        }

        .about-img img {
            width: 100%;
            border-radius: 20px;
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }


        .about-img img:hover {
            transform: scale(1.05);
        }

        .about-img.show img {
            opacity: 1;
            transform: translateX(0);
        }

        .about-img.show {
            /* La animación de flotación se aplica al contenedor para no interferir con el hover de la imagen */
            animation: float-loop 6s ease-in-out infinite;
        }

        .about-features {
            margin-top: 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .about-features p {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
            margin-bottom: 0;
        }

        .about-features i {
            color: var(--color-yellow);
        }

        /* ========== WHY CHOOSE US ========== */
        #choose {
            padding: 120px 5%;
            position: relative;
            overflow-x: clip;
        }

        .choose-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            /* Añadido para mejor control en pantallas anchas */
            max-width: 1400px;
            margin: 40px auto 0;
        }

        .choose-card {
            text-align: center;
            padding: 40px 30px;
            background: white; /* Fondo blanco sólido para un look más limpio */
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            opacity: 0;
            transform: scale(0.9); /* Animación de entrada más simple */
        }

        .choose-card.show {
            opacity: 1;
            transform: scale(1);
        }

        .choose-card:hover {
            transform: translateY(-15px); /* Hover más sutil y elegante */
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }

        .choose-card i {
            font-size: 2.5rem;
            color: var(--color-dark);
            background: var(--color-yellow);
            width: 90px;
            height: 90px;
            line-height: 90px; /* Centra el ícono verticalmente */
            border-radius: 50%;
            margin-bottom: 30px;
            display: inline-block;
            transition: all 0.4s ease;
        }

        .choose-card:hover i {
            background: var(--color-red);
            color: white;
            transform: scale(1.1) rotate(15deg);
        }

        .choose-card h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--color-red);
        }

        /* ========== PERSONAJE DECORATIVO ========== */
        .decorative-character {
            position: absolute;
            bottom: 0;
            right: 5%;
            width: 280px;
            z-index: 0; /* Detrás de las tarjetas si se solapan */
            animation: peek-and-float 10s ease-in-out infinite;
            transition: transform 0.3s ease;
        }

        .decorative-character img {
            width: 100%;
            filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.2));
        }

        .decorative-character:hover {
            transform: scale(1.1) translateY(-15px);
            cursor: pointer;
        }

        @keyframes peek-and-float {
            0%, 100% { transform: translateY(20px) rotate(5deg); }
            50% { transform: translateY(0) rotate(-5deg); }
        }

        @media (max-width: 1200px) {
            .decorative-character {
                width: 220px;
                right: 2%;
            }
        }

        @media (max-width: 992px) { .decorative-character { display: none; } }

        /* ========== PIDE EN LÍNEA ========== */
        #order {
            text-align: center;
        }

        .order-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 50px;
            /* Aumentado para pantallas más anchas como 1440p */
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .order-platform {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px 30px;
            border-radius: 30px;
            text-align: center;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .order-platform::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(135deg, var(--color-yellow), #ffc107); /* Cambiado a amarillo */
            z-index: -1;
            transition: height 0.4s ease;
        }

        .order-platform:hover::before {
            height: 100%;
        }

        .order-platform:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 25px 60px rgba(0,0,0,0.2);
        }

        .order-platform h3 {
            font-size: 2.2rem;
            color: var(--color-red);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            transition: color 0.3s;
        }

        .order-platform:hover h3 {
            color: var(--color-dark); /* Texto oscuro para contraste con fondo amarillo */
        }

        .platform-icon {
            height: 35px;
            width: auto;
            vertical-align: middle;
            margin-right: 8px;
            transition: transform 0.3s;
        }

        .order-platform:hover .platform-icon {
            transform: scale(1.2) rotate(15deg);
        }

        .order-platform p {
            color: #555;
            font-size: 1.1rem;
            transition: color 0.3s;
            flex-grow: 1; /* Empuja los botones hacia abajo para alinear verticalmente */
            max-width: 400px; /* Limita el ancho del texto para mejor legibilidad */
            margin: 0 auto 30px; /* Centra el párrafo y mantiene el margen inferior */
        }

        .order-platform:hover p {
            color: var(--color-dark); /* Texto oscuro para contraste con fondo amarillo */
        }

        .order-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .order-buttons .btn {
            background: var(--color-red);
            color: white;
            padding: 12px 25px;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(255, 2, 2, 0.3);
        }

        .order-buttons .btn:hover {
            background: var(--color-yellow);
            color: var(--color-dark);
        }

        /* ========== MAPA DE LOCACIONES ========== */
        #locations {
            background: linear-gradient(to bottom, var(--color-cream), #fff5e6);
            padding: 120px 0 0; /* Sin padding abajo para que el mapa se pegue a la siguiente sección */
            text-align: center;
        }

        .map-container {
            height: 550px;
            overflow: hidden;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Dark mode styling for the embedded map */
        body.dark-mode .map-container iframe {
            filter: invert(1) hue-rotate(180deg);
        }

        .locations-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            /* Aumentado para pantallas más anchas como 1440p */
            max-width: 1200px;
            max-width: 1400px;
            margin: 0 auto;
            margin-bottom: 60px; /* Espacio entre las tarjetas y el mapa */
        }

        .location-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            text-align: left;
            transition: all 0.4s ease;
            position: relative;
            overflow: visible; /* Allow tag to stick out */
            cursor: pointer; /* Indica que la tarjeta es clickeable */
            z-index: 1;
        }

        .location-card::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(to top, #a30000, #d90429); /* Degradado rojo más oscuro para mejor contraste */
            transition: height 0.4s ease;
            z-index: -1;
        }

        .location-card:hover,
        .location-card.active {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(163, 0, 0, 0.3); /* Sombra a juego con el nuevo rojo */
        }

        .location-card:hover::before,
        .location-card.active::before {
            height: 100%;
        }

        .location-card h3 {
            color: var(--color-red);
            margin-bottom: 15px;
            font-size: 1.8rem;
            transition: color 0.2s ease 0.1s; /* Transición de color más rápida y con retraso */
        }

        .location-card p {
            margin-bottom: 10px;
            font-size: 1.05rem;
            color: #555;
            transition: color 0.2s ease 0.1s; /* Transición de color más rápida y con retraso */
        }

        .location-card i {
            color: var(--color-yellow);
            margin-right: 8px;
            transition: color 0.4s ease;
        }

        .location-card:hover h3, .location-card.active h3,
        .location-card:hover p,
        .location-card.active p
         {
            color: white;
        }

        .location-card:hover i {
            color: var(--color-yellow); /* Asegura que el ícono siga amarillo */
        }

        .click-here-tag {
            position: absolute;
            top: -15px;
            right: 20px;
            background: var(--color-yellow);
            color: var(--color-dark);
            padding: 8px 15px;
            border-radius: 20px 20px 0 20px;
            font-size: 0.9rem;
            font-weight: 700;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transform-origin: bottom left;
            animation: wobble 2.5s ease-in-out infinite 1s; /* Animation with 1s delay */
        }

        .click-here-tag i {
            margin-left: 5px;
        }

        body.dark-mode .click-here-tag {
            box-shadow: 0 5px 15px rgba(0,0,0,0.4);
            color: #181a1b; /* Dark text for better contrast on yellow background */
        }

        /* Cambia el estilo de la etiqueta en la tarjeta activa */
        .location-card.active .click-here-tag {
            background: var(--color-red);
            color: white;
            animation: none; /* Detiene la animación para la tarjeta activa */
        }

        /* Lógica para cambiar el texto de la etiqueta */
        .click-here-tag .text-active {
            display: none;
        }
        .location-card.active .click-here-tag .text-default {
            display: none;
        }
        .location-card.active .click-here-tag .text-active {
            display: inline;
        }

        /* ========== CONTACTO ========== */
        .contact {
            padding: 120px 5%;
        }

        .contact-wrapper {
            max-width: 1200px; /* Centramos el contenido */
            margin: 0 auto;
            position: relative;
            z-index: 1;
            background: rgba(255,255,255,0.95); /* Fondo blanco semitransparente para legibilidad */
            padding: 60px;
            border-radius: 30px;
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }

        /* ========== GALLERY ========== */
        #gallery {
            padding: 120px 0; /* Full width for the swiper */
            text-align: center;
        }

        #gallery .carousel-item {
            height: 500px; /* Taller images */
            overflow: hidden;
            border-radius: 20px;
        }

        #gallery .carousel-item img {
            width: 100%;
            height: 100%;
    object-fit: contain;
            transition: transform 0.5s ease;
        }

        #gallery .carousel-item:hover img {
            transform: scale(1.1);
        }

        /* ========== CUSTOM CAROUSEL ========== */
        .carousel-container {
            position: relative;
            width: 100%;
            max-width: 1400px; /* Aumentado un poco más para mayor amplitud */
            margin: 0 auto;
        }

        .custom-carousel {
            overflow: hidden;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            cursor: grab;
            user-select: none; /* Evita la selección de texto al arrastrar */
        }

        .carousel-item {
            flex: 0 0 100%;
            padding: 0 10px; /* Espacio ajustado para móviles */
            box-sizing: border-box;
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
            color: var(--color-dark);
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            backdrop-filter: blur(4px);
        }

        .carousel-btn:hover {
            background: var(--color-yellow);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-btn.prev {
            left: -60px; /* Aumentado aún más para mayor separación */
        }

        .carousel-btn.next {
            right: -60px; /* Aumentado aún más para mayor separación */
        }

        .carousel-btn:disabled {
            cursor: not-allowed;
            opacity: 0.3;
            transform: translateY(-50%);
        }

        @media (min-width: 768px) {
            .carousel-item {
                flex-basis: 50%;
                padding: 0 20px; /* Espacio aumentado para tablets */
            }
        }

        @media (min-width: 1024px) {
            .carousel-item {
                flex-basis: 33.333%;
                padding: 0 25px; /* Espacio aumentado para escritorio */
            }
        }

        /* ========== DOWNLOAD APP ========== */
        .app-section {
            background-image: url('BG_DL.jpg');
            background-size: cover;
            background-position: center;            
            padding: 120px 5% 300px; /* Aumentado el padding inferior en 50px */
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden; /* Important for animations */
        }

        .app-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Overlay oscuro para legibilidad */
            z-index: 1;
        }

        .app-container {
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            z-index: 2;
        }

        .app-grid {
            display: grid;
            grid-template-columns: 1fr; /* Single column layout */
            width: 100%;
        }

        .app-content-card {
            background: white;
            padding: 60px;
            border-radius: 25px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
        }

        .app-content-card.show {
            opacity: 1;
            transform: translateX(0);
        }

        .app-content-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.25);
        }

        .app-text {
            width: 100%;
            max-width: 100%;
            text-align: center; /* Center align text */
            margin-bottom: 40px;
        }

        .app-text h2 {
            font-size: 3rem;
            color: var(--color-red);
            margin-bottom: 25px;
            line-height: 1.2;
        }

        .app-text p {
            font-size: 1.2rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 0;
        }

        body.dark-mode .app-content-card {
            background: white; /* Mantiene el fondo blanco en modo oscuro */
        }

        body.dark-mode .app-text p, body.dark-mode .app-content-card p {
            color: #555; /* Mantiene el texto del párrafo oscuro para contraste */
        }

        .app-image {
            position: absolute;
            bottom: 0; /* Pegada al borde inferior */
            right: -250px; /* Aún más a la derecha, 30px más que antes */
            width: 450px; /* Adjust size as needed */
            z-index: 3;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición más suave y elegante */
        }

        .app-image.show {
            opacity: 1;
        }

        .app-image img {
            width: 100%;
            filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.3));
            height: auto;
            display: block; /* Elimina espacio extra debajo de la imagen */
        }

        body.dark-mode .app-section {
            background: linear-gradient(135deg, #2a2a2a 0%, #181a1b 100%), url('BG-DL.jpg');
        }

        .contact .section-title {
            color: white; /* Título en blanco para contraste */
        }

        .contact .section-title::after {
            background: white; /* Línea debajo del título en blanco */
            box-shadow: none;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 30px;
            color: var(--color-red);
        }

        .contact-info p {
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
            font-size: 1.1rem;
            color: #555;
        }

        .contact-info i {
            color: var(--color-yellow);
            margin-right: 15px;
            font-size: 1.3rem;
            min-width: 25px;
            margin-top: 5px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 18px 20px;
            margin-bottom: 25px;
            border: 2px solid #e9e9e9; /* Borde visible pero sutil */
            border-radius: 15px;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s;
            background: #fff;
            color: var(--color-dark);
            font-family: 'Poppins', sans-serif;
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: #999; /* Placeholder más estándar */
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--color-yellow);
            background: white;
            box-shadow: 0 5px 20px rgba(255, 217, 35, 0.2);
        }

        .captcha-group {
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        .captcha-group label {
            font-weight: 600;
            color: var(--color-dark);
        }
        .captcha-group input {
            width: 80px;
            margin-bottom: 0;
            padding: 12px;
        }

        .contact-form textarea {
            height: 180px;
            resize: vertical;
        }

        #form-status {
            margin-top: 20px;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            font-weight: 600;
            display: none; /* Oculto por defecto */
        }
        #form-status.status-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        #form-status.status-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        body.dark-mode #form-status.status-success {
            background-color: #1c4a27;
            color: #c3e6cb;
            border-color: #2a683a;
        }
        body.dark-mode #form-status.status-error {
            background-color: #5a1a21;
            color: #f5c6cb;
            border-color: #8a2a34;
        }
        /* ========== FOOTER ========== */
        footer {
            background-color: var(--color-dark);
            color: white;
            text-align: center;
            padding: 60px 5% 40px;
            background-image: url('https://www.toptal.com/designers/subtlepatterns/uploads/mexican-wave.png');
            background-size: 300px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
            text-align: left;
            margin-bottom: 50px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
            align-items: start; /* Alinea ambas columnas en la parte superior */
        }

        .footer-newsletter h3 {
            color: var(--color-yellow);
            margin-bottom: 20px;
            font-size: 1.5rem;
            text-transform: uppercase;
        }
        .footer-newsletter p {
            margin-bottom: 25px;
            opacity: 0.9;
        }
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .newsletter-form input {
            padding: 15px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            color: white;
            font-size: 1rem;
        }
        .newsletter-form input::placeholder {
            color: rgba(255,255,255,0.6);
        }
        .newsletter-form .btn {
            padding: 15px;
            font-size: 1rem;
            box-shadow: none;
        }

        .footer-info h3 {
            color: var(--color-yellow);
            margin-bottom: 20px;
            font-size: 1.5rem;
            text-transform: uppercase;
        }

        .footer-info p {
            margin-bottom: 10px;
            opacity: 0.9;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .footer-info i {
            color: var(--color-yellow);
            margin-top: 5px;
            font-size: 1.1rem;
            min-width: 20px;
        }

        .footer-logo {
            margin-bottom: 20px;
        }
        .footer-logo img {
            height: 167px; /* Aumentado un 15% más */
            width: auto;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .footer-social {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-logo:hover img {
            transform: scale(1.1) rotate(-5deg);
        }

        .social-links {
            margin: 30px 0;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.1);
            margin: 0 15px;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            transition: all 0.4s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            background: var(--color-red);
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 10px 25px rgba(255, 2, 2, 0.4);
        }

        .copyright {
            margin-top: 30px;
            font-size: 1rem;
            opacity: 0.8;
            letter-spacing: 0.5px;
        }

        #order .section-title,
        .testimonials-section .section-title {
            color: white;
        }

        #order .section-title::after,
        .testimonials-section .section-title::after {
            background: white;
            box-shadow: none;
        }

        /* ========== UTILITY CLASSES & SHARED STYLES ========== */
        .has-rotating-bg {
            position: relative;
            overflow: hidden;
            background: linear-gradient(to bottom, #b30000, var(--color-red));
        }

        .has-rotating-bg::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 150, 150, 0.4) 0%, transparent 60%);
            animation: rotate 20s linear infinite;
            z-index: 0;
        }

        /* ========== ANIMACIONES ========== */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes pulse-underline {
            0%, 100% {
                transform: scaleX(1);
            }
            50% {
                transform: scaleX(1.4); /* Más pronunciado */
            }
        }

        @keyframes wobble {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(8deg); }
            50% { transform: rotate(-6deg); }
            75% { transform: rotate(4deg); }
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 992px) {
            .about-content,
            .contact-grid,
            .special-container {
                grid-template-columns: 1fr;
            }
            .about-img {
                order: -1;
            }
            .hero-content h1 {
                font-size: 3.5rem;
            }
            .special-container {
                grid-template-columns: 1fr; /* En móvil, una columna */
                gap: 40px; /* Ajuste de espacio */
            }
            /* Ajuste para que la mascota siga siendo absoluta en tablets */
            .app-image {
                position: absolute;
                width: 350px; /* Un poco más pequeña para tablet */
                right: -200px; /* Ajustamos su posición inicial */
                bottom: 0; /* Pegada al borde inferior */
            }
        }

        @media (max-width: 768px) {
            .navbar {
                min-height: 90px;
                justify-content: space-between; /* Asegura que el logo y los controles estén en extremos opuestos */
                align-items: center; /* Centra verticalmente */
            }

            .nav-controls {
                margin-left: 0; /* Ya no es necesario con space-between */
            }

            .nav-menu-wrapper {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
        height: 100vh;
                background: rgba(255,255,255,0.98);
                flex-direction: column;
                align-items: center;
        padding: 20px;
                transition: left 0.4s ease;
                backdrop-filter: blur(5px);
                z-index: 999;
                justify-content: center; /* Centra los enlaces del menú verticalmente */
        overflow-y: auto;
            }

            /* Fix for mobile menu contrast in dark mode */
            body.dark-mode .nav-menu-wrapper {
                background: rgba(24, 26, 27, 0.98);
            }

            .nav-menu-wrapper.active {
                left: 0;
            }

            .nav-links {
                flex-direction: column;
        width: 100%;
        text-align: center;
            }

            .navbar .logo {
                display: none; /* Hide center logo on mobile */
            }

            .nav-links li {
                margin: 20px 0;
            }

            .hamburger {
                display: block;
            }

            .logo-mobile {
                display: flex;
                height: 70px; /* Aumenta el tamaño del logo en móvil */
            }

            .mobile-menu-close {
                display: block;
                background: none;
                border: none;
                font-size: 2.5rem;
                color: var(--color-dark);
                cursor: pointer;
                position: absolute;
                top: 20px;
                right: 25px;
                z-index: 1000;
            }
            .app-section {
                padding: 80px 5% 80px; /* Reducido el padding inferior para móvil */
            }
            .app-grid {
                grid-template-columns: 1fr;
            }
            .app-image {
                display: none; /* Oculta la mascota en móvil */
            }
            /* Asegura que la tarjeta tenga fondo blanco en modo oscuro en móvil */
            body.dark-mode .app-content-card {
                background: white;
            }

            .app-container {
                padding: 0;
            }
            .app-content-card {
                padding: 40px;
                text-align: center;
                order: 1;
            }
            .app-text h2 {
                font-size: 2.3rem;
            }
            .hero-content h1 {
                font-size: 2.8rem;
            }
            .app-text {
                width: 100%;
                max-width: none;
            }

            .hero-content p {
                font-size: 1.3rem;
            }

            section {
                padding: 80px 5%;
            }

            .section-title {
                font-size: 2.3rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .footer-social {
                align-items: center;
            }
            .app-buttons {
                justify-content: center;
            }
        }

        @media (max-width: 576px) {
            .hero-content h1 {
                font-size: 2.3rem;
            }
            .section-title {
                font-size: 2rem;
            }
            .choose-grid,
            .order-container,
            .locations-info {
                grid-template-columns: 1fr;
            }
            .about-features { grid-template-columns: 1fr; }
        }

        @media (max-width: 576px) {
            .carousel-btn.prev {
                left: 5px;
            }
            .carousel-btn.next {
                right: 5px;
            }
        }
/* Estilos para el botón de descarga de la App Store y Google Play */
.app-buttons {
    display: flex; /* Coloca los botones en horizontal */
    gap: 15px; /* Espacio entre los botones */
    justify-content: flex-start; /* Alinea los botones a la izquierda */
    flex-wrap: wrap; /* Permite que los botones se apilen si no hay espacio */
}
.app-download-platforms {
    display: flex;
    gap: 30px;
    justify-content: center; /* Center the platforms */
}
.platform {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el logo y el contenedor de botones */
    gap: 15px;
}
@media (max-width: 768px) {
    .app-content-card {
        text-align: center;
    }
    .app-download-platforms {
        justify-content: center;
        flex-direction: column; /* Apila las plataformas verticalmente en móvil */
        gap: 50px; /* Aumenta el espacio entre ellas */
    }
    .platform {
        align-items: center;
    }
    .app-text { text-align: center; }    .app-buttons {
        justify-content: center; /* Centra los botones en móvil */
    }
}
.platform-logo {
    height: 60px;
    width: auto;
    max-width: 200px; /* Evita que los logos sean demasiado anchos en móvil */
    transition: transform 0.3s ease; /* Añadida transición suave */
}
.platform-logo:hover {
    transform: scale(1.1); /* Animación de escala al pasar el cursor */
}
.app-store-btn {
    display: inline-block;
    line-height: 0; /* Evita espacios extra */
    transition: transform 0.3s ease;
}
.app-store-btn img {
    height: 50px;
    width: auto;
}
.app-store-btn:hover {
    transform: scale(1.05);
}
/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: var(--color-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background-color: #cc0000;
    transform: scale(1.1);
}
