:root {
    /* رنگ‌های اصلی - طیف آبی مدرن */
    --primary-color: #0088cc;
    --secondary-color: #4db8ff;
    --primary-light: #1a9fe6;
    --secondary-light: #79c9f2;
    --blue-dark: #006699;
    --teal-dark: #00a3cc;
    --light-blue: rgba(0, 136, 204, 0.08);
    --light-teal: rgba(77, 184, 255, 0.08);
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-blue: 0 5px 15px rgba(0, 136, 204, 0.2);
    --gradient-primary: linear-gradient(135deg, #0088cc, #1a9fe6);
    --gradient-hover: linear-gradient(135deg, #006699, #0088cc);
    --gradient-secondary: linear-gradient(135deg, #4db8ff, #79c9f2);
    --gradient-mixed: linear-gradient(135deg, #0088cc, #4db8ff);
    --gradient-blue-hover: linear-gradient(135deg, #00a3cc, #4db8ff);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50px;
}

@font-face {
    font-family: 'vazir';
    src: url('/assets/font/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Vazir, Arial, sans-serif;
    background-color: #f8f9ff;
    direction: rtl; /* اضافه شدن جهت راست به چپ برای کل صفحه */
}

/* کلاس‌های کمکی برای layout - بهبود یافته */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* تعریف ستون‌ها با box-sizing */
.col-lg-3, .col-lg-6, .col-md-6, .col-12 {
    width: 100%; /* پیش فرض برای موبایل */
    padding: 0 15px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }

    .col-lg-6 {
        width: 50%;
    }
}


/* ===== HEADER STYLES ===== */
.header {
    background-color: var(--white);
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    transition: all 0.4s ease;
}

    .header.scrolled {
        padding: 10px 0;
        box-shadow: var(--shadow-md);
    }

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.logo img {
    height: 50px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(90, 24, 154, 0.1));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 3px 6px rgba(212, 175, 55, 0.3));
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    margin: 0 20px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-mixed);
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 70%;
    opacity: 1;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-purple);
    border-radius: var(--radius-md);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1;
}

.nav-link:hover:before {
    transform: scale(1);
    opacity: 1;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}
/* Dropdown Styles (Global Definition - may be overridden later) */
.dropdown-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: none;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-right: 8px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

.dropdown-toggle:hover .dropdown-arrow {
    transform: rotate(135deg);
    opacity: 1;
}

/* Dropdown Menu (Global Definition - overridden in main-nav and print-order-section) */
.dropdown-menu {
    /* این استایل توسط main-nav .dropdown-menu و print-order-section .dropdown-menu بازنویسی می‌شود */
    display: none; /* پیش فرض پنهان */
    position: absolute;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px;
    visibility: hidden; /* برای انیمیشن */
    opacity: 0; /* برای انیمیشن */
    transform: translateY(15px); /* برای انیمیشن */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* برای انیمیشن */
    z-index: 100;
    /* border-top و ::before توسط main-nav تعریف می‌شوند */
}


/* Dropdown Menu specific to Main Nav */
.main-nav .dropdown-menu {
    top: calc(100% + 15px);
    right: 0; /* برای RTL */
    left: auto; /* اطمینان از عدم تداخل با left */
    min-width: 260px;
    border-top: 3px solid var(--secondary-color);
    display: block; /* این باید توسط JS کنترل شود */
    visibility: hidden; /* توسط JS کنترل می‌شود */
    opacity: 0; /* توسط JS کنترل می‌شود */
    transform: translateY(15px); /* توسط JS کنترل می‌شود */
}

    .main-nav .dropdown-menu:before {
        content: '';
        position: absolute;
        top: -12px;
        right: 25px; /* برای RTL */
        left: auto; /* اطمینان از عدم تداخل با left */
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid var(--secondary-color);
        filter: drop-shadow(0 -3px 3px rgba(0,0,0,0.05));
    }

.nav-item.dropdown:hover .main-nav, .nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(90, 24, 154, 0.1);
    display: flex;
    align-items: center;
}

    .dropdown-header i {
        margin-left: 8px;
        color: var(--secondary-color);
        font-size: 18px;
    }

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-item {
    margin-bottom: 3px;
}

/* Dropdown Link specific to Main Nav */
.main-nav .dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .main-nav .dropdown-link i {
        margin-left: 10px;
        color: var(--primary-light);
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .main-nav .dropdown-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0; /* برای RTL */
        width: 100%;
        height: 100%;
        background: var(--light-purple);
        border-radius: var(--radius-sm);
        transform: scaleX(0);
        transform-origin: left; /* برای RTL */
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        z-index: -1;
    }

    .main-nav .dropdown-link:hover:after {
        transform: scaleX(1);
        transform-origin: right; /* برای RTL */
    }

    .main-nav .dropdown-link:hover {
        color: var(--primary-color);
        padding-right: 18px;
    }

        .main-nav .dropdown-link:hover i {
            transform: scale(1.2);
            color: var(--primary-color);
        }


