/*
Theme Name: Sazan Group Main
Author: AI Assistant
Description: Royal Nexus Theme for Main Subdomain
Version: 1.0 (Compact Edition)
*/

/* =========================================
   1. VARIABLES & FONTS
   ========================================= */
/* تعریف فونت وزیرمتن */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* رنگ‌های اصلی - تم Royal Nexus */
    --royal-navy: #050a14;
    /* سرمه‌ای بسیار تیره */
    --royal-navy-light: #0f1c35;
    /* سرمه‌ای کمی روشن‌تر برای کارت‌ها */
    --royal-gold: #d4af37;
    /* طلایی اصلی */
    --royal-gold-light: #f3e5ab;
    /* طلایی روشن برای هایلایت */
    --royal-gold-dark: #8a7024;
    /* طلایی تیره برای سایه */
    --text-main: #f0f0f0;
    /* رنگ متن اصلی */
    --text-muted: #a0a0a0;
    /* رنگ متن توضیحات */

    /* تنظیمات فونت و انیمیشن */
    --font-primary: 'Vazirmatn', sans-serif;
    --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--royal-navy);
    /* رفع مشکل پس‌زمینه سفید */
    color: var(--text-main);
    line-height: 1.5;
    /* کاهش جزئی لاین‌هایت */
    overflow-x: hidden;
    direction: rtl;
    /* راست‌چین */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* =========================================
   3. HEADER STYLES
   ========================================= */
/* =========================================
   اصلاح استایل هدر (فیکس شدن در بالا)
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* کاهش پدینگ برای جمع‌وجور شدن هدر */
    padding: 10px 30px;

    background: rgba(5, 10, 20, 0.9);
    /* کمی تیره‌تر برای خوانایی بهتر */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* اصلاح نمایش دراپ‌داون‌ها */
.has-dropdown {
    position: relative;
}

/* رفع مشکل مخفی شدن دراپ‌داون */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--royal-navy);
    border: 1px solid var(--royal-gold);
    border-radius: 8px;
    /* کاهش عرض برای استاندارد شدن */
    min-width: 200px;
    padding: 5px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);

    display: flex;
    flex-direction: column;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    padding: 0 5px;
}

/* لوگو */
.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
}

.header-logo .logo-text {
    /* کاهش سایز فونت لوگو */
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.header-logo .logo-accent {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
    margin-top: 4px;
}

/* منوی ناوبری */
.main-nav ul {
    display: flex;
    gap: 8px;
    /* کاهش فاصله بین آیتم‌ها */
    align-items: center;
}

.main-nav li {
    position: relative;
}

.nav-pill {
    display: flex;
    align-items: center;
    /* کاهش پدینگ دکمه‌ها */
    padding: 6px 14px;
    font-size: 0.85rem;
    /* کاهش سایز فونت منو */
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
    border-radius: 50px;
    transition: all 0.3s var(--ease-smooth);
}

/* افکت هاور منو */
.nav-pill:hover,
.nav-pill.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--royal-gold);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.contact-btn {
    background: var(--royal-gold);
    color: var(--royal-navy) !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.contact-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* دراپ‌داون */
.arrow-icon {
    font-size: 0.55rem;
    margin-right: 4px;
    transition: transform 0.3s;
}

/* ========================
   DROPDOWN MENU STYLES (Revised)
   ======================== */

.has-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #050a14;
    border: 1px solid var(--royal-gold);

    /* عرض استانداردتر */
    width: 200px;
    padding: 5px 0;
    border-radius: 0 0 10px 10px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

/* لینک‌های داخل دراپ‌داون */
.dropdown-menu a {
    display: block;
    /* کاهش پدینگ لینک‌های زیرمنو */
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #cccccc;
    text-align: right;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--royal-gold);
    background-color: rgba(212, 175, 55, 0.08);
    padding-right: 20px;
}

.hamburger-menu {
    display: none;
}

/* =========================================
   4. HERO SECTION STYLES
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 10, 20, 0.85) 0%, rgba(5, 10, 20, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    /* کاهش شدید سایز تیتر برای رفع مشکل بزرگی */
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    /* کاهش سایز توضیحات */
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    /* دکمه جمع‌وجورتر */
    padding: 10px 30px;
    background: linear-gradient(45deg, var(--royal-gold), #e6d28a);
    color: var(--royal-navy);
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}
.hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.hero-cta:hover::after {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    /* کاهش حرکت برای نرم‌تر شدن */
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    /* کاهش سایه */
}

/* =========================================
   5. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 991px) {
    .main-header {
        /* کاهش پدینگ هدر در موبایل */
        padding: 10px 15px;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1100;
        width: 28px;
        /* کمی کوچک‌تر */
        height: 20px;
        position: relative;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--royal-gold);
        position: absolute;
        transition: 0.3s;
    }

    .hamburger-menu span:nth-child(1) {
        top: 0;
    }

    .hamburger-menu span:nth-child(2) {
        top: 9px;
    }

    .hamburger-menu span:nth-child(3) {
        top: 18px;
    }

    /* تغییر شکل آیکون در حالت باز */
    .hamburger-menu.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger-menu.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* محدود کردن عرض منو تا کل صفحه را نگیرد */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--royal-navy);
        border-left: 1px solid var(--royal-gold);
        /* خط نازک‌تر */
        padding-top: 70px;
        /* کاهش فاصله از بالا */
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
        gap: 10px;
        /* تنظیم فاصله آیتم‌ها */
    }

    .nav-pill {
        justify-content: center;
        border-radius: 8px;
        margin-bottom: 5px;
        padding: 10px;
        /* دکمه‌های موبایل راحت‌تر لمس شوند */
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        /* سایز فونت موبایل استاندارد شد */
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-cta {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}
/* =========================================
   6. ABOUT US SECTION (Premium Wrapper)
   ========================================= */

.premium-section-wrapper {
    width: 90%;
    max-width: 1300px;
    /* محدودتر برای نمایش جمع‌وجور */

    /* اتصال و تراز با انحنای هیرو (اورلپ اصلاح شده) */
    margin: -80px auto 60px auto;
    position: relative;
    z-index: 10;

    /* رنگ پس‌زمینه اختصاصی این سکشن */
    background-color: #0a192f;
    box-shadow: 0 -25px 80px rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.3);

    padding: 60px 40px;
    /* کاهش پدینگ */
    border-radius: 30px;
    /* کاهش گردی گوشه‌ها */
    overflow: hidden;
    direction: rtl;
}

