@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

body {
    margin: 0;
    padding-top: 80px;
}


.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

p {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}

h1 {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.navbar-custom-bg {
    background: linear-gradient(to right, #0479ff, #002651) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.show .nav-link {
    background-color: #ffffff;
    color: #004799 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #004799;
        padding: 1rem;
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
    }

    .navbar-nav .dropdown-menu {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        display: block;
        transform: none;
        box-shadow: none;
        position: static;
        float: none;
        width: auto;
        margin-top: 0.5rem;
        padding-top: 0;
        padding-bottom: 0;
        background-color: transparent;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-nav .dropdown-menu.show {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

.main {
    /* background-color: #f8f9fa; */ /* Eliminado para que el fondo del body sea visible */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.main .shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main .shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .2) !important;
}

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    top: 0;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


.swiper-slide img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0.7);
        opacity: 0;
    }
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox.show .lightbox-img {
    animation: zoomIn 0.3s ease forwards;
}

.lightbox.hide .lightbox-img {
    animation: zoomOut 0.3s ease forwards;
}

.carousel-caption-custom {
    left: 5%;
    right: auto;
    bottom: 3rem;
    padding-bottom: 0;
}

.footer {
    background-color: #dbe4f1;
    color: #3b4c73;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.columna {
    margin: 0 20px;
}

.columna h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.columna ul {
    list-style: none;
    padding: 0;
}

.columna ul li {
    margin-bottom: 10px;
}

.columna a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.columna a:hover {
    text-decoration: underline;
}

.icono a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

h3 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
}

.columna img {
    width: 200px;
    height: 200px;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px double #004799;
    border: 6px solid #ffffff;
    box-shadow: 0 0 0 4px #004799, 0 6px 12px rgba(0, 0, 0, 0.25);
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: transform 0.3s ease;
}

.columna img:hover {
    transform: scale(1.05);
}

.document-swiper {
    padding-bottom: 40px !important;
}

.document-card {
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.document-preview {
    flex-grow: 1;
    object-fit: contain;
    width: 100%;
    margin-bottom: 1rem;
}

.swiper-scrollbar-drag {
    background: #004799 !important;
    border-radius: 10px;
}
.btn{
    width: 100%;
}