/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background-color: var(--light-purple);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    margin-left: 12px;
    border: 1px solid rgba(90, 24, 154, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .login-btn i {
        font-size: 18px;
        margin-left: 6px;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .login-btn:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: var(--primary-color);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }

    .login-btn:hover:before {
        width: 300px;
        height: 300px;
    }

    .login-btn:hover {
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(90, 24, 154, 0.3);
    }

        .login-btn:hover i {
            color: var(--white);
            transform: rotate(360deg);
        }

.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    z-index: -1;
}

.register-btn:hover .btn-shine {
    top: -100%;
    left: -100%;
}

.register-btn:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-gold-hover);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: -2;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    color: #000;
}

    .register-btn:hover:before {
        width: 100%;
        right: auto;
        left: 0;
    }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--gradient-mixed);
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/* Mobile Row - Hidden in desktop */
.mobile-row {
    display: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -320px; /* برای RTL */
    left: auto; /* اطمینان از عدم تداخل با left */
    width: 320px;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15); /* برای RTL */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

    .mobile-menu-container.active {
        right: 0; /* برای RTL */
    }

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(90, 24, 154, 0.1);
}

    .mobile-menu-header .logo img {
        height: 40px;
    }

.mobile-close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-close span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--gradient-mixed);
        border-radius: 2px;
        position: absolute;
        transition: all 0.3s ease;
    }

        .mobile-close span:first-child {
            transform: rotate(45deg);
        }

        .mobile-close span:last-child {
            transform: rotate(-45deg);
        }

    .mobile-close:hover span {
        width: 80%;
    }

.mobile-nav {
    padding: 20px;
    flex-grow: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 10px;
}

.mobile-nav-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mobile-nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 15px; /* برای RTL */
        left: auto; /* اطمینان از عدم تداخل با left */
        width: 0;
        height: 2px;
        background: var(--gradient-mixed);
        transition: all 0.3s ease;
    }

    .mobile-nav-link:hover:after,
    .mobile-nav-link.active:after {
        width: calc(100% - 30px);
    }

    .mobile-nav-link.active {
        color: var(--primary-color);
        background-color: var(--light-purple);
        font-weight: 600;
    }

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: none;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg); /* برای RTL */
    transition: all 0.3s ease;
    opacity: 0.7;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(135deg); /* برای RTL */
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 5px 0 5px 15px;
    margin: 8px 0 0 0;
    border-right: 2px solid var(--secondary-color); /* برای RTL */
    border-left: none; /* اطمینان از عدم تداخل با left */
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background-color: #fcfcff; /* استفاده از رنگ ثابت بجای متغیر تعریف نشده */
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

    .mobile-dropdown-menu li a:before {
        content: '';
        position: absolute;
        right: 15px; /* برای RTL */
        left: auto; /* اطمینان از عدم تداخل با left */
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 5px;
        background: var(--secondary-color);
        border-radius: 50%;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .mobile-dropdown-menu li a:hover {
        color: var(--primary-color);
        padding-right: 20px; /* برای RTL */
    }

        .mobile-dropdown-menu li a:hover:before {
            opacity: 1;
        }

.mobile-auth {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(90, 24, 154, 0.1);
}

    .mobile-auth .login-btn,
    .mobile-auth .register-btn {
        width: 100%;
        margin: 0;
        justify-content: center;
    }

        .mobile-auth .login-btn i {
            margin-left: 8px;
        }

/* Responsive Styles (Header) */
@media (max-width: 992px) {
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .main-nav .dropdown-menu { /* بازگشت به سلکتور اصلی */
        min-width: 230px;
    }
}

@media (max-width: 768px) {
    /* دو سطری کردن هدر در موبایل */
    .header-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /* سطر اول - لوگو در وسط */
    .logo {
        margin: 0 auto 15px auto;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* سطر دوم - نمایش mobile-row */
    .mobile-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* منوی همبرگری در سمت راست */
    .mobile-toggle {
        display: flex;
    }

    /* پنهان کردن منوی اصلی در موبایل */
    .main-nav {
        display: none;
    }

    /* تنظیم اندازه دکمه‌های ورود و ثبت نام در موبایل */
    .header-wrapper .auth-buttons .login-btn span {
        display: none;
    }

    .header-wrapper .auth-buttons .login-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

        .header-wrapper .auth-buttons .login-btn i {
            margin: 0;
        }

    .header-wrapper .auth-buttons .register-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .desktop-auth-buttons {
        display: none;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ================ */
/* هیرو سکشن */
/* ================ */ /* فرض بر این است که این بخش در یک المان والد با کلاس hero-section قرار ندارد و استایل ها به صورت عمومی اعمال می شوند یا به المان های خاصی در این بخش ارجاع دارند */
/* استایل‌های بخش هیرو به همان صورت اصلی نگه داشته شدند */
.header-section { /* نام کلاس از hero-section به header-section تغییر داده شد طبق کد اصلی شما */
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background-color: #f8f9ff;
}

    .header-section::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
        z-index: 0;
    }

    .header-section::after {
        content: "";
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(90, 24, 154, 0.1) 0%, rgba(90, 24, 154, 0) 70%);
        z-index: 0;
    }

/* ستون محتوا */
.content-column {
    width: 50%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* عنوان اصلی */
.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 15px;
    background: linear-gradient(135deg, #5a189a, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

    .main-title::after {
        content: "";
        position: absolute;
        bottom: -9px;
        right: 39px;
        width: 60px;
        height: 4px;
        background: var(--gradient-secondary);
        border-radius: 2px;
        opacity: 0.9;
    }

/* کانتینر زیرعنوان */
.subtitle-container {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.08);
    border-right: 3px solid #D4AF37;
    border-radius: 0 8px 8px 0;
}

/* زیرعنوان */
.subtitle {
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    text-align: right;
}

    .subtitle strong {
        color: var(--primary-color);
        font-weight: 800;
        display: block;
        margin-bottom: 3px;
    }

    .subtitle em {
        font-style: normal;
        color: var(--secondary-color);
        font-weight: 700;
    }

/* توضیحات */
.description {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
    position: relative;
    padding-right: 15px;
    border-right: 3px solid;
    border-image: linear-gradient(to bottom, var(--secondary-color), var(--primary-color)) 1;
}

/* دکمه‌ها */
.buttons-wrapper {
    display: flex;
    gap: 18px;
    margin-top: 15px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md), 0 0 0 0 var(--primary-light);
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-hover);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: var(--gradient-secondary);
        z-index: -2;
        border-radius: 52px;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .btn-primary:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: var(--shadow-lg), 0 0 20px 0 var(--primary-light);
    }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-primary:hover::after {
            opacity: 0.3;
        }

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-sm);
}

    .btn-secondary:hover {
        transform: translateY(-5px) scale(1.03);
        background-color: var(--light-gold);
        border-color: var(--secondary-color);
        box-shadow: var(--shadow-gold);
        color: var(--gold-dark);
    }

