* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Tahoma, "Vazirmatn", sans-serif;
    direction: rtl;
    color: #1a2a4a;
    line-height: 1.8;
    background: #f6f7fb;

}

.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* جلوگیری از ایجاد اسکرول افقی */
    line-height: 0;

}

/* تصویر بنر باید ۱۰۰٪ عرض را بگیرد */
.hero-banner img {
    width: 100%;
    height: auto; /* برای حفظ نسبت تصویر */
    display: block; /* برای حذف فاصله بسیار کم زیر تصویر */
}

/* کانتینر برای محتوای اصلی */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* فاصله از طرفین در موبایل */
}



/* Header




*/
.site-header {
    background: #f6f7fb;
    padding: 15px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
        gap: 24px;

}

.logo-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.logo-hi {
    font-size: 28px;
    font-weight: 900;
    color: #d4af37;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a4a;
}

.logo-fa {
    font-size: 18px;
    font-weight: 500;
    color: #d4af37;
    margin-right: 10px;
}

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
        align-items: center;

}

.site-header nav a {
    color: #1a2a4a;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s;
}


.site-header nav a:hover {
    color: #d4af37;

}
.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #0d2a57;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
    white-space: nowrap;
}

.login-link svg {
    width: 18px;
    height: 18px;
}

.login-link:hover {
    color: #d4af37;
}

/* Hero */
.hero {
 background: linear-gradient(rgba(10, 22, 40, 0.75), rgba(10, 22, 40, 0.75)),
                url('/images/logo.png') center center / cover no-repeat;    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    background: rgba(212, 175, 55, 0.1);
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 15px;
    font-weight: 900;
}

.hero h1 .hi {
    color: #d4af37;
}

.hero h1 .system {
    color: #ffffff;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #d4af37, #b59026);
    color: #0a1628;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s;
}

.btn-gold:hover {
    transform: translateY(-3px);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #0a1628;
    margin-bottom: 5px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
    font-size: 16px;
}

/* Services */
.services {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.18);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.12);
}

.service-card:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d4af37;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #0a1628;
    border: 3px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(10, 22, 40, 0.2);
}

.icon-circle svg {
    width: 38px;
    height: 38px;
    color: #d4af37;
    stroke: currentColor;
    fill: none;
}

.service-card h3 {
    font-size: 20px;
    color: #0a1628;
    margin-bottom: 8px;
}

.gold-text {
    color: #b59026;
    font-weight: 800;
}

.service-card p {
    color: #64748b;
    font-size: 14px;
}

/* Features */
.features {
    background: rgba(10, 22, 40, 0.75);
    padding: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.feature-item {
    color: #ffffff;
}

.feature-item svg {
    width: 40px;
    height: 40px;
    stroke: #d4af37;
    margin-bottom: 10px;
}

.feature-item span {
    display: block;
    font-weight: 700;
    font-size: 16px;
}

.feature-item small {
    color: #cbd5e1;
    font-size: 13px;
}

/* Contact */
.contact {
    padding: 80px 0;
    text-align: center;
    background: rgba(248, 250, 252, 0.18);
}

.contact-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
    border: 1px solid #e2e8f0;
}

.contact h2 {
    font-size: 28px;
    color: #0a1628;
    margin-bottom: 10px;
}

.contact p {
    color: #64748b;
    margin-bottom: 25px;
}

.btn-large {
    font-size: 18px;
    padding: 16px 42px;
}

/* Footer */
.site-footer {
    background: #080e1d;
    color: #94a3b8;
    padding: 32px 20px 24px;
    margin-top: auto; /* اطمینان از چسبیدن به پایین */

}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-content {
    flex: 1;
    text-align: right;
}

.footer-content p {
    margin: 0 0 14px;
    line-height: 1.8;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

.footer-phone {
    color: #d4af37;
    font-weight: 700;
}

.footer-phone a {
    color: #d4af37;
    text-decoration: none;
}

.footer-social-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    margin: 0;
}

