
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&display=swap');
body {
    font-family: "Montserrat", serif !important;
}



/* .font-ques {
    font-family: "Questrial", serif !important;
}

.font-mulish {
    font-family: "Mulish", serif  !important;
}

.font-open-sans {
    font-family: "Open Sans", serif !important;
}

.font-rale {
    font-family: "Raleway", serif !important;
}

.font-noto-sans {
    font-family: "Noto Sans", serif !important;
} */

.fw-900 {
    font-weight: 900 !important;
}

.font-italic {
    font-style: italic !important;
}

.d {
    width: 450px;
    max-width: 100%;
}

.tres-rem {
    font-size: 3rem !important;
}


.one-rem {
    font-size: 0.8rem !important;
}

.navbar {
    background-color: #dbdbdb;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

.navbar {
    background-color: #dbdbdb;
}

.nav-link {
    position: relative;
    font-size: 0.6rem !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: #212529;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #333333;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.nav-link:hover {
    color: #0d6efd;
}

/* Estilo cuando está seleccionada */
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link.active {
    color: #0d6efd;
}

.btn,
.btn-contactanos {

    background-color: #555e69 !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
}

.btn-contactanos:hover {
    background-color: #343a40;
}

.custom-section {
/*     background-color: #dbdbdb; */
    /* Color igual al navbar */
    max-height: auto;
}

.custom-card {
    background-color: #fff;
    /* Fondo blanco */
    color: #6c7887;
    /* Color del texto */
    width: 350px;
    /* Ancho fijo */
    height: 150px;
    /* Alto fijo */
    border: 1px solid #6c7887;
    /* Borde sutil */
    text-align: center;
    padding: 10px;
    /* Espaciado interno ajustado */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Sombra */
    /* Bordes redondeados */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Evitar desbordes */
}

.custom-card img {
    max-height: 60%;
    /* Imagen ocupa 60% de altura */
    max-width: 100%;
    /* Ancho máximo 100% */
    object-fit: contain;
    /* Ajuste dentro del contenedor */
    margin-bottom: 10px;
    /* Separación con el texto */
}

.custom-card h3 {
    font-size: 14px;
    /* Ajusta tamaño del título */
    margin: 0;
    line-height: 1.2;
}


@media (max-width: 767px) {
    .custom-card {
        max-width: 100%;
        /* Las tarjetas ocupan todo el ancho en pantallas pequeñas */
    }
}

.custom-card img {
    max-width: 100%;
    object-fit: cover;

    margin-bottom: 15px;
}

.carousel-overlay img {
    filter: brightness(50%);
    /* Oscurece la imagen */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.h-1 {
    max-height: 450px;
    overflow: hidden;
    /* Evita que el contenido se desborde */
}

#customCarouselWrapper .position-absolute {
    z-index: 10;
    /* Superponer contenido sobre el carrusel */
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro semitransparente */
    display: flex;
    /* Asegura la distribución horizontal de los elementos */
    padding: 0;
}

.z-10 {
    z-index: 10;
}

#customCarouselWrapper img {
    max-width: 100%;

    max-height: 40% !important;
}

#customCarouselWrapper .text-light {
    font-size: 1.2rem;
    /* Ajusta el tamaño del texto */
}

.img-bdr {
    width: 363px;
    max-width: 100%;
}

.display-7 {
    font-size: calc(0.225rem + 1.75vw);
    font-weight: 300;
    line-height: 1.2;
}

.service-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.card-title {
    font-size: 0.96rem !important;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-text  {
    color: #6c757d;
    font-size: 14px;
}

.card-body {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    background-color: #dbdbdb;
    border: 1px solid #6c7887;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    height: 250px;
}

/* Asegura que las tarjetas tengan un tamaño fijo */
.attorney-card-1,
.attorney-card-2 {
    width: 250px;
    /* Ancho fijo de la tarjeta */
    height: 460px;
    /* Alto fijo de la tarjeta */
    overflow: hidden;
    /* Asegura que el contenido no se desborde */
}

/* Ajustar las imágenes para que se mantengan en su tamaño original */
.attorney-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* La imagen se recorta y cubre todo el espacio */
}

/* Estilo del overlay */
.attorney-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro semitransparente */
    opacity: 0;
    /* Inicia invisible */
    transition: opacity 0.3s ease;
    /* Transición suave para el efecto */
}

/* Mostrar el overlay al pasar el mouse */
.attorney-card-1:hover .attorney-overlay,
.attorney-card-2:hover .attorney-overlay {
    opacity: 1;
}

/* Contenido dentro del overlay */
.overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

/* Estilo del título dentro del overlay */
.attorney-title {
    font-size: 1.25rem;
    /* Ajustado para el tamaño de la tarjeta */
    margin-bottom: 10px;
}