.btn-icon {
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-secondary .btn-icon {
    background: var(--light-gold);
    color: var(--secondary-color);
}

.btn-primary:hover .btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.btn-secondary:hover .btn-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.btn-text {
    position: relative;
}

    .btn-text::after {
        content: '';
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 0;
        height: 2px;
        background-color: currentColor;
        transition: width 0.3s ease;
    }

.btn-primary:hover .btn-text::after,
.btn-secondary:hover .btn-text::after {
    width: 100%;
}

/* افکت موج برای دکمه‌ها (فرض بر این است که توسط JS اضافه می‌شود) */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ستون تصویری */
.visual-column {
    width: 50%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.visual-wrapper {
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bg-illustration {
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/homeIntroductionBG.9d450b6d.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: drop-shadow(0 10px 15px rgba(90, 24, 154, 0.1)) hue-rotate(5deg);
    opacity: 0.9;
}

/* کانتینر کاراکترها */
.characters-container {
    width: 65%;
    height: 65%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    perspective: 1000px;
    margin-right: 9rem; /* ممکن است نیاز به تنظیم در ریسپانسیو داشته باشد */
}

.character {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8) rotate(-10deg) translateZ(-50px);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

    .character.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) rotate(0deg) translateZ(0);
        animation: float 3s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.character-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(90, 24, 154, 0.15));
}

/* مراحل */
.steps-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.step {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px;
    border-radius: 50px;
    position: relative;
}

    .step::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(135deg, rgba(90, 24, 154, 0.05), rgba(212, 175, 55, 0.05));
        border-radius: 50px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .step:hover::before {
        opacity: 1;
    }

    /* مراحل زیگزاگ */
    .step:nth-child(odd) {
        transform: translateX(20px);
    }

    .step:nth-child(even) {
        transform: translateX(-20px);
    }

/* خط کنار هر مرحله */
.step-line {
    width: 3px;
    height: 0;
    background-color: transparent;
    margin-left: 15px;
    transition: height 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.step.active .step-line {
    height: 35px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 8px rgba(90, 24, 154, 0.3);
}

.step-content {
    display: flex;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-text);
    margin-left: 10px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step.active .step-number {
    color: var(--white);
    background: var(--gradient-mixed);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(90, 24, 154, 0.1);
}

    .step.active .step-number::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        z-index: -1;
        opacity: 0.5;
        filter: blur(6px);
    }

.step-text {
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transform: translateX(-5px);
}

/* افکت برای مرحله فعال */
.step.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translateX(var(--translate-x, 0));
        box-shadow: 0 0 0 0 rgba(90, 24, 154, 0.1);
    }

    50% {
        transform: scale(1.05) translateX(var(--translate-x, 0));
        box-shadow: 0 0 0 10px rgba(90, 24, 154, 0);
    }

    100% {
        transform: scale(1) translateX(var(--translate-x, 0));
        box-shadow: 0 0 0 0 rgba(90, 24, 154, 0);
    }
}

.step:nth-child(odd).active {
    --translate-x: 20px;
}

.step:nth-child(even).active {
    --translate-x: -20px;
}