.social-title {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.social-btn {
    min-width: 108px;
    height: 46px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: #151d2d;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: background-color 0.25s ease,
                border-color 0.25s ease,
                transform 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.eitaa-btn:hover {
    background: #e86524;
    border-color: #e86524;
}

.rubika-btn:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.telegram-btn:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-icon {
    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-social-section {
        align-items: center;
    }

    .footer-social-wrapper {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-social-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .social-btn {
        min-width: 0;
        width: 100%;
        padding: 0 6px;
        font-size: 12px;
    }
}

























/* =========================
   Dropdown پایه
========================= */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.14);
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 9999;
}

/* لینک‌های زیرمنو */
.main-nav .dropdown-menu li {
    width: 100%;
}
.menu-close {
    display: none;
}

.main-nav .dropdown-menu li a {
    display: block;
    padding: 12px 18px;
    color: #101827;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav .dropdown-menu li a:hover {
    background: #f3f4f6;
    color: #d4af37;
}

/* فقط دسکتاپ: نمایش با hover */


/* بازنویسی برای اطمینان از مخفی بودن */


/* نمایش فقط در حالت هاور */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    color: #101827;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav li a:hover {
    color: #d4af37;
}

/* لینک فعال فقط خط زیر داشته باشد */
.main-nav li a.active {
    color: #d4af37;
}

.main-nav li a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #c59b25;
    border-radius: 999px;
}

/* نشان دراپ‌داون برای خدمات و فروشگاه */
.main-nav li.has-dropdown > a {
    cursor: pointer;
}

.main-nav .dropdown-arrow {
    font-size: 12px;
    line-height: 1;
    color: inherit;
    transform: translateY(1px);
}
/* =================================
   دکمه همبرگری - فقط موبایل
================================= */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: #222;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* تبدیل آیکن همبرگری به ضربدر پس از باز شدن منو */
.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =================================
   نمایش دسکتاپ
================================= */
@media (min-width: 993px) {
    .main-nav {
        display: block !important;
    }
       .main-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}





















/* =================================
   هدر و منوی موبایل / تبلت
================================= */
/* =================================
   هدر و منوی موبایل / تبلت
================================= */
@media (max-width: 992px) {

    .site-header {
        position: relative;
        z-index: 1000;
        padding: 10px 12px;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    /* لوگو */
    .brand {
        display: flex;
        align-items: center;
        gap: 6px;
        order: 2;
    }

    .site-logo {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .logo-hi {
        font-size: 21px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-fa {
        font-size: 14px;
        margin-right: 5px;
    }

    /* دکمه همبرگری */
    .menu-toggle {
        display: flex;
        order: 1;
        width: 36px;
        height: 36px;
        padding: 7px;
        flex-shrink: 0;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
    }

    /* لینک ورود */
    .login-link {
        display: inline-flex;
        order: 3;
        width: auto;
        margin: 0;
        padding: 7px 4px;
        font-size: 13px;
        white-space: nowrap;
    }

    .login-link svg {
        width: 17px;
        height: 17px;
    }

    /* منوی کشویی موبایل */
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 78%;
        max-width: 300px;
        height: 100vh;
        padding: 58px 14px 20px;
        background: #f7f8fc;
        box-shadow: -4px 0 18px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        z-index: 9999;

        transform: translateX(110%);
        transition: transform 0.3s ease;
    }

    /* منوی باز */
    .main-nav.open {
        transform: translateX(0);
    }

    /* لیست اصلی */
    .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 0;
    }

    .main-nav > ul > li {
      width: 100%;
    display: block;
    border-bottom: 1px solid #e5e7eb;
    }

    .main-nav > ul > li > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    font-size: 14px;
    }

    /* دکمه بستن */
    .main-nav .menu-close {
        display: none;
    }

    /* فقط وقتی منو باز شد ظاهر شود */
    .main-nav.open .menu-close {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 22px;
        line-height: 1;
        color: #333;
        cursor: pointer;
        z-index: 10001;
    }
.nav-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:9998;
}
/* وقتی منو باز است بک‌دراپ هم فعال شود */
.main-nav.open ~ .nav-backdrop{
  display:block;
}

    /* زیرمنو؛ حتماً داخل جریان عادی منو باشد */
    .main-nav .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    padding: 0 12px 8px 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}
    .main-nav .dropdown > .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0 12px 6px 0;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        z-index: auto;
    }

    /* باز شدن زیرمنو فقط با کلیک */
    .main-nav .dropdown.mobile-open > .dropdown-menu {
        display: block;
    }

    .main-nav .dropdown-menu li {
        width: 100%;
    }

    .main-nav .dropdown-menu li a {
        display: block;
        width: 100%;
        padding: 8px 5px;
    }

    /* جلوگیری از hover در موبایل */
    .main-nav .dropdown:hover > .dropdown-menu {
        display: none;
    }

    .main-nav .dropdown.mobile-open:hover > .dropdown-menu {
        display: block;
    }

    .main-nav a:hover {
        color: inherit;
    }

    .dropdown-arrow {
        display: inline-block;
        transition: transform 0.25s ease;
    }

    .dropdown.mobile-open .dropdown-arrow {
        transform: rotate(180deg);
    }
}


