/* متغیرهای رنگی تم سبز سلطنتی و طلایی */
:root {
    --bg-dark: #04150d; 
    --bg-section: #061c12; 
    --bg-card: rgba(11, 41, 26, 0.7); 
    --gold-primary: #d4af37; 
    --gold-hover: #fce883; 
    --gold-dim: rgba(212, 175, 55, 0.15); 
    --text-light: #f1f5f9; 
    --text-gray: #a7f3d0; 
    --border-color: rgba(212, 175, 55, 0.2);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

@font-face {
    font-family: 'IranSans';
    src: url('fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('fonts/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IranSans';
    src: url('fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('fonts/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'IranSans', Tahoma, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at top right, rgba(15, 76, 58, 0.3), transparent 50%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.05), transparent 40%);
    -webkit-overflow-scrolling: touch;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 25px; }
a { text-decoration: none; color: inherit; }
.ltr-text { direction: ltr; display: inline-block; }
ul { list-style: none; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
.pulse-anim { animation: pulse 2.5s infinite; }

/* دکمه‌ها */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 12px 25px; border-radius: 12px; font-weight: bold; font-size: 1rem;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none; letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), #b8860b); color: #04150d;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3); font-family: 'IranSans';
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-hover), var(--gold-primary)); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5); }
.btn-outline { background: transparent; border: 2px solid var(--text-light); color: var(--text-light); }
.btn-outline:hover { background: var(--text-light); color: var(--bg-dark); transform: translateY(-3px); }
.btn-gold {
    background: rgba(212, 175, 55, 0.1); border: 2px solid var(--gold-primary); color: var(--gold-primary);
    position: relative; overflow: hidden; backdrop-filter: blur(5px);
}
.btn-gold::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: all 0.6s ease; }
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { background: var(--gold-primary); color: #04150d; box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); transform: translateY(-3px); }
.btn-block { width: 100%; }
.pricing-btn { margin-top: 15px; }

/* === منوی ناوبری (Navbar) === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(4, 21, 13, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* استایل جدید نام و عنوان در هدر */
.nav-brand {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.nav-brand:hover {
    transform: translateY(-2px);
}
.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 5px;
}
.brand-name .last-name {
    color: var(--gold-primary);
}
.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-gray);
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 4px; /* تنظیم تراز عمودی */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-item {
    position: relative;
}
.nav-link {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: bold;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}
.nav-link:hover {
    color: var(--gold-primary);
}
.nav-link .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

/* دراپ داون (زیرمنو) دسکتاپ */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-section);
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    padding: 10px 0;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown:hover .nav-link .arrow {
    transform: rotate(180deg);
}
.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s;
}
.dropdown-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding-right: 25px; /* افکت حرکت به راست در زبان فارسی */
}

.nav-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* منوی همبرگری موبایل */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--gold-primary);
    border-radius: 3px;
}

