.contact-section {
    padding: 80px 0;
    background: #f1f5f9;
}
.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}
.contact-info li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 3px solid var(--primary-light);
}
.contact-info li:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-sm);
    border-right-color: var(--accent);
}
.contact-info li i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 30px;
}
.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.contact-form h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.contact-form .form-control {
box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand i {
    color: var(--accent);
    font-size: 1.8rem;
}
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}
.navbar-nav .nav-link.active {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.15);
}
.btn-consult {
    background: var(--primary);
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    color: white;
}
.btn-consult:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

/* ---------------------------------------------------------------- */
/* 6. منوی همبرگری (موبایل)                                        */
/* ---------------------------------------------------------------- */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}
.menu-icon {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
    display: inline-block;
}
.menu-icon i {
    transition: transform 0.3s ease;
}

@media (max-width: 1199px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        border-radius: 20px;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-light);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        margin: 5px 0;
        border-radius: 12px;
    }
    .nav-cta {
        margin-top: 1rem;
        text-align: center;
    }
    .btn-consult {
        width: 100%;
        text-align: center;
    }
}

/* ---------------------------------------------------------------- */
/* 7. بخش هیرو (Hero)                                               */
/* ---------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    position: relative;
    background: url('/image/background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
/* ================================================================ */
/* تم لوکس مدرن | آبی سرمه‌ای + طلایی                              */
/* ================================================================ */

/* ---------------------------------------------------------------- */
/* 1. متغیرهای رنگی (تم لوکس مدرن)                                 */
/* ---------------------------------------------------------------- */


:root {
    /* رنگ‌های اصلی - آبی سرمه‌ای لوکس */
    --primary: #1e293b;
    --primary-dark: #0f172a;
    --primary-light: #475569;
    --primary-extra-light: #94a3b8;

    /* رنگ‌های ثانویه */
    --secondary: #334155;
    --secondary-dark: #1e293b;
    --secondary-light: #64748b;

    /* رنگ‌های اکنت - طلایی لاکچری */
    --accent: #d4af37;
    --accent-dark: #b68d20;
    --accent-light: #f3e5ab;

    /* رنگ‌های پس‌زمینه */
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-warm: #f8fafc;
    --bg-dark-warm: #e2e8f0;

    /* رنگ‌های متن */
    --text-dark: #0f172a;
    --text-darker: #020617;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* رنگ‌های حاشیه و سایه */
    --border-light: #e2e8f0;
    --shadow-warm: rgba(15, 23, 42, 0.08);
    --shadow-warm-dark: rgba(15, 23, 42, 0.15);

    /* سایه‌ها */
    --shadow-sm: 0 5px 20px var(--shadow-warm);
    --shadow-md: 0 10px 30px var(--shadow-warm);
    --shadow-lg: 0 20px 50px var(--shadow-warm-dark);

    /* انیمیشن */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ---------------------------------------------------------------- */
/* 2. فونت وزیرمتن (آفلاین)                                        */
/* ---------------------------------------------------------------- */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

/* ---------------------------------------------------------------- */
/* 3. تنظیمات پایه و ریست                                           */
/* ---------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Vazirmatn', 'Tahoma', system-ui, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------------------------------------------------------------- */
/* 4. اسکرول بار سفارشی                                             */
/* ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------------------------------------------------------------- */
/* 5. نوار ناوبری (Navbar)                                         */
/* ---------------------------------------------------------------- */
#mainNav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}
#mainNav.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
margin: 0 auto 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn-primary {
    background: var(--accent);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--primary-dark);
}
.hero-buttons .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}
.hero-buttons .btn-outline-light {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid white;
    color: white;
}
.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ---------------------------------------------------------------- */
/* 8. بخش معرفی شرکت (About)                                        */
/* ---------------------------------------------------------------- */
.about-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.image-slider {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.slider-frame {
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}
.slider-images {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
.about-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.about-subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.about-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature i {
    font-size: 2rem;
    color: var(--accent);
}
.feature h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}
.feature small {
    color: var(--text-muted);
    font-size: 0.75rem;
}
.btn-about {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-about:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    gap: 12px;
}

/* ---------------------------------------------------------------- */
/* 9. بخش محصولات (Products)                                        */
/* ---------------------------------------------------------------- */
.products-section {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--bg-light), var(--bg-white));
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.products-header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.article-card-link:hover .article-card h5 {
    color: var(--accent);
}
.article-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}
.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}
.article-card-link:hover .article-read-more {
    gap: 12px;
    color: var(--accent-dark);
}
.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.article-meta span {
    font-size: 0.7rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.btn-view-all:hover {
    background: var(--primary);
    color: white;
    gap: 16px;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------- */
/* 11. بخش مشتریان (Customers)                                      */
/* ---------------------------------------------------------------- */
.customers-brand-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.customer-card {
    text-align: center;
    cursor: pointer;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.customer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}
.customer-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.customer-card:hover .customer-circle {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent);
}
.customer-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-card h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.customer-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---------------------------------------------------------------- */
/* 12. نظرات مشتریان (Testimonials)                                 */
/* ---------------------------------------------------------------- */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
    border-right: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-right-color: var(--accent);
}
.testimonial-card i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.6;
    margin-bottom: 1rem;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.7;
}
.testimonial-author h6 {
    margin: 0;
    font-weight: 700;
    color: var(--accent);
}

