﻿/* --------------------------------------------------
   IMPORTS
-------------------------------------------------- */
@import url('variables.css');
@import url('flexbox.css');

html {
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-global {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.main-content {
    flex: 1;
}

.strength-feedback,
.password-strength-indicator {
    font-family: var(--font-family-body);
}

/* --------------------------------------------------
   GLOBAL TYPOGRAPHY AND STRUCTURE
-------------------------------------------------- */
.body {
    margin: 0;
    height: auto;
}

h1 {
    font-family: var(--font-family-title);
    font-weight: var(--font-weight-title);
    font-size: var(--font-size-title);
    line-height: 1;
}

h2 {
    font-family: var(--font-family-subtitle);
    font-weight: var(--font-weight-subtitle);
    font-size: var(--font-size-subtitle);
}

h3 {
    font-family: var(--font-family-subtitle2);
    font-weight: var(--font-weight-subtitle2);
    font-size: var(--font-size-subtitle2);
}

h4, h5, h6 {
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
}

h4 {
    font-weight: 500;
}

h5, h6 {
    font-weight: var(--font-weight-body);
    margin: 0;
}

h6 {
    font-size: 16px;
}

/* --------------------------------------------------
   HEADER SECTION
-------------------------------------------------- */
.header-container {
    width: calc(100% - 64px);
    margin: 25px 25px 0 25px;
    background-image: url('../images/home/maskGroup-op.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 32px 32px 32px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 32px 48px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.header-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header-content {
    margin-top: 24px;
}

    .header-content .promo-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

@media (max-width: 992px) {
    .header-container {
        width: calc(100% - 32px);
        margin: 20px 16px 0 16px;
        padding: 24px 24px 32px 24px;
        border-radius: 24px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

        .header-content .promo-wrapper {
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
}

@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
        justify-content: center !important;
        align-items: center !important;
    }

        .header-content .promo-wrapper {
            flex-direction: column;
            align-items: center;
        }
}

/* --------------------------------------------------
   NAVBAR SECTION
-------------------------------------------------- */
.background-banner {
    padding: 0px 80px 0px 90px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin: 20px;
    margin-bottom: 0px;
    background-image: url('../images/home/maskGroup.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.m-body {
    margin-left: 90px;
    margin-right: 90px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.3rem;
    position: relative;
}

.navbar-logo img {
    height: 50px;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

    .navbar-links a {
        text-decoration: none;
        font-family: var(--font-family-navbar);
        font-size: var(--font-size-navbar);
        font-weight: var(--font-weight-navbar);
        color: var(--font-color);
    }

        .navbar-links a:hover {
            color: var(--primary-color);
        }

.desktop-buttons {
    display: flex;
    gap: 1rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .navbar-toggle span {
        width: 25px;
        height: 3px;
        background-color: black;
    }

.mobile-buttons {
    display: none;
}

@media (max-width: 844px) {
    .background-banner {
        padding: 0px;
        border-radius: 10px;
        margin: 7px;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        display: none;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .navbar-links.active {
            display: flex;
        }

    .navbar-toggle {
        display: flex;
    }

    .desktop-buttons {
        display: none;
    }

    .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

        .mobile-buttons button {
            width: 100%;
        }
}

@media (max-width: 60em) {
    .background-banner {
        padding: 0px;
        border-radius: 10px;
        margin: 7px;
    }

    .navbar {
        z-index: 100;
        position: relative;
        padding: 1rem 1.2rem;
        border-radius: 10px;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #65afd5;
        flex-direction: column;
        display: none;
        padding: 1.5rem 1.5rem 1rem;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #eaeaea;
        animation: slideDown 0.3s ease forwards;
        border-radius: 10px;
    }

        .navbar-links.active {
            display: flex;
        }

        .navbar-links li.active a {
            color: #0089D1;
            font-weight: bold;
        }


        .navbar-links li {
            padding: 0.85rem 0;
            border-bottom: 1.5px solid #f2f2f2;
        }

            .navbar-links li:last-child {
                border-bottom: none;
            }

        .navbar-links a {
            font-size: 1.05rem;
            font-weight: 600;
            color: white;
            transition: color 0.2s ease;
        }

            .navbar-links a:hover {
                color: var(--primary-color);
            }

    .navbar-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

        .navbar-toggle span {
            width: 26px;
            height: 3px;
            background-color: #333;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

    .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1rem;
        border-radius: 40px;
    }

        .mobile-buttons a {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.6rem 0.75rem;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
        }

        .mobile-buttons .button-secondary {
            background-color: #F4B425;
            color: #333;
        }

            .mobile-buttons .button-secondary:hover {
                background-color: white;
            }

        .mobile-buttons .button-primary {
            background-color: white;
            color: black;
        }

            .mobile-buttons .button-primary:hover {
                background-color: #0075c4;
                color: white;
            }

    .desktop-buttons {
        display: none;
    }

    @keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(-8%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* --------------------------------------------------
   GENERAL BUTTONS
-------------------------------------------------- */
.button-primary,
.button-secondary,
.button-third,
.button-fourth,
.button-five,
.button-card-feature {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-button);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-button);
    border: none;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.button-primary {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: black;
}

.button-secondary {
    padding: 10px 20px;
    background-color: transparent;
}

.button-third {
    padding: 10px 20px;
    background-color: #33a2da;
    color: white;
}

.button-fourth {
    padding: 10px 20px;
    background-color: #33A2DA;
    color: white;
}

.button-five {
    padding: 10px 20px;
    background-color: #0384C7;
    color: white;
}

.button-card-feature {
    padding: 5px 25px;
    font-size: 12px;
    background-color: #434344;
    border-radius: 25px;
    color: white;
}

.button-primary:hover {
    background-color: #0056b3;
    color: white;
}

    .button-primary:hover span {
        color: white;
    }

.button-third:hover {
    background-color: lightgray;
    color: black;
}

.button-fourth:hover {
    background-color: lightgray;
    color: black;
}

.button-five:hover {
    background-color: lightgray;
    color: black;
}

.button-primary:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.button-primary span,
.button-secondary span {
    padding: 0px;
    text-align: center;
    white-space: nowrap;
    color: black;
}

.button-primary img,
.button-secondary img {
    width: 20px;
    height: 20px;
}

.svg-button-hiring {
    width: 16px;
    height: 16px;
}

.button-primary:hover .svg-button-hiring {
    fill: white;
}

/* --------------------------------------------------
   FOOTER SECTION
-------------------------------------------------- */
.container-footer {
    background-color: #d4ecfe;
    background-image: url('../images/home/marca-agua.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20% auto;
    padding: 30px 20px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 20px;
    height: 450px;
}

.option-footer {
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .footer-right-spacing {
        margin-right: 100px;
    }
}


@media (max-width: 768px) {
    .container-footer {
        background-image: none;
        padding: 20px 15px;
        height: auto;
        border-radius: 15px;
        text-align: center;
    }

        .container-footer .flex.w-full {
            flex-direction: column;
        }

        .container-footer img {
            width: 250px;
            margin-top: 60px;
            margin-bottom: 10px;
        }

        .container-footer > div > div {
            flex-direction: column;
            margin: 0;
            gap: 2rem;
            align-items: center;
        }

        .container-footer h5 {
            font-size: 1.2rem;
        }

        .container-footer h6 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

    .option-footer {
        justify-content: center;
        flex-direction: row;
        gap: 0.5rem;
    }

    .container-footer svg {
        width: 24px !important;
        height: 24px !important;
    }

    .container-footer > .flex.justify-around.w-full {
        flex-direction: column;
        align-items: center;
        gap: 0rem;
        padding-bottom: 0rem !important;
    }

    .footer-right-spacing > div {
        margin-right: 30px !important;
    }
}

/* --------------------------------------------------
   FOOTER BANNER
-------------------------------------------------- */
.footer-banner-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: -75px;
    position: relative;
    z-index: 10;
    background-blend-mode: overlay;
}

.footer-banner-content {
    width: 90%;
    max-width: 900px;
    height: 300px;
    background-image: url('/Content/images/footer.svg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.job-title {
    text-align: center;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.job-title-2 {
    text-align: center;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-family: var(--font-family-subtitle);
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.footer-subtitle-2 {
    font-family: var(--font-family-body);
    text-align: center;
    font-size: 18px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    white-space: normal;
}

.footer-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-btn-cta,
.footer-btn-faq {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px 10px 25px;
    font-family: var(--font-family-button);
    font-size: var(--font-size-button);
    font-weight: 800;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    text-decoration: none;
}

.footer-btn-call {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px 10px 25px;
    font-family: var(--font-family-button);
    font-size: var(--font-size-button);
    font-weight: 500;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    text-decoration: none;
}

.footer-btn-cta {
    background-color: var(--secondary-color);
    color: black;
}

    .footer-btn-cta:hover {
        background-color: #0056b3;
        color: white;
    }

.footer-btn-faq {
    background-color: white;
    color: black;
}

    .footer-btn-faq:hover {
        background-color: lightgray;
        color: black;
    }

.footer-btn-call {
    background-color: white;
    color: black;
}

    .footer-btn-call:hover {
        background-color: lightgray;
        color: black;
    }

@media (max-width: 768px) {
    .footer-banner-content {
        height: auto;
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .job-title,
    .footer-subtitle {
        font-size: 2rem;
        line-height: 1.2;
    }

    .footer-subtitle {
        margin-bottom: 2rem;
    }

    .footer-button-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-btn-cta,
    .footer-btn-faq {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

/* --------------------------------------------------
   FLOATING RESET BUTTON
-------------------------------------------------- */
.floating-reset-btn {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #162960, #1e3a72) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(22, 41, 96, 0.3);
    z-index: 1000 !important;
    color: white;
}

    .floating-reset-btn:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 6px 25px rgba(22, 41, 96, 0.4);
        background: linear-gradient(135deg, #1e3a72, #162960);
    }

    .floating-reset-btn:active {
        transform: translateY(-1px) scale(1.05);
    }

    .floating-reset-btn svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    .floating-reset-btn.show {
        opacity: 1;
        pointer-events: auto;
        animation: bounceIn 0.6s ease-out;
    }

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
/* --------------------------------------------------
   LOGO CONTAINER
-------------------------------------------------- */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

    .logo-container img {
        width: 200px;
        height: auto;
        transition: transform 0.3s ease;
    }

        .logo-container img:hover {
            transform: scale(1.05);
        }

/* --------------------------------------------------
   LOAD MORE BUTTON
-------------------------------------------------- */
.load-more-container {
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background-color: #ffb400;
    color: black;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .load-more-btn:hover {
        background-color: #0056b3;
        color: white;
    }

.load-more-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.load-more-btn.loading {
    background-color: #E0EFF7;
}

.loading-text {
    font-family: var(--font-family-button);
    font-weight: 700;
    font-size: 18px;
    color: #162960;
    margin: 0;
}

.spinner-ring {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #263e80;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-logo {
    width: 14px;
    height: 14px;
    z-index: 1;
    pointer-events: none;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.load-more-jobs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.spinner-ring-jobs {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner-circle-jobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #263e80;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-logo-jobs {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -40%);
    z-index: 2;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .title-principal {
        font-size: 40px;
    }

    .container-title h5 {
        font-size: 20px;
        line-height: 1.1;
    }
}

/* --------------------------------------------------
   BUTTONS FEATURES HEADER
-------------------------------------------------- */
.section-buttons {
    margin-top: 5px;
    margin-bottom: -25px;
    gap: 10px;
}

.button-features {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family-button);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    padding: 8px 16px;
    background: #f0f9ff;
    border: 1px solid #0384C7;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #0384C7;
}

    .button-features.active {
        background-color: #0384C7 !important;
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(22, 41, 96, 0.3);
    }

    .button-features:hover:not(.active) {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        background-color: rgba(22, 41, 96, 0.1);
    }