/* =========================
   FUENTE GENERAL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;800&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/* =========================
   CARDS PERSONALIZADAS
========================= */
.custom-card,
.custom-card-grey {
    height: 550px !important;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.custom-card {
    background-color: #f0f0f0 !important;
}
.custom-card-grey {
    background-color: #ffffff !important;
}
.card.custom-card:hover,
.card.custom-card-grey:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.card {
    border: 2px solid rgba(0, 0, 0, 0.24);
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card img {
    height: 150px;
    object-fit: cover;
}
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-text {
    display: flex;
    align-items: center;
    gap: 5px;
}
.material-symbols-outlined {
    font-size: 24px;
}

/* =========================
   BOTÓN "VER MÁS"
========================= */
.btn-minimal {
    background-color: #001e44;
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: center;
}
.btn-minimal:hover {
    background-color: #0d3263;
    color: white;
    box-shadow: 0 4px 12px rgba(116, 28, 175, 0.3);
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float img {
    width: 30px;
    height: 30px;
    filter: invert(1);
}

/* =========================
   SECCIONES Y FONDOS
========================= */
.section-title {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #3c3c3c;
}
.section-white-bg {
    background-color: #fff;
    padding: 10px 0;
}
.section-grey-bg {
    background-color: #f4f4f4;
    padding: 10px 0;
    border-top: 1px dashed #dfdcdc;
}
.section-lightblue {
    background-color: #eef6fb;
    padding: 10px 0;
}

/* =========================
   CARRUSELES Y BANNERS
========================= */
.full-width-carousel .item {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.full-width-carousel .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.owl-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .full-width-carousel .item {
        height: 25vh;
    }
    .full-width-carousel .item img {
        height: 120px;
    }
    .section-title {
        font-size: 1.2rem;
        margin-top: 5px;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    .full-width-carousel .item img {
        height: 220px;
    }
}
@media (min-width: 992px) {
    .full-width-carousel .item img {
        height: 320px;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1322px;
    }
}

/* =========================
   MENÚ Y NAVEGACIÓN
========================= */
.navbar {
    background: linear-gradient(45deg, #fff, #ffffff);
    padding: 0px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    font-size: 22px;
    font-weight: bold;
    color: #051525 !important;
}
.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #051525 !important;
    padding: 0px 15px;
}
.nav-link:hover {
    color: #6904ac !important;
}
@media (max-width: 992px) {
    .navbar-collapse {
        background: #222;
        padding: 10px;
        border-radius: 10px;
    }
    .nav-link {
        text-align: center;
    }
}

/* =========================
   OTROS ELEMENTOS
========================= */
.btn-primary {
    color: #fff;
    background-color: #001e44;
    border-color: #8026b5;
    padding: .2rem .75rem;
}
h4 {
    color: #817e8c;
    font-weight: 600;
}
.footer-icons a {
    margin-right: 10px;
    display: inline-block;
}
.footer-icons img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.custom-img-radius {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
