/********** Template CSS **********/
:root {
    --primary: #FF2343;
    --secondary: #DDDFE7;
    --light: #4A4A4A;
    --dark: #232C43;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}
.logoWidth{
    width:200px;
}
@media (max-width: 480px) {
    .top-shape::before {
        display:none;
    }
    .mvlDissapear{
        display:none;
    }
    .logoWidth{
        width:100px;
    }
    .mismaLinea{
        padding-right: 0px !important;
    }
    .mismaLinea .telefon{
        padding: 5px 20px !important;
        margin-right:2px;
    }
}
@media (max-width: 750px) {
    .top-shape::before {
        display:none;
    }
    .mvlDissapear{
        display:none;
    }
    .logoWidth{
        width:100px;
    }
    .mismaLinea{
        padding-right: 0px !important;
    }
    .mismaLinea .telefon{
        padding: 5px 20px !important;
        margin-right:2px;
    }
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}
.carousel-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    background-color: black;
    display: flex;
    justify-content: center;
    color: white;
    overflow: hidden;
}

@media (max-width: 768px) {
    .carousel-container img {
        max-height: 750px; /* Asegura que la imagen también se ajuste */
    }
}

@media (max-width: 480px) {
    .carousel-container img {
        max-height: 750px; /* Ajusta la imagen en móviles más pequeños */
    }
}

.carousel-container img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: top;
    opacity: 0.8; /* Para oscurecer un poco la imagen */
}

    .carousel-content {
        position: absolute;
        text-align: center;
    }
@media (min-width: 992px) {
.carousel-container {
  position: relative;
  width: 100%;
  max-height: 500px;
  background-color: black;
  overflow: hidden;
  color: white;
}

.carousel-container img {
  width: 100%;
  max-height: 500px;
  height: 500px;           /* opcional: para fijar altura */
  object-fit: cover;
  object-position: top;
  opacity: 0.8;
}

.carousel-content {
  position: absolute;
  top: 50%;
  right: 260px;             /* ajusta margen derecho */
  transform: translateY(-50%);
  text-align: right;
  width: min(700px, 45%);  /* limita el bloque de texto */
  padding: 0 10px;
}

.carousel-content h1 {
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  /* si quieres que se parezca a tu ejemplo:
     font-size: clamp(28px, 3vw, 48px);
  */
}
}
@media (max-width: 480px) {
    /* Ajuste específico para pantallas más pequeñas (móviles) */
    .carousel-content {
        width:60%;
    }
    .carousel-content h1{
        margin-top: 40px !important;
    }
}
    .carousel-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color:#FF2343;
    }

    .carousel-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .cards-container {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .card {
        background-color: white;
        color: black;
        padding: 1rem;
        border-radius: 10px;
        width: 250px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    .card p {
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .carousel-content h1 {
            font-size: 2rem;
        }

        .carousel-content p {
            font-size: 1rem;
        }

        .cards-container {
            flex-direction: column;
        }

        .card {
            width: 100%;
        }
    }


/* Wrapper para centrar la sección de logos */
.logos-wrapper {
    margin: 30px 0px;
    display: flex;
    justify-content: center;
    padding: 40px 0; /* Espaciado superior e inferior */
    background-color: #001f3f; /* Fondo azul marino */
}

/* Contenedor que incluye el título y los logos */
.logos-content {
    text-align: center;
    width: 100%;
    max-width: 1200px; /* Limita el ancho máximo */
    padding: 0 20px; /* Espaciado lateral */
}

.logos-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white; /* Color blanco para el texto */
}

.logos-content h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: normal;
    max-width: 600px; /* Ancho máximo para el subtítulo */
    margin: 0 auto 30px auto; /* Centrado horizontal y margen inferior */
    line-height: 1.6; /* Espaciado entre líneas */
    color: white; /* Color blanco para el texto */
}

/* Logos Container */
.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los logos en la última fila */
    gap: 20px;
    padding: 20px;
}

.logo {
    flex: 1 1 100px; /* Hace que cada logo ocupe un mínimo de 100px */
    max-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #002f4f; /* Un tono ligeramente diferente para contraste */
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.logo img {
    max-width: 100%;
    max-height: 50px;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}

.logo:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}
.marginLogo{
    margin-left: 40px;
}
.textBusiness{
    text-align: justify;
    padding: 0px 150px;
}
.bigwidth{
    max-width:800px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logos-container {
        justify-content: center; /* Mantén el centrado en pantallas más pequeñas */
    }
    .logo {
        max-width: 80px;
    }
    .logo img {
        max-width: 80px;
        max-height: 40px;
    }
    .textBusiness{
        text-align: justify;
        padding: 0px 5px;
    }
}

@media (max-width: 480px) {
    .logos-container {
        justify-content: center; /* Mantén el centrado en pantallas más pequeñas */
    }
    .logo {
        max-width: 60px;
    }
    .logo img {
        max-width: 60px;
        max-height: 30px;
    }
}
.articulotexto{
    padding-top:30px;
    padding-bottom:30px;
}



