*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



/* MENU DE NAVEGACIÓN */
#navBarSuperior{
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled {
    background-color: #003343 !important;
}

.navbar-nav{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.navbar-nav li {
    margin: 0.5rem 0.7rem;
}

.navbar-nav li a{
    font-family: Lato, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: white !important;
    padding: 0.25rem 1rem;
    
}

.navbar-brand{
    position: relative;
    z-index: 2
}


.nav-item .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.15rem;
    background-color: #c75500;
    transform: scaleX(0);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item .nav-link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-item{
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.nav-item:hover{
    transform: scale(1.2);
    font-size: 2rem;
}


  /* Contenedor hamburguesa */
.hamburger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1030;
}

.hamburger div {
    background-color: #fff;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}


  /* Efecto del botón hamburguesa al abrir el menú */
.hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


  /* Menú colapsable: oculto por defecto */
#navbarNav {
    display: none;
    /* overflow: hidden;
    max-height: 0; */
    transition: max-height 0.5s ease; 
}


  /* Menú visible */
/* #navbarNav.show {
    max-height: 500px; 
    width: 100%;
    background-color: #003343;
    padding: 1rem ;
    margin: -1rem;
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
} */

/* Menú visible */
#navbarNav.show {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100vw;
    height: 70vh; 
    background-color: #003343;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto; 
    box-sizing: border-box;
} 


/* Evitar hover cuando el menú está abierto */
#navbarNav.show .nav-item:hover {
    transform: none !important;
    font-size: inherit !important;
}

#navbarNav.show .nav-link:hover:after {
    transform: scaleX(0) !important;
}

  /* Para pantallas medianas en adelante: menú en horizontal y visible siempre */
@media(min-width: 768px) {
    #navbarNav {
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: row !important;
    text-align:left!important;
}

    .navbar-nav {
    flex-direction: row;
    }

    .navbar-nav li {
    margin: 0 1rem;
    
    }

    .hamburger {
    display: none;
    }
}


#btn_header {
    min-height: 50px;
    max-width: 225px;
    width: 100%;
    font-size: clamp(10px, 2vw, 13px); /* tamaño flexible */
    font-family: 'Noto Sans', sans-serif;
    font-weight: bold;
    color: white;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.52);
    background: #c75500!important;
    border: none;
    margin: 10px auto;
    padding: 7px 15px;
    text-align: center;
    transition: transform 0.3s ease;
    display: block; /* para centrar si se necesita */
    white-space: normal;
    line-height: 1.3;
    overflow-y: auto;
    overflow-wrap: break-word; 
}

#btn_header:hover {
    transform: scale(1.05);
}


@media (max-width: 768px) {
    #btn_header {
        max-width: 100%;
        margin: 0.6rem auto;
    }
}

/* CAROUSEL PRINCIPAL  */
#carousel-1 {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0; /* Debe estar detrás del texto y botones */
}

/* Asegura que el texto esté por encima del overlay */
.container {
    position: relative;
    z-index: 2;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 2 !important;
}

.image-container img {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}


.title{
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 4px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Black Han Sans', sans-serif;
    text-align:center;
    font-weight: bold;
}

.paragraph{
    font-size: 1.25rem;
    line-height: 1.5;
    font-family: 'Noto Sans Adlam', sans-serif;
    text-align: center;
    color: #fff;
    margin: 1rem 0;
    font-weight: 600;

}


/* Responsive: en pantallas pequeñas ajustar tamaño */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        font-weight: 800;
    }
    .paragraph {
        font-size: 1rem;
        line-height: 1.6;
        font-weight: 500;
    }
    .container {
        padding: 1rem;
        max-width: 90%;
    }
}

/* SECCIÓN QUIÉNES SOMOS */
#Quienes_somos{
    margin-top: 3rem; 
}

#Quienes_somos h2{
    font-family: 'Black Han Sans', sans-serif;
    color: #c75500;
    font-weight: 300;
    text-align: center;
    font-size: 2.6rem;
}

.custom-card{
    text-align: center; 
    height: 100%;  
    border-radius: 20px;
    background: transparent!important;
    border: none !important;
    min-height: 100%;
}

