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 {
    margin-bottom: 0px;
}

.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;
}

.job-card {
    transition: all .2s ease;
}

    .job-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }

.regional-banner {
    transition: all .3s ease;
}

    .regional-banner:hover {
        transform: scale(1.01);
    }

.job-image-preview {
    transition: all .3s ease;
}

    .job-image-preview:hover {
        transform: scale(1.01);
        opacity: .95;
    }


.small-box {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .small-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    .small-box .icon {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 40px;
        opacity: 0.2;
    }

/* NAVBAR LINKS */
.navbar-brand img {
    border-radius: 6px;
}

.navbar {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

    /* HOVER EFECTO */
    .navbar-nav .nav-link:hover {
        color: #ffffff !important;
        transform: translateY(-2px);
    }

    /* LINEA ANIMADA */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background: #ffffff;
        transition: width 0.3s;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    /* ICONOS */
    .navbar-nav .nav-link i {
        transition: transform 0.3s;
    }

    .navbar-nav .nav-link:hover i {
        transform: scale(1.2);
    }

.nav-link.active {
    background-color: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-weight: 600;
}
    .nav-link.active::after {
        width: 100%;
    }


.hero-section {
    background: linear-gradient( rgba(0,0,0,0.65), rgba(0,0,0,0.65) ), url('/img/hero-focus.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    border-radius: 16px;
    margin-top: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.hero-search .form-control {
    height: 50px;
    border-radius: 8px;
}

.hero-search .btn {
    height: 50px;
    font-weight: 600;
}

.hero-image {
    max-height: 300px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-section {
        padding: 60px 20px;
    }
}

/* CARD */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    /* HOVER PRO */
    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    }

/* IMAGEN */
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d6efd;
}

/* TEXTO */
.testimonial-text {
    font-style: italic;
    color: #555;
    text-align: center;
    min-height: 80px;
}

/* FONDO SUAVE */
.how-section {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    padding: 60px 20px;
}

/* CARD */
.how-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    /* HOVER PRO */
    .how-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

/* ICONO */
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-box i {
        color: #fff;
        font-size: 28px;
    }

.cta-section {
    margin-bottom: 60px;
}

/* FONDO FOOTER */
.footer-pro {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 20px;
}

    /* ESPACIADO INTERNO */
    .footer-pro .container-fluid {
        max-width: 1400px;
    }

/* TEXTO */
.footer-text {
    color: #94a3b8;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        display: block;
        margin-bottom: 6px;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 5px;
        }

/* DIVISOR */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* COPY */
.footer-copy {
    color: #64748b;
    font-size: 13px;
}

/* LOGO */
.footer-logo {
    width: 40px;
    height: 40px;
    background: white;
    padding: 4px;
    border-radius: 8px;
}

/* FONDO GENERAL */
.login-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0d6efd, #1e3a8a);
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 12px;
}

/* HEADER */
.login-header {
    background: transparent;
    padding: 25px;
}

/* LOGO */
.login-logo {
    width: 50px;
    height: 50px;
    background: white;
    padding: 5px;
    border-radius: 10px;
}

/* INPUTS */
.input-pro {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

    .input-pro:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
    }

/* BOTÓN */
.btn-pro {
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    transition: 0.3s;
}

    .btn-pro:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13,110,253,0.3);
    }

/* LINK */
.link-pro {
    color: #0d6efd;
    text-decoration: none;
}

    .link-pro:hover {
        text-decoration: underline;
    }

.login-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    transition: all 0.2s ease-in-out;
}

.btn-gradient-ai {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-gradient-ai:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

/* Tarjetas Estilos en Vacantes */
.job-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

    .job-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

/* Imagen */
.job-img-wrapper {
    overflow: hidden;
    position: relative;
}

.job-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.job-card:hover .job-img {
    transform: scale(1.08);
}

/* efecto overlay opcional */
.job-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.job-card:hover .job-img-overlay {
    opacity: 1;
}

.btn-primary {
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: scale(1.03);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
