html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    /* Imagen de fondo */
    background-image: url('../imagenes/fondo_cc_2026_webupla.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main-content {
    flex: 1 0 auto;
}

.footer-upla {
    flex-shrink: 0;
    background-color: #0099CC;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Animaciones para las cards */
.card-animated {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .card-animated:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    }

/* Animación del fondo de la card */
.card-bg-image {
    transition: transform 0.6s ease;
    transform: scale(1.05);
}

.card-animated:hover .card-bg-image {
    transform: scale(1.15);
}

/* Animación del gradiente */
.card-gradient {
    transition: opacity 0.4s ease;
}

.card-animated:hover .card-gradient {
    opacity: 0.85 !important;
}

/* Animación de los botones dentro de las cards */
.card-animated .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-animated:hover .btn {
    transform: translateY(-2px);
}

.card-animated .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-section {
    color: #fff;
    background-color: rgba(2, 161, 228, 0.5);
    border-radius: 20px;
    padding: 3px;
}

.text-primary-upla {
    color: #01a0e4;
}

.btn-primary-upla {
    background-color: #01a0e4;
    color: #fff;
}
    .btn-primary-upla:hover {
        background-color: #01a0e4;
        color: #fff;
    }

/* Estilos responsivos para el navbar */
.navbar-header {
    min-height: 70px;
    height: auto;
}

/* Logos del navbar - Móvil */
.navbar-logo {
    max-height: 50px;
    width: auto;
}

.navbar-logo-center {
    max-height: 55px;
    width: auto;
}

/* Logos del navbar - Tablet y Desktop */
@media (min-width: 768px) {
    .navbar-header {
        min-height: 100px;
        max-height: 150px;
        height: 15vh;
    }

    .navbar-logo {
        max-height: 100%;
        height: 100%;
    }

    .navbar-logo-center {
        max-height: 100%;
        height: 100%;
    }
}

/* Logos del navbar - Desktop grande */
@media (min-width: 1200px) {
    .navbar-header {
        min-height: 120px;
    }
}