.custom-card-body{
    border-radius: 20px;
    background: #8abab6;
    border-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-card-body:hover {
    transform: scale(1.03);
    background-color: #9ccdc9!important;
}

.build-icon{
    margin-bottom: 1rem;
}

.build-icon i{
    font-size: 2.5rem;
    color: #8ad3ce;
    text-shadow: 0px 5px 3px var(--bs-emphasis-color);
}

.card-title{
    font-weight: bold;
    font-family: 'Noto Sans', sans-serif;
    color: #003343!important;
    margin-bottom: 1.25rem;
    text-shadow: 0px 1px 1px var(--bs-body-bg);
}

.card-text{
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 1rem;
    color: var(--bs-emphasis-color);
}

/* Responsive: en pantallas pequeñas ajustar tamaño */
@media (max-width: 768px) {
    #Quienes_somos h2 {
        font-size: 2rem;

    }
    .card-text {
        font-size: 0.8rem;
    }
}


/* SECCIÓN NUESTROS VALORES */
.nuestros-valores{
    font-family: 'Black Han Sans', sans-serif;
    color: #c75500;
    font-weight: 300;
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.card-valores{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    border: none!important;
    background:transparent!important;
}

.card-body-valores{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #8abab6;
    border-radius: 20px;
    padding: 0.6rem;
    transition: background-color 0.3s ease;
}

.card-body-valores:hover {
    background-color: #9ccdc9!important;
}

.card-body-valores h4{
    font-family: 'Noto Sans', sans-serif;
    font-weight: bold;
    color: #003343;
    padding: 0.6rem 0.6rem 0 0.6rem;
}

.card-body-valores p{
    font-family:'Noto Sans Adlam', sans-serif;
    color:var(--bs-emphasis-color);
    padding: 0.75rem 0.75rem 0 0.75rem;

}

.swiper {
    width: 100%;
    min-height: 100%;
}

.swiper-slide {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.9rem;
}


.swiper-pagination {
    position: relative !important;
    bottom: 0.6rem !important; /* Ajusta según sea necesario */
    z-index: 10;
}


.swiper-pagination-bullet {
  background-color: gray !important; /* Cambia el color de los puntos inactivos */
  opacity: 0.5; /* Hace que los puntos inactivos sean más transparentes */
}

.swiper-pagination-bullet-active {
  background-color: #8ad3ce !important; /* Cambia el color del punto activo */
  opacity: 1; /* Hace que el punto activo sea más visible */
}



/* Responsive: en pantallas pequeñas ajustar tamaño */
@media (max-width: 768px) {
    .nuestros-valores {
        font-size: 2rem;

    }

    .card-body-valores h4{
        font-size: 1.2rem;
    }

    .card-body-valores p{
        font-size: 0.9rem;
        padding: 0 0.5rem !important;
    }
}

/* BANNER TRANSFORMA TU NEGOCIO */

.container-fluid{
    background: #003343;
    margin-top: 4.3rem;
}

.first-banner{
    text-align: center;
    background: #003343;
}

.first-banner h2{
    text-align: center;
    margin-top: 1.25rem;
    color: #8abab6;
    font-family: 'Noto Sans', sans-serif;
    text-shadow: 0px 1px 1px var(--bs-body-bg);
}


.first-banner p{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    width: 100%;
    text-align: center;
    color: var(--bs-body-bg);
    font-family: 'Noto Sans Adlam', sans-serif;
    margin-top: 1.25rem;
}

.first-banner a{
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    background: #8abab6;
    border-color: transparent;
    color: #003343;
    font-family: 'Noto Sans', sans-serif;
    text-shadow: 0px 1px 1px var(--bs-btn-disabled-color);
}

#boton_oferta {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#boton_oferta:hover {
    background-color: #9ccdc9!important;
    transform: scale(1.03);
    color: #003343;
    text-shadow: 0px 1px 1px white;
}

@media (max-width: 768px) {

    .first-banner p{
        font-size: 0.9rem;
    }

}

/* SECCIÓN NUESTROS SERVICIOS */

.Servicios h2{
    font-family: 'Black Han Sans', sans-serif;
    color: #c75500;
    text-align: center;
    margin-top: 3.75rem;
    font-size: 2.6rem;
    font-weight: 300;
}

.Servicios h3{
    font-family: 'Black Han Sans', sans-serif;
    color: #9ccdc9;
    text-align: center;
    margin-top: 3.75rem;
    font-size: 2rem;
    font-weight: 300;
}

#Branding {
    scroll-margin-top: 5rem;
    }

#Publicidad {
    scroll-margin-top: 5rem;
}

#Soluciones {
    scroll-margin-top: 5rem;
}

