:root {
        --primary-color: #0277bd;
        --primary-dark: #01579b;
        --primary-light: #b3e5fc;
        --secondary-color: #0288d1;
        --accent-color: #01579b;
        --text-color: #263238;
        --light-text: #455a64;
        --background-color: #f5f5f5;
        --card-color: #ffffff;
        --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.2);
        --font-primary: 'Sahel', sans-serif; 
    }

    /* تعریف فونت‌های محلی ساحل (Self-Hosting) */
    
        
    

    
        
    

    
    /* === پایان تعریف فونت === */

    /* ===============================================
       === 2. استایل‌های پایه و انیمیشن‌ها ===
       =============================================== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-primary);
        font-weight: 400;
        background-color: var(--background-color);
        color: var(--text-color);
        line-height: 1.6;
        overflow-x: hidden;
    }
    
    /* Animated Background */
    .bg-animation {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        overflow: hidden;
    }

    .bubble {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(2, 119, 189, 0.05), rgba(1, 87, 155, 0.1));
        animation: float 20s infinite ease-in-out;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) translateX(0) scale(1);
        }
        33% {
            transform: translateY(-80px) translateX(30px) scale(1.02);
        }
        66% {
            transform: translateY(40px) translateX(-30px) scale(0.98);
        }
    }
    
    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @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); }
    }
    
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }

    /* ===============================================
       === 3. هدر و ناوبری (Header & Nav) ===
       =============================================== */
    header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
        transition: all 0.3s ease;
        height: 70px; 
        display: flex;
        align-items: center;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5%;
        max-width: 1400px;
        margin: 0 auto;
        flex-direction: row;
        width: 100%;
    }

    .logo {
        font-family: var(--font-primary);
        font-size: 32px;
        font-weight: 900;
        color: var(--primary-dark);
        text-decoration: none;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        order: 2;
    }

    .logo img {
        margin-left: 10px;
        width: 200px;
        height: 50px;
        object-fit: contain;
    }

    .logo:hover {
        transform: scale(1.02);
    }

    .nav-links {
        display: flex;
        list-style: none;
        order: 1;
    }

    .nav-links li {
        margin-left: 25px;
        margin-right: 0;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 700;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        padding: 5px 0;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--primary-dark);
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-dark);
        cursor: pointer;
    }

    /* ===============================================
       === 4. بخش اصلی (Hero Section) ===
       =============================================== */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        min-height: calc(100vh - 70px); 
        justify-content: center; 
        padding-top: 20px;
    }

    .hero h1 {
        font-family: var(--font-primary);
        font-size: 80px;
        font-weight: 900;
        margin-bottom: 20px;
        color: var(--primary-dark);
        animation: fadeInDown 1s ease;
    }

    .hero p.intro-text {
        font-size: 30px;
        max-width: 700px;
        margin-bottom: 30px;
        animation: fadeInUp 1s ease 0.3s both;
        color: var(--light-text);
        font-weight: 400;
    }

    /* استایل جدید نارنجی برای باکس متن وضعیت */
    .status-text-container {
        max-width: 800px;
        /* پس زمینه نارنجی روشن مشابه warning box قبلی */
        background: rgba(255, 243, 224, 0.95); 
        backdrop-filter: blur(5px);
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(239, 108, 0, 0.15); /* سایه نارنجی ملایم */
        margin-bottom: 40px;
        animation: fadeInUp 1s ease 0.5s both;
        border: 2px solid #ffe0b2; /* خط دور نارنجی */
        position: relative;
    }

    .status-text-container::before {
        /* یک نوار تزئینی سمت راست */
        content: '';
        position: absolute;
        right: 0;
        top: 20px;
        bottom: 20px;
        width: 4px;
        background-color: #ff9800;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .status-text-container p {
        font-size: 18px;
        /* رنگ متن قهوه ای تیره برای خوانایی روی پس زمینه روشن */
        color: #4e342e; 
        line-height: 2;
        margin-bottom: 15px;
        text-align: justify;
    }

    .status-text-container p:last-child {
        margin-bottom: 0;
        /* رنگ نارنجی پررنگ برای جمله آخر */
        color: #e65100; 
        font-weight: 800;
    }

    /* Icon Slider */
    .icon-slider {
        width: 100%;
        max-width: 900px;
        height: 160px;
        margin: 0px auto;
        position: relative;
        overflow: hidden;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-item {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        color: var(--primary-dark);
        opacity: 0;
        transform: translateX(100px) scale(0.5);
        transition: all 0.5s ease;
    }

    .icon-item.active {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .icon-item img {
        width: auto;
        height: 150px;
        margin-bottom: 10px;
        object-fit: contain;
    }

    /* ===============================================
       === 6. سایر بخش‌ها (Video, Process, FAQ, Contact, Footer) ===
       =============================================== */

    /* Video Section */
    .video-section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        margin-bottom: 60px;
        scroll-margin-top: 80px; 
    }

    .video-container {
        width: 100%;
        max-width: 1200px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-hover);
        animation: fadeIn 1s ease 0.9s both;
        position: relative;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
    }
    
    .video-container > div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .section-title {
        font-family: var(--font-primary);
        text-align: center;
        font-size: 42px;
        font-weight: 900;
        margin-bottom: 20px;
        color: var(--primary-dark);
    }

    .current-stage {
        text-align: center;
        font-size: 22px;
        margin-bottom: 50px;
        color: var(--primary-color);
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .current-stage::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        background-color: var(--primary-color);
        border-radius: 50%;
        margin-right: 10px;
        animation: blink 1.5s infinite;
    }

    .process-container {
        display: flex;
        gap: 40px;
        align-items: stretch;
    }

    .process-cards {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .process-card {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 20px;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

    .process-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    }

    .step-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .step-number {
        font-family: var(--font-primary);
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(2, 119, 189, 0.3);
        margin-left: 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
        color: var(--primary-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-left: 15px;
    }

    .step-icon img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

    .step-title {
        font-family: var(--font-primary);
        font-size: 26px;
        font-weight: 700;
        color: var(--primary-dark);
        text-align: right;
        flex: 1;
    }

    .step-divider {
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(2, 119, 189, 0.3), transparent);
        margin: 15px 0;
    }

    .step-description {
        font-size: 20px;
        line-height: 1.7;
        color: var(--light-text);
        font-weight: 400;
    }

    .process-image {
        flex: 1;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow-hover);
        transition: all 0.3s ease;
        height: 100%;
        min-height: 800px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .process-image:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .process-image img {
        width: auto;
        height: 887px;
        display: block;
    }

    /* FAQ Section */
    .faq-section {
        padding: 80px 20px;
        margin-bottom: 60px;
    }

    .faq-container {
        display: flex;
        gap: 50px;
        align-items: stretch;
    }

    .faq-image {
        flex: 1;
        max-width: 400px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow-hover);
        transition: all 0.3s ease;
        order: 2;
    }

    .faq-image:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .faq-image img {
        width: 100%; 
        height: 100%; 
        display: block;
        object-fit: cover; 
    }

    .faq-list {
        flex: 1;
        order: 1;
    }

    .faq-item {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
        margin-bottom: 20px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }

    .faq-question {
        font-family: var(--font-primary);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        cursor: pointer;
        font-weight: 700;
        font-size: 18px;
        color: var(--text-color);
        transition: all 0.3s ease;
    }

    .faq-question:hover {
        color: var(--primary-dark);
    }

    .faq-question i {
        transition: transform 0.3s ease;
        color: var(--primary-color);
    }

    .faq-item.active .faq-question i {
        transform: rotate(45deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.5s ease;
        padding: 0 25px;
        color: var(--light-text);
        line-height: 1.7;
    }

    .faq-item.active .faq-answer {
        max-height: 500px;
        padding: 0 25px 25px;
    }

    /* Contact Section */
    .contact-section {
        padding: 80px 20px;
        text-align: center;
        margin-bottom: 60px;
    }

    .contact-container {
        max-width: 800px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 20px;
        padding: 50px;
        box-shadow: var(--shadow-hover);
    }

    .contact-container p {
        font-size: 18px;
        margin-bottom: 40px;
        color: var(--light-text);
    }

    .contact-info {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        color: var(--text-color);
        transition: all 0.3s ease;
        padding: auto;
        border-radius: 10px;
        min-width: 0; 
    }

    .contact-item:hover {
        background: rgba(2, 119, 189, 0.1);
        transform: translateY(-5px);
    }

    .contact-item i {
        font-size: 28px;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .contact-item span {
        font-weight: 700;
    }

    /* Footer */
    footer {
        background: rgba(255, 255, 255, 0.9);
        padding: 30px 20px;
        text-align: center;
        color: var(--light-text);
        font-size: 16px;
        border-top: 1px solid rgba(2, 119, 189, 0.2);
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* ===============================================
       === 7. کدهای ریسپانسیو (Media Queries) ===
       =============================================== */

    @media (max-width: 992px) {
        .process-container {
            flex-direction: column;
        }

        .process-image {
                order: -1;
                min-height: auto; 
                max-height: none; 
                margin-bottom: 30px;
                overflow: hidden;
                width: 100%; 
        }

       .process-image img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover; 
            object-position: center; 
       }

        .faq-container {
            flex-direction: column;
        }

        .faq-image {
            order: 1; 
            max-width: 100%;
            margin-bottom: 30px;
            position: static; 
            height: 300px; 
        }
        .faq-image img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover; 
            object-position: center; 
        }

        .faq-list {
            order: 2; 
        }
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            order: 3;
        }

        .nav-links {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            height: calc(100vh - 70px);
            background: rgba(255, 255, 255, 0.98);
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 50px;
            z-index: 999;
        }
        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 20px 0;
        }

        .hero h1 {
            font-size: 70px;
        }

        .hero p.intro-text {
            font-size: 24px; 
        }

        .step-description {
            font-size: 18px;
        }

        .contact-info {
            gap: 20px; 
            flex-direction: column;
            align-items: center;
        }
    
        .contact-item {
            font-size: 16px; 
            padding: 8px;
        }
    }

    @media (max-width: 576px) {
        .logo img {
            width: 150px; 
        }
        
        .hero {
            padding-top: 30px;
            padding-bottom: 30px;
            min-height: auto; 
        }

        .hero h1 {
            font-size: 48px; 
            margin-bottom: 15px;
        }
        
        .hero p.intro-text {
            font-size: 18px; 
            margin-bottom: 25px;
        }

        .icon-slider {
            height: 120px; 
            margin-bottom: 0;
        }
        
        .icon-item img {
            height: 100px; 
        }

        .section-title {
            font-size: 32px;
        }

        .step-title {
            font-size: 22px;
        }

        .process-card {
            padding: 20px;
        }

        .contact-container {
            padding: 30px 20px;
        }
        
        .status-text-container {
            padding: 20px;
        }
        
        .status-text-container p {
            font-size: 16px;
        }
    }


/* Offline refresh additions */
.hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:24px auto 10px}
.hero-action{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:11px 22px;border-radius:999px;text-decoration:none;font-weight:800;transition:transform .2s ease,box-shadow .2s ease}
.hero-action:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(1,87,155,.16)}
.hero-action.primary{background:var(--primary-color);color:#fff}
.hero-action.secondary{background:#fff;color:var(--primary-dark);border:1px solid rgba(2,119,189,.2)}
.video-offline-card{max-width:860px;margin:0 auto;padding:34px 26px;text-align:center;border-radius:22px;background:linear-gradient(135deg,#eaf7fd,#fff);border:1px solid rgba(2,119,189,.12);box-shadow:0 12px 35px rgba(2,80,130,.08)}
.video-offline-icon{width:58px;height:58px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:var(--primary-color);color:#fff;font-size:24px}
.video-offline-card h2{color:var(--primary-dark);margin-bottom:8px}
.video-offline-card p{max-width:650px;margin:0 auto 18px;color:#536b78;line-height:2}
.video-offline-link{display:inline-flex;padding:10px 22px;background:var(--primary-color);color:#fff;text-decoration:none;border-radius:999px;font-weight:700}
