/**
 * Enhanced Careers Page Styles
 */

/* Hero Section */
.careers-hero {
    position: relative;
    background: url('https://hanupay.com/assets/footer-bg.jpg') center/cover no-repeat;
    padding: 120px 0;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(45, 85, 255, 0.85) 100%);
    z-index: 1;
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.careers-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.careers-hero .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.careers-hero .breadcrumb-item,
.careers-hero .breadcrumb-item a {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.careers-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.careers-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefit-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(129, 140, 248, 0.1) 100%);
    color: var(--primary-color);
    font-size: 28px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.benefit-card p {
    color: #64748b;
    margin-bottom: 0;
}

/* Application Form */
.application-section {
    padding: 80px 0;
}

.application-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.application-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 25px 30px;
    border: none;
}

.application-card .card-header h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.application-card .card-body {
    padding: 40px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(79, 70, 229, 0.2) 0%, rgba(129, 140, 248, 0.2) 100%);
    margin-bottom: 2rem;
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1rem;
    height: calc(3.5rem + 2px);
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

.form-floating > label {
    padding: 1rem 1rem;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(79, 70, 229, 0.3);
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(79, 70, 229, 0.02);
    margin-bottom: 1rem;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-upload-text {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.file-upload-info {
    font-size: 0.85rem;
    color: #64748b;
}

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

.file-upload-preview {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    text-align: left;
}

.file-upload-preview i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.submit-btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-section .accordion-item {
    border: none;
    background: #fff;
    border-radius: 15px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-section .accordion-button {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    background: #fff;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(79, 70, 229, 0.1);
}

.faq-section .accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.faq-section .accordion-body {
    padding: 1rem 2rem 2rem;
    color: #64748b;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    
    .careers-hero p {
        font-size: 1.1rem;
    }
    
    .application-card .card-body {
        padding: 30px;
    }
    
    .benefit-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 80px 0;
    }
    
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero p {
        font-size: 1rem;
    }
    
    .application-card .card-body {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .faq-section .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-section .accordion-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}