.contenedor_servicios{
    margin-top: 3.1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    max-width: 100%;
}

.card_servicios, .card_servicios2, .card_servicios3{
    position: relative;
    width: 100%;
    max-width: 270px;
    border-radius: 10px;
    text-align: center;
    padding: 0.3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    margin: 0;
}

.card_servicios:hover, 
.card_servicios2:hover, 
.card_servicios3:hover {
    transform: scale(1.05);
}

.card_servicios img,
.card_servicios2 img, 
.card_servicios3 img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin: 0;
    padding: 0;
    filter: blur(1.5px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}


.card_servicios:hover img,
.card_servicios2:hover img, 
.card_servicios3:hover img{
    opacity: 0;
}

.card_servicios:hover .hover-galeria,
.card_servicios2:hover .hover-galeria, 
.card_servicios3:hover .hover-galeria {
    opacity: 1;
}

.card_servicios h5, 
.card_servicios2 h5,
.card_servicios3 h5{
    font-family:'Noto Sans', sans-serif;
    position: absolute;
    top: 4%;
    left: 3%;
    text-align: start;
    z-index: 2;
    color: white;
    padding: 0.6rem;
    text-shadow: 0 3px 2px rgb(7, 6, 6);
}

.hover-galeria {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #8abab6;
    opacity: 0;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.hover-galeria p{
    color: var(--bs-emphasis-color);
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 0.9rem;
    text-align: start;
}

.card_servicios,
.card_servicios2, 
.card_servicios3{
    opacity: 0;
    transform: translateX(-100px); /* Inicia fuera del viewport */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Para las tarjetas de la derecha */
.card_servicios.right,
.card_servicios2.right,
.card_servicios3.right  {
  transform: translateX(100px); /* Se mueve desde la derecha */
}

/* Cuando entran en la vista */
.card_servicios.show,
.card_servicios2.show, 
.card_servicios3.show  {
    opacity: 1;
    transform: translateX(0);
}


/* En móviles: desplazamiento más pequeño para no salir del viewport */
@media (max-width: 768px) {

    .Servicios h2{
        font-size: 2.1rem;
    }

    .Servicios h3{
        font-size: 1.5rem;
    }

    .card_servicios, .card_servicios2, .card_servicios3 {
        transform: translateX(0)!important; 
    }
    

}

/* BANNER LA RAZON DETRÁS DE NUESTRA EXCELENCIA */

.second-banner{
    text-align: center;
    background: #003343;
}

.second-banner h2{
    text-align: center;
    margin-top: 1.25rem;
    color: #8abab6;
    font-family: 'Noto Sans', sans-serif;
    text-shadow: 0px 1px 1px var(--bs-body-bg);
}

.second-banner p{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width:62.5rem;
    text-align:center;
    color:var(--bs-body-bg);
    font-family:'Noto Sans Adlam', sans-serif;
    margin-top:1.25rem;
}

@media (max-width: 768px) {

    .second-banner p{
        font-size: 0.9rem;
    }

}

/* SECCIÓN BLOG */

#Blog{
    margin-top: 4.3rem;
}

.blog-section{
    text-align: center;
}

.blog-section h2{
    text-align: center;
    color: #c75500;
    font-family: 'Black Han Sans', sans-serif;
    font-size: 2.6rem;
}

.blog-card{
    min-height:250px;
    border: none!important;
    background:transparent!important;
}

#cards_blog{
    background: #003343;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#cards_blog:hover {
    background-color: #093c4c!important;
    transform: scale(1.04);
}

#cards_blog h4{
    text-align: left;
    margin-top: 1.25rem;
    color: var(--bs-body-bg);
    font-family: 'Noto Sans Adlam', sans-serif;
    font-weight:700;
}

#cards_blog div{
    text-align:left;
}

#cards_blog a{
    color: var(--bs-body-bg);
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 1.25rem;
    text-align: left;
}

.card-link{
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.card-link:hover{
    text-shadow: 0px 1px 1px black;
}

@media (max-width: 768px) {

    
    #Blog h2{
        font-size: 2rem;
    }

}

#Contacto{
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#Contacto h2{
    color: #FFFFFF!important;
    text-align: center;
    font-size: 3rem;
    font-family: "Changa One", sans-serif;
}

.contact-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}


.contact-block{
    display: flex;
    align-items: center;
    padding: 1rem;
}


