
.hero {
    position: relative;
    z-index: 1;
    
}
.btn-primary{
    background-color: #042537 !important;
    padding: 15px 25px !important;
    border-radius: 15px !important;
    font-weight: bold !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 10px !important;

}
.btn-primary:hover{

    background-color: #093147 !important;
}
.show-menu {
    display: flex !important;
}

.dropdown-menu {
    min-width: 500px;
    padding: 15px;
    border-radius: 15px !important;
}

.card {
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.btn-success {
    font-size: 24px;
}

.floating-navbar {
    background-color: rgba(9, 49, 71, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    padding: 10px 20px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.floating-navbar.scrolled {
    background-color: rgba(9, 49, 71, 1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
    margin: 0 10px;
    font-size: 18px;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline;
}
.navbar-nav .btn-light {
    color: #093147 !important;
    font-weight: bold;
    border-radius: 20px;
    padding: 8px 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 43, 63, 0.473);
    display: none;
    z-index: 998;
}

.show-overlay {
    display: block !important;
}

.dropdown-menu.show {
    display: block !important;
}

.cards-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 50%;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: white;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card1 {
    background: rgba(255, 255, 255, 0);
    color: #1a1f2b;
    padding: 1rem;
    font-size: 16px !important;
    font-weight: bold;
    text-align: center;
    flex: 1 1 250px;
    max-width: 200px;
    transition: 0.3s ease-in-out;
    display: inline-block;
}

.card1:not(:last-child) {
    border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.marcas-container {
    width: 80%;
    overflow: hidden;
    height: 120px;
    white-space: nowrap;
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 10px 0;
    top: 3rem;
}

.marcas-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 20px;
    animation: scrollMarcas 50s linear infinite;
}


.marcas-track img {
    width: 50rem;
    height: auto;
    flex-shrink: 0;
}
@keyframes scrollMarcas {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.servicios {
    text-align: center;
    margin-top: 3rem;
    padding: 50px 0;
}

.servicios h2 {
    font-size: 28px;
    font-weight: bold;
    color: #093147;
    margin-bottom: 20px;
}

.servicios-container {
    display: flex;
    justify-content: center;
    gap: 6.5rem;
    flex-wrap: wrap;
}

.servicio {
    position: relative;
    width: 220px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.servicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    z-index: 1;
}

.servicio::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 17, 27, 0.85);
    transition: background 0.3s ease-in-out;
    z-index: 2;
}

.servicio p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    z-index: 3;
    margin: 0;
}

.servicio .flecha {
    position: absolute;
    bottom: 15px;
    right: 1.4rem;
    font-size: 1.5rem;
    color: white;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 4;
}

.servicio:hover .flecha {
    opacity: 0;
    transform: translateX(5px);
}

.servicio:hover::before {
    transform: scale(1.1);
}

.servicio:hover::after {
    background: rgba(0, 22, 40, 0.5);
}




.servicio:nth-child(1)::before {
    background-image: url('../img/servicio1.jpg');
}

.servicio:nth-child(2)::before {
    background-image: url('../img/servicio2.png');
}

.servicio:nth-child(3)::before {
    background-image: url('../img/servicio3.jpg');
}

.servicio:nth-child(4)::before {
    background-image: url('../img/servicio4.jpg');
}
.servicio:nth-child(5)::before {
    background-image: url('../img/servicio5.png');
}
.servicio:nth-child(6)::before {
    background-image: url('../img/servicio6.jpg');
}
.py-4{
    box-shadow: inset 0px 10px 20px rgba(0, 0, 0, 0.2);
}


.proteccion-exclusiva {
    background: url('../img/fondo_blanco.png') no-repeat center center/cover;
    background-size:cover;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    
   
}

.proteccion-container {
    background: white;
    max-width: 900px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
}

.proteccion-container h2 {
    font-size: 24px;
    font-weight: bold;
    color: #0a2a42;
    margin-bottom: 15px;
}

.proteccion-container p {
    font-size: 18px !important;
    color: #333;
    line-height: 1.6;
}

.proteccion-container p strong {
    font-weight: bold;
    color: #0a2a42;
}

.mensaje-gracias {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    padding: 60px 0;
    background: #ffffff;
}

.mensaje-container {
    text-align: center;
    max-width: 800px;
}

.mensaje-container h2 {
    font-size: 28px;
    font-weight: bold;
    color: #0a2a42;
    margin-bottom: 15px;
}

.mensaje-container p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.mensaje-container p strong {
    font-weight: bold;
    color: #0a2a42;
}

.btn-warning {
    background-color: #ffb400;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-wsp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #F7B71E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.btn-wsp:hover {
    transform: scale(1.1);
}

.btn-wsp img {
    width: 35px;
    height: auto;
}

.container1 {
    padding: 40px;
}

p {
    font-size: 20px;
}

@media (max-width: 768px) {
    .floating-navbar {
        padding: 5px 20px;
        margin-top: 0.2rem;
    }

    .navbar-toggler-icon {
        width: 15px;
    }

    .navbar-brand img {
        height: 25px;
    }

    .cards-container1 {
        top: 95%;
        width: 90%;
    }

    .card1 {
        font-size: 8px;
        padding: 0.2rem;
        width: 100px;
    }

    .servicios {
        margin-top: 35px;
    }

    .servicios h2 {
        font-size: 20px;
    }

    .servicios-container {
        grid-template-columns: repeat(2, 1fr);
    }



    .servicio {
        max-width: 200px;
        height: 200px;
    }

    .servicio p {
        font-size: 14px;
    }

    .servicio .flecha {
        font-size: 1.2rem;
        bottom: 10px;
        right: 1rem;
    }
    .text-white{
        font-size:12px;

    }
    .proteccion-exclusiva {
    
        background-position:0dvh;
        padding-bottom: 0 !important;
    }
    
    .proteccion-container {
        
        
        max-width: 70%;
       
    }
    
    .proteccion-container h2 {
        font-size: 20px;
        
    }
    
    .proteccion-container p {
        font-size: 12px;
        color: #333;
        line-height: 1.6;
    }
    
    .proteccion-container p strong {
        font-weight: bold;
        color: #0a2a42;
    }
    .marcas-container, .mt-5{
        margin-top: .1rem !important;
    }
    

}

@media (max-width: 480px) {

    .btn-primary{
        font-size: 12px;
        
    }
    .floating-navbar{
       padding: 5px 20px;
       margin-top: 0.2rem; 
    }
    .navbar-nav .nav-link {
        color: white !important;
        font-weight: bold;
        margin: 0 10px;
        font-size: 12px !important;
    }
    .dropdown-menu {
        min-width: 100% !important;  
        max-width: 100% !important;
        white-space: normal !important; 
        word-wrap: break-word !important; 
        margin-bottom: 10px;
      }
      .dropdown-item{
        font-size: 14px !important;
        white-space: normal !important; 
        line-height: 1.2;
      }
    
    .navbar-toggler-icon{
        width:15px;
    }
    .navbar-brand img{
        height: 25px
    }
    .cards-container1 {
        top: 95%;
        width:90%;
    }
    .card1 {
        font-size: 8px !important; 
        padding: 0.2rem; 
        width: 100px;
    }

   
    
    .servicios {
        margin-top: 15px;
    }
    
    .servicios h2 {
        font-size: 25px;
    }
    
    .servicios-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 1rem;
    }

    .servicio {
        max-width: 160px;
        height: 180px;
    }

    .servicio p {
        font-size: 12px;
    }

    .servicio .flecha {
        font-size: 1rem;
        bottom: 8px;
        right: 0.8rem;
    }
    .text-white{
        font-size:12px;

    }
    
.proteccion-exclusiva {
    
    background-position:0dvh;
    padding-bottom: 0 !important;
}

.proteccion-container {
    
    
    max-width: 70%;
   
}

.proteccion-container h2 {
    font-size: 20px;
    
}

.proteccion-container p {
    font-size: 12px !important;
    color: #333;
    line-height: 1.6;
}

.proteccion-container p strong {
    font-weight: bold;
    color: #0a2a42;
}
p{
    font-size: 12px !important;
}

.marcas-container, .mt-5{
    margin-top: 1rem !important;
}

.mensaje-gracias{
    margin-top: 1rem;
   padding: 30px 0;
}
.mensaje-container h2{

    font-size: 22px;
}
.mensaje-container p {
    font-size: 12px;

}
.col-md-4 img{
    width: 45%;
    height: auto;
}
.col-md-4 h5{
   font-size: 15px;
}
.text-dark{
    font-size: 12px;
}

.mt-2{
    font-size: 12px;
}
.navbar-nav .btn-light {
    color: #093147 !important;
    font-weight: bold;
    border-radius: 5px;
    padding: 9px 8px;
    font-size: 14px;
  }

 
    
}

