
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    padding-right: 15px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Career Form Section */
.form-section-header {
    margin-bottom: 24px;
}

.form-container {
    background-color: var(--bg-form-container);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 3;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label .required {
    color: #dc2626;
    margin-left: 2px;
}

.form-label .optional {
    color: #9ca3af;
    font-weight: 400;
}

.file-upload-container {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 6px;
    overflow: hidden;
}

.file-upload-input-text {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #9ca3af;
    border: none;
    background: transparent;
    outline: none;
}

.btn-browse {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-browse:hover {
    background-color: #1e293b;
}

/* Submit Button & Loading State */
.btn-submit {
    grid-column: span 3;
    width: 100%;
    background-color: var(--navy);
    color: var(--white);
    border: 1px solid rgba(194, 155, 98, 0.4);
    padding: 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover:not(:disabled) {
    background-color: #1a233a;
    border-color: var(--gold);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-alert-error {
    grid-column: span 3;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 8px;
}

/* Benefits Section Layout */
.benefits-section {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: center;
}

.benefits-content {
    padding-right: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 140px;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    color: var(--gold);
    stroke-width: 1.6;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

/* Pop-up Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 36px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-light);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.modal-close-btn:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.modal-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(194, 155, 98, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-message {
    font-size: 0.98rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        height: 280px;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-group.full-width, .btn-submit, .form-alert-error {
        grid-column: span 2;
    }

    .benefits-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 24px 0;
    }

    .form-container {
        padding: 24px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width, .btn-submit, .form-alert-error {
        grid-column: span 1;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .modal-box {
        padding: 24px;
    }
}
