/* Career Page Styles */
.career-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    padding: 0;
    height: 75vh;
    min-height: 500px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../../images/hero/CreerHero.png") no-repeat top center;
    background-size: cover;
    opacity: 0.5;
}

.career-hero-content {
  
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.career-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}
/* Container Class */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Vacancies Section */
.vacancies-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vacancies-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.vacancy-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.vacancy-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vacancy-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #fff;
}

.vacancy-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.vacancy-meta {
    display: flex;
    gap: 15px;
}

.vacancy-type, .vacancy-location {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f8f9fa;
    color: #666;
}

.vacancy-question i {
    color: #2d3561;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.vacancy-item.active .vacancy-question i {
    transform: rotate(180deg);
}

.vacancy-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.vacancy-item.active .vacancy-answer {
    max-height: 1000px;
    padding: 0 25px 25px 25px;
}

.vacancy-description {
    margin-bottom: 20px;
}

.vacancy-description p {
    color: #666;
    line-height: 1.6;
}

.vacancy-requirements, .vacancy-skills {
    margin-bottom: 20px;
}

.vacancy-requirements h4, .vacancy-skills h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.vacancy-requirements ul {
    list-style: none;
    padding: 0;
}

.vacancy-requirements li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.vacancy-requirements li::before {
    content: "•";
    color: #2d3561;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: #e8f0fe;
    color: #2d3561;
    border-radius: 15px;
    font-weight: 500;
}

.vacancy-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vacancy-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vacancy-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    color: white;
    padding: 25px;
    position: relative;
}

.vacancy-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.vacancy-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vacancy-type, .vacancy-location {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.vacancy-content {
    padding: 30px;
}

.vacancy-description {
    margin-bottom: 25px;
}

.vacancy-description p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.vacancy-requirements {
    margin-bottom: 25px;
}

.vacancy-requirements h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.vacancy-requirements ul {
    list-style: none;
    padding: 0;
}

.vacancy-requirements li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.vacancy-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d3561;
    font-weight: bold;
}

.vacancy-skills h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #2d3561;
    color: white;
    border-color: #2d3561;
}

.vacancy-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.apply-btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Application Form Section */
.application-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.career-application-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d3561;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* File Upload Styles */
.file-upload {
    position: relative;
    display: block;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 30px;
    border: 2px dashed #2d3561;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-label:hover {
    background: #e9ecef;
    border-color: #2d3561;
}

.file-upload-label i {
    font-size: 2.5rem;
    color: #2d3561;
    margin-bottom: 15px;
    display: block;
}

.file-upload-text {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.file-upload-hint {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 10px;
}

.file-name {
    color: #155724;
    font-weight: 500;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background: #c82333;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal !important;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: #2d3561;
    border-color: #2d3561;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.terms-link, .privacy-link {
    color: #2d3561;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover, .privacy-link:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

/* Why Join Us Section */
.why-join-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

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

.benefit-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .career-hero {
        height: auto;
        min-height: 350px;
        padding: 100px 0 60px;
    }

    .career-hero h1 {
        font-size: 2.5rem;
    }
    
    .career-hero p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefit-item {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .vacancies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .career-application-form {
        padding: 25px;
    }
    
    .form-header {
        padding: 30px 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .vacancy-header h3 {
        font-size: 1.3rem;
    }
    
    .vacancy-content {
        padding: 20px;
    }
    
    .vacancy-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .career-hero {
        min-height: 300px;
    }

    .career-hero h1 {
        font-size: 2rem;
    }
    
    .career-hero p {
        font-size: 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .benefit-item h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