/* هدر */
.hero { position: relative; text-align: center; background: radial-gradient(circle at top center, #0a2e1d 0%, var(--bg-dark) 100%); border-bottom: 1px solid var(--glass-border); overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 60px 0; /* فاصله بالا بخاطر منوی ثابت اضافه شد */ }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(212, 175, 55, 0.04)"/></svg>'); z-index: 0; }
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 25%), radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 25%); animation: float 10s ease-in-out infinite alternate; z-index: 0; }
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: 80px; /* برای جلوگیری از تداخل متن با مارکی اضافه شد */ }
.hero-badge { display: inline-block; padding: 8px 20px; background: rgba(212, 175, 55, 0.1); color: var(--gold-primary); border: 1px solid var(--border-color); border-radius: 30px; font-size: 0.9rem; font-weight: bold; margin-bottom: 25px; backdrop-filter: blur(10px); }
.hero h1 { font-size: 3.5rem; margin-bottom: 30px; line-height: 1.5; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero .highlight { color: transparent; background: linear-gradient(to right, var(--gold-primary), #fff3b0); -webkit-background-clip: text; background-clip: text; }
.hero-desc { font-size: 1.2rem; color: var(--text-gray); max-width: 850px; margin: 0 auto 50px auto; font-weight: 300; }
.hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* خدمات مارکی */
.services-marquee-container { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; background: rgba(4, 21, 13, 0.85); backdrop-filter: blur(15px); border-top: 1px solid var(--border-color); padding: 20px 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); z-index: 10; }
.services-marquee { display: flex; width: max-content; animation: marqueeMove 30s linear infinite; }
.services-marquee span { display: inline-block; padding: 10px 28px; font-size: 1.05rem; font-weight: bold; color: var(--gold-primary); background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 50px; margin: 0 15px; cursor: default; transition: all 0.3s; }
.services-marquee span:hover { background: var(--gold-primary); color: var(--bg-dark); transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); }
@keyframes marqueeMove { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

/* عناوین */
.section-title { text-align: center; font-size: 1.8rem; color: var(--gold-primary); margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.section-subtitle { text-align: center; color: var(--text-gray); margin-bottom: 60px; font-size: 1.15rem; font-weight: 300; }

/* بخش قیمت گذاری (Grid + Slider) */
.pricing-section { padding: 100px 0; position: relative; background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="rgba(212, 175, 55, 0.03)" fill-opacity="1"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>'); }

.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: center; /* برای اینکه کارت اصلی وسط و بزرگتر بایستد */
}

.pricing-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.pricing-card.featured-plan {
    border: 2px solid var(--gold-primary);
    transform: scale(1.05);
    background-color: rgba(6, 28, 18, 0.9);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(212,175,55,0.05);
    z-index: 2;
}
.pricing-card.featured-plan:hover { transform: scale(1.07) translateY(-5px); }

.popular-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-primary), #b8860b);
    color: #000; padding: 5px 20px; border-radius: 20px; font-weight: bold;
    font-size: 0.9rem; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.card-header { text-align: center; border-bottom: 1px solid var(--glass-border); padding-bottom: 25px; margin-bottom: 25px; }
.card-header h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-light); }

.price { color: var(--gold-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.price .amount { font-size: 2.8rem; font-weight: bold; line-height: 1; text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3); }
.price .currency { font-size: 1rem; margin-top: 5px; opacity: 0.9; }

.payment-terms { background: rgba(255, 255, 255, 0.05); color: var(--text-gray); padding: 8px 10px; border-radius: 8px; margin-top: 15px; font-size: 0.85rem; border: 1px solid var(--glass-border); }

.card-body { flex-grow: 1; }
.features-list { list-style: none; }
.features-list li { padding: 12px 0; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; font-size: 0.95rem; }
.features-list li:last-child { border-bottom: none; }
.features-list li.disabled { opacity: 0.5; text-decoration: line-through; }
.features-list .icon { margin-left: 10px; font-size: 1.1rem; }

/* نمونه کارها */
.portfolio-section { padding: 100px 0; background: var(--bg-section); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.portfolio-item { position: relative; width: 100%; height: 400px; overflow: hidden; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); cursor: pointer; border: 1px solid var(--border-color); transition: transform 0.5s, box-shadow 0.5s; background: #000; }
.portfolio-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2); border-color: var(--gold-primary); }
.portfolio-item img { width: 100%; height: auto; position: absolute; top: 0; left: 0; transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1); opacity: 0.9; }
.portfolio-item:hover img, .portfolio-item.scrolling img { transform: translateY(calc(-100% + 400px)); opacity: 1; }
.portfolio-caption { position: absolute; bottom: -20px; left: 0; width: 100%; background: linear-gradient(to top, rgba(4, 21, 13, 0.95), transparent); color: var(--text-light); padding: 50px 20px 20px; text-align: center; font-size: 1.1rem; font-weight: bold; transition: all 0.4s ease; opacity: 0; z-index: 2;}
.portfolio-item:hover .portfolio-caption, .portfolio-item.scrolling .portfolio-caption { color: var(--gold-hover); bottom: 0; opacity: 1; }

