:root {
    --primary-color: #0A58CA;
    --secondary-color: #6C757D;
    --accent-color: #FF8C00;
    --bg-color: #F8F9FA;
    --text-color: #212529;
    --white: #FFFFFF;
    --card-radius: 16px;
    --btn-radius: 12px;
    --search-radius: 30px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
    --max-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', 'IRANSans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* الاستیک و نگه‌دارنده‌ها */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-margin {
    margin-top: 80px;
    margin-bottom: 80px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* هدر سایت */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #E9ECEF;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
    color: var(--accent-color);
}

.search-bar {
    width: 50%;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 25px;
    padding-left: 50px;
    border: 1px solid #CED4DA;
    border-radius: var(--search-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: #F8F9FA;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(10, 88, 202, 0.15);
}

.search-bar button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 16px;
}

.contact-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--btn-radius);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.contact-btn:hover {
    background-color: #E07B00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}

.header-bottom {
    height: 50px;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
    font-weight: 500;
    padding: 10px 0;
    color: var(--secondary-color);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* هیرو سکشن و اسلایدر */
.hero-section {
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #111;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 88, 202, 0.25) 0%, rgba(33, 37, 41, 0.85) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 90%;
    text-align: center;
    padding: 0 60px;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    z-index: 20;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
}

.arrow-prev { right: 20px; }
.arrow-next { left: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* خدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E9ECEF;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(10, 88, 202, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.service-icon {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card p {
    font-size: 15px;
    color: #495057;
    margin-bottom: 25px;
    text-align: justify;
}

.service-btn {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover .service-btn {
    color: var(--accent-color);
}

/* دسته‌بندی‌ها */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #E9ECEF;
    cursor: pointer;
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 88, 202, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-info span {
    font-size: 13px;
    color: var(--secondary-color);
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
}

.category-card:hover .category-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

/* محصولات صفحه اصلی */
.products-header {
    display: block;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.products-header .section-title {
    margin-bottom: 0;
}

.view-all-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--btn-radius);
    font-weight: 500;
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    transition: var(--transition);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    border: 1px solid #E9ECEF;
    padding: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
}

.product-img-holder {
    width: 100%;
    height: 180px;
    background-color: #F8F9FA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img-holder i, .product-img-holder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-img-holder i {
    font-size: 50px;
    color: #CED4DA;
}

.product-card:hover .product-img-holder i, .product-card:hover .product-img-holder img {
    transform: scale(1.1);
}

.product-card:hover .product-img-holder i {
    color: var(--primary-color);
}

.product-details {
    text-align: center;
    margin-bottom: 15px;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-code {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #E9ECEF;
    padding-top: 12px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #F8F9FA;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.action-btn:hover {
    background-color: rgba(10, 88, 202, 0.1);
    color: var(--primary-color);
}

.action-btn.buy-btn {
    flex-grow: 1;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    gap: 5px;
    font-size: 13px;
}

.action-btn.buy-btn:hover {
    background-color: #084298;
    color: var(--white);
}

/* مزایا */
.advantages-section {
    background-color: var(--white);
    padding: 50px 0;
    border-top: 1px solid #E9ECEF;
    border-bottom: 1px solid #E9ECEF;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 15px;
}

.advantage-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.advantage-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.advantage-item p {
    font-size: 13px;
    color: var(--secondary-color);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

/* فوتر سایت */
.site-footer {
    background-color: #212529;
    color: var(--white);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col.about-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: justify;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--accent-color);
}

.contact-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list i {
    color: var(--accent-color);
    margin-top: 4px;
}

.symbols-holder {
    display: flex;
    gap: 15px;
}

.symbol-box {
    width: 75px;
    height: 75px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-nav {
    padding: 25px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-nav-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-nav-link:hover {
    color: var(--accent-color);
}

.copyright-bar {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    background-color: #1a1e21;
}

/* دکمه‌های تکمیلی آرشیو */
.products-footer-action {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.view-all-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--btn-radius);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 88, 202, 0.2);
}

/* منوی موبایل و سایدبار */
.menu-toggle-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: var(--transition);
}

.menu-toggle-btn:hover {
    color: var(--primary-color);
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-menu.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #E9ECEF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
}

.sidebar-title {
    font-weight: 700;
    color: var(--primary-color);
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--secondary-color);
}

.sidebar-nav { padding: 15px 10px; }

.sidebar-link, .submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-link:hover, .submenu-trigger:hover {
    background-color: rgba(10, 88, 202, 0.05);
    color: var(--primary-color);
}

.submenu-content {
    display: none;
    padding-right: 15px;
    border-right: 2px solid #E9ECEF;
    margin-right: 15px;
}

.submenu-content.active { display: block; }
.sub-item { font-size: 14px; color: #495057; }
.sub-item-2 { font-size: 13.5px; color: #6C757D; }
.sub-item-3 { font-size: 13px; color: #868E96; padding: 8px 15px; }

.submenu-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.submenu-trigger.active i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.site-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

/* استایل‌های بخش درباره ما */
.about-hero {
    background: linear-gradient(135deg, rgba(10, 88, 202, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
    padding: 50px 40px;
    border-radius: var(--card-radius);
    border-right: 5px solid var(--primary-color);
    margin-bottom: 60px;
}

.about-lead {
    font-size: 17.5px;
    line-height: 1.9;
    color: #495057;
    text-align: justify;
}

.sub-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.sub-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.about-card {
    background-color: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: var(--card-radius);
    padding: 35px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.about-card-icon {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-card p {
    font-size: 14px;
    color: #6C757D;
    line-height: 1.7;
    text-align: justify;
}

.about-features-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-box {
    background-color: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: var(--card-radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 36px;
    color: var(--accent-color);
    background-color: rgba(255, 140, 0, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 14.5px;
    color: #495057;
    line-height: 1.8;
    text-align: justify;
}

/* استایل‌های بخش طراحی PCB و مهندسی معکوس */
.design-hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 60px 0;
}

.design-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 57, 133, 0.9) 0%, rgba(33, 37, 41, 0.85) 100%);
    z-index: 1;
}

.design-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.design-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.design-hero h1 span {
    color: var(--accent-color, #FF8C00);
}

.design-hero p {
    font-size: 1.15rem;
    line-height: 2;
    text-align: justify;
    color: #f1f5f9;
    margin-bottom: 30px;
}

.btn-design-action {
    display: inline-block;
    background-color: var(--accent-color, #FF8C00);
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.btn-design-action:hover {
    background-color: #e07b00;
    transform: translateY(-3px);
}

.services-detail-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-detail-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 12px;
    border-top: 4px solid #0A58CA;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.service-detail-card .icon-box {
    font-size: 2.2rem;
    color: #0A58CA;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}

.service-detail-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

/* استایل‌های بخش تماس با ما و شبکه‌های اجتماعی (ایتا، بله و...) */
.contact-hero-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 25, 62, 0.75);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 50px;
    max-width: 850px;
    margin: 0 auto;
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 { font-size: 28px; font-weight: 700; color: #FFF; margin-bottom: 10px; }
.contact-header p { font-size: 15px; color: #E9ECEF; opacity: 0.9; }

.contact-title-divider {
    height: 3px;
    width: 60px;
    background-color: #FF8C00;
    margin: 15px auto 0;
    border-radius: 2px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.highlight-item {
    border: 1px solid rgba(255, 140, 0, 0.4);
    background: rgba(255, 140, 0, 0.08);
}

.highlight-item .contact-icon-box {
    color: #0A58CA;
}

.full-width-item {
    grid-column: span 2;
}

.contact-icon-box {
    font-size: 24px;
    color: #0A58CA;
    background: rgba(255, 255, 255, 0.9);
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-text-box h4 { font-size: 14px; color: #CED4DA; margin-bottom: 5px; font-weight: 500; }
.contact-text-box p, .contact-link { font-size: 16px; font-weight: 700; color: #FFFFFF; text-decoration: none; }
.contact-link:hover { color: #FF8C00; }

@keyframes phoneWobble {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-8deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(6deg); }
    50% { transform: rotate(-4deg); }
}

.mobile-wobble-icon {
    display: inline-block;
    animation: phoneWobble 1.5s infinite ease-in-out;
}

.social-section {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.social-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #E9ECEF; }

.social-links-holder {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.custom-soc-icon {
    width: 20px;
    height: 20px;
}

.eitaa-btn { background-color: #E27125; }
.bale-btn { background-color: #2BB673; }
.whatsapp-btn { background-color: #25D366; font-size: 16px; }
.whatsapp-btn i { font-size: 18px; }

/* بخش واردات و کشورهای همکار */
.import-hero-section {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #063985 0%, #0A58CA 100%);
    color: #ffffff;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
}

.hero-right-image-col {
    flex: 1;
    width: 50%;
    position: relative;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
}

.hero-right-image-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(10, 88, 202, 0.2), rgba(6, 57, 133, 0.4));
}

.hero-left-text-col {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    padding: 50px 5% 50px 3%;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 600px;
}

.hero-text-wrapper h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #ffffff;
}

.hero-text-wrapper h1 span {
    color: var(--accent-color, #FF8C00);
}

.hero-text-wrapper p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #e2e8f0;
    text-align: justify;
}

.btn-primary-custom {
    display: inline-block;
    background-color: var(--accent-color, #FF8C00);
    color: #fff;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary-custom:hover {
    background-color: #e07b00;
    transform: translateY(-2px);
}

.countries-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title h2 {
    font-size: 2rem;
    color: #212529;
    font-weight: 700;
}

.grid-row-first {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.grid-row-second {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 68%;
    margin: 0 auto;
}

.country-card {
    background: #ffffff;
    border-right: 4px solid #0A58CA;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.country-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0A58CA;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.country-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    margin: 0;
}

/* بخش ثبت‌نام و ورود کاربران */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 130px);
    padding: 40px 20px;
    background-color: var(--bg-color);
}

.auth-box {
    background-color: var(--white);
    width: 100%;
    max-width: 550px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-hover);
    padding: 40px 30px;
    border: 1px solid #E9ECEF;
}

.auth-tabs {
    display: flex;
    background-color: #F1F3F5;
    padding: 5px;
    border-radius: var(--btn-radius);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    border-radius: calc(var(--btn-radius) - 4px);
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
}

.input-group { margin-bottom: 20px; }
.input-row { display: flex; gap: 15px; }
.input-row .input-group { flex: 1; }

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #495057;
}

label .required { color: #DC3545; }
label .optional { color: var(--secondary-color); font-size: 12px; }

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CED4DA;
    border-radius: var(--btn-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: #FCFDFE;
    text-align: right;
}

.rtl-input {
    direction: rtl;
    text-align: right !important;
}

.center-input {
    text-align: center !important;
    font-size: 20px !important;
    letter-spacing: 8px;
    font-weight: 700;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(10, 88, 202, 0.1);
}

.auth-submit-btn {
    width: 100%;
    background-color: #0A58CA;
    color: #FFFFFF;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-family: 'Vazirmatn', sans-serif;
}

.auth-submit-btn:hover {
    background-color: #084298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 88, 202, 0.25);
}

.success-btn { background-color: #198754 !important; }
.success-btn:hover {
    background-color: #146c43 !important;
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.25) !important;
}

.step1-btn { background-color: #FF8C00; }
.step1-btn:hover {
    background-color: #E07B00;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.25);
}

.verification-step {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #E9ECEF;
    animation: fadeIn 0.5s ease;
}

.resend-text {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--secondary-color);
}

.resend-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* صفحه جزئیات محصول و لایت‌باکس */
.product-page-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.product-card-wrapper { background-color: #FFFFFF; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border: 1px solid #E9ECEF; display: flex; flex-direction: row-reverse; overflow: hidden; }
.product-image-column, .product-details-column { flex: 1; padding: 40px; }

.product-image-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FAFAFA;
    border-left: 1px solid #E9ECEF;
    gap: 20px;
}

.image-box {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    background: #fff;
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-box img:hover { transform: scale(1.02); }

.zoom-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-box:hover .zoom-hint { opacity: 1; }
.product-thumbnails-gallery { display: flex; gap: 10px; width: 100%; max-width: 450px; justify-content: flex-start; flex-wrap: wrap; }
.thumb-item { width: 70px; height: 70px; padding: 4px; background: #fff; border: 1px solid #E9ECEF; border-radius: 8px; cursor: pointer; transition: all 0.2s; overflow: hidden; }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.thumb-item:hover, .thumb-item.active { border-color: #0A58CA; box-shadow: 0 2px 8px rgba(10, 88, 202, 0.15); }

.product-details-column { display: flex; flex-direction: column; justify-content: center; }
.p-title { font-size: 28px; font-weight: 700; color: #212529; margin-bottom: 15px; }
.p-meta { margin-bottom: 25px; }
.p-code { background-color: #E9ECEF; color: #495057; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.p-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.price-label { font-size: 16px; color: #6C757D; }
.price-value { font-size: 22px; font-weight: 700; color: #FF8C00; }
.p-divider { height: 1px; background-color: #E9ECEF; margin-bottom: 25px; }
.p-description-section, .p-spec-section { margin-bottom: 25px; }
.p-description-section h3, .p-spec-section h3 { font-size: 16px; font-weight: 700; color: #0A58CA; margin-bottom: 10px; }
.p-description-section p, .p-spec-section p { font-size: 15px; color: #495057; line-height: 1.8; }
.p-actions-row { margin-top: 15px; width: 100%; }

.p-call-btn {
    width: 100%;
    background-color: #0A58CA;
    color: #FFFFFF;
    border: none;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.p-call-btn:hover {
    background-color: #084298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 88, 202, 0.2);
}

.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 90%; max-height: 85%; transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox-overlay.active .lightbox-content { transform: scale(1); }
.lightbox-content img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); background: #fff; padding: 15px; }

.close-lightbox-btn { position: absolute; top: 30px; right: 40px; background: none; border: none; color: #fff; font-size: 45px; cursor: pointer; opacity: 0.7; transition: all 0.2s; }
.close-lightbox-btn:hover { opacity: 1; color: #FF8C00; transform: scale(1.1); }

/* مدال شیشه‌ای ارتباط با ما */
.contact-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(4, 25, 62, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: all 0.4s ease; padding: 20px; }
.contact-modal-overlay.active { opacity: 1; pointer-events: auto; }
.contact-glass-modal { background: rgba(30, 41, 59, 0.85); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 24px; padding: 40px; max-width: 650px; width: 100%; color: #FFF; position: relative; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); transform: translateY(-30px); transition: all 0.4s ease; }
.contact-modal-overlay.active .contact-glass-modal { transform: translateY(0); }
.close-modal-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #FFF; font-size: 32px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.close-modal-btn:hover { opacity: 1; color: #FF8C00; }
.modal-contact-header { text-align: center; margin-bottom: 25px; }
.modal-contact-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.modal-contact-header p { font-size: 13px; opacity: 0.8; }
.modal-title-divider { height: 3px; width: 50px; background: #FF8C00; margin: 10px auto 0; border-radius: 2px; }
.modal-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 25px; text-align: right; }
.modal-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 14px; display: flex; align-items: center; gap: 12px; }
.highlight-modal-item { border: 1px solid rgba(255,140,0,0.3); background: rgba(255,140,0,0.06); }
.highlight-modal-item .modal-icon-box { color: #FF8C00; }
.full-width-modal { grid-column: span 2; }
.modal-icon-box { background: #FFF; color: #0A58CA; width: 45px; height: 45px; border-radius: 10px; display: flex; justify-content: center; align-items: center; font-size: 20px; flex-shrink: 0; }
.modal-text-box h4 { font-size: 12px; color: #A0AEC0; margin-bottom: 3px; }
.modal-text-box p, .modal-text-box a { font-size: 15px; font-weight: 700; color: #FFF; text-decoration: none; }
.modal-text-box a:hover { color: #FF8C00; }
.modal-wobble-icon { display: inline-block; animation: wobble 1.5s infinite ease-in-out; }
.modal-social-section { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.modal-social-links { display: flex; justify-content: center; gap: 12px; }
.m-soc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; color: #FFF; transition: transform 0.2s; }
.m-soc-btn:hover { transform: translateY(-2px); }
.m-soc-btn img { width: 18px; height: 18px; }
.eitaa-bg { background: #E27125; }
.bale-bg { background: #2BB673; }
.whatsapp-bg { background: #25D366; }

/* صفحات آرشیو و فیلترها */
.archive-header-bg { background: linear-gradient(135deg, #0A58CA 0%, #043682 100%); color: #FFFFFF; text-align: center; padding: 50px 20px; }
.archive-header-bg h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.category-filter-nav { display: flex; flex-wrap: wrap; gap: 10px; background-color: #FFFFFF; padding: 15px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); margin-bottom: 40px; border: 1px solid #E9ECEF; }
.cat-nav-btn { background-color: #F8F9FA; color: #495057; border: 1px solid #CED4DA; padding: 10px 18px; font-size: 14px; font-weight: 500; border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; font-family: 'Vazirmatn', sans-serif; }
.cat-nav-btn:hover, .cat-nav-btn.active { background-color: #0A58CA; color: #FFFFFF; border-color: #0A58CA; }
.dropdown-cat { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: #FFFFFF; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-radius: 8px; padding: 6px 0; z-index: 10; border: 1px solid #E9ECEF; top: 105%; right: 0; }
.dropdown-content a { color: #343A40; padding: 10px 16px; text-decoration: none; display: block; font-size: 13px; transition: background 0.2s; text-align: right; }
.dropdown-content a:hover { background-color: #F1F3F5; color: #0A58CA; }
.dropdown-cat:hover .dropdown-content { display: block; }
.products-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-archive-card { background: #fff; border: 1px solid #E9ECEF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
.product-archive-card:hover { transform: translateY(-5px); }
.card-img-holder { height: 220px; background: #FAFAFA; display: flex; justify-content: center; align-items: center; padding: 15px; }
.card-img-holder img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-details { padding: 20px; flex-grow: 1; text-align: center; }
.card-name { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #212529; }
.card-code { font-size: 12px; color: #6C757D; margin-bottom: 12px; }
.card-price { font-size: 16px; font-weight: 700; color: #FF8C00; }
.card-actions { padding: 0 20px 20px; }
.view-detail-btn { display: block; background: #0A58CA; color: #fff; text-decoration: none; text-align: center; padding: 12px; border-radius: 8px; font-weight: 700; }
.no-product-alert { text-align: center; padding: 60px 20px; background: #FFF5F5; border: 1px dashed #FFA8A8; border-radius: 12px; color: #C92A2A; }
.no-product-alert i { font-size: 48px; margin-bottom: 15px; color: #E03131;}
.pagination-wrapper { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-link-btn { border: 1px solid #CED4DA; padding: 6px 12px; border-radius: 6px; text-decoration: none; color: #495057; }
.page-link-btn.active { background: #0A58CA; color: #fff; border-color: #0A58CA; }
.search-meta-info { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: #6C757D; font-size: 14px; background: #FFFFFF; padding: 12px 20px; border-radius: 8px; border: 1px solid #E9ECEF; width: fit-content; }

.did-you-mean-box {
    margin-top: 20px;
    background: #E6F4EA;
    border: 1px solid #34A853;
    color: #137333;
    padding: 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.did-you-mean-box a {
    color: #0A58CA;
    text-decoration: underline;
}

/* بخش سیستم ارزیابی کیفیت و گواهی اصالت */
.qc-hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    color: #ffffff;
    text-align: center;
}

.qc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 115, 71, 0.92) 0%, rgba(6, 57, 133, 0.88) 100%);
    z-index: 1;
}

.qc-hero .container {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.qc-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.qc-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.qc-hero h1 span {
    color: var(--accent-color, #FF8C00);
}

.qc-hero p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #f8f9fa;
}

.timeline-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-headline {
    text-align: center;
    margin-bottom: 60px;
}

.section-headline h2 {
    font-size: 2rem;
    color: #212529;
    font-weight: 700;
}

.timeline-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 12px;
}

.step-number {
    width: 45px;
    height: 45px;
    background: #157347;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    box-shadow: 0 0 0 6px #ffffff, 0 4px 10px rgba(21, 115, 71, 0.2);
    transition: background 0.3s;
}

.timeline-step:hover .step-number {
    background: var(--accent-color, #FF8C00);
}

.timeline-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #063985;
    margin-bottom: 12px;
}

.timeline-step p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5c636a;
    text-align: justify;
}

.fake-danger-section {
    padding: 70px 0;
    background: #f8f9fa;
    border-top: 1px solid #e3e6f0;
    border-bottom: 1px solid #e3e6f0;
}

.danger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.danger-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 3px 5px rgba(0,0,0,0.02);
}

.danger-card .icon-danger {
    font-size: 1.8rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.danger-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #212529;
}

.danger-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    text-align: justify;
    margin: 0;
}

.lab-partners {
    padding: 70px 0;
    text-align: center;
    background: #ffffff;
}

.lab-box {
    background: #f1f3f9;
    border: 1px dashed #0A58CA;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 30px auto 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
}

.lab-box i {
    font-size: 3rem;
    color: #0A58CA;
}

.lab-box h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.lab-box p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* پنل مشاوره فنی اختصاصی */
.consulting-hero {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 80px 0;
    border-bottom: 4px solid var(--accent-color, #FF8C00);
}

.consulting-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.consult-hero-right {
    flex: 1;
    max-width: 650px;
}

.consult-hero-right h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.consult-hero-right h1 span {
    color: var(--accent-color, #FF8C00);
}

.consult-hero-right p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #cbd5e1;
    text-align: justify;
}

.consult-hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.consult-hero-left i {
    font-size: 12rem;
    color: rgba(255, 140, 0, 0.15);
    animation: pulse 3s infinite ease-in-out;
}

.consulting-pillars {
    padding: 80px 0;
    background-color: #ffffff;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #0A58CA;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: rgba(10, 88, 202, 0.08);
    color: #0A58CA;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    background: #0A58CA;
    color: #ffffff;
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #64748b;
    text-align: justify;
}

.consult-form-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.form-container-box {
    background: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.form-container-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.form-group-full {
    grid-column: span 2;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-control-custom:focus {
    border-color: #0A58CA;
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.1);
}

.file-upload-wrapper {
    border: 2px dashed #cbd5e1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-wrapper:hover {
    border-color: var(--accent-color, #FF8C00);
    background: #fff7ed;
}

.btn-submit-consult {
    width: 100%;
    background: var(--accent-color, #FF8C00);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.btn-submit-consult:hover {
    background: #e07b00;
}

/* ==========================================================
   بخش استایل‌های ریسپانسیو (Media Queries) به صورت یکپارچه
========================================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .product-card:nth-child(5) { display: none; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .search-bar { width: 40%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-card:nth-child(5) { display: flex; }
    .product-card:nth-child(4) { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .about-features-block { grid-template-columns: 1fr; }
    .import-hero-section { flex-direction: column; }
    .hero-right-image-col { width: 100%; height: 280px; clip-path: none; }
    .hero-left-text-col { width: 100%; padding: 40px 20px; text-align: center; }
    .hero-text-wrapper p { text-align: center; }
    .grid-row-first, .grid-row-second { grid-template-columns: 1fr; max-width: 100%; gap: 20px; margin-bottom: 20px; }
    .product-card-wrapper { flex-direction: column; }
    .product-image-column { border-left: none; border-bottom: 1px solid #E9ECEF; padding: 30px; }
    .product-details-column { padding: 30px 20px; }
    .close-lightbox-btn { top: 20px; right: 20px; font-size: 35px; }
    .products-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-container { grid-template-columns: 1fr; gap: 15px; }
    .timeline-container::before { display: none; }
    .timeline-step { padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid #e9ecef; }
    .danger-grid { grid-template-columns: 1fr; gap: 20px; }
    .lab-box { flex-direction: column; text-align: center; }
    .consulting-hero .container { flex-direction: column; text-align: center; }
    .consult-hero-right { max-width: 100%; }
    .consult-hero-left i { font-size: 8rem; }
    .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-top { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .search-bar { width: 100%; }
    .contact-btn { width: 100%; justify-content: center; }
    .header-bottom { overflow-x: auto; white-space: nowrap; }
    .nav-menu { gap: 20px; }
    .slide-content h2 { font-size: 20px; white-space: normal; }
    .hero-section { height: 400px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card:nth-child(n+2) { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-nav { gap: 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-hero { padding: 30px 20px; }
    .about-lead { font-size: 15.5px; }
    .feature-box { flex-direction: column; align-items: center; text-align: center; }
    .feature-text p { text-align: center; }
    .design-hero { min-height: auto; text-align: center; }
    .design-hero h1 { font-size: 2rem; }
    .design-hero p { text-align: center; font-size: 1rem; }
    .contact-glass-card { padding: 30px 20px; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .full-width-item { grid-column: span 1; }
    .contact-header h2 { font-size: 24px; }
}

@media (max-width: 576px) {
    .input-row { flex-direction: column; gap: 0; }
    .contact-glass-modal { padding: 30px 15px; }
    .modal-info-grid { grid-template-columns: 1fr; }
    .full-width-modal { grid-column: span 1; }
    .products-archive-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .form-container-box { padding: 20px; }
}
.page-dots {
    display: inline-block;
    padding: 8px 12px;
    color: #888;
    user-select: none;
}
@media (min-width: 992px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000; 
        background-color: #ffffff; 
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    }
}

@media (max-width: 991px) {
    .site-header {
        position: relative;
        top: auto;
        box-shadow: none;
    }
}