/* Careers Page Styles */
.careers-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.careers-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.careers-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.careers-intro {
    padding: 80px 0;
    background-color: var(--background);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    margin-bottom: 1rem;
    hyphens: auto;
}

.intro-text h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -10px;
    right: 0;
    border-radius: 2px;
}

.intro-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
}

.jobs-section {
    padding: 80px 0;
    background-color: var(--background);
}
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* تغییر به 2 ستون */
    gap: 30px; /* افزایش فاصله برای نمایش بهتر */
}

.job-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.job-header {
    padding: 25px;
    border-bottom: 1px solid #E2E8F0;
    flex: 0 0 auto;
}

.job-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-body {
    padding: 25px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.job-description {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
}

.job-requirements {
    margin-bottom: 25px;
}

.job-requirements h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.requirements-list {
    list-style-type: none;
    padding: 0;
}

.requirements-list li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
    color: var(--text-secondary);
}

.requirements-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    right: 0;
}

.job-note {
    background: rgba(99, 102, 241, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-right: 3px solid var(--primary);
    margin-top: 20px;
}

.job-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.job-footer {
    padding: 20px 25px;
    background: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    margin-top: auto;
}

.apply-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Vazirmatn', sans-serif;
}

.apply-btn:hover {
    background: var(--primary-dark);
}

.team-expectations {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(6, 214, 160, 0.03) 100%);
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expectation-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--primary);
}

.expectation-card:hover {
    transform: translateY(-5px);
}

.expectation-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.expectation-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.expectation-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.resume-upload {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 214, 160, 0.05) 100%);
}

.upload-box {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-box h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.upload-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: justify;
    line-height: 1.8;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.channel-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.channel-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.channel-item .fa-envelope {
    color: #ea4335;
}

.channel-item .fa-telegram {
    color: #0088cc;
}

.channel-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.channel-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.channel-address {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    direction: ltr;
    display: inline-block;
}

.channel-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.channel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* دکمه ایمیل با رنگ ثابت */
.email-btn {
    background: linear-gradient(135deg, #EA4335, #D32F2F);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.4);
    background: linear-gradient(135deg, #F44336, #E53935);
    color: white;
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #00a8e8);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    color: white;
}

/* ========== طراحی فلت و تمیز فرآیند استخدام ========== */
.recruitment-process {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.recruitment-process h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.recruitment-process > p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 80px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 10%;
    left: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    border-radius: 2px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-indicator {
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.step-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.step-info {
    max-width: 220px;
}

.step-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* رسپانسیو */
@media (max-width: 1200px) {
    .process-timeline::before {
        left: 8%;
        right: 8%;
    }
}

@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        margin-top: 60px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: row;
        text-align: right;
        width: 100%;
        max-width: 500px;
        padding: 0;
    }
    
    .step-indicator {
        margin-bottom: 0;
        margin-left: 25px;
        flex-shrink: 0;
        width: 90px;
        height: 90px;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .step-info {
        max-width: none;
        flex: 1;
        text-align: right;
    }
    
	.jobs-grid {
        grid-template-columns: repeat(2, 1fr); /* حفظ 2 ستون در تبلت */
    }
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr; /* تغییر به 1 ستون در موبایل */
        gap: 20px;
    }
    
    .job-card {
        margin: 0;
    }
    
    .job-header,
    .job-body,
    .job-footer {
        padding: 20px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .apply-btn {
        justify-content: center;
    }
    
    .upload-box {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .channel-info {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .channel-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .channel-buttons {
        width: 100%;
        max-width: none;
    }
    
    .process-step {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .recruitment-process {
        padding: 80px 0;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-indicator {
        margin-left: 0;
        margin-bottom: 0;
        width: 85px;
        height: 85px;
    }
    
    .step-icon {
        font-size: 1.8rem;
    }
    
    .step-heading {
        font-size: 1.2rem;
    }
    
    .step-text {
        font-size: 0.9rem;
    }
    
    .step-info {
        text-align: center;
    }
    
    .resume-upload {
        padding: 60px 0;
    }
    
    .channel-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .channel-details {
        align-items: center;
    }
    
    .careers-hero {
        padding: 120px 0 60px;
    }
    
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .job-tags {
        justify-content: center;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .channel-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}