@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =================================
   صفحه درباره ما (About Us)
================================= */
.about-page {
    padding: 60px 0 80px;
}

/* بخش معرفی */
.about-intro-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.04);
    margin-bottom: 50px;
}

.about-intro-section .hero-badge {
    margin-bottom: 15px;
}

.about-description {
    max-width: 850px;
    margin: 20px auto 0;
    font-size: 16px;
    color: #475569;
    line-height: 2;
}

/* بخش کارت‌های تیم */
.team-section {
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(10, 22, 40, 0.1);
}

.team-card:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b59026);
}

/* فریم عکس پرسنلی اعضا */
.team-avatar-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 20px rgba(10, 22, 40, 0.12);
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* اطلاعات کارت */
.team-name {
    font-size: 19px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 6px;
}

.team-role {
    display: block;
    font-size: 14px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* =================================
   ریسپانسیو صفحه درباره ما
================================= */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .about-page {
        padding: 30px 0 50px;
    }

    .about-intro-section {
        padding: 30px 18px;
    }

    .about-intro-section .section-title {
        font-size: 24px;
    }

    .about-description {
        font-size: 14.5px;
    }

    .team-grid {
        grid-template-columns: 1fr; /* در موبایل کارت‌ها زیر هم و کاملاً ریسپانسیو قرار می‌گیرند */
        gap: 20px;
    }

    .team-avatar-wrapper {
        width: 110px;
        height: 110px;
    }
}



/* =================================
   صفحه تماس با ما (Contact Us)
================================= */
.contact-page {
    padding: 50px 0 80px;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-page-header .section-subtitle {
    margin-top: 8px;
}

/* لایه‌بندی اصلی ۲ ستونه */
.contact-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 30px;
    align-items: start;
}

/* باکس فرم ارسال پیام */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.04);
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    color: #b59026;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-form-card .form-title {
    font-size: 20px;
    color: #0a1628;
    margin-bottom: 25px;
    font-weight: 700;
}

/* فیلدهای فرم */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: #f8fafc;
    color: #0a1628;
    transition: all 0.25s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.2);
}

.contact-submit-btn {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    padding: 14px 20px;
}

/* ستون کارت‌های اطلاعات تماس */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 4px 15px rgba(10, 22, 40, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 22, 40, 0.07);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 15px;
    color: #0a1628;
    margin-bottom: 6px;
    font-weight: 700;
}

.info-content p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.ltr-text {
    direction: ltr;
    text-align: right;
    display: inline-block;
}

.font-bold {
    font-weight: 700;
}

/* =================================
   ریسپانسیو (موبایل و تبلت)
================================= */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 30px 0 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 24px 16px;
    }
}

