﻿:root {
    /* ===== رنگ اصلی برند ===== */
    --primary: #162774;
    /* رنگ هاور دکمه‌ها و لینک‌های اصلی */
    --primary-hover: #1C3264;
    /* رنگ تیره‌تر برای هدر یا فوتر */
    --primary-dark: #0A1836;
    /* ===== رنگ تاکیدی ===== */
    --secondary: #F2B21B;
    /* هاور رنگ طلایی */
    --secondary-hover: #FFC83D;
    /* طلایی تیره */
    --secondary-dark: #D89600;
    /* ===== رنگ پس‌زمینه ===== */
    --background: #F7F9FC;
    /* رنگ کارت‌ها، مودال‌ها و باکس‌ها */
    --surface: #FFFFFF;
    /* پس‌زمینه بخش‌های جداکننده */
    --surface-light: #EEF2F8;
    /* ===== رنگ متن ===== */
    --text-primary: #1B2430;
    /* متن توضیحات */
    --text-secondary: #6B7280;
    /* متن غیرفعال */
    --text-disabled: #9CA3AF;
    /* متن سفید */
    --text-white: #FFFFFF;
    /* ===== رنگ خطوط ===== */
    --border: #E5EAF2;
    /* رنگ خطوط هنگام هاور یا فوکوس */
    --border-hover: #CCD5E3;
    /* ===== رنگ وضعیت‌ها ===== */
    /* موفقیت */
    --success: #16A34A;
    /* هشدار */
    --warning: #F59E0B;
    /* خطا */
    --danger: #DC2626;
    /* اطلاع‌رسانی */
    --info: #2563EB;
    /* ===== سایه ===== */

    --shadow-sm: 0 2px 8px rgba(19,35,71,.05);
    --shadow-md: 0 8px 20px rgba(19,35,71,.10);
    --shadow-lg: 0 15px 35px rgba(19,35,71,.18);
    /* ===== اورلی ===== */
    /* برای مودال یا منو */
    --overlay: rgba(19,35,71,.75);
    /* ===== شعاع گوشه ===== */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    /* ===== انیمیشن ===== */

    --transition: .3s ease;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

html {
    width: -webkit-fill-available;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

 
/* ============================================
   NEW PROCESS SECTION — MSTID-INSPIRED
   ============================================ */
.process-section {
    padding: 90px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect, similar to MSTID */
.process-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(210, 173, 44, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Each step and its connector */
.process-step-wrapper {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.process-step {
    width: 100%;
    padding: 10px 0;
    position: relative;
}

/* The main card for each step */
.step-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 28px 35px;
    box-shadow: 0 8px 30px rgba(30, 42, 94, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

    /* A subtle gold accent line on hover */
    .step-content::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 0%;
        background: linear-gradient(180deg, var(--gold), var(--gold-light));
        border-radius: 4px 0 0 4px;
        transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

.process-step:hover .step-content::after {
    height: 100%;
}

.process-step:hover .step-content {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(30, 42, 94, 0.12), 0 0 0 1px rgba(210, 173, 44, 0.2);
    background: rgba(255, 255, 255, 0.85);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    background: rgba(210, 173, 44, 0.1);
    display: inline-block;
    padding: 2px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(210, 173, 44, 0.2);
    direction: ltr;
}

.step-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ----- VERTICAL CONNECTOR (TIMELINE) ----- */
.step-connector {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    /* The vertical line */
    .step-connector::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, var(--gold), rgba(210, 173, 44, 0.2));
        opacity: 0.4;
    }

/* The dot on the line */
.connector-dot {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(210, 173, 44, 0.15), 0 0 20px rgba(210, 173, 44, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Animate the dot on step hover */
.process-step-wrapper:hover .connector-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(210, 173, 44, 0.2), 0 0 30px rgba(210, 173, 44, 0.4);
}

.step-connector.last::before {
    background: linear-gradient(180deg, var(--gold), transparent);
}

/* ----- GSAP/SCROLL ANIMATION CLASSES (for this section) ----- */
.process-step-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

    .process-step-wrapper.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delays for each step */
    .process-step-wrapper:nth-child(1) {
        transition-delay: 0.05s;
    }

    .process-step-wrapper:nth-child(2) {
        transition-delay: 0.15s;
    }

    .process-step-wrapper:nth-child(3) {
        transition-delay: 0.25s;
    }

    .process-step-wrapper:nth-child(4) {
        transition-delay: 0.35s;
    }

    .process-step-wrapper:nth-child(5) {
        transition-delay: 0.45s;
    }

.process-cta {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .step-content {
        padding: 24px 20px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-desc {
        font-size: 14px;
    }

    .process-step-wrapper {
        transform: translateY(30px);
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 60px 0;
    }

    .step-content {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .step-title {
        font-size: 16px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    left: 2px;
}