/* Estilo del texto dentro del overlay */
.attorney-text {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Estilo del icono de LinkedIn */
.linkedin-icon {
    display: inline-block;
}

/* Tamaño del ícono de LinkedIn */
.linkedin-img {
    width: 30px;
    height: auto;
}


.bg-color-black {
    background-color: #555e69;
    color: #fff;
    
    
}

.sticky {
    display: block;
    position: fixed;
    bottom: 100px;
    right: 6px;
    z-index: 9;
    background-color: transparent;
}

.sticky img {
    width: 90px;
}

.btn-bdr {
    background-color: white !important;
    color: #555e69 !important;
    border: 2px solid #555e69 !important;
    border-radius: 0 !important;
    /* Bordes cuadrados */
    padding: 5px 10px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    /* Transición suave */
}

.btn-bdr:hover {
    background-color: #555e69 !important;
    color: white !important;
    border-color: #555e69 !important;
}

/* Estilo para el botón de WhatsApp flotante */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    /* Ajusta la posición desde el fondo */
    right: 20px;
    /* Ajusta la posición desde el lado derecho */
    padding: 10px
}

.whatsapp-button img {
    width: 50px;
    /* Tamaño del ícono */
    height: auto;
}

.bg-color-footer {
    background-color: #dbdbdb;
}
.bg-color-new {
/*     background-color: #dbdbdb3b; */
/*     border: 1px solid #6c7887; */
/*     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
}

.text-color-new {
    color: #555e69 !important;
}

.m-w-500 {
    max-width: 500px;
}

.pq-nos {
    font-size: 1rem;
}


.scroll-offset {
    scroll-margin-top: 80px; /* Ajusta este valor según la altura de tu navbar */
}

.fs-new-1{
    font-size: 1rem !important;
}

.text-justify{
    text-align: justify;
    
}
.fs-3-new{
    font-size: 1.15rem !important;
}
.fw-300{
    font-weight: 300 !important;
}
.underline {
    position: relative;
    width: fit-content;
  }
  
  .underline::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: var(--width);
    background-color: #343a40;
  }

  @media (max-width: 768px) {
    .display-7 {
        font-size: calc(0.6rem + 5vw); 
        font-weight: 400; 
        line-height: 1.4; 
    }
}

.tel1{
    right: 53px;
}
.tel2{
    right: 8px;
}


.custom-card {
    width: 100%; /* Por defecto ocupa todo el ancho de su contenedor */
    height: 125px !important;
    max-width: 100% !important; /* Tamaño máximo del rectángulo */
    max-height: 100% !important; 
    background-color: #fff; /* Fondo blanco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    transition: transform 0.3s, box-shadow 0.3s; /* Transiciones suaves */
}

.custom-card:hover {
    transform: translateY(-10px); /* Efecto de elevación al pasar el mouse */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.custom-card img {
    max-width: 50% !important; /* Tamaño máximo de la imagen */
    height: 50px !important; /* Mantiene proporciones */
    margin: 0 1px !important; /* Centra la imagen */
}

.custom-card h3 {
    font-size: 1.2rem; /* Tamaño del texto */
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .custom-card {
        max-width: 250px; /* Reduce tamaño en pantallas grandes pero más pequeñas */
        min-height: 220px;
    }
    .custom-card h3 {
        font-size: 1rem; /* Ajusta texto */
    }
}

@media (max-width: 768px) {
    .custom-card {
        max-width: 200px; /* Reduce tamaño en tablets */
        min-height: 200px;
    }
    .custom-card img {
        max-width: 70%; /* Ajusta imagen */
    }
}

@media (max-width: 576px) {
    .custom-card {
        max-width: 100%; /* Ocupa todo el ancho en móviles */
        min-height: 180px;
    }
    .custom-card img {
        max-width: 60%; /* Ajusta imagen */
    }
    .custom-card h3 {
        font-size: 0.9rem; /* Reduce texto */
    }
}



.contact-section {
    padding: 2rem 0; /* Reduce el espacio superior e inferior */
}

.contact-container {
    max-width: 90%; /* Reduce el ancho máximo del contenedor */
}

.contact-title {
    font-size: 1.5rem; /* Reduce el tamaño del título */
    margin-bottom: 2rem; /* Reduce el margen inferior */
}

.contact-form .form-control {
    font-size: 0.9rem; /* Reduce el tamaño de texto dentro de los campos */
    padding: 0.5rem 0.75rem; /* Reduce el relleno interno de los campos */
    border-radius: 5px; /* Mantiene bordes suaves */
}

.contact-form label {
    font-size: 0.85rem; /* Reduce el tamaño del texto de las etiquetas */
}

.contact-form textarea {
    font-size: 0.9rem; /* Ajusta el tamaño del texto en el área de comentarios */
}

.contact-button {
    font-size: 0.9rem; /* Reduce el tamaño del texto del botón */
    padding: 0.4rem 1rem; /* Ajusta el relleno del botón */
}

.spinner-small {
    width: 1.5rem;
    height: 1.5rem; /* Reduce el tamaño del spinner */
}

#sobre-nosotros-mobile {
    scroll-margin-top: 80px; /* Ajusta este valor según la altura de tu navbar */
}