/* استایل‌های خطا و پیام‌های فرم تماس */
.form-group input.has-error,
.form-group textarea.has-error {
    border-color: #ef4444;
    background: #fef2f2;
}

.field-error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    min-height: 16px;
}

.contact-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.6;
    animation: fadeInAlert 0.3s ease;
}

.contact-alert.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-alert.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes fadeInAlert {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* =========================
   Downloads Page (HiSystem)
========================= */

.downloads-page {
  padding: 45px 0 80px;
  background: #f8fafc;
}

/* =========================
   Header
========================= */

.downloads-header {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.downloads-title h1 {
  margin: 10px 0 6px;
  color: #0a1628;
  font-size: 34px;
  font-weight: 800;
}

.downloads-title p {
  margin: 0;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.8;
}

.downloads-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.downloads-search input {
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  font-size: 14px;
  transition: 0.2s ease;
}

.downloads-search input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.2);
}

/* =========================
   Category Tabs
========================= */

.downloads-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.04);
}

.tab-btn {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #0a1628;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab-btn:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

/* دکمه فعال */
.tab-btn.is-active {
  border-color: rgba(212, 175, 55, 0.5);
  background: #0a1628;
  color: #d4af37;
}

/* =========================
   Downloads Grid
========================= */

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  width: 100%;
}

/* =========================
   Download Card
========================= */

.dl-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;

  border: 2px solid #0a1628;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.06);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* مخفی کردن کارت‌هایی که با فیلتر انتخاب نشده‌اند */
.dl-card.is-hidden {
  display: none;
}

.dl-card:hover {
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.1);
  transform: translateY(-3px);
}

.dl-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px 16px;
}

.dl-title {
  margin: 0 0 10px;
  color: #0a1628;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}

.dl-desc {
  min-height: 44px;
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.8;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: #0a1628;
  font-size: 12px;
  font-weight: 700;
}

/* =========================
   Card Footer and Button
========================= */

.dl-card-footer {
  margin-top: auto;
  padding: 12px 14px;
  background: #0a1628;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #d4af37;
  color: #0a1628;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: 0.2s ease;
}

.dl-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

/* =========================
   Responsive
========================= */

@media (max-width: 992px) {
  .downloads-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .downloads-search {
    justify-content: flex-start;
  }

  .downloads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .downloads-page {
    padding: 32px 0 60px;
  }

  .downloads-title h1 {
    font-size: 28px;
  }

  .downloads-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 9px 11px;
    font-size: 12px;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dl-card {
    min-height: 230px;
  }

  .dl-card-body {
    padding: 20px 18px 14px;
  }
}


/* =====================================
   Store Page | فروشگاه های‌سیستم
===================================== */
.store-page {
    padding: 50px 0 85px;
    background: #f8fafc;
}

/* Header */
.store-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 25px;
}

.store-main-title {
    margin: 12px 0 10px;
    color: #0a1628;
    font-size: 34px;
    font-weight: 800;
}

.store-intro {
    margin: 0;
    color: #64748b;
    font-size: 14.5px;
    line-height: 2;
}

/* بخش سرچ و فیلتر فروشگاه */
.store-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 45px;
    box-shadow: 0 10px 26px rgba(10, 22, 40, 0.04);
}

.store-category-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.store-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0a1628;
    background: #f8fafc;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.store-tab-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

.store-tab-btn.is-active {
    background: #0a1628;
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.5);
}

.store-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 320px;
}

.store-search-box input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    font-size: 13.5px;
    transition: 0.2s ease;
}

.store-search-box input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.2);
}

/* هر سکشن محصول */
.store-section {
    padding-top: 8px;
    margin-bottom: 60px;
    transition: opacity 0.3s ease;
}

.store-section.is-hidden {
    display: none !important;
}

.store-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid #dbe3ee;
}

.section-mini-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #b59026;
    font-size: 12px;
    font-weight: 800;
}