.contact-icon{
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background: #c75500;
    color: white;
    box-shadow: 1px 1px 1px var(--bs-body-bg);
}

.contact-info{
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100%;
}

.contact-info h6{
    margin-bottom: 0;
    color: var(--bs-body-bg);
    font-weight: bold;
    font-family: 'Noto Sans Adlam', sans-serif;
}

.contact-info p{
    margin-bottom: 0;
    font-family: 'Noto Sans Adlam', sans-serif;
    color: var(--bs-body-bg);
    word-wrap: break-word!important;
    overflow-wrap: break-word!important;
    white-space: normal!important;
    max-width: 310px;
}


form{
    margin-left: 1.25rem;
    background: #c75500;
    height: auto;
    border-radius: 10px;
    padding: 1.5rem;
}

.contact-box{
    margin-bottom: 16px;
}

.contact-box h6{
    margin-bottom: 0.1rem;
    border-color: transparent;
    color: var(--bs-body-bg);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Noto Sans Adlam', sans-serif;
}

.contact-box input, textarea:focus{
    outline: none!important;
    box-shadow: none!important;
    border: none!important;
}

.btn-enviar{
    text-align:center;
}

.btn-enviar button{
    font-family: 'Noto Sans', sans-serif;
    color: #003343;
    background: var(--bs-body-bg);
    border-color: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.btn-enviar button:hover{
    transform: scale(1.05);
    background-color: white!important;
    color: #003343!important;
    border-color: white !important
}


@media (max-width: 768px) {

    
    #Contacto h2{
        font-size: 2.2rem;
    }

}

/* BOTÓN DE WHATSAPP */

.whatsapp-btn{
    position: fixed; 
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: #25d366;
    color: white;
    border-radius: 30%;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    width: 55px;
    height: 60px;
    margin-right: 5px;
}

.whatsapp-btn a{
    color: white;
    font-size: 2.5rem;
}

.whatsapp-btn:hover {
    background-color: #02f75e;
} 

/* footer */

footer{
    color: white;
    background: black;
    height: auto;
}

footer nav{
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    background-color: black;
}


.item-apps{
    margin-top: 1.25rem;
    text-align: left;
    flex-direction: column !important;
    display: flex !important;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 10px; /* Espacio entre cada red social */
}

.social-media{
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* Alinea ícono y texto en la misma línea */
    gap: 8px; /* Espacio entre icono y texto */
    max-width: 100%;
    width: 100%;
    white-space: nowrap; /* Evita saltos de línea */
    overflow: hidden; /* Evita que el texto se desborde */
    word-break: break-word;
    flex: 1; /* Permite que el texto ocupe el espacio disponible sin forzar saltos de línea */ 
}

.social-media a{
    text-decoration: none;
    color: var(--bs-body-bg);
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}


.social-media a:hover{
    transform: translateY(-3px);
}


.social-media img{
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}


.item-apps h3{
    font-weight: bold;
    font-family: 'Noto Sans Adlam', sans-serif;
    text-align: left;
    font-size: 0.9rem;
}

.item-apps p{
    padding-bottom: 0.3rem;
    font-family: 'Noto Sans Adlam', sans-serif;
    text-align: left;
    font-size: 0.8rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem; 
}

.footer-text {
    flex-grow: 1;
    text-align: center;
    font-family: 'Noto Sans Adlam', sans-serif;
    margin-bottom: 0;
}

    @media (min-width: 992px) {
    .item-apps {
        text-align: left !important;
    }
    }


    @media (min-width: 576px) {
    .item-apps {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    }

    @media (min-width: 768px) {
    .item-apps {
        flex: 0 0 25%;
        max-width: 25%;
    }
    }

    @media (min-width: 1400px) {
    .item-apps {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    }


    @media (min-width: 576px) and (max-width: 768px) {
    .row-footer {
        flex-direction: column; /* Mantiene todo en columna */
        align-items: start;
    }

    .item-apps {
        max-width: 100%;
        text-align: start;
        align-items: start;
    }
}

#Contacto {
  scroll-margin-top: 100px; /* Ajusta según la altura de tu navbar */
}

#Quienes_somos {
  scroll-margin-top: 100px; /* Ajusta según la altura de tu navbar */
}

#Servicios {
  scroll-margin-top: 100px; /* Ajusta según la altura de tu navbar */
}

#Blog {
  scroll-margin-top: 100px; /* Ajusta según la altura de tu navbar */
}
