/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Ajustar el padding cuando el navbar es fixed */
body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin-top: 50px;
    /* padding-top: 70px;*/
}

/* Navbar estilizado */
.navbar {
    background-color: #3e6b82;
    padding: 0px 0;
}

/* Logo */
.navbar-brand img {
    height: 50px;
}
.escritura {
    margin-top: 0px;
    color: white;
    text-align: center;
    background: rgba(255, 255, 255, 0);
    width: 100%;
    font-family: monospace;
    font-size: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    text-shadow: 1px 1px 4px black; /* Sombra al texto */
    animation: escribir 1.5s steps(40, end), cursor 0.7s step-end infinite;
    white-space: normal; /* Cambiado para permitir que el texto se ajuste */
    word-wrap: break-word; /* Permite que el texto se ajuste si es necesario */
    overflow-wrap: break-word; /* Otro ajuste para evitar el corte */
}



/* Estilo de los enlaces */
.nav-link {
    color: white !important;
    padding: 10px 15px;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

/* Hover y activo */
.nav-link:hover,
.nav-link.active {
    background-color: #5ea1c5 !important;
}

/* Dropdown */
.dropdown-menu {
    background-color: #5ea1c5;
}

.dropdown-item:hover {
    background-color: #728997;
}

.dropdown-toggle.active {
    background-color: #5ea1c5 !important;
}

/* Secciones */
.content-section {
    /*padding: 100px 20px;*/
    text-align: center;
    min-height: 100vh;
    border-bottom: 2px solid #ddd;
    width: 100%;
}
.img-s1{
    width: 100%;
}
/* Slider de imágenes */
.slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100vh;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sección Nosotros */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #3e6b82;
}

.nosotros-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #444;
}

/* Sección Nosotros */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #3e6b82;
}

.nosotros-text {
    text-align: center;
    font-size: 1.2rem;
    width: 100%;
    max-width: inherit;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #444;
}

.nosotros-text {
    text-align: justify;
    text-justify: inter-word;
    /* Opcional: mejora la distribución del texto */
}

/* Contenedor de tarjetas */
.row {
    display: flex;
    align-items: stretch;
    /* Asegura que todas las tarjetas tengan la misma altura */
}

/* Estilos para las tarjetas */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra el contenido verticalmente */
    height: 100%;
    /* Asegura que ocupen toda la altura disponible */
}

.card:hover {
    transform: translateY(-15px) !important;
    transition: 0.5s;
    background: #e3e3e3;

}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra el contenido dentro de la tarjeta */
    text-align: center;
    flex-grow: 1;
    /* Hace que todas las tarjetas tengan la misma altura */
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3e6b82;
    margin-top: 15px;
}

.card-text {
    font-size: 1rem;
    color: #666;
}

/* Iconos de FontAwesome */
.icon-card {
    font-size: 3rem;
    color: #3e6b82;
    margin-bottom: 10px;
}

#seguros ul li {
    list-style: decimal;
    text-align: left;
}

.Cotizador input {
    width: 100%;
    margin: 0px;
    margin-top: 10px;
}

.diseg {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: inset 0px 0px 1px 2px black;
}