/* بخش بیشتر بخوانید */
.read-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px 35px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

    .read-more::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--light-purple), var(--light-gold));
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .read-more span {
        background: var(--gradient-mixed);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 600;
        margin-right: 10px; /* برای RTL */
        position: relative;
        z-index: 1;
        font-size: 0.95rem;
    }

.arrow-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-purple), var(--light-gold));
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .arrow-icon::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 6px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .arrow-icon svg {
        transform: rotate(180deg); /* برای RTL */
        transition: var(--transition);
        color: var(--primary-color);
        width: 14px;
        height: 14px;
    }

.read-more:hover {
    box-shadow: 0 5px 15px rgba(90, 24, 154, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

    .read-more:hover::before {
        opacity: 1;
    }

    .read-more:hover .arrow-icon {
        background: var(--gradient-mixed);
        transform: translateY(0);
        margin-left: 5px; /* برای RTL */
        margin-right: 0; /* اطمینان از عدم تداخل */
    }

        .read-more:hover .arrow-icon::after {
            opacity: 0.5;
            filter: blur(5px);
        }

        .read-more:hover .arrow-icon svg {
            transform: rotate(180deg); /* برای RTL */
            color: var(--white);
        }

/* استایل‌های واکنش‌گرا (Hero Section) */
@media (max-width: 992px) {
    .content-column,
    .visual-column {
        width: 100%;
    }

    .content-column {
        margin-bottom: 50px;
        text-align: center;
    }

    .main-title::after {
        right: auto; /* لغو استایل قبلی */
        left: 50%; /* وسط چین کردن */
        transform: translateX(-50%); /* وسط چین کردن */
        width: 40%;
    }

    .description {
        border-right: none;
        border-bottom: 3px solid;
        border-image: linear-gradient(to right, var(--secondary-color), var(--primary-color)) 1;
        padding-right: 0;
        padding-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        max-width: 80%;
    }

    .buttons-wrapper {
        justify-content: center;
    }

    .visual-wrapper {
        height: 450px;
    }

    .steps-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 40px;
        width: 100%;
    }

    .step {
        flex-direction: column;
    }

        .step:nth-child(odd),
        .step:nth-child(even) {
            transform: none;
        }

        .step.active:nth-child(odd),
        .step.active:nth-child(even) {
            --translate-x: 0;
        }

    .step-line {
        width: 0;
        height: 3px;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .step.active .step-line {
        width: 35px;
        height: 3px;
    }

    /* progress-container در کد اصلی نبود */


    .characters-container {
        width: 75%;
        height: 55%;
        margin-right: auto; /* وسط چین */
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.8rem;
    }

        .main-title::after {
            right: auto;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
        }

    .subtitle {
        font-size: 1.6rem;
        text-align: center;
    }

    .description {
        max-width: 95%;
    }

    .buttons-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .characters-container {
        width: 85%;
    }

    .character-img {
        max-width: 95%;
    }

    /* progress-container در کد اصلی نبود */


    .steps-container {
        gap: 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .step-text {
        font-size: 0.9rem;
    }
}


/* ================ */
/* سفارش پرینت */
/* توجه: کلاس های عمومی مانند section-title و dropdown-menu در این بخش دوباره تعریف شده اند که ممکن است بر بخش های بعدی تاثیر بگذارند */
/* ================ */
.print-order-section {
    background-color: #f8f9ff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    /* افزودن افکت‌های پس‌زمینه مشابه بخش هیرو */
    .print-order-section::before {
        content: "";
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(90, 24, 154, 0.1) 0%, rgba(90, 24, 154, 0) 70%), url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(90,24,154,0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
        background-repeat: no-repeat, repeat;
        background-position: center, top left;
        background-size: cover, auto;
        z-index: 0;
    }
    /* افزودن نقاط درخشان مشابه بخش هیرو */
    .print-order-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(120, 60, 255, 0.1) 0%, transparent 20%), radial-gradient(circle at 80% 70%, rgba(90, 24, 154, 0.1) 0%, transparent 20%), radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 30%);
        z-index: -1;
    }

.section-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* تعریف عنوان برای بخش سفارش پرینت */
.section-title { /* این تعریف بر تعریف بخش هیرو غلبه می کند */
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        border-radius: 2px;
        background: var(--gradient-mixed);
    }

/* ستون فرم */
.order-form-container {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(90, 24, 154, 0.08);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.08);
}

    .order-form-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(90, 24, 154, 0.12);
    }

.form-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 30px;
    position: relative;
    padding-right: 18px;
    border-right: 3px solid;
    border-image: var(--gradient-mixed) 1;
}

.form-item {
    margin-bottom: 25px;
    position: relative;
}

/* استایل دراپ‌داون‌ها (تعریف شده در این بخش) */
/* این تعریف بر تعریف عمومی dropdown-toggle غلبه می کند */
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: var(--white);
    border: 1px solid rgba(90, 24, 154, 0.12);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(90, 24, 154, 0.03);
    width: 100%; /* اضافه شده برای عرض کامل */
    box-sizing: border-box; /* اضافه شده */
}

    .dropdown-toggle:hover,
    .dropdown-toggle:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(90, 24, 154, 0.08);
    }

    .dropdown-toggle::after {
        display: none; /* پنهان کردن آیکون پیش‌فرض دراپ‌داون */
    }