/* مراحل */
.order-steps-section { padding: 100px 0; background: var(--bg-dark); }
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 60px; }
.step-box { background-color: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px 25px; text-align: center; position: relative; transition: all 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.3); overflow: hidden; }
.step-box:hover { transform: translateY(-10px); border-color: var(--gold-primary); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); }
.step-number { position: absolute; top: -10px; right: -10px; font-size: 5rem; font-weight: bold; color: rgba(255, 255, 255, 0.03); z-index: 0; transition: color 0.4s; }
.step-box:hover .step-number { color: rgba(212, 175, 55, 0.08); }
.step-icon { font-size: 3.5rem; margin-bottom: 20px; position: relative; z-index: 1; transition: transform 0.5s; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }
.step-box:hover .step-icon { transform: scale(1.15) translateY(-5px); }
.step-box h3 { color: var(--gold-primary); font-size: 1.3rem; margin-bottom: 10px; position: relative; z-index: 1; }
.step-box p { color: var(--text-light); font-size: 0.95rem; opacity: 0.8; position: relative; z-index: 1; }

/* فرم تماس */
.form-section { padding: 100px 0; background: var(--bg-section); border-top: 1px solid var(--glass-border); }
.form-wrapper { background-color: rgba(6, 28, 18, 0.8); backdrop-filter: blur(20px); max-width: 550px; margin: 0 auto; padding: 50px 40px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid var(--border-color); }
.form-header { text-align: center; margin-bottom: 30px; }
.form-title { color: var(--gold-primary); margin-bottom: 10px; font-size: 1.8rem; }
.form-header p { color: var(--text-gray); font-size: 1rem; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-size: 0.95rem; color: var(--text-light); font-weight: bold; }
.form-group input { width: 100%; padding: 14px 18px; background-color: rgba(0, 0, 0, 0.25); border: 2px solid var(--glass-border); border-radius: 10px; color: #fff; font-family: inherit; font-size: 1rem; transition: all 0.3s; }
.form-group input:focus { outline: none; border-color: var(--gold-primary); background-color: rgba(0, 0, 0, 0.4); box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); transform: translateY(-2px); }

