p {
    text-align: justify;
    line-height: 40px;
    font-size: 18px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.06);
    text-justify: inter-word;
}

.wrapper-landing {
    width: 94%;
    margin: 50px auto 0px auto;
    line-height: 1.5;
}

.wrapper-landing h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
}

h2 {
    font-size: 21px;
}

.wrapper-landing ul {
    margin-right: 30px;
}

.wrapper-landing li {
    line-height: 2.5;
}

.hero-section {
    background-image: url("../images/about-processes-hero.avif");
    background-repeat: no-repeat;
    height: 608px;
    position: relative;
    color: #264D6A;
    width:100% !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 60%;
    display: flex;
    align-items: center;
    padding-right: 50px;
}

.hero-title {
    margin-top: 200px;
    font-size: 3rem;
    font-weight: 700;
    color: #0B3D91;
    text-shadow: 0 2px 6px rgba(11, 61, 145, 0.25);
}

.hero-subtitle {
    margin-top: 15px;
    font-size: 1.9rem;
    color: #F7BE1B;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(11, 61, 145, 0.25);
}

.hero-text {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0,0,0,0.02), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-wrapper {
    width: 100%;
    padding: 20px 0;
    direction: ltr !important; 
}

.process-container {
    display: flex;
    flex-direction: row; /* چیدمان افقی */
    min-width: 900px;
    padding-left: 20px;
}

.process-step {
    position: relative;
    flex: 1;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 20px 0 30px;
    text-align: center;
    margin-right: 5px; /* فاصله بین پیکان‌ها */
}

/* ساختار کلی پیکان‌ها */
.process-step::before,
.process-step::after {
    content: "";
    position: absolute;
    top: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    width: 0;
    height: 0;
}

/* بریدگی پیکان در سمت چپ (ورودی) */
.process-step::before {
    left: 0;
    border-left: 20px solid #ffffff; /* رنگ پس‌زمینه سایت را اینجا ست کن */
}

/* نوک پیکان در سمت راست (خروجی) */
.process-step::after {
    right: -20px;
    border-left-width: 20px;
    border-left-style: solid;
    z-index: 1;
}

/* رنگ‌بندی مراحل طبق تصویر */
.step-1 { background-color: #2b70c9; padding-left: 20px; }
.step-1::before { display: none; } /* مرحله اول بریدگی ورودی ندارد */
.step-1::after { border-left-color: #2b70c9; }

.step-2 { background-color: #3482d1; }
.step-2::after { border-left-color: #3482d1; }

.step-3 { background-color: #566d85; }
.step-3::after { border-left-color: #566d85; }

.step-4 { background-color: #4a5c6d; }
.step-4::after { border-left-color: #4a5c6d; }

.step-5 { background-color: #3c4a59; }
.step-5::after { border-left-color: #3c4a59; }

.step-6 { background-color: #2e3945; }
.step-6::after { border-left-color: #2e3945; }

/* استایل متون */
.step-num {
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.step-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        min-width: 100%;
        padding: 0 10px;
    }
    .process-step {
        margin-bottom: 8px;
        margin-right: 0;
        height: auto;
        padding: 15px !important;
    }
    .process-step::after, .process-step::before {
        display: none;
    }
}

.seo-process-section {
    padding: 80px 20px;
    background: #f8fafc;
    direction: rtl;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

.process-header { 
  text-align: center; 
  margin-bottom: 60px; 
}
.process-header h2 { font-size: 32px; color: #1e293b; margin-bottom: 10px; }

.timeline {
    position: relative;
    margin: 0 auto;
}

/* خط عمودی تایم لاین */
.timeline::before {
    content: '';
    position: absolute;
    right: 35px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    opacity: 0; /* برای انیمیشن اسکرول */
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* حالت نمایان شدن هنگام اسکرول */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    min-width: 70px;
    font-size: 32px;
    font-weight: 800;
    color: #cbd5e1;
    text-align: center;
    transition: color 0.3s;
}

.timeline-item.active .timeline-number { color: #2b70c9; }

.timeline-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    flex: 1;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.timeline-summary {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

.timeline-icon {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 15px;
    transition: all 0.3s;
}

.timeline-item.active .timeline-icon {
    background: #2b70c9;
    color: #fff;
}

.timeline-summary h3 {
    font-size: 18px;
    color: #334155;
    flex: 1;
    margin: 0;
}

.arrow-icon {
    color: #94a3b8;
    transition: transform 0.3s;
}

.timeline-item.active .arrow-icon { transform: rotate(180deg); }

/* بخش جزئیات آکاردئون */
.timeline-details {
    max-height: 0;
    padding: 0 25px;
    transition: all 0.4s ease;
    background: #fafcff;
}

.timeline-item.active .timeline-details {
    max-height: 300px;
    padding-bottom: 25px;
    border-top: 1px inset #f1f5f9;
}

.timeline-details ul { padding-right: 20px; margin: 15px 0 0; }
.timeline-details li { font-size: 14px; color: #475569; margin-bottom: 8px; line-height: 1.6; }

@media (max-width: 768px) {
    .timeline::before { right: 20px; }
    .timeline-number { min-width: 45px; font-size: 20px; }
}

.seolab-icon{
width:26px;
height:26px;
color:#64748b;
transition:all .3s ease;
}

.timeline-item.active .seolab-icon{
color:#2b70c9;
transform:scale(1.05);
}

.timeline-icon{
width:52px;
height:52px;
display:flex;
align-items:center;
justify-content:center;
background:#f1f5f9;
border-radius:14px;
transition:.3s;
}

.timeline-item.active .timeline-icon{
background:#eaf2ff;
}

.client-role-section {
    padding: 60px 0;
    direction: rtl;
    text-align: center;
}

.section-header h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.role-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.role-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.role-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: #2563eb;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.role-icon svg {
    width: 30px;
    height: 30px;
}

.role-item h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.role-item p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* بخش اصلی سوالات متداول */
.seolab-faq {
    direction: rtl;
    padding: 40px 20px;
    background: #ffffff;
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e293b; /* text-main */
    margin-bottom: 50px;
    font-weight: 800;
}

/* آیتم‌های آکاردئون */
.faq-item {
    background: #f8fafc; /* bg-light */
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* هاور آیتم‌ها */
.faq-item:hover {
    border-color: #2563eb; /* primary-blue */
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

/* دکمه سوال */
.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b; /* text-main */
}

/* آیکون فلش */
.faq-icon {
    width: 20px;
    height: 20px;
    color: #64748b; /* text-muted */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* وضعیت فعال (وقتی سوال باز است) */
.faq-item.active {
    background: #ffffff;
    border-color: #2563eb; /* primary-blue */
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #2563eb; /* primary-blue */
}

.faq-item.active .faq-question {
    color: #2563eb; /* primary-blue */
}

/* بخش پاسخ (متحرک) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-inner {
    padding: 0 28px 22px 28px;
    color: #64748b; /* text-muted */
    line-height: 1.8;
    font-size: 1rem;
}

.cta-box {
    background-color: #f8f9fa !important; /* رنگ دقیق خاکستری وایرفریم */
    position: relative;
    overflow: hidden;
}

.btn-warning {
  font-size: 20px;
}

.btn-warning:hover {
  font-size: 20px;
  background-color: darkorange;
  border-color: darkorange;
}

.final-cta .btn-dark {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.final-cta .btn-dark:hover {
    transform: scale(1.05);
    background-color: #333;
}

/* برای هماهنگی با وایرفریم در موبایل */
@media (max-width: 768px) {
    .cta-box {
        padding: 30px 20px !important;
    }
    .display-5 {
        font-size: 1.8rem;
    }
}