/* --- گرید نامتقارن --- */
.asym-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    /* کاهش فاصله بین ستون‌ها */
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- انیمیشن شناور (حفظ شد) --- */
@keyframes float-y {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    /* دامنه حرکت کمتر */
    100% {
        transform: translateY(0px);
    }
}

/* --- باکس متن (راست) --- */
.txt-box {
    background: #112240;
    padding: 35px;
    /* فشرده‌سازی فضای داخلی */
    border-radius: 20px;
    /* گردی ملایم‌تر */
    border-right: 4px solid var(--royal-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: float-y 6s ease-in-out infinite;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.txt-box:hover {
    border-right-width: 8px;
    background: #162a4d;
}

.editorial-title {
    font-family: inherit;
    font-size: 2.2rem;
    /* سایز استاندارد */
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.editorial-desc {
    color: #d1d5db;
    font-size: 1rem;
    /* سایز متن بدنه نرمال */
    line-height: 1.7;
    /* کاهش فاصله خطوط */
    text-align: justify;
    margin-bottom: 30px;
    font-weight: 300;
}

/* دکمه (استایل شمش طلا) */
.btn-lux {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-gold) 0%, #e6c885 100%);
    color: var(--royal-navy);
    height: 48px;
    /* ارتفاع دکمه استاندارد */
    padding: 0 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(197, 160, 89, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
}

.btn-lux:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.5);
    background: #fff;
    color: var(--royal-gold);
}

/* باکس اسلوگان */
.slogan-highlight {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(197, 160, 89, 0.3);
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.slogan-icon {
    font-size: 18px;
    margin-left: 10px;
    color: var(--royal-gold);
}

.slogan-text {
    color: #a8b2d1;
    font-size: 0.85rem;
    font-weight: 500;
}

.slogan-text strong {
    color: #e6c885;
}

/* --- باکس عکس (چپ) --- */
.img-box {
    position: relative;
    height: 450px;
    /* کاهش ارتفاع */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.2);
    animation: float-y 7s ease-in-out infinite reverse;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    transition: transform 1s ease;
}

.premium-section-wrapper:hover .img-box img {
    transform: scale(1.05);
}

.img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    /* بچ کوچک‌تر */
    border-radius: 15px;
    border: 1px solid var(--royal-gold);
    color: var(--royal-gold);
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ریسپانسیو سکشن درباره ما */
@media (max-width: 1024px) {
    .asym-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .img-box {
        height: 300px;
        /* ارتفاع متناسب با تبلت */
        order: -1;
    }

    .premium-section-wrapper {
        width: 95%;
        padding: 30px 20px;
        margin-top: -60px;
        /* تنظیم مجدد فاصله منفی */
    }

    .editorial-title {
        font-size: 1.8rem;
    }
}
/* =========================================
   7. SERVICES SECTION (Luxury Zig-Zag)
   ========================================= */
/* =========================================
   LUXURY SERVICES SECTION (2025 Standard)
   ========================================= */
.luxury-services-section {
    position: relative;
    background-color: #0a192f;
    /* زمینه سرمه‌ای تیره هماهنگ با هیرو */
    padding-top: 0;
    /* پدینگ صفر برای اتصال دقیق */
    padding-bottom: 100px;
    overflow: hidden;
    direction: rtl;
}

/* 1. اتصال دهنده لوکس (The Golden Thread) */
.connector-line-wrapper {
    position: relative;
    height: 120px;
    /* ارتفاع فاصله بین دو سکشن */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* گرادینت محو برای ادغام نرم با پس‌زمینه */
    background: linear-gradient(to bottom, #0a192f 0%, rgba(10, 25, 47, 0.8) 100%);
}

.connector-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            #c5a059 30%,
            #c5a059 70%,
            transparent 100%);
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.connector-dot {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #c5a059;
    border-radius: 50%;
    box-shadow: 0 0 15px #c5a059;
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* 2. تیتر و جداکننده */
.section-title-gold {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    /* سایز استاندارد */
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 15px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.title-divider {
    width: 80px;
    height: 4px;
    background: #c5a059;
    border-radius: 4px;
    position: relative;
    margin-bottom: 20px;
}

/* 3. کارت شیشه‌ای متن (Standardized Glass Card) */
.service-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 4px solid #c5a059;
    /* خط طلایی پهن‌تر */
    border-radius: 16px;
    padding: 35px 40px;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    /* ارتفاع برابر با تصویر */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(197, 160, 89, 0.4);
}

.card-number {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    font-family: 'Tahoma', sans-serif;
    pointer-events: none;
    line-height: 1;
}

.service-title {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.service-desc {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 30px;
}

/* 4. باکس تصویر (Standardized Image) */
.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    /* ارتفاع فیکس برای نظم */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.service-img-wrapper:hover .service-bg-img {
    transform: scale(1.1);
}

/* دکمه خطی جدید */
.btn-custom-round {
    align-self: flex-start;
    color: #c5a059;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #c5a059;
    padding-bottom: 5px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-custom-round:hover {
    color: #fff;
    border-bottom-color: #fff;
    padding-left: 10px;
}

/* اصلاح ریسپانسیو */
@media (max-width: 991px) {
    .service-img-wrapper {
        height: 250px;
        margin-bottom: 20px;
    }

    .service-glass-card {
        padding: 30px;
    }

    .connector-line-wrapper {
        height: 80px;
    }

    .section-title-gold {
        font-size: 2rem;
    }
}
/* =========================================
   ANIMATIONS FOR LUXURY SERVICES
   ========================================= */

/* حالت اولیه: مخفی و جابجا شده */
.luxury-services-section .service-glass-card {
    opacity: 0;
    transform: translateX(-50px);
    /* متن از سمت چپ (یا راست بسته به جهت) بیاید */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    /* حرکت بسیار نرم */
}

.luxury-services-section .service-img-wrapper {
    opacity: 0;
    transform: translateX(50px);
    /* عکس از سمت مخالف بیاید */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s;
    /* عکس با کمی تاخیر نسبت به متن بیاید */
}

/* کلاسی که جاوااسکریپت اضافه می‌کند تا دیده شوند */
.luxury-services-section .element-visible .service-glass-card {
    opacity: 1;
    transform: translateX(0);
}

.luxury-services-section .element-visible .service-img-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* تنظیم جهت در حالت راست‌چین (RTL) */
/* اگر جهت سایت RTL است، جهت حرکت را معکوس می‌کنیم تا منطقی‌تر باشد */
html[dir="rtl"] .luxury-services-section .service-glass-card {
    transform: translateX(50px);
    /* متن از راست وارد شود */
}

html[dir="rtl"] .luxury-services-section .service-img-wrapper {
    transform: translateX(-50px);
    /* عکس از چپ وارد شود */
}

/* حالت نهایی فعال شده برای RTL */
html[dir="rtl"] .luxury-services-section .element-visible .service-glass-card,
html[dir="rtl"] .luxury-services-section .element-visible .service-img-wrapper {
    transform: translateX(0);
}
/* =========================================
   INNOVATION SECTION (2025 Compact Standard)
   ========================================= */
   /* =========================================
   INNOVATION SECTION (2025 Compact Standard)
   ========================================= */
   .innovation-section-royal {
       position: relative;
       background-color: #0a192f;
       /* همرنگ با سکشن بالا */
       padding-top: 0;
       /* حذف فاصله برای اتصال */
       padding-bottom: 80px;
       overflow: hidden;
       direction: rtl;
   }

   /* 1. اتصال دهنده عمودی (Connects to Upper Section) */
   .innovation-connector {
       position: relative;
       width: 100%;
       height: 60px;
       /* ارتفاع منطقه اتصال */
       display: flex;
       flex-direction: column;
       align-items: center;
       margin-bottom: 30px;
   }

   .connector-line-vertical {
       width: 1px;
       height: 100%;
       background: linear-gradient(to bottom, #c5a059 0%, rgba(197, 160, 89, 0.2) 100%);
   }

   .connector-diamond {
       width: 8px;
       height: 8px;
       background: #c5a059;
       transform: rotate(45deg);
       margin-top: -4px;
       /* اتصال به خط */
       box-shadow: 0 0 10px rgba(197, 160, 89, 0.8);
   }

   /* 2. متن‌ها و بج‌ها */
   .badge-royal-pill {
       display: inline-block;
       padding: 5px 15px;
       background: rgba(197, 160, 89, 0.1);
       color: #c5a059;
       border: 1px solid rgba(197, 160, 89, 0.3);
       border-radius: 50px;
       font-size: 0.75rem;
       font-weight: 600;
       letter-spacing: 2px;
       margin-bottom: 15px;
   }

   .section-subtitle-royal {
       font-family: 'Vazirmatn', sans-serif;
       color: #a0a0a0;
       font-size: 1rem;
       margin-top: 10px;
   }

   /* 3. کارت فشرده (Compact Card) */
   .royal-compact-card {
       background: rgba(255, 255, 255, 0.02);
       border: 1px solid rgba(255, 255, 255, 0.08);
       border-radius: 16px;
       overflow: hidden;
       transition: all 0.4s ease;
       height: 100%;
       position: relative;
   }

   .royal-compact-card:hover {
       transform: translateY(-5px);
       background: rgba(255, 255, 255, 0.04);
       border-color: rgba(197, 160, 89, 0.3);
       box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
   }

   /* تصویر - ابعاد فشرده شده */
   .compact-img-box {
       position: relative;
       width: 100%;
       height: 240px;
       /* ارتفاع فشرده استاندارد */
       overflow: hidden;
   }

   .compact-img-box .img-bg {
       width: 100%;
       height: 100%;
       background-size: cover;
       background-position: center;
       transition: transform 0.8s ease;
   }

   .royal-compact-card:hover .img-bg {
       transform: scale(1.1);
   }

   .compact-img-box .img-overlay {
       position: absolute;
       inset: 0;
       background: linear-gradient(to top, #0a192f 0%, transparent 100%);
       opacity: 0.9;
   }

   .card-badge {
       position: absolute;
       top: 15px;
       right: 15px;
       background: #c5a059;
       color: #0a192f;
       font-size: 0.7rem;
       font-weight: 800;
       padding: 4px 10px;
       border-radius: 4px;
       box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
   }

   /* محتوا */
   .compact-content {
       padding: 25px;
       position: relative;
       margin-top: -40px;
       /* بالا کشیدن محتوا روی عکس */
       z-index: 2;
   }

   .compact-title {
       font-family: 'Vazirmatn', sans-serif;
       font-size: 1.3rem;
       color: #fff;
       margin-bottom: 15px;
       font-weight: 700;
   }

   .compact-divider {
       width: 40px;
       height: 2px;
       background: #c5a059;
       margin-bottom: 15px;
   }

   .compact-excerpt {
       font-family: 'Vazirmatn', sans-serif;
       font-size: 0.9rem;
       color: #b0b0b0;
       line-height: 1.7;
       margin-bottom: 20px;
       min-height: 50px;
       /* تراز کردن ارتفاع متن‌ها */
   }

   /* دکمه متنی مینیمال */
   .btn-text-gold {
       display: inline-flex;
       align-items: center;
       color: #c5a059;
       font-family: 'Vazirmatn', sans-serif;
       font-size: 0.9rem;
       font-weight: 600;
       text-decoration: none;
       transition: 0.3s;
   }

   .btn-text-gold i {
       margin-right: 8px;
       transition: 0.3s;
       font-size: 0.8rem;
   }

   .btn-text-gold:hover {
       color: #fff;
       padding-right: 5px;
   }

   .btn-text-gold:hover i {
       margin-right: 12px;
   }
/* =========================================
   TRUST STATS - HOLOGRAPHIC MODE
   ========================================= */
.trust-stats-section {
    background-color: #0a192f;
    /* رنگ زمینه اصلی */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* ایجاد عمق با گرادینت */
    background-image: radial-gradient(circle at 50% 50%, rgba(20, 40, 70, 0.5) 0%, #0a192f 70%);
}

/* خط افقی طلایی (اتصال دهنده) */
.stats-horizon-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(197, 160, 89, 0.6) 20%,
            rgba(197, 160, 89, 0.6) 80%,
            transparent 100%);
    z-index: 0;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
    /* درخشش خط */
}

/* کارت‌های هولوگرافیک */
.stat-holo-card {
    position: relative;
    /* شیشه‌ای شدن با رنگ محسوس‌تر */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    /* تاری پشت شیشه */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* نور لبه بالا */
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* سایه پیش‌فرض */
}

/* افکت هاور کارت معمولی */
.stat-holo-card:not(.featured-card):hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.4);
    /* طلایی شدن کادر */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* کارت ویژه (Featured - وسط) */
.stat-holo-card.featured-card {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(10, 25, 47, 0.9));
    border: 1px solid rgba(197, 160, 89, 0.6);
    /* کادر طلایی قوی */
    transform: scale(1.15);
    /* بزرگتر بودن دائمی */
    z-index: 2;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.15);
}

.stat-holo-card.featured-card:hover {
    transform: scale(1.18);
    box-shadow: 0 0 60px rgba(197, 160, 89, 0.3);
}

/* آیکون شناور */
.stat-icon-floating {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    transition: 0.4s;
}

.stat-holo-card:hover .stat-icon-floating {
    color: #c5a059;
    transform: scale(1.1);
}

/* اعداد دورخط‌دار (Outline Number) */
.stat-number-outline {
    font-family: 'Tahoma', sans-serif;
    /* فونت انگلیسی ضخیم */
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    /* داخل خالی */
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
    /* دورخط سفید */
    margin-bottom: 5px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
}

/* وقتی موس روی کارت میرود، عدد پر شود */
.stat-holo-card:hover .stat-number-outline {
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* اعداد توپر (برای کارت ویژه) */
.stat-number-filled {
    font-family: 'Tahoma', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.5);
    margin-bottom: 5px;
}

.plus-mini {
    font-size: 1.8rem;
    color: #c5a059;
    -webkit-text-stroke: 0;
    margin-top: -10px;
}

/* متن‌ها */
.stat-label {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-label.gold-text {
    color: #c5a059;
}

.stat-desc {
    font-size: 0.85rem;
    color: #a0aec0;
    margin: 0;
}

/* بج کارت ویژه */
.featured-badge {
    background: #c5a059;
    color: #050a14;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}

/* اصلاح ریسپانسیو */
@media (max-width: 991px) {
    .stats-horizon-line {
        display: none;
    }

    .stat-holo-card.featured-card {
        transform: scale(1);
        margin: 15px 0;
    }

    .stat-holo-card {
        margin-bottom: 15px;
    }
}
/* =========================================
   استایل‌های بخش پورتال (Royal Tablet 3D)
   ========================================= */
/* =========================================
   LUXURY PORTAL - COMPACT & BREATHING
   ========================================= */
/* =========================================
   LUXURY PORTAL - COMPACT & BREATHING
   ========================================= */

/* متغیرهای اختصاصی این سکشن */
:root {
    --portal-bg-deep: #020408;
    /* تقریبا مشکی برای عمق */
    --tablet-surface: rgba(14, 28, 51, 0.85);
    /* کمی شفاف برای جداسازی */
    --gold-acc: #c5a059;
    --gold-shine: #ffd700;
}

/* === 1. کانتینر اصلی (فضای تنفس) === */
.luxury-portal-wrapper {
    /* پس‌زمینه بسیار تیره برای عمق دادن */
    background-color: var(--portal-bg-deep);
    /* گرادینت بسیار ملایم در مرکز تا تبلت برجسته شود */
    background-image: radial-gradient(circle at center, #0a192f 0%, #020408 70%);

    /* سایز استاندارد: فاصله از بالا و پایین */
    padding: 90px 0;
    perspective: 2500px;
    /* پرسپکتیو قوی‌تر برای حس سه بعدی */
    overflow: hidden;
    position: relative;
}

/* === 2. بدنه اصلی تبلت (کنسول مرکزی) === */
.royal-tablet {
    position: relative;
    width: 100%;
    /* عرض استاندارد شده */
    max-width: 900px;
    border-radius: 35px;
    transform-style: preserve-3d;

    /* زاویه ملایم‌تر برای خوانایی بهتر */
    transform: rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);

    /* رنگ بدنه متمایز از پس‌زمینه */
    background: var(--tablet-surface);
    backdrop-filter: blur(10px);
    /* ماتی پشت باکس */
}

/* === 3. قاب دور و سایه (عامل اصلی جداسازی) === */
.tablet-frame-border {
    position: absolute;
    inset: 0;
    border-radius: 35px;
    pointer-events: none;
    z-index: 1;

    /* اصلاح سایه‌ها برای برجستگی */
    box-shadow:
        /* سایه بسیار عمیق زیر باکس برای جدا کردن از زمینه */
        0 50px 100px -20px rgba(0, 0, 0, 0.95),
        /* حاشیه مشکی داخلی */
        0 0 0 2px #000,
        /* خط طلایی ظریف */
        0 0 0 4px var(--gold-acc),
        /* قاب سرمه‌ای بیرونی */
        0 0 0 12px #152238,
        /* سایه نرم دور قاب */
        0 0 30px rgba(0, 0, 0, 0.5);
}

/* === ماسک نور روی سطح === */
.tablet-surface-mask {
    position: absolute;
    inset: 0;
    border-radius: 35px;
    overflow: hidden;
    z-index: 0;
    /* پترن نقطه‌ای محو برای تکسچر */
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* انیمیشن نور گذرنده (Sheen) */
.glass-sheen {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(197, 160, 89, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine-sweep 6s infinite ease-in-out;
    /* نرم‌تر شد */
    pointer-events: none;
}

@keyframes shine-sweep {

    0%,
    20% {
        left: -150%;
    }

    /* کمی مکث */
    100% {
        left: 150%;
    }
}

/* === 4. محتوای داخلی (فشرده‌سازی ابعاد) === */
.tablet-content {
    position: relative;
    z-index: 5;
    /* کاهش پدینگ برای جمع‌وجور شدن */
    padding: 40px 20px;
}

.tablet-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.8rem;
    /* سایز فونت استاندارد */
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-acc);
    border-radius: 10px;
    margin-bottom: 30px;
    /* کاهش فاصله تا کارت‌ها */
    box-shadow: 0 0 10px var(--gold-acc);
}

/* === 5. کارت‌های داخلی === */
.levitating-card {
    display: block;
    position: relative;
    text-decoration: none;
    transform-style: preserve-3d;
    transform: translateZ(20px);
    /* ارتفاع کمتر در حالت عادی */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-body-3d {
    background: rgba(10, 20, 40, 0.6);
    /* تیره‌تر برای کنتراست با باکس اصلی */
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    padding: 25px 15px;
    /* کارت‌های فشرده */
    text-align: center;
    transition: all 0.3s ease;
}

/* آیکون */
.icon-emboss {
    font-size: 2rem;
    /* استاندارد */
    color: #8892b0;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5));
    transition: all 0.4s;
}

.levitating-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.sub-text {
    color: #a8b2d1;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.action-btn {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(197, 160, 89, 0.05);
    color: var(--gold-acc);
    border: 1px solid var(--gold-acc);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

/* === 6. انیمیشن و تعامل (Interaction) === */
.levitating-card:hover {
    transform: translateZ(50px) scale(1.05);
    /* حرکت نرم به سمت کاربر */
}

.levitating-card:hover .card-body-3d {
    background: rgba(13, 25, 48, 0.9);
    border-color: var(--gold-shine);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    /* سایه کارت روی تبلت */
}

.levitating-card:hover .icon-emboss {
    color: var(--gold-shine);
    transform: translateY(-5px);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.levitating-card:hover .action-btn {
    background: var(--gold-acc);
    color: #050a14;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

/* === ریسپانسیو (موبایل) === */
@media (max-width: 991px) {
    .luxury-portal-wrapper {
        padding: 60px 0;
    }

    .royal-tablet {
        transform: rotateX(0);
        margin: 0 15px;
        max-width: 100%;
    }

    .tablet-frame-border {
        border-width: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .levitating-card {
        margin-bottom: 15px;
        transform: none;
    }

    .levitating-card:hover {
        transform: translateY(-5px);
    }
}

/* =========================================
   3D PARTNERS FIX & STYLE
   ========================================= */

:root {
    --royal-navy: #0a192f;
    --royal-gold: #c5a059;
}

.royal-3d-partners {
    position: relative;

    /* همان گرادینت که صحبت کردیم */
    background: radial-gradient(circle at 50% 30%, #162a47 0%, #050a14 70%);

    /* اصلاح پدینگ: پایین را از 200 به 60 تغییر دادم */
    padding: 60px 0 30px 0;

    overflow: hidden;
    perspective: 2000px;

    /* یک ارتفاع حداقل هم میدهیم که خیلی جمع نشود */
    min-height: 500px;
}
/* === رفع مشکل تداخل (بخش تیتر) === */
.partner-header-area {
    position: relative;
    /* این Z-Index خیلی مهم است: بالاتر از همه لایه‌ها */
    z-index: 100;
    /* فاصله فیزیکی زیاد از پایین تا دایره به متن نرسد */
    margin-bottom: 140px;
    /* حرکت دادن متن به جلو در فضای سه بعدی برای اطمینان */
    transform: translateZ(50px);
}

/* استایل متن جذاب و طلایی */
.royal-3d-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;

    /* افکت گرادینت متنی (از سفید به طلایی) */
    background: linear-gradient(to bottom, #ffffff 30%, var(--royal-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* سایه درخشان پشت متن */
    filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.4));
}

.royal-3d-subtitle {
    font-size: 1.1rem;
    color: #a8b2d1;
    /* رنگ طوسی روشن */
    font-weight: 300;
    margin-top: 20px;
}

/* خط جداکننده تزئینی */
.gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0.8;
}

.gold-separator span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.gold-separator .diamond-shape {
    color: var(--royal-gold);
    font-style: normal;
    font-size: 0.8rem;
    text-shadow: 0 0 10px var(--royal-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

/* === تنظیمات دایره چرخان (هل دادن به پایین) === */
.cylinder-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    transform-style: preserve-3d;
    z-index: 10;
    /* کمتر از متن */
    /* زاویه دید کمی از بالا که کارتها زیباتر دیده شوند */
    transform: rotateX(-5deg);
}

.cylinder-axis {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    animation: spin-cylinder 50s infinite linear;
}

/* استایل آیتم‌ها */
.cylinder-item {
    position: absolute;
    width: 220px;
    /* همان عددی که در جاوااسکریپت دارید */
    height: 160px;
    left: 0;
    top: 0;
    margin-left: -110px;
    /* نصف عرض */
    margin-top: -80px;
    /* نصف ارتفاع */
    transform-style: preserve-3d;
}

/* پنل شیشه‌ای کارت‌ها */
.glass-panel {
    width: 100%;
    height: 100%;
    background: rgba(12, 24, 46, 0.6);
    /* شیشه تیره */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.4s ease;
}

.glass-panel img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    /* سیاه سفید */
    opacity: 0.7;
    transition: 0.4s;
}

.partner-name {
    position: absolute;
    bottom: 15px;
    font-size: 0.9rem;
    color: var(--royal-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

/* هاور */
.cylinder-item:hover .glass-panel {
    background: rgba(10, 25, 47, 0.95);
    border-color: var(--royal-gold);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
    transform: scale(1.1) translateZ(20px);
}

.cylinder-item:hover img {
    filter: none;
    opacity: 1;
    transform: translateY(-8px);
}

.cylinder-item:hover .partner-name {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin-cylinder {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(-360deg);
    }
}

/* ماسک محو کردن کناره‌ها (اختیاری) */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, var(--royal-navy) 90%);
    pointer-events: none;
    z-index: 50;
}
/* =========================================
   استایل‌های بخش افتخارات (Royal Honors)
   ========================================= */
/* =========================================
   HONORS SECTION (ROYAL STANDARD)
   ========================================= */
/* =========================================
   FIXED PRESTIGE HONORS (Repair Patch)
   ========================================= */
.prestige-honors-section {
    position: relative;
    padding: 100px 0;
    background-color: #050a14;
    /* مشکی عمیق */
    overflow: hidden;
    /* جلوگیری از اسکرول افقی */
    text-align: center;
    /* مرکزچین کردن کل سکشن */
}

/* اصلاح هدر سکشن که در عکس به هم ریخته بود */
.prestige-honors-section .section-header {
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
    text-align: center;
    width: 100%;
}

.prestige-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
}

.prestige-subtitle {
    display: block;
    color: #8892b0;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* === کارت اصلاح شده (مهم) === */
.prestige-card {
    position: relative;
    width: 100%;
    /* پر کردن عرض ستون بوت‌استرپ */
    height: 400px;
    /* ارتفاع فیکس */
    border-radius: 20px;
    overflow: hidden;
    /* حیاتی: عکس بیرون نزند */
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;

    /* رفع باگ سافاری و برخی مرورگرها */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* === تصویر (Fix Image Overflow) === */
.cert-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.cert-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* برش درست عکس */
    object-position: center top !important;
    /* فوکوس روی بالای مدرک */
    display: block;
    border-radius: 20px;
    /* هماهنگی با کارت */
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* === اصلاح اورلی و متن === */
.info-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.95) 0%, rgba(5, 10, 20, 0) 100%);
    padding: 30px 20px 20px;
    z-index: 5;
    text-align: right;
    /* متن فارسی */
    transform: translateY(0);
    /* همیشه دیده شود */
}

.cert-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* === بج طلایی (Golden Seal) === */
.golden-seal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: #c5a059;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: #000;
    font-size: 20px;
}

/* === هاور افکت === */
.prestige-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
    border: 1px solid #c5a059;
}

.prestige-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}
/* =========================================
   استایل‌های فوتر حرفه‌ای (Pro Footer)
   ========================================= */

/* --- Newsletter Strip --- */
.royal-newsletter-strip {
    background: rgba(22, 42, 77, 0.85);
    /* سرمه‌ای شیشه‌ای */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: -60px;
    /* کشیدن روی فوتر */
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.icon-box-gold {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c5a059, #8a6e36);
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.news-title {
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.news-desc {
    color: #a8b2d1;
    margin: 0;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    flex-grow: 1;
    padding: 0 20px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-gold-submit {
    background: var(--royal-gold, #c5a059);
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn-gold-submit:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* --- Main Footer --- */
.site-footer-pro {
    background-color: #050b14;
    /* مشکی خیلی عمیق */
    padding-top: 100px;
    /* جا برای نوار خبرنامه */
    position: relative;
    overflow: hidden;
    color: #a8b2d1;
}

.world-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    /* پترن نقشه */
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    filter: invert(1);
    pointer-events: none;
}

.footer-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0, #102a4b 0%, transparent 60%);
    pointer-events: none;
}

.main-footer-content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

/* Brand Section */
.footer-logo-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.brand-name {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.brand-slogan {
    display: block;
    font-size: 0.7rem;
    color: var(--royal-gold, #c5a059);
    letter-spacing: 3px;
    margin-top: 5px;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.social-grid {
    display: flex;
    gap: 10px;
}

.social-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.social-item:hover {
    transform: translateY(-3px);
    background: var(--royal-gold, #c5a059);
    color: #000;
    border-color: var(--royal-gold, #c5a059);
}

/* Links Section */
.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.heading-line {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--royal-gold, #c5a059);
    margin-bottom: 25px;
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #a8b2d1;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--royal-gold, #c5a059);
    transform: translateX(-5px);
}

.footer-links-list a::before {
    content: "•";
    color: var(--royal-gold, #c5a059);
    position: absolute;
    right: -15px;
    opacity: 0;
    transition: 0.3s;
}

.footer-links-list a:hover::before {
    opacity: 1;
    right: -10px;
}

/* Contact Section */
.contact-card-glass {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row i {
    font-size: 1.1rem;
}

/* Trust Badges */
.trust-badges {
    margin-top: 25px;
}

.badge-title {
    font-size: 0.85rem;
    color: #6c757d;
    display: block;
    margin-bottom: 10px;
}

.badges-row {
    display: flex;
    gap: 10px;
}

.iso-badge {
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--royal-gold, #c5a059);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    background: rgba(197, 160, 89, 0.05);
}

/* Footer Bottom */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    background: #02050a;
    font-size: 0.85rem;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.legal-links a {
    color: #6c757d;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

.heart-pulse {
    display: inline-block;
    color: #e74c3c;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Back to Top Pro --- */
.back-to-top-pro {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0b1622;
    box-shadow: inset 0 0 0 2px rgba(197, 160, 89, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-gold, #c5a059);
    text-decoration: none;
}

.back-to-top-pro.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-pro .arrow-up {
    font-weight: bold;
    font-size: 1.2rem;
}

.back-to-top-pro svg path {
    fill: none;
    stroke: var(--royal-gold, #c5a059);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* Responsive */
@media (max-width: 991px) {
    .royal-newsletter-strip {
        margin-bottom: 30px;
        text-align: center;
    }

    .newsletter-form {
        margin-top: 20px;
    }

    .site-footer-pro {
        padding-top: 40px;
    }

    .legal-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* اعمال فونت وزیرمتن روی کل سایت */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
input,
button,
.royal-title,
.hero-title {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* تنظیم دقیق وزن‌ها برای زیبایی بیشتر */
h1,
h2,
.royal-title,
.brand-name {
    font-weight: 900 !important;
    /* خیلی ضخیم برای تیترها */
}

h3,
h4,
.service-title {
    font-weight: 700 !important;
    /* ضخیم */
}

body,
p,
li {
    font-weight: 400 !important;
    /* معمولی برای متن‌ها */
}

/* =========================================
   Royal Floating Action Button (FAB)
   ========================================= */
.royal-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

/* دکمه اصلی */
.fab-main-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* گرادینت طلایی */
    background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-gold-light) 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-navy);
    /* آیکون سرمه‌ای */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    animation: royalPulse 2s infinite;
    /* انیمیشن تپش */
}

/* انیمیشن تپش برای جلب توجه */
@keyframes royalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

.fab-main-btn:hover {
    transform: scale(1.1);
}

/* آیکون‌ها داخل دکمه */
.fab-main-btn svg {
    position: absolute;
    transition: all 0.3s;
}

.fab-main-btn .icon-close {
    opacity: 0;
    transform: rotate(-180deg);
}

.fab-main-btn .icon-open {
    opacity: 1;
    transform: rotate(0);
}

/* حالت فعال (وقتی منو باز است) */
.royal-fab-container.active .fab-main-btn {
    background: var(--royal-navy);
    color: var(--royal-gold);
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.6);
    animation: none;
    /* تپش متوقف شود */
    transform: rotate(90deg);
}

.royal-fab-container.active .icon-open {
    opacity: 0;
}

.royal-fab-container.active .icon-close {
    opacity: 1;
    transform: rotate(0);
}

/* منوی گزینه‌ها */
.fab-options {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    pointer-events: none;
    /* در حالت بسته غیرقابل کلیک */
}

.royal-fab-container.active .fab-options {
    pointer-events: auto;
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--royal-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.3);
    position: relative;
}

/* تاخیر در باز شدن دکمه‌ها (حالت آبشاری) */
.royal-fab-container.active .fab-option {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.royal-fab-container.active .fab-option:nth-child(1) {
    transition-delay: 0.1s;
}

.royal-fab-container.active .fab-option:nth-child(2) {
    transition-delay: 0.05s;
}

/* رنگ‌های اختصاصی برندها */
.fab-option.whatsapp {
    background: #25D366;
    border-color: transparent;
}

.fab-option.whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.fab-option.phone {
    background: var(--royal-navy-light);
    border-color: var(--royal-gold);
    color: var(--royal-gold);
}

.fab-option.phone:hover {
    background: var(--royal-gold);
    color: var(--royal-navy);
}

/* تولتیپ (متن کنار دکمه‌ها) */
.opt-tooltip {
    position: absolute;
    right: 60px;
    background: rgba(10, 25, 47, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
    border-right: 2px solid var(--royal-gold);
}

.fab-option:hover .opt-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* تنظیمات موبایل */
@media (max-width: 991px) {
    .royal-fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab-main-btn {
        width: 55px;
        height: 55px;
    }

    .opt-tooltip {
        display: none;
        /* تولتیپ در موبایل مزاحم است */
    }
}

/* =========================================
   Hero Section - Modern Immersive (2025)
   ========================================= */
/* =========================================
   Hero Section - Fixed for Visibility
   ========================================= */

.hero-section {
    position: relative;
    height: 100vh;
    /* تمام صفحه */
    width: 100%;
    overflow: hidden;
    /* جلوگیری از اسکرول اضافه */
    display: flex;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* انیمیشن زوم ملایم */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 25, 47, 1) 0%, rgba(10, 25, 47, 0.4) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 5;
    /* بالاتر از لایه گرادینت */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* فاصله انداختن بین تیتر و نوار پایین */
    align-items: center;

    /* مهم: این پدینگ باعث می‌شود نوار پایین بالاتر از انحنای سکشن بعدی قرار گیرد */
    padding-bottom: 140px;
    padding-top: 150px;
    /* فاصله از بالا برای تیتر */
    box-sizing: border-box;
}

/* --- ۱. تیتر اصلی --- */
.hero-main-text {
    text-align: center;
    margin-top: auto;
    /* کمک به قرارگیری در مرکز بصری */
    margin-bottom: auto;
    animation: fadeDown 1s ease-out;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
    margin: 0;
    line-height: 1.2;
}

.hero-separator {
    width: 0;
    height: 4px;
    background: var(--royal-gold);
    margin: 25px auto 0;
    animation: widthExpand 1s 0.5s forwards ease;
    box-shadow: 0 0 15px var(--royal-gold);
}

@keyframes widthExpand {
    to {
        width: 100px;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ۲. نوار داک شیشه‌ای (اصلاح شده) --- */
.glass-dock-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 100;
    /* بسیار مهم: اولویت نمایش بالا */

    /* انیمیشن */
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
    /* تاخیر نیم ثانیه‌ای */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-dock {
    display: flex;
    align-items: center;
    gap: 20px;

    /* استایل شیشه‌ای قوی‌تر */
    background: rgba(14, 28, 50, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(197, 160, 89, 0.5);
    /* خط طلایی پایین */

    padding: 15px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* آیتم‌های داک */
.dock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 10px;
    transition: 0.3s;
    position: relative;
}

.dock-item:hover {
    transform: translateY(-5px);
}

.dock-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(197, 160, 89, 0.15);
    border-radius: 10px;
    /* کمی مربعی‌تر برای حس صنعتی */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dock-icon-box svg {
    width: 22px;
    height: 22px;
}

.dock-content {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.dock-title {
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 2px;
}

.dock-desc {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

/* خط جداکننده */
.dock-divider {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 991px) {
    .hero-container {
        padding-bottom: 100px;
        /* در موبایل کمی پایین‌تر */
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .glass-dock-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 20px;
        width: 100vw;
        /* تمام عرض صفحه */
        margin-left: -20px;
        /* جبران پدینگ کانتینر */
    }

    .glass-dock {
        width: max-content;
        background: rgba(10, 25, 47, 0.85);
        /* تیره‌تر در موبایل */
        padding: 12px;
        gap: 15px;
    }

    .dock-desc {
        font-size: 0.85rem;
    }

    .dock-title {
        font-size: 0.7rem;
    }
}

/* =========================================
   1. تنظیمات فونت و بدنه کلی (Global)
   ========================================= */
:root {
    --royal-navy: #0a192f;
    --royal-gold: #c5a059;
    --royal-gold-light: #e6c885;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* رفع مشکل اسکرول اضافی */
html,
body {
    max-width: 100%;
}

/* =========================================
   2. استایل بخش هیرو (Immersive HUD Design)
   طبق توافق نهایی: عکس تمام صفحه + نوار اطلاعات شیشه‌ای پایین
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ارتفاع تمام صفحه */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* هل دادن محتوا به پایین */
    align-items: center;
    overflow: hidden;
    margin-top: -100px;
    /* خنثی کردن پدینگ بادی برای چسبیدن به سقف */
    z-index: 1;
}

/* تصویر پس‌زمینه */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* انیمیشن زوم ملایم */
    animation: zoomHero 20s infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* لایه تاریک روی عکس */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.1) 60%, rgba(10, 25, 47, 0.9) 100%);
    z-index: 0;
}

/* تیتر بزرگ وسط صفحه (غوطه‌ور) */
.hero-headline-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    z-index: 1;
    width: 80%;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: -2px;
}

/* داک شیشه‌ای پایین (HUD) */
.hero-hud-dock {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 40px;

    background: rgba(10, 25, 47, 0.65);
    /* سرمه‌ای شیشه‌ای */
    backdrop-filter: blur(15px);
    /* تاری پشت زمینه */
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* حاشیه طلایی کمرنگ */
    border-radius: 20px;

    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hud-info {
    color: #fff;
    text-align: right;
}

.hud-info h2 {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: var(--royal-gold);
}

.hud-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.hud-action .btn-hero {
    display: inline-block;
    padding: 12px 35px;
    background: var(--royal-gold);
    color: var(--royal-navy);
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.hud-action .btn-hero:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ریسپانسیو هیرو */
@media (max-width: 991px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .hero-hud-dock {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .hud-info {
        text-align: center;
    }
}

/* =========================================
   1. تنظیمات فونت و بدنه کلی (Global)
   ========================================= */
:root {
    --royal-navy: #0a192f;
    --royal-gold: #c5a059;
    --royal-gold-light: #e6c885;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* رفع مشکل اسکرول اضافی */
html,
body {
    max-width: 100%;
}

/* =========================================
   2. استایل بخش هیرو (Immersive HUD Design)
   طبق توافق نهایی: عکس تمام صفحه + نوار اطلاعات شیشه‌ای پایین
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ارتفاع تمام صفحه */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* هل دادن محتوا به پایین */
    align-items: center;
    overflow: hidden;
    margin-top: -100px;
    /* خنثی کردن پدینگ بادی برای چسبیدن به سقف */
    z-index: 1;
}

/* تصویر پس‌زمینه */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* انیمیشن زوم ملایم */
    animation: zoomHero 20s infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* لایه تاریک روی عکس */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.1) 60%, rgba(10, 25, 47, 0.9) 100%);
    z-index: 0;
}

/* تیتر بزرگ وسط صفحه (غوطه‌ور) */
.hero-headline-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    z-index: 1;
    width: 80%;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: -2px;
}

/* داک شیشه‌ای پایین (HUD) */
.hero-hud-dock {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 40px;

    background: rgba(10, 25, 47, 0.65);
    /* سرمه‌ای شیشه‌ای */
    backdrop-filter: blur(15px);
    /* تاری پشت زمینه */
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* حاشیه طلایی کمرنگ */
    border-radius: 20px;

    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hud-info {
    color: #fff;
    text-align: right;
}

.hud-info h2 {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: var(--royal-gold);
}

.hud-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.hud-action .btn-hero {
    display: inline-block;
    padding: 12px 35px;
    background: var(--royal-gold);
    color: var(--royal-navy);
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.hud-action .btn-hero:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ریسپانسیو هیرو */
@media (max-width: 991px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .hero-hud-dock {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .hud-info {
        text-align: center;
    }
}

/* =========================================
   FIXES: SCROLLBAR & FOOTER FONTS
   ========================================= */

/* 1. اسکرول‌بار (نسخه اصلاح شده برای تمام مرورگرها) */
/* برای فایرفاکس */
html {
    scrollbar-width: thin;
    scrollbar-color: #c5a059 #0a192f;
}

/* برای کروم، اج و سافاری */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
    background: #0a192f;
    /* رنگ پس‌زمینه مسیر */
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
    background-color: #c5a059;
    /* رنگ دستگیره طلایی */
    border-radius: 6px;
    border: 3px solid #0a192f;
    /* حاشیه برای زیبایی */
}

/* 2. تضمین فونت وزیرمتن برای کل فوتر */
/* این کد تمام عناصر داخل فوتر را مجبور به اطاعت می‌کند */
.site-footer-pro,
.site-footer-pro h1,
.site-footer-pro h2,
.site-footer-pro h3,
.site-footer-pro h4,
.site-footer-pro h5,
.site-footer-pro h6,
.site-footer-pro p,
.site-footer-pro a,
.site-footer-pro span,
.site-footer-pro li {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* تلاش برای حذف سفیدی پس‌زمینه لوگوها با CSS */
.cylinder-item img {
    /* این کد باعث می‌شود سفیدی عکس با پس‌زمینه ترکیب شود */
    mix-blend-mode: multiply;
    filter: contrast(1.2);
    /* افزایش کنتراست */
}

/* نکته: این روش فقط زمانی خوب کار می‌کند که زمینه پشت سیلندر روشن باشد. 
   چون زمینه شما تیره است، ممکن است لوگوهای سیاه دیده نشوند.
   اگر لوگوها سیاه روی سفید هستند و می‌خواهید سفید روی سرمه‌ای شوند، کد زیر را بزنید:
*/

.cylinder-item img {
    filter: invert(1) grayscale(1);
    /* معکوس کردن رنگ‌ها (سفید به سیاه و برعکس) */
    mix-blend-mode: screen;
    /* حذف سیاهی جدید (که قبلا سفید بود) */
    opacity: 0.8;
}
/* =========================================
   FIX: INNER PAGES HEADER (رفع فضای خالی صفحات داخلی)
   ========================================= */

/* این استایل فقط روی صفحات داخلی اعمال می‌شود (نه صفحه اصلی) */
body:not(.home) {
    background-color: #020408;
    /* رنگ پس‌زمینه کلی */
}

/* ایجاد یک بنر در بالای صفحات داخلی */
body:not(.home) .entry-header,
body:not(.home) .page-header {
    position: relative;
    margin-top: 0;
    /* حذف فاصله اضافی */
    padding: 180px 0 80px 0;
    /* تنظیم ارتفاع بنر */
    background: linear-gradient(135deg, #0a192f 0%, #020408 100%);
    /* گرادینت سرمه‌ای */
    text-align: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    /* خط طلایی پایین */
    margin-bottom: 60px;
    /* فاصله تا محتوای اصلی */
    overflow: hidden;
}

/* افزودن پترن محو به پس‌زمینه بنر */
body:not(.home) .entry-header::before,
body:not(.home) .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

/* استایل تیتر صفحه (مثلاً: درباره ما) */
body:not(.home) h1.entry-title,
body:not(.home) .page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* خط طلایی زیر تیتر */
body:not(.home) h1.entry-title::after,
body:not(.home) .page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #c5a059;
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

/* تنظیم کانتینر محتوای اصلی */
body:not(.home) .container,
body:not(.home) .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}