/* فوتر و نماد اعتماد */
.footer { background-color: #020a06; padding: 60px 0 25px 0; text-align: center; border-top: 1px solid var(--border-color); }
.trust-symbols { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.trust-symbols img { max-width: 130px; height: auto; background-color: #fff; padding: 10px; border-radius: 15px; border: 2px solid var(--gold-primary); box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; cursor: pointer; }
.trust-symbols img:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3); }

.footer h3 { color: var(--gold-primary); margin-bottom: 20px; font-size: 1.6rem; }
.phone-link { font-size: 1.4rem; font-weight: bold; color: var(--text-light); transition: color 0.3s; }
.phone-link:hover { color: var(--gold-hover); }
.social-links { margin: 30px 0; display: flex; justify-content: center; gap: 15px; }
.social-btn { padding: 8px 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 30px; color: var(--text-gray); transition: all 0.3s; font-size: 0.95rem; }
.social-btn:hover { background: var(--gold-primary); color: #04150d; border-color: var(--gold-primary); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2); }
.copyright { margin-top: 40px; font-size: 0.85rem; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* مودال */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(2, 10, 6, 0.9); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.show-modal { display: flex !important; }
.modal-content { background-color: var(--bg-card); padding: 40px; border-radius: 20px; text-align: center; max-width: 450px; width: 90%; position: relative; border: 1px solid var(--gold-primary); box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15); animation: zoomIn 0.5s; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--text-gray); transition: all 0.3s; }
.close-btn:hover { color: #ef4444; transform: rotate(90deg) scale(1.1); }
.modal-icon-wrapper { width: 80px; height: 80px; background: rgba(34, 197, 94, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 2px solid rgba(34, 197, 94, 0.3); }
.modal-icon { font-size: 3rem; color: #22c55e; animation: pulse 2s infinite; }
.modal-content h2 { color: var(--gold-primary); margin-bottom: 15px; font-size: 1.6rem; }
.modal-content p { color: var(--text-light); margin-bottom: 30px; line-height: 1.8; }

/* === تنظیمات ریسپانسیو و اسلایدر موبایل === */
@media (max-width: 992px) {
    
    /* استایل‌های عنوان برند در موبایل (برای جلوگیری از بهم ریختگی) */
    .nav-brand {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    .brand-subtitle {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        font-size: 0.75rem;
        margin-top: -2px;
        opacity: 0.8;
    }

    /* استایل‌های منوی موبایل */
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: absolute;
        top: var(--nav-height);
        right: -100%;
        flex-direction: column;
        background-color: rgba(4, 21, 13, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 20px 0 40px 0;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-link {
        justify-content: center;
        padding: 20px;
        font-size: 1.1rem;
    }
    .nav-btn-item {
        padding: 20px;
        border-bottom: none;
    }
    
    /* دراپ داون موبایل */
    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.02);
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown.active .nav-link .arrow {
        transform: rotate(180deg);
    }
    .dropdown-link {
        padding: 15px;
        font-size: 1rem;
        background: transparent;
        border-bottom: 1px dashed rgba(255,255,255,0.05);
    }
    .dropdown-link:hover {
        padding-right: 15px;
    }

    /* تبدیل شبکه کارت‌ها به اسلایدر کشویی افقی */
    .pricing-wrapper {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 30px;
        gap: 15px;
        /* پنهان کردن اسکرول‌بار در برخی مرورگرها برای زیبایی */
        scrollbar-width: none; 
    }
    .pricing-wrapper::-webkit-scrollbar { display: none; }
    
    .pricing-card {
        flex: 0 0 85vw; /* عرض هر کارت در موبایل */
        scroll-snap-align: center; /* قرارگیری دقیق در مرکز هنگام اسکرول */
        height: auto;
    }
    
    .pricing-card.featured-plan {
        transform: scale(1); /* حذف بزرگ‌نمایی در موبایل تا اسکرول مرتب باشد */
        /* ترفند اصلی: با این کد، پلن ویژه همیشه اول نمایش داده می‌شود! */
        order: -1; 
    }
    .pricing-card.featured-plan:hover { transform: translateY(-5px); }
    
    /* سایر تنظیمات موبایل */
    .hero { padding: 120px 0 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.9rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .steps-container { grid-template-columns: 1fr; }
    .form-wrapper { padding: 40px 25px; }
}



/* --- Styles for Video Intro Section --- */
.video-intro-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.video-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

.simple-list {
    list-style: none;
    margin-top: 20px;
}

.simple-list li {
    margin-bottom: 12px;
    color: var(--gold-primary);
    font-weight: bold;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-placeholder img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.play-button {
    width: 70px;
    height: 70px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 2rem;
    z-index: 1;
    transition: transform 0.3s;
}

.video-placeholder:hover .play-button {
    transform: scale(1.15);
}

.video-placeholder p {
    z-index: 1;
    margin-top: 15px;
    font-weight: bold;
    color: #fff;
}

/* --- Styles for FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background: var(--bg-section);
    border-top: 1px solid var(--glass-border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--gold-primary);
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

/* Responsive fixes for new sections */
@media (max-width: 992px) {
    .video-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    .video-text {
        order: 2;
        margin-top: 30px;
    }
    .video-container {
        order: 1;
    }
}











/* ============================= */
/*   BLUE NAVY THEME OVERRIDE   */
/* ============================= */

:root{
    --bg-dark:#020a22;
    --bg-section:#061238;
    --bg-card:#0b1b3f;
    
    --gold-primary:#caa45a;
    --gold-hover:#e6c98a;
    
    --text-light:#f1f5f9;
    --text-gray:#9fb0d0;
    
    --border-color:rgba(255,255,255,0.08);
    --glass-border:rgba(255,255,255,0.05);
    }
    
    
    /* پس زمینه کل سایت */
    body{
    background:
    radial-gradient(circle at 20% 10%,rgba(70,120,255,0.15),transparent 40%),
    radial-gradient(circle at 80% 90%,rgba(30,60,180,0.2),transparent 40%),
    linear-gradient(180deg,#020617,#020a22 60%,#030f2c 100%);
    }
    
    
    /* هدر */
    .hero{
    background:
    radial-gradient(circle at top center,#0b1f55 0%,#020a22 70%);
    }
    
    
    /* کارت‌ها */
    .pricing-card,
    .step-box,
    .faq-item,
    .form-wrapper{
    background:rgba(9,20,60,0.75);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);
    }
    
    
    /* کارت hover */
    .pricing-card:hover,
    .step-box:hover,
    .faq-item:hover{
    border-color:var(--gold-primary);
    box-shadow:0 10px 40px rgba(0,0,0,0.6);
    }
    
    
    /* کارت ویژه */
    .pricing-card.featured-plan{
    background:rgba(12,25,70,0.95);
    border:2px solid var(--gold-primary);
    }
    
    
    /* عنوان‌ها */
    .section-title{
    color:var(--gold-primary);
    }
    
    .faq-item h3,
    .step-box h3{
    color:var(--gold-primary);
    }
    
    
    /* متن‌ها */
    .hero-desc,
    .section-subtitle,
    .video-text p,
    .faq-item p{
    color:#a7b7d6;
    }
    
    
    /* دکمه اصلی */
    .btn-primary{
    background:linear-gradient(135deg,#caa45a,#a67c38);
    color:#021022;
    box-shadow:0 8px 25px rgba(202,164,90,0.4);
    }
    
    .btn-primary:hover{
    background:linear-gradient(135deg,#e6c98a,#caa45a);
    }
    
    
    /* دکمه outline */
    .btn-outline{
    border:2px solid rgba(255,255,255,0.6);
    color:white;
    }
    
    .btn-outline:hover{
    background:white;
    color:#021022;
    }
    
    
    /* نوار خدمات */
    .services-marquee-container{
    background:rgba(2,10,34,0.95);
    }
    
    .services-marquee span{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    color:#d4b16a;
    }
    
    
    /* ویدیو */
    .video-container{
    border:2px solid var(--gold-primary);
    box-shadow:0 10px 30px rgba(202,164,90,0.25);
    }
    
    
    /* فرم */
    .form-group input{
    background:rgba(0,0,0,0.35);
    border:2px solid rgba(255,255,255,0.08);
    }
    
    .form-group input:focus{
    border-color:var(--gold-primary);
    }
    
    
    /* فوتر */
    .footer{
    background:#020617;
    }
    
    .footer h3{
    color:var(--gold-primary);
    }
    

    /* --- استایل های اضافه شده برای بازطراحی جدید --- */

/* فاصله گذاری و رنگ پس‌زمینه سکشن‌ها برای تمایز بهتر */
.section-padding {
    padding: 80px 0;
}
.bg-light {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}
.bg-white {
    background-color: #ffffff;
}
.text-center {
    text-align: center;
}

/* استایل تصویر جایگزین ویدئو */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}
.shadow-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.rounded-corners {
    border-radius: 12px;
}

/* استایل فیلد کشویی (Select) در فرم */
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background-color: #fff;
    color: #495057;
    transition: border-color 0.3s ease;
    appearance: none; /* برای حذف استایل پیشفرض مرورگر */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
}
.form-select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* استایل آکاردئون سوالات متداول */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}
.accordion-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.accordion-header {
    width: 100%;
    text-align: right;
    padding: 20px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.accordion-header .icon {
    font-size: 24px;
    color: #0056b3;
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fafafa;
}
.accordion-content p {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}


/* ======================================================== */
/* --- اصلاح تداخل رنگ‌های سفید بخش‌های جدید با تم تاریک --- */
/* ======================================================== */

/* هماهنگ‌سازی پس‌زمینه سکشن‌های جدید با تم سایت */
.bg-light {
    background-color: var(--bg-section) !important;
    border-top: 1px solid var(--glass-border) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}
.bg-white {
    background-color: var(--bg-dark) !important;
}

/* اصلاح استایل فیلد کشویی (Select) برای تم تاریک */
.form-select {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border: 2px solid var(--glass-border) !important;
    color: #fff !important;
}
.form-select option {
    background-color: #0b1b3f; /* رنگ پس‌زمینه گزینه‌ها */
    color: #fff;
}
.form-select:focus {
    border-color: var(--gold-primary) !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15) !important;
}

/* اصلاح استایل آکاردئون (سوالات متداول) برای تم تاریک */
.accordion-item {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--glass-border) !important;
}
.accordion-item:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
}
.accordion-header {
    color: var(--text-light) !important;
}
.accordion-header .icon {
    color: var(--gold-primary) !important;
}
.accordion-content {
    background-color: transparent !important;
}
.accordion-content p {
    color: var(--text-gray) !important;
}

/* اصلاح رنگ متن‌های بخش معرفی جدید */
.intro-text p, .intro-text ul li {
    color: var(--text-gray);
}
.intro-text h2 {
    color: var(--gold-primary);
}



@media (max-width: 992px) {
    .dropdown-menu {
        background: rgba(15, 40, 120, 0.95) !important; /* آبی سلطنتی */
    }
}


.navbar.scrolled {
    background: rgba(2, 10, 34, 0.95) !important; /* آبی تیره‌تر */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

@media (max-width: 992px) {

    .nav-menu {
        background: rgba(15, 40, 120, 0.95) !important;
    }

    .dropdown-menu {
        background: rgba(15, 40, 120, 0.95) !important;
    }

    .dropdown-menu li a {
        background: transparent !important;
    }

}


/* موبایل منو */
@media (max-width:768px){

    .nav-menu{
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: 100vh;
        background:#0b1e3a; /* سرمه ای */
        transition:0.4s;
        padding-top:40px;
    }
    
    .nav-menu.active{
        right:0;
    }
    
    /* آیتم ها */
    .nav-menu .nav-item{
        margin:20px 0;
        text-align:center;
    }
    
    .nav-link{
        color:#fff;
        font-size:18px;
    }
    
    }
    

    /* استایل موبایل برای باکس ها */

@media (max-width:768px){

    .steps-container{
        display:flex;
        flex-direction:column;
        gap:12px;
    }
    
    .step-box{
        display:flex;
        align-items:center;
        gap:12px;
        padding:12px;
        border-radius:10px;
    }
    
    .step-number{
        display:none;
    }
    
    .step-icon{
        font-size:24px;
        width:40px;
    }
    
    .step-box h3{
        font-size:15px;
        margin:0;
    }
    
    .step-box p{
        font-size:13px;
        margin:0;
        opacity:0.8;
    }
    
    }

    
    .form-wrapper{
        background:#0f172a;
        color:#fff;
        border-radius:16px;
        padding:40px;
        }
        
        .form-wrapper input{
        width:100%;
        padding:14px;
        border-radius:8px;
        border:2px solid #e5e7eb;
        font-size:15px;
        margin-bottom:15px;
        transition:0.3s;
        }
        
        .form-wrapper input:focus{
        border-color:#d4af37;
        outline:none;
        box-shadow:0 0 0 3px rgba(212,175,55,0.2);
        }
        
        .btn-block{
        width:100%;
        padding:14px;
        font-size:16px;
        border-radius:10px;
        }
        


        /* موبایل - بخش چرا ما */

@media (max-width:768px){

    .steps-container{
        display:flex;
        flex-direction:column;
        gap:14px;
    }
    
    .step-box{
        display:flex;
        align-items:center;
        gap:12px;
        padding:14px;
        border-radius:12px;
        text-align:right;   /* مهم */
    }
    
    .step-number{
        display:none;
    }
    
    .step-icon{
        font-size:22px;
        width:40px;
        flex-shrink:0;
    }
    
    /* متن ها راست چین */
    .step-box h3,
    .step-box p{
        text-align:right;
        margin:0;
    }
    
    .step-box h3{
        font-size:15px;
        margin-bottom:4px;
    }
    
    .step-box p{
        font-size:13px;
        opacity:0.8;
    }
    
    }

    