.dropdown-icon { /* این تعریف بر تعریف عمومی dropdown-icon غلبه می کند */
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu specific to Print Order Form */
/* این تعریف بر تعریف عمومی و main-nav .dropdown-menu غلبه می کند */
.print-order-section .dropdown-menu { /* استفاده از سلکتور والد برای این تعریف خاص */
    border: none; /* حذف border قبلی */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(90, 24, 154, 0.1);
    padding: 12px 0;
    margin-top: 8px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    background-color: var(--white);
    position: absolute; /* اطمینان از موقعیت مطلق */
    width: calc(100% - 30px); /* عرض متناسب با کانتینر والد و پدینگ */
    box-sizing: border-box; /* اضافه شده */
    right: 15px; /* برای RTL */
    left: auto; /* اطمینان از عدم تداخل */
    z-index: 100; /* اطمینان از قرارگیری روی بقیه المان ها */
    display: none; /* این باید توسط JS کنترل شود */
}


/* Dropdown Item specific to Print Order Form */
/* این تعریف بر تعریف عمومی dropdown-item غلبه می کند */
.print-order-section .dropdown-item { /* استفاده از سلکتور والد برای این تعریف خاص */
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

    .print-order-section .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(90, 24, 154, 0.05), rgba(212, 175, 55, 0.05));
        color: var(--primary-color);
        padding-right: 25px;
    }

        .print-order-section .dropdown-item:hover::before {
            content: '';
            position: absolute;
            right: 15px; /* برای RTL */
            left: auto; /* اطمینان از عدم تداخل */
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--primary-color);
        }


/* انتخاب تعداد */
.quantity-selector {
    background-color: var(--white);
    border: 1px solid rgba(90, 24, 154, 0.12);
    border-radius: 12px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(90, 24, 154, 0.03);
    display: flex;
    align-items: center;
}

    .quantity-selector:hover {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(90, 24, 154, 0.08);
    }

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    margin-right: auto; /* برای RTL */
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--light-purple), var(--light-gold));
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(90, 24, 154, 0.1);
}

    .quantity-btn:hover {
        background: var(--gradient-mixed);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(90, 24, 154, 0.2);
    }

.quantity-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 8px;
    -moz-appearance: textfield; /* حذف فلش‌های input number در فایرفاکس */
    appearance: textfield; /* حذف فلش‌های input number */
}
    /* حذف فلش‌های input number در کروم، سافاری و اوپرا */
    .quantity-input::-webkit-outer-spin-button,
    .quantity-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.quantity-label {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* دکمه سفارش (تعریف شده در این بخش) */
/* این تعریف بر تعریف عمومی submit-btn در بخش‌های بعدی غلبه می کند */
.btn-order {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(90, 24, 154, 0.2);
    width: 100%; /* اضافه شده */
    box-sizing: border-box; /* اضافه شده */
}

    .btn-order:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-mixed);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .btn-order:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(90, 24, 154, 0.25);
        color: var(--white);
    }

    .btn-order:active {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(90, 24, 154, 0.2);
    }


/* ستون انیمیشن ماشین حساب */
.calculator-animation-container {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* ماشین حساب */
.calculator {
    width: 280px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), #6a0dad);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.08);
    position: relative;
    z-index: 3;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .calculator:hover {
        transform: translateY(-8px) rotate(-2deg);
        box-shadow: 0 25px 50px rgba(106, 13, 173, 0.3);
    }

.calculator-screen {
    width: 100%;
    height: 80px;
    background-color: var(--white);
    border-radius: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

    .calculator-screen::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
        animation: scanLine 2s linear infinite;
    }

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(300%);
    }
}

/* اعداد چرخشی */
.digit-container {
    width: 40px;
    height: 60px;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    margin: 0 2px;
    background: rgba(245, 245, 245, 0.8);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.digit-roller {
    position: absolute;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.digit {
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* دکمه‌های ماشین حساب */
.calculator-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.button-row {
    display: flex;
    gap: 12px;
}

.calc-button {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .calc-button:hover {
        background-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }

    .calc-button.highlight {
        background: linear-gradient(135deg, var(--secondary-color), rgba(90, 24, 154, 0.8));
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.3);
    }

        .calc-button.highlight:hover {
            background: linear-gradient(135deg, var(--secondary-color), rgba(90, 24, 154, 0.9));
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.4);
        }

    .calc-button.wide {
        width: 114px;
    }

/* شخص */
.person {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    width: 200px;
    height: 300px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

    .person:hover {
        transform: translateY(-10px);
    }

.person-svg {
    width: 100%;
    height: 100%;
}

/* انیمیشن‌های کلی (ماشین حساب) */
@keyframes floatCalculator {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

.calculator {
    animation: floatCalculator 6s ease-in-out infinite;
}

.calculator-animation-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.2) 0%, rgba(106, 13, 173, 0) 70%);
    bottom: -50px;
    z-index: 1;
    animation: pulseShadow 6s ease-in-out infinite;
}

@keyframes pulseShadow {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

@keyframes pressButton {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(5px) scale(0.95);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes rotateDigit {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-60px);
    }

    40% {
        transform: translateY(-120px);
    }

    60% {
        transform: translateY(-180px);
    }

    80% {
        transform: translateY(-240px);
    }

    100% {
        transform: translateY(-300px);
    }
}

/* افکت شیک برای اعداد */
@keyframes digitShake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}