/* ---------------------------------------------------------------- */
/* 13. بخش تماس با ما (Contact)                                     */
/* ---------------------------------------------------------------- */
}
.products-header-icon i {
    font-size: 2rem;
    color: white;
}
.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-bottom: 3px solid var(--primary-light);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-body {
    padding: 1.5rem;
}
.product-body h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.product-body p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.product-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.product-link:hover {
    color: var(--accent-dark);
    gap: 10px;
}
.btn-view-all-products {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.btn-view-all-products:hover {
    background: var(--primary);
    color: white;
    gap: 16px;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------- */
/* 10. بخش مقالات (Articles)                                        */
/* ---------------------------------------------------------------- */
.articles-section {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--bg-light), var(--bg-white));
}
.articles-header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.articles-header-icon i {
    font-size: 2rem;
    color: white;
}
.article-card-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}
.article-card-link:hover {
    transform: translateY(-8px);
}
.article-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    border-bottom: 3px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.article-card-link:hover .article-card::before {
    transform: scaleY(1);
}
.article-card-link:hover .article-card {
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.article-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.article-card-link:hover .article-icon {
    background: var(--accent);
    transform: scale(1.05);
}
.article-icon i {
    font-size: 1.8rem;
    color: var(--accent);
    transition: var(--transition);
}
.article-card-link:hover .article-icon i {
    color: white;
}
.article-card h5 {
    font-weight: 800;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition);


/* ================================================================
   اصلاح نمایش لوگوی شرکت در نوار بالای سایت
   ================================================================ */
#mainNav .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

#mainNav .navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    min-width: max-content;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
    font-size: 1.12rem;
    font-weight: 800;
}

#mainNav .navbar-brand .site-brand-logo {
    display: block;
    width: 66px;
    height: 66px;
    max-width: 66px;
    min-width: 66px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 66px;
    border-radius: 50%;
}

#mainNav .navbar-brand span {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
}

@media (min-width: 1200px) {
    #mainNav .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    #mainNav .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    #mainNav .navbar-nav .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.65rem;
        font-size: 0.92rem;
    }

    #mainNav .nav-cta {
        flex: 0 0 auto;
        margin-right: 0.5rem;
    }

    #mainNav .btn-consult {
        white-space: nowrap;
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1199.98px) {
    #mainNav .navbar-brand .site-brand-logo {
        width: 56px;
        height: 56px;
        max-width: 56px;
        min-width: 56px;
        flex-basis: 56px;
    }

    #mainNav .navbar-toggler {
        flex: 0 0 auto;
        margin-inline-start: 0;
    }

    #mainNav .navbar-collapse {
        width: auto;
    }
}

@media (max-width: 575.98px) {
    #mainNav {
        padding: 0.45rem 0;
    }

    #mainNav .navbar-brand {
        gap: 7px;
        font-size: 0.92rem;
    }

    #mainNav .navbar-brand .site-brand-logo {
        width: 46px;
        height: 46px;
        max-width: 46px;
        min-width: 46px;
        flex-basis: 46px;
    }

    #mainNav .menu-icon {
        font-size: 1.55rem;
    }
}
