body {
    background-color: rgb(237, 237, 237);
}
.section {
    padding: 1rem;
}
.section:nth-child(even) {
    background-color: rgb(246, 245, 245);
}

/* Alerta */
.alert {
    position: fixed;
    top: 3.5rem;
    width: 100%;
    background-color: rgb(188, 188, 188);
    color: #333;
    text-align: left;
    padding: 0.5rem 1rem 0.5rem 1rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    z-index: 20;
    gap: 1rem;
}
.alert span {
    margin: 0;
}
.icon {
    margin-right: 10px;
    font-size: 20px;
}
.close {
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
}


/* Botón Subir */
#up-button {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgb(17,81,146);
    color: #fff;
    border: none;
    padding: 0.8rem 1rem 1rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
}
#up-button:hover {
    background-color: rgb(41, 113, 189);
}

/* Navbar */
.navbar-collapse {
    flex-grow: unset;
}
.navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.navbar {
    position: sticky;
    background-color: rgb(143, 167, 192);
    top: 0;
    padding: 0.5rem 1rem 0.5rem 1rem;
    z-index: 20;
    transition: 0.5s;
}
.navbar-brand {
    padding-right: 1rem;
    border-right: solid 0.1px rgb(55, 55, 55);
    display: inline-block;
}
.navbar-brand img {
    width: 7rem;
}
.nav-link {
    color: rgb(0, 0, 0);
    transition: 0.3s;
}
.nav-link:hover {
    transform: scale(1.1);
    color: rgb(228, 239, 253);
}
.search-bar {
    border:solid rgb(99, 99, 99) 1px;
}
.btn {
    background-color: rgba(213, 229, 251, 0);
    color: rgb(0, 0, 0);
    border:solid rgb(0, 0, 0) 1px;
}
.btn:hover {
    background-color: rgb(228, 239, 253);
    border:solid rgb(7, 33, 59) 1px;
}
.highlight {
    background-color: yellow;
}

/* Logo */
.main-logo {
    display: flex;
    margin: 2.5rem auto 1rem;
    width: 25rem;
}

/* Carousel */
.carousel {
    display: flex;
    margin: 0 auto;
    width: 30rem;
    margin-bottom: 2.5rem;
}

/* Sections */
.main-title {
    margin: 1rem 5rem 1rem 5rem;
    border-bottom: solid 1px black;
    display: inline-block
}
.text {
    margin: 1rem 5rem 1rem 5rem;
}
.title {
    font-size: large;
    font-weight: bold;
}
.home-center-text {
    text-align: center;
    padding: 0;
    margin: 0;
}
.industries {
    display: flex;
    margin: 3rem 0 3rem 0;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.card {
    border: 3px solid transparent;
    border-radius: 10px;
}

.card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 10px;
    border: 3px solid #1a73e8a1;
}

.card::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 12px;
    border: 2px solid rgb(216,65,50);
    opacity: 0.5;
}

.product-text {
    margin: 0rem 5rem 0rem 5rem;
    padding-top: 1rem;
}

.product-block {
    display: flex;
    margin: 1rem 5rem 1rem 5rem;
}
.img-us {
    display: flex;
    margin: 0 auto;
    width: 30rem;
}
.product-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin: 0.5rem 0;
    border: solid 0.1px black;
}
.download-icon, .preview-icon{
    background-color: #c7c7c7;
    padding: 0.4rem;
    border-radius: 8px;
    width: 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    cursor: pointer;
}
.download-icon:hover, .preview-icon:hover {
    background-color: #d4d4d4;
}
.download-icon {
    display: none;
}
.product-cat-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    margin: 0 3rem;
}
.product-cat {
    text-align: center;
    flex: 1;
    border: solid black 1px;
    width: 100%;
}
.product-cat:hover {
    background-color: #1a73e8a1;
}
.product-cat:nth-child(1){
    border-radius: 10px 0 0 10px;
}
.product-cat:nth-child(5){
    border-radius: 0 10px 10px 0;
}
.product-cat a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
}
.product-cat a p {
    margin: 0;
}
.product-cat img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}



.pdf-preview-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.pdf-preview-content {
    background-color: #fff;
    border-radius: 10px;
    margin-top: 3rem;
    padding: 1rem;
    position: relative;
    width: 80%;
    height: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    background-color: rgb(233, 72, 58);
    color: rgb(29, 29, 29);
    border: solid black 0.1px;
    border-radius: 50%;
}
.close-button:hover {
    background-color: rgb(244, 116, 104);
}
#pdf-preview {
    width: 100%;
    height: 100%;
    border: none;
}
#notes {
    padding-bottom: 3rem;
}


/* Formulario */
#form {
    max-width: 30rem;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: 0.7rem;
}

#form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
select,
#form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#form button {
    background-color: #1a73e8a1;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#form button:hover {
    background-color: #4e90e7a1;
}


/* Ubicacion */
.ubicacion-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

/* Footer */
.footer {
    background-color: rgb(143, 167, 192);
    color: black;
    padding: 1rem 0;
    text-align: center;
    border-top: solid black 1px;
}
.footer-text {
    font-size: small;
}
.footer-section {
    margin: 0 1rem 0 0;
}


/* Controla el responsive */
@media (max-width: 992px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-collapse.show {
        display: block !important;
    }
    .navbar-toggler {
        display: block !important;
    }
    .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0 1rem 0;
    }
    .navbar-brand {
        border-right: solid 0px rgb(181, 181, 181);
    }
    .navbar-nav a{
        padding: 0;
    }
    .nav-item:nth-child(7){
        margin-bottom: 1rem;
    }
    .main-logo {
        margin: 2.5rem auto 1rem;
        width: 15rem;
    }
    .carousel {
        width: 15rem;
        margin-bottom: 2.5rem;
    }
    .img-us {
        width: 15rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-section:nth-child(2) {
        margin: 1rem 0 0 0;
    }
    .main-title {
        margin: 0.5rem 2rem 0.5rem 2rem;
    }
    .text {
        margin: 0.5rem 2rem 0.5rem 2rem;
    }
    .industries {
        flex-direction: column;
        gap: 0.5rem;        
    }
    .product-text {
        margin: 0.5rem 2rem 0.5rem 2rem;
    }
    .product-cat-container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        background-color: white;
        border-radius: 10px;
        margin: 2rem 3rem;
    }
    .product-cat:nth-child(1){
        border-radius: 10px 10px 0 0;
    }
    .product-cat:nth-child(5){
        border-radius: 0 0 10px 10px;
    }
    .product-block {
        display: flex;
        margin: 0 auto;
        width: 85%;
    }
    .product-spec {
        gap: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        margin: 0.5rem 0;
        border: solid 0.1px black;
    }
    .download-icon {
        display: flex;
    }
    .preview-icon {
        display: none;
    }
    #form {
        margin: 1rem 0;
    }
}

@media (min-width: 993px) {
    .navbar-toggler {
        display: none !important;
    }
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1 !important;
    }
}