/* =======================================
   EMPLOYERS PAGE CSS
   ======================================= */

/* SECTION 1: HERO */
.employer-hero {
    position: relative;
    padding-top: 260px;
    padding-bottom: 3rem;
    min-height: calc(100vh - 218px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.employer-hero-bg {
    position: absolute;
    top: calc(var(--header-height, 130px) + 2rem);
    right: 0;
    width: 50%;
    height: calc(100% - var(--header-height, 130px) - 4rem);
    background-image: url('../../images/employers/employers.jpg');
    background-size: cover;
    background-position: top center;
    border-radius: 40px 0 0 40px;
    z-index: 1;
}

.employer-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%); */
    border-radius: 40px 0 0 40px;
}

.employer-hero-content {
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-stat-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* SECTION 2: WHY CHOOSE US */
.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.trust-card:hover .trust-icon {
    background: var(--color-primary);
    color: #fff;
}

/* SECTION 3: PROCESS TIMELINE */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 2px;
    background: color-mix(in srgb, var(--color-primary) 15%, transparent);
}

@media (min-width: 768px) {
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #fff;
    border: 4px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.timeline-content {
    margin-left: 6rem;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

@media (min-width: 768px) {
    .timeline-icon {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: calc(50% - 4rem);
        margin: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: auto;
    }
}

/* SECTION 4: INDUSTRIES (Enhanced) */
.emp-industry-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 300px;
    display: block;
}

.emp-industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.emp-industry-card:hover .emp-industry-img {
    transform: scale(1.1);
}

.emp-industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 76, 129, 0.9) 0%, rgba(15, 76, 129, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.3s ease;
}

.emp-industry-card:hover .emp-industry-overlay {
    background: linear-gradient(to top, rgba(15, 76, 129, 0.95) 0%, rgba(15, 76, 129, 0.4) 100%);
}

.emp-industry-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.emp-industry-card:hover .emp-industry-content {
    transform: translateY(0);
}

.emp-industry-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.emp-industry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.emp-industry-link {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emp-industry-card:hover .emp-industry-link {
    opacity: 1;
}

/* SECTION 5: POSITIONS */
.position-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.position-pill:hover {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* SECTION 6: DOCUMENTS */
.doc-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.doc-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(15, 76, 129, 0.08);
}

.doc-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.doc-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
}

.doc-btn:hover {
    opacity: 0.8;
}

/* SECTION 7: SUPPORT */
.support-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.support-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.support-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* SECTION 8: PROJECTS */
.project-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.project-logo-ph {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-surface-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
}

/* SECTION 9: COUNTRIES */
.emp-country-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.emp-country-card:hover {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

.emp-country-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* SECTION 10: GALLERY */
.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 76, 129, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* SECTION 12: FORM */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9rem;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--color-border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--color-surface-alt);
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

.file-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

/* UTILS */
.bg-primary-light {
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

@media (max-width: 992px) {
    .employer-hero-bg {
        display: none;
    }
}

/* WIZARD CSS */
.wizard-progress-container {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.wizard-progress-bar-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    border-radius: 2px;
}

.wizard-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-primary);
    width: 25%;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.wizard-steps-indicators {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.wizard-step-indicator {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.wizard-step-indicator.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.wizard-step-indicator.completed {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.wizard-step {
    animation: fadeIn 0.4s ease forwards;
}

.wizard-step.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple responsive padding for headers */
@media (max-width: 1024px) {
    .employer-hero {
        padding-top: 115px;
        padding-bottom: 2rem;
    }
}