.store-section-heading h2 {
    margin: 0 0 6px;
    color: #0a1628;
    font-size: 24px;
    font-weight: 800;
}

.store-section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.8;
}

/* گرید محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* کارت محصول */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(10, 22, 40, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card.is-hidden {
    display: none !important;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(10, 22, 40, 0.12);
}

/* تصویر */
.product-image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #edf1f6;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #0a1628;
    color: #d4af37;
    font-size: 11px;
    font-weight: 800;
}

/* محتوای کارت */
.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.product-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #b59026;
    font-size: 12px;
    font-weight: 800;
}

.product-content h3 {
    min-height: 48px;
    margin: 0 0 8px;
    color: #0a1628;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.product-content > p {
    min-height: 45px;
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

/* قیمت و دکمه */
.product-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
}

.product-price {
    color: #0a1628;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.product-price small {
    margin-right: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
}

.product-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 10px;
    color: #0a1628;
    background: rgba(212, 175, 55, 0.18);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: 0.2s ease;
}

.product-action-btn:hover {
    color: #ffffff;
    background: #0a1628;
}

/* پیام نتیجه‌ای یافت نشد */
.no-results-msg {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* باکس مشاوره */
.store-help-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px 30px;
    border-radius: 20px;
    background: #0a1628;
}

.store-help-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #d4af37;
    font-size: 12px;
    font-weight: 800;
}

.store-help-box h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
}

.store-consult-btn {
    flex-shrink: 0;
    padding: 13px 22px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .store-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .store-search-box {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .store-page {
        padding: 32px 0 60px;
    }
    .store-main-title {
        font-size: 27px;
    }
    .store-category-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .store-tab-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .store-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .store-help-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
}











/* =====================================
   Services Page | خدمات های‌سیستم
===================================== */
.services-page {
    padding: 60px 0 90px;
    background: #ffffff;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-main-title {
    margin: 15px 0 12px;
    color: #0a1628;
    font-size: 32px;
    font-weight: 800;
}

.services-intro {
    color: #64748b;
    line-height: 1.9;
    font-size: 15px;
}

/* ظرف خدمات */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* سطر هر خدمت */
.service-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 35px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.service-row:hover {
    transform: translateX(-8px);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(10, 22, 40, 0.06);
}

/* آیکون */
.service-icon-box {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(0,0,0,0.03);
}

/* اطلاعات خدمت */
.service-info h2 {
    margin: 0 0 12px;
    color: #0a1628;
    font-size: 22px;
    font-weight: 800;
}

.service-info p {
    margin: 0 0 20px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.8;
}

/* ویژگی‌های لیست شده */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
}

.service-features li {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.service-features li::before {
    content: "✓";
    color: #d4af37;
    font-weight: 900;
}

.service-link {
    text-decoration: none;
    color: #d4af37;
    font-weight: 800;
    font-size: 14px;
    transition: 0.2s;
}

.service-link:hover {
    color: #0a1628;
}

/* استایل خاص برای سکشن پشتیبانی (تیره‌تر) */
.highlight-service {
    background: #0a1628;
    border-color: #0a1628;
    color: #ffffff;
}

.highlight-service .service-icon-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.highlight-service h2 {
    color: #ffffff;
}

.highlight-service p {
    color: #cbd5e1;
}

.support-contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.support-badge {
    background: #10b981;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.phone-number {
    font-size: 20px;
    font-weight: 800;
    color: #d4af37;
}

/* =====================================
   Responsive
===================================== */
@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
    }

    .service-row:hover {
        transform: translateY(-5px);
    }

    .service-icon-box {
        width: 60px;
        height: 60px;
    }

    .support-contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.lg{
    display:flex;
}

.madeby {
width: 100%;
text-align: center;
padding-top: 15px;
margin-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.08); /* خط جداکننده محو */
font-size: 13px;
color: #9ca3af;
direction: ltr; /* برای نمایش صحیح متن انگلیسی و قلب */
}

.madeby p {
margin: 0;
}


















