:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

body {
    background-image: url('../img/tu-imagen-de-fondo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: var(--default-font);
    color: white;
}

.section-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: black;
    margin: 20px auto; /* Centrar y agregar margen superior e inferior */
    max-width: 1200px; /* Ancho máximo opcional */
}

h2 {
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin: 0 auto; /* Centrar */
    max-width: 1200px; /* Ancho máximo opcional */
}

.carousel-slide {
    display: flex;
    transition: transform 10s linear infinite;
}

.carousel-slide img {
    width: 300px;
    height: 200px;
    object-fit: contain;
    margin-right: 20px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.carousel-slide {
    animation: scroll 10s linear infinite;
}

.module-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto; /* Centrar */
    max-width: 1200px; /* Ancho máximo opcional */
}

.module {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-rows: 150px auto;
    grid-template-columns: 1fr;
    border: 2px solid #ccc;
}

.module img {
    width: 100%;
    height: auto;
    object-fit: cover;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.module-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

.module-text {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.module-text img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.module h3 {
    font-size: 1.2em;
    margin-top: 10px;
    text-align: center;
}

.module p {
    text-align: center;
    padding: 0 10px;
}

.icon-float {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.price-table th, .price-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.price-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.price-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-table tbody tr.paquete {
    background-color: #e0f7fa;
    border: 2px solid #b2ebf2;
}

.price-table tbody tr.paquete td:first-child {
    font-weight: bold;
}

.price-table td:nth-child(3) {
    text-align: right;
}

.price-note {
    font-size: 0.8em;
    text-align: right;
    margin-top: 10px;
}

.distribution-form {
    margin-top: 20px;
}

.distribution-form label {
    display: block;
    margin-bottom: 5px;
}

.distribution-form input, .distribution-form textarea, .distribution-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.distribution-form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.occupation-list {
    display: flex;
    flex-direction: column;
}

.occupation-switch {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.round-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding-left: 40px;
}

.round-switch::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: transform 0.3s;
    border-radius: 50%;
}

.hidden-checkbox {
    display: none;
}

.hidden-checkbox:checked + .round-switch {
    background-color: #2196F3;
}

.hidden-checkbox:checked + .round-switch::before {
    transform: translateX(26px);
}

footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

footer a {
    margin: 0 15px;
    color: #333;
    font-size: 24px;
}

.module.estilo-modulo {
    color: black;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.module-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    color: #00bcd4;
}

.module-text {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 60px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.module-text h3 {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.module-text p {
    font-size: 1.1em;
    line-height: 1.6;
}

.module-text p::before {
    content: none;
}

.module-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.module-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-brand img {
    height: 42px;
    margin-right: 10px;
}

.counter-box {
    background-color: #343a40;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
}

.counter-box i {
    font-size: 3em;
    margin-bottom: 10px;
    color: #007bff;
}

.counter-box .counter {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

.counter-box p {
    margin-top: 10px;
    font-size: 1.2em;
}

.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.banner-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
    width: 90%;
}

.banner-text {
    font-size: 1.8em;
    font-weight: bold;
}

.swipe-text {
    font-size: 1.2em;
    margin-top: 10px;
    white-space: normal;
    overflow: hidden;
    border-right: .15em solid white;
    animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

.widget-fondo-1 {
    background-color: #e0f7fa;
    border: 2px solid #b2ebf2;
}

.widget-fondo-2 {
    background-color: #fff3e0;
    border: 2px solid #ffe0b2;
}

.widget-fondo-3 {
    background-color: #e8f5e9;
    border: 2px solid #c8e6c9;
}

#equipos .equipos-galeria {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columnas en computadoras */
    gap: 15px; /* Espacio entre los equipos */
    padding: 20px;
}

#equipos .equipo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Media Queries Combinadas y Depuradas */
@media (max-width: 768px) {
    body {
        background-size: auto; /* Ajusta el tamaño de la imagen de fondo para móviles */
        background-position: center; /* Centra la imagen de fondo */
    }

    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .container {
        padding-top: 0;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav .nav-link {
        padding-top: 5px;
        padding-bottom: 5px;
        font-family: var(--nav-font);
    }

    .carousel-slide img {
        width: 200px;
        height: 150px;
        margin-right: 10px;
    }

    footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        margin-top: 0;
        padding-bottom: 20px; /* Agrega padding para separar el contenido del footer del borde */
    }

    footer a {
        font-size: 28.8px; /* 20% más grande */
    }

    .module.estilo-modulo {
        width: 100%;
        margin-bottom: 20px;
    }

    .module-icon {
        font-size: 1.5em;
        top: 5px;
        right: 5px;
    }

    .module-text {
        padding: 15px;
        margin-top: 40px;
    }

    .module-text h3 {
        font-size: 1.4em;
    }

    .module-text p {
        font-size: 1em;
    }

    .counter-box {
        margin-bottom: 20px;
    }

    #equipos .equipos-galeria {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en celulares */
    }

    #distribucion {
        margin-bottom: 100px; /* Ajusta este valor según el tamaño del footer y el espacio deseado */
    }
}


@media (min-width: 768px) {
    body {
        background-size: cover; /* Asegura que la imagen de fondo cubra todo el contenedor en pantallas grandes */
        
    }

    .banner-text-container {
        width: 80%;
    }

    .banner-text {
        font-size: 2em;
    }

    .swipe-text {
        font-size: 1.5em;
    }
}