/* Process Page Styles */

/* Process Hero Section */
.process-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/process-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 80px;
}

.process-hero .container {
    position: relative;
    z-index: 2;
}

.process-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
    color: var(--white);
}

.process-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

/* Process Steps Section */
.process-steps {
    padding: 80px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.process-step {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.process-step p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Process Details Section */
.process-details {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-details .container {
    max-width: 800px;
}

.process-details h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.detail-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(10px);
}

.detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.detail-item h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.detail-item p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -10px;
}

/* RTL Support */
[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item {
    padding-right: 0;
    padding-left: 40px;
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 40px;
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .timeline-content {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .timeline-content::before {
    right: auto;
    left: -10px;
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .process-hero h1 {
        font-size: 3rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }

    [dir="rtl"] .timeline::before {
        left: auto;
        right: 30px;
    }

    [dir="rtl"] .timeline-content {
        margin-right: 60px !important;
        margin-left: 0 !important;
    }

    [dir="rtl"] .timeline-item:nth-child(odd) .timeline-content::before,
    [dir="rtl"] .timeline-item:nth-child(even) .timeline-content::before {
        right: -40px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .process-hero {
        height: 300px;
    }

    .process-hero h1 {
        font-size: 2.5rem;
    }

    .process-step {
        padding: 30px;
    }

    .detail-item {
        padding: 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-content::before {
        left: -30px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -30px;
        right: auto;
    }

    [dir="rtl"] .timeline::before {
        left: auto;
        right: 20px;
    }

    [dir="rtl"] .timeline-item {
        padding-left: 0;
        padding-right: 60px;
        margin-left: 0;
    }

    [dir="rtl"] .timeline-item:nth-child(even) {
        padding-right: 60px;
        padding-left: 0;
        margin-right: 0;
    }

    [dir="rtl"] .timeline-content::before {
        left: auto;
        right: -30px;
    }

    [dir="rtl"] .timeline-item:nth-child(even) .timeline-content::before {
        right: -30px;
        left: auto;
    }
}

/* Language-specific Font Sizes */
[lang="fa"] .process-hero h1 {
    font-size: 3.2rem;
}

[lang="fa"] .process-hero p {
    font-size: 1.1rem;
}

[lang="fa"] .process-step h3 {
    font-size: 1.4rem;
}

[lang="fa"] .process-step p {
    font-size: 1rem;
    line-height: 1.8;
}

[lang="fa"] .detail-item h3 {
    font-size: 1.3rem;
}

[lang="fa"] .detail-item p {
    font-size: 1rem;
    line-height: 1.8;
} 