html, body {
    padding:0;
    height: 100%; 
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 60px; 
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; 
}

footer {
    margin-top: auto;
}

main {
    padding-top: 70px;
}
/* Nuevo css */

.navbar-toggler {
    border-color: #21359e;
}

    .navbar-toggler:hover {
        border-color: #1a2b7a;
    }

    .navbar-toggler:focus {
        border-color: #21359e;
        box-shadow: 0 0 0 0.25rem rgba(239, 241, 251, 0.9);
        /* box-shadow: 0 0 0 0.25rem rgba(33, 53, 158, 0.35); */
    }



.navbar.bg-transparent {
    background: rgba(255,255,255,.62) !important;
    backdrop-filter: blur(8px);
}

.navbar-nav .nav-link {
    color: #929292
}

.nav-underline2 .nav-link {
    position: relative;
    padding-bottom: 0.5rem; 
}

    .nav-underline2 .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background-color: #21359e;
        opacity: 0; 
        transition: opacity 0.5s ease; 
    }

    .nav-underline2 .nav-link:hover::after,
    .nav-underline2 .nav-link.active::after {
        opacity: 1; 
    }

.carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);

}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

@media (min-width: 768px) {
    .carousel-item {
        height: 400px;
    }

        .carousel-item > .row,
        .carousel-item .col-md-6 {
            height: 100%;
        }

        .carousel-item img {
            height: 100%;
            object-fit: cover;
        }
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-caption {
    left: 0;
    right: auto;
    padding-right: 5%;
    padding-left: 5%; 
    max-width:800px;
  
}

.valor-icon {
    max-width: 50px;
    height: 60px;
}

    .hero-caption p {
        text-align: justify;
    }

    .hero-highlight {
        color: #4f8c4c;
        font-weight: 700;
    }

.ui-bg-primary {
    background-color: #21359e;
}

.ui-text-primary {
    color: #21359e;
}

.ui-text-muted {
    text-align: justify;
    color: #686868;
}

.ui-bg-soft {
    background-color: #eff1fb;
}

/* CERTIFICACION  */
.certificacion-badge {
    background: linear-gradient(90deg, #1c2787, #1f2ca7, #2334d6);
    color: #fff;
    font-size: 1.1rem;
}

.certificacion-img {
    max-width: 260px;
    margin: 0 auto;
}

/* footer  */
.footer-cobefar {
    background: linear-gradient(90deg, #1c2787 0%, #1f2ca7 50%, #2334d6 100%);
    color: #ffffff;
}




/* registro sanitario */
.buscador-form {
    gap: 12px;
}

.buscador-input {
    background-color: #eff1fb;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    height: 44px;
    font-size: 14px;
}


    .buscador-input:focus {
        box-shadow: none;
        background-color: #eff1fb;
        color: #686868;
    }

.buscador-btn {
    border-radius: 50px;
    height: 44px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .buscador-btn i {
        font-size: 16px;
    }

.ui-text-p {
    text-align: center;
}


/*formulario*/

.form-section {
    background-color: #f3f8fc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-header {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-footer {
    font-size: 0.875rem;
    color: #888;
    margin-top: 20px;
}

.submit-btn {
    background-color: #28a745; /* Verde similar al que aparece en la imagen */
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    padding: 10px 20px;
    width: 100%;
}

    .submit-btn:hover {
        background-color: #218838;
    }

.background-container {
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}



.img-side {
    height: 100%;
    object-fit: cover;
}