/* استایل‌های واکنش‌گرا (Print Order Section) */
@media (max-width: 992px) {
    .order-form-container {
        margin-top: 40px;
        padding: 25px;
    }

    .calculator {
        width: 240px;
        height: 350px;
        padding: 20px;
    }

    .calculator-screen {
        height: 70px;
        margin-bottom: 20px;
    }

    .digit-container {
        width: 35px;
        height: 50px;
    }

    .digit {
        width: 35px;
        height: 50px;
        font-size: 2rem;
    }

    .calc-button {
        width: 45px;
        height: 45px;
    }

        .calc-button.wide {
            width: 102px;
        }

    .section-title { /* این تعریف بر تعریف بخش های بعدی غلبه می کند */
        font-size: 2rem;
    }

    .person {
        width: 180px;
        height: 270px;
    }
}

@media (max-width: 576px) {
    .print-order-section {
        padding: 60px 0;
    }

    .calculator-animation-container {
        min-height: 400px;
    }

    .calculator {
        width: 200px;
        height: 300px;
        padding: 15px;
    }

    .calculator-screen {
        height: 60px;
        margin-bottom: 15px;
    }

    .digit-container {
        width: 30px;
        height: 45px;
    }

    .digit {
        width: 30px;
        height: 45px;
        font-size: 1.8rem;
    }

    .calc-button {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

        .calc-button.wide {
            width: 86px;
        }

    .section-title { /* این تعریف بر تعریف بخش های بعدی غلبه می کند */
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .form-description {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .btn-order { /* این تعریف بر تعریف عمومی btn-order در بخش های بعدی غلبه می کند */
        padding: 12px 20px;
    }

    .person {
        width: 150px;
        height: 225px;
    }
}


/* ================ */
/* تعرفه چاپ کتاب */
/* توجه: کلاس های عمومی مانند section-title و submit-btn در این بخش دوباره تعریف شده اند که ممکن است بر بخش های بعدی تاثیر بگذارند */
/* ================ */
.print-order-section { /* توجه: این نام کلاس با بخش قبلی تکراری است. اگر اینها دو بخش مجزا هستند، باید کلاس های والد متفاوتی داشته باشند */
    background-color: #f8f9ff;
    padding: 80px 0;
}

/* تعریف عنوان برای بخش تعرفه */
.section-title { /* این تعریف بر تعریف بخش سفارش پرینت غلبه می کند */
    color: #5800B3;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    margin-bottom: 50px;
    /* پس زمینه گرادیانت از تعریف قبلی می آید مگر اینکه اینجا بازنویسی شود */
}

    .section-title:after { /* این تعریف بر تعریف بخش سفارش پرینت غلبه می کند */
        content: '';
        position: absolute;
        bottom: -15px;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #7367f0, #27ddf8);
        border-radius: 2px;
    }

.pricing-form {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(115,103,240,0.1);
}

.form-label {
    color: #5800B3;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-select,
.form-control {
    border: 2px solid #e0e6ff;
    border-radius: 12px;
    padding: 12px 15px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

    .form-select:focus,
    .form-control:focus {
        border-color: #7367f0;
        box-shadow: 0 0 0 0.2rem rgba(115,103,240,0.1);
    }

/* دکمه ارسال فرم تعرفه (تعریف شده در این بخش) */
/* این تعریف بر تعریف btn-order در بخش قبلی و submit-btn در بخش های بعدی غلبه می کند */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

    .submit-btn:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(115,103,240,0.3);
    }

@media (max-width: 991.98px) {
    .pricing-form {
        margin-top: 30px;
    }
}
/* چرا ما */
/* توجه: کلاس های عمومی مانند section-title، feature-title و feature-text در این بخش دوباره تعریف شده اند که ممکن است بر بخش های بعدی تاثیر بگذارند */
.why-choose-us {
    background-color: #f8f9ff;
    padding: 80px 0;
}

/* تعریف عنوان برای بخش چرا ما */
.section-title { /* این تعریف بر تعریف بخش تعرفه غلبه می کند */
    color: #7b2cbf;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    /* پس زمینه گرادیانت و ::after از تعاریف قبلی می آید مگر اینکه اینجا بازنویسی شود */
}


.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(123,44,191,0.15);
    }

.feature-icon { /* این تعریف بر تعریف عمومی feature-icon غلبه نمی کند چون در کد اصلی تعریف عمومی وجود ندارد */
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px auto;
}

/* عنوان ویژگی (تعریف شده در این بخش) */
.feature-title { /* این تعریف بر تعریف بخش خوش آمدگویی غلبه می کند */
    color: #7b2cbf;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

/* متن ویژگی (تعریف شده در این بخش) */
.feature-text { /* این تعریف بر تعریف بخش خوش آمدگویی غلبه می کند */
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .feature-card {
        margin-bottom: 30px;
    }
}

/* بخش ویدیو */
/* توجه: کلاس عمومی section-title در این بخش دوباره تعریف شده است */
.video-gallery {
    background-color: #f8f9ff;
    padding: 80px 0;
    overflow: hidden;
    direction: rtl;
}

/* تعریف عنوان برای بخش ویدیو */
.section-title { /* این تعریف بر تعریف بخش چرا ما غلبه می کند */
    color: #7b2cbf; /* رنگ و اندازه مانند بخش چرا ما است */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    /* بقیه استایل ها از تعاریف قبلی می آید مگر اینکه اینجا بازنویسی شود */
}


/* استایل دکمه‌ها */
.video-btn {
    background: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    color: #666;
    font-size: 1rem;
    text-align: right;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* برای RTL */
}

    .video-btn .icon {
        width: 40px;
        height: 40px;
        background: #f0f0ff;
        border-radius: 50%;
        margin-left: 15px; /* برای RTL */
        color: #7367f0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-btn:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(115, 103, 240, 0.15);
        color: #ffffff;
    }

    .video-btn.active {
        background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
        color: #fff;
    }

        .video-btn.active .icon {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

    .video-btn .text {
        font-weight: 500;
    }

/* استایل نمایش ویدیو */
.video-display-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.background-illustration {
    width: 100%;
    height: 100%;
    max-width: 900px;
}

.bg-svg {
    width: 100%;
    height: auto;
}

.monitor-wrapper {
    width: 51%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.monitor-svg {
    width: 100%;
    height: auto;
}

.video-container {
    position: absolute;
    top: 3.5%;
    left: 2.8%;
    width: 94.4%;
    height: 65.9%;
    overflow: hidden;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .video-buttons {
        margin-top: 30px;
        flex-direction: column;
        gap: 10px;
    }

    .video-btn {
        justify-content: center;
    }

    .monitor-wrapper {
        width: 80%;
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .background-illustration {
        position: absolute;
        z-index: -1;
        opacity: 0.3;
    }
}


/* استایل بخش همکاری */
/* توجه: کلاس عمومی submit-btn در این بخش دوباره تعریف شده است */
.collaboration-wrapper {
    background-image: url('/assets/img/cooperationBG.6a0349e4.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
    margin: 50px auto;

    align-items: center;
    justify-content: center;
}

.collaboration-content {
    padding-top: 0; /* حذف پدینگ قبلی */
    text-align: center;
    position: relative;
    z-index: 1;
}

.collaboration-title {
    color: #3a0088;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.collaboration-description {
    color: #3a0088;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-text {
    color: #3a0088;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.phone-input-wrapper { /* اضافه شدن wrapper برای فلکس کردن input و button */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.phone-input {
    background-color: white;
    border-radius: 50px;
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    max-width: 200px; /* استفاده از max-width */
    width: 100%; /* برای ریسپانسیو */
    text-align: left;
    direction: ltr;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* دکمه ارسال فرم همکاری (تعریف شده در این بخش) */
/* این تعریف بر تعریف submit-btn در بخش تعرفه غلبه می کند */
.submit-btn {
    background-color: white;
    color: #3a0088;
    border: none;
    border-radius: 12px; /* گردی کمتر از بخش تعرفه */
    padding: 8px 25px; /* پدینگ متفاوت */
    font-weight: 600;
    font-size: 0.9rem; /* اندازه متفاوت */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

    .submit-btn:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

@media (max-width: 576px) {
    .collaboration-wrapper {
        height: auto;
        padding: 40px 0;
    }

    .phone-input-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .phone-input,
    .submit-btn {
        width: 80%;
        max-width: none;
    }
}


/* ====== */
/* سوالات متداول */
/* توجه: کلاس عمومی faq-title در این بخش دوباره تعریف شده است */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

/* تعریف عنوان برای بخش سوالات متداول */
.faq-title { /* این تعریف بر تعریف section-title در بخش های قبلی غلبه نمی کند چون نام کلاس متفاوت است */
    color: #6a11cb;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-size: 1.8rem;
}

.faq-list {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

    .faq-item:last-child {
        border-bottom: none;
    }

.faq-question {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

    .faq-question:hover {
        background-color: #f8f9fa;
    }

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

    .faq-answer.active {
        padding: 1rem 1.25rem;
        max-height: 300px; /* ممکن است نیاز به مقدار بزرگتر داشته باشد */
 
    }

.faq-icon {
    transition: transform 0.3s ease;
    color: #6a11cb;
}

    .faq-icon.active {
        transform: rotate(180deg);
    }

.faq-answer-content {
    color: #666;
    line-height: 1.6;
}


/* ======= */
/* بخش خوش امدگویی */
/* توجه: کلاس های عمومی welcome-title، feature-title و feature-text در این بخش دوباره تعریف شده اند */
.container-welcome {
    max-width: 800px;
    margin: 2rem auto;
}

/* تعریف عنوان برای بخش خوش آمدگویی */
.welcome-title { /* این تعریف بر تعریف faq-title غلبه نمی کند چون نام کلاس متفاوت است */
    color: #6a11cb;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-size: 1.8rem;
}

.content-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 6.5rem;
}

.intro-text {
    color: #333;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
}

/* عنوان ویژگی (تعریف شده در این بخش) */
.feature-title { /* این تعریف بر تعریف بخش چرا ما غلبه می کند */
    color: #333;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.feature-bullet {
    color: #6a11cb;
    font-weight: bold;
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

/* متن ویژگی (تعریف شده در این بخش) */
.feature-text { /* این تعریف بر تعریف بخش چرا ما غلبه می کند */
    color: #333;
    /* بقیه استایل ها از تعاریف قبلی می آید */
}

.more-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

    .more-details.active {
        max-height: 1000px; /* ممکن است نیاز به مقدار بزرگتر داشته باشد */
    }

.details-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .details-btn:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }


/* ===== */
/* فوتر */
/* ===== */
footer {
    direction: rtl;
    font-family: 'IRANSans', 'Vazir', sans-serif;
    position: relative;
    margin-top: 40px;
}
/* پس‌زمینه گرادیانت */
.footer-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2ab7ca 100%);
    color: var(--white);
    border-radius: 150px 150px 0 0;
    position: relative;
    padding: 50px 0 15px;
    box-shadow: var(--shadow-md);
}

/* دایره لوگو در وسط بورد بالایی */
.footer-logo-circle {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px; /* استفاده از ابعاد ثابت برای کنترل بهتر اندازه */
    height: 130px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    overflow: hidden;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .footer-logo-circle img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
    }

/* استایل کارت‌های فوتر - جمع‌وجورتر */
.footer-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

    /* استایل عناوین - کوچکتر */
    .footer-card h3 {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 12px;
        position: relative;
        display: inline-block;
        padding-bottom: 6px;
    }

        .footer-card h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0; /* برای RTL */
            left: auto; /* اطمینان از عدم تداخل */
            width: 25px;
            height: 2px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 2px;
        }

/* استایل لینک‌ها - جمع‌وجورتر */
.footer-links li {
    margin-bottom: 6px;
    list-style: none; /* حذف Bullet پیش‌فرض */
}

.footer-links {
    padding: 0; /* حذف Padding پیش‌فرض لیست */
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        display: block;
        padding: 2px 0;
    }

        .footer-links a:hover {
            color: #ffffff;
        }

        .footer-links a:before {
            content: '•';
            margin-left: 6px; /* برای RTL */
            color: rgba(255, 255, 255, 0.5);
        }
/* استایل آیتم‌های تماس - جمع‌وجورتر */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 2px 0;
}

    .contact-item svg {
        margin-left: 8px; /* برای RTL */
        min-width: 16px;
        width: 16px;
        height: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    .contact-item span {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
    }

/* استایل شبکه‌های اجتماعی - جمع‌وجورتر */
.social-media {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

    .social-media a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }

        .social-media a:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

/* استایل نمادهای اعتماد - جمع‌وجورتر و ریسپانسیو */
.trust-badges {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.trust-badge {
    border-radius: 6px;
    padding: 4px;
    max-width: 80px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

    .trust-badge img {
        display: block;
        max-width: 100%;
        height: auto;
    }


/* توضیحات - کوچکتر */
.footer-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* خط جداکننده - فاصله کمتر */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0 10px;
}
/* بخش کپی‌رایت - جمع‌وجورتر */
.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    padding: 8px 0;
}


/* نوار پایین - جمع‌وجورتر */
.bottom-nav {
    background-color: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #777;
        font-size: 0.65rem;
        text-decoration: none;
        flex-grow: 1;
        text-align: center;
        padding: 5px 0;
    }

    .bottom-nav svg {
        margin-bottom: 2px;
        width: 20px;
        height: 20px;
    }

    .bottom-nav .active {
        color: #0088cc;
    }

/* تنظیمات ریسپانسیو (Footer) */
@media (max-width: 768px) {
    .footer-modern {
        padding-top: 40px;
        border-radius: 150px 150px 0 0;
    }
    /* padding-bottom فوتر در استایل اصلی فوتر تنظیم شده است */
}

@media (max-width: 576px) {
    .footer-modern {
        border-radius: 50px 50px 0 0;
        padding-top: 35px;
    }

    .footer-logo-circle {
        width: 130px;
        height: 120px;
        top: -68.5px;
        padding: 0;
    }

    .footer-card {
        padding: 10px;
    }

        .footer-card h3 {
            font-size: 0.9rem;
        }

    .footer-links a,
    .contact-item span,
    .footer-description,
    .copyright {
        font-size: 0.8rem;
    }

    .trust-badge {
        max-width: 60px;
    }

    .visual-wrapper {

        flex-direction: row-reverse;
    }

    .header-section { 
        padding: 1rem;
        position: relative;
        overflow: hidden;
        background-color: #f8f9ff;
    }
}