.diseg tr td:nth-child(1) {
    width: 60%;
    border: 1px solid black;
    color: black;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.diseg tr td:nth-child(2) {
    width: 70%;
    text-align: right;
    padding: 5px;
    text-align: left;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: flex-start;
}

.diseg tr td:nth-child(2) input {
    width: 100%;
    padding-bottom: 0px;
    padding-top: 0px;
    border: 1px solid #797979;
}

.diseg tr td:nth-child(2) input::placeholder {
    color: grey;
}

.MyPp {
    background: #3e6b82;
    color: black;
    border-radius: 30px !important;
}

.MyPp input {
    background: white;
}

.MyPp .swal2-title {
    background: white;
    padding: 0px;
    padding: 10px;
}

.container-custom {
    padding-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
    margin: 0px auto !important;
    /* Centrar sin márgenes extras */

}

.banner {
    background-image: url('../Img/Home.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 150px);
    border-radius: 10px;
    display: flex;
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra horizontalmente */
    text-align: center;
    overflow: hidden;
    padding: 20px; /* Asegura que haya espacio interno */
}

.hometext {
    max-width: 80%; /* Evita que el texto se expanda demasiado */
    padding: 3%;
    /* background: rgba(0, 0, 0, 0.5); /* Agrega un fondo semitransparente para mejorar la lectura */
    border-radius: 10px;
}

.hometext h4 {
    color: white;
    font-size: 35px;
    font-weight: 600;
    margin-top: 0; /* Eliminamos el margen para evitar desbordamientos */
}

.hometext p {
    font-size: 25px; /* Reducimos un poco el tamaño en pantallas grandes */
    font-weight: 500;
    color: white;
    margin-top: 20px; /* Menos margen superior para que el texto no se salga */
    text-align: justify; /* Centramos el texto */
}
#inicio{
    width: 100%;
}
.btn-seguro1-activo {
    background-color: #ffc107; /* Amarillo Bootstrap */
    color: black;
    border-color: #ffc107;
}

.btn-seguro2-activo {
    background-color: #0dcaf0; /* Celeste Bootstrap */
    color: black;
    border-color: #0dcaf0;
}
.banner-servicio {
  background-image: 
    linear-gradient(60deg,rgba(0, 64, 128, 0.5), rgba(255, 255, 255, 0.17)), 
    url('../Img/seguros-salud-familiares-2.jpg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 700px;
  position: relative;
  left: 0px;
  padding-top: 50px;
}

.row-custom {
    position: absolute;
    width: 250px;
    bottom: 10px;
}
.row-custom2{
    margin: 0px; 
}

/* Para pantallas menores a 768px (tablets y celulares) */
@media (max-width: 768px) {
    .hometext p {
        font-size: 18px;
        /* Reduce el tamaño del texto */
    }

    .section-title {
        font-size: 25px;
    }

    .container-custom {
        padding-top: 50px;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0px auto !important;
        /* Centrar sin márgenes extras */
    }
    .h4mobile{
        width: 100% !important;
    }
   td:nth-child(1) {
    width: 40px !important;
    max-width: 300px !important;
    min-width: 150px;
}
}


/* Para pantallas menores a 480px (celulares pequeños) */
@media (max-width: 480px) {
    .hometext p {
        font-size: 16px;
        /* Reduce aún más el tamaño */
    }

    .section-title {
        font-size: 25px;
    }

    .container-custom {
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0px auto !important;
        /* Centrar sin márgenes extras */

    }
    .cotizador table{
    font-size: 10px;
        

    }
    
}


.options {
    margin-top: 30px;
}

.options div p {
    padding: 10px;
    font-size: 20px;
    color: black;
}

.card{
    margin: 5px;
}
.md4custom {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.md4custom .card {
    background: #3e6b82;
    color: white;
}

.md4custom .card-title {
    color: white !important;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 14px;
    transition: transform 0.3s ease;
    width: 80px;
    height: 80px;
    text-align: center;
    padding: 20px;
}
.linkverde {
  color: #00ff00; /* Verde neón */
  text-decoration: none;
  animation: brilloVerde 1s infinite alternate;
}

@keyframes brilloVerde {
  from {
    text-shadow: 0 0 0px #4d4d4d, 0 0 5px #4d4d4d;
  }
  to {
    text-shadow: 0 0 5px #4d4d4d, 0 0 10px #4d4d4d;
  }
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}
.btnsonemos{
    background: #5ea1c5 ;
    border: none;
    padding: 10px;
    border-radius: 15px;
    font-size: 20px;
    
}
.nav-tabs{
    border: none !important;
}
.nav-tabs {
    border-bottom: 2px solid #3e6b82; /* Línea de separación */
}

.nav-tabs .nav-link {
    color: black !important; /* Asegura que el texto sea negro */
    font-weight: bold;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #3e6b82 !important; /* Color azul al estar activa */
    border-bottom: 2px solid #3e6b82;
}
.cubre{
    background: #3e6b82;
    padding: 10px;
    height: 80px;
    line-height: 80px;
    position: relative;
    z-index: 99;
    color: white;
}
.AClogo{
    width: 110px;
}
iframe.removehead {
    margin-top: 0px;
    position: relative;
    top: -80px;
}
.nav-tabs .nav-link:hover {
    color: #3e6b82 !important;
}
