/*
 * نورد خاوران - استایل اصلی
 * تولیدکننده انواع مقاطع فولادی
 * Version: 1.0.0
 */

/* ========================================
   CSS Variables & Root
======================================== */
:root {
    --primary-dark: #091233;
    --primary-blue: #1a4b8c;
    --primary-light-blue: #2d6bc4;
    --accent-blue: #4a90d9;
    --steel-gray: #2c3e50;
    --steel-light: #4a5568;
    --steel-silver: #718096;
    --bg-dark: #0a0f1a;
    --bg-gray: #1a1f2e;
    --bg-light: #f7f8fa;
    --white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #a0aec0;
    --gradient-steel: linear-gradient(135deg, #091233 0%, #1a4b8c 50%, #2d6bc4 100%);
    --gradient-dark: linear-gradient(180deg, #0a0f1a 0%, #1a1f2e 100%);
    --shadow-lg: 0 25px 50px -12px rgba(9, 18, 51, 0.4);
    --shadow-md: 0 10px 30px rgba(9, 18, 51, 0.3);
    --shadow-sm: 0 4px 15px rgba(9, 18, 51, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Vazirmatn', Tahoma, sans-serif;
    --orange-accent: #f59e0b;
    --green-accent: #10b981;
    --red-accent: #ef4444;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--steel-gray);
    line-height: 1.8;
    font-size: 15px;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--steel-light);
}

.text-primary { color: var(--primary-blue) !important; }
.text-orange { color: var(--orange-accent) !important; }
.text-green { color: var(--green-accent) !important; }
.text-muted { color: var(--steel-silver) !important; }

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-steel);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-orange {
    background: var(--orange-accent);
    color: var(--white);
}

.btn-orange:hover {
    background: #e08e00;
    color: var(--white);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ========================================
   Header & Navigation
======================================== */
.top-bar {
    background: var(--bg-dark);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.top-bar a {
    color: var(--text-muted);
}

.top-bar a:hover {
    color: var(--orange-accent);
}

.top-bar .social-links a {
    margin-right: 12px;
    font-size: 16px;
}

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-middle {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo img {
    max-height: 60px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.header-search {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.header-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

.header-search button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-steel);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.header-search button:hover {
    transform: translateY(-50%) scale(1.05);
}

.header-contact {
    text-align: left;
}

.header-contact .phone-label {
    font-size: 12px;
    color: var(--steel-silver);
}

.header-contact .phone-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    direction: ltr;
}

.header-contact .phone-number small {
    font-size: 14px;
    color: var(--steel-silver);
}

/* Main Navigation */
.main-nav {
    background: var(--gradient-steel);
}

.navbar {
    padding: 0;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    padding: 16px 20px !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--orange-accent);
    transition: var(--transition);
}

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

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange-accent);
}

.mega-menu ul li a {
    display: block;
    padding: 8px 0;
    color: var(--steel-light);
    font-size: 14px;
    transition: var(--transition);
}

.mega-menu ul li a:hover {
    color: var(--primary-blue);
    padding-right: 10px;
}

.mega-menu ul li a i {
    margin-left: 8px;
    font-size: 12px;
}

/* Categories Dropdown */
.categories-dropdown {
    position: relative;
}

.categories-btn {
    background: var(--orange-accent);
    color: var(--white);
    padding: 16px 25px;
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.categories-btn:hover {
    background: #e08e00;
}

.categories-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1002;
    padding-right:0;
}

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

.categories-menu li {
    border-bottom: 1px solid #f0f0f0;
}

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

.categories-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--steel-gray);
    transition: var(--transition);
}

.categories-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding-right: 25px;
}

.categories-menu li a i {
    opacity: 0;
    transition: var(--transition);
}

.categories-menu li a:hover i {
    opacity: 1;
}

/* Sub Categories */
.sub-categories {
    position: absolute;
    top: 0;
    right: 100%;
    width: 250px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    padding-right:0;
}

.page-description{
    color:#ffffff;
}

.categories-menu li:hover .sub-categories {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ========================================
   Hero Section / Slider
======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,18,51,0.9) 0%, rgba(9,18,51,0.6) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
}

.hero-content .subtitle {
    display: inline-block;
    background: var(--orange-accent);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.slider-dot.active {
    background: var(--orange-accent);
    width: 30px;
    border-radius: 10px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.slider-arrow:hover {
    background: var(--orange-accent);
}

/* ========================================
   Features Section
======================================== */
.features-section {
    padding: 60px 0;
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 5;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: var(--shadow-md);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-steel);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
}

.feature-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 13px;
    color: var(--steel-silver);
    margin: 0;
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-blue);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--steel-silver);
}

.section-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header-line h2 {
    position: relative;
    padding-right: 20px;
    margin: 0;
}

.section-header-line h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--orange-accent);
    border-radius: 3px;
}

.section-header-line .divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(26, 75, 140, 0.3) 0%, transparent 100%);
    margin: 0 30px;
}

/* ========================================
   About Section
======================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--orange-accent);
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.about-badge .number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.about-badge .text {
    font-size: 14px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    text-align: justify;
    margin-bottom: 20px;
}

.about-features {
    margin: 30px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-feature-item:last-child {
    border-bottom: none;
}

.about-feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(26, 75, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.about-feature-item span {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ========================================
   Products Section
======================================== */
.products-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.products-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-tab {
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--steel-gray);
    cursor: pointer;
    transition: var(--transition);
}

.product-tab:hover,
.product-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green-accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.hot {
    background: var(--red-accent);
}

.product-badge.sale {
    background: var(--orange-accent);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 15px;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-gray);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-action-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--steel-silver);
    margin-bottom: 8px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-title a:hover {
    color: var(--primary-blue);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

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

.product-price small {
    font-size: 12px;
    color: var(--steel-silver);
    font-weight: 400;
}

/* ========================================
   Categories Section
======================================== */
.categories-section {
    padding: 80px 0;
    background: var(--white);
}

.category-card {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.category-card:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-steel);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 36px;
    color: var(--white);
}

.category-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 13px;
    color: var(--steel-silver);
    margin-bottom: 15px;
}

.category-count {
    display: inline-block;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   Services Section
======================================== */
.services-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.services-section .section-header h2 {
    color: var(--white);
}

.services-section .section-header .subtitle {
    background: rgba(245, 158, 11, 0.2);
    color: var(--orange-accent);
}

.service-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
    border-color: var(--orange-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-steel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--orange-accent);
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-card h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-accent);
    font-weight: 600;
    margin-top: 20px;
}

.service-link:hover {
    color: var(--white);
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
    padding: 60px 0;
    background: var(--primary-blue);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.partner-logo {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ========================================
   Blog Section
======================================== */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.blog-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    font-size: 12px;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(26, 75, 140, 0.1);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-title a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--steel-silver);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: var(--steel-silver);
}

.blog-meta i {
    margin-left: 5px;
    color: var(--primary-blue);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-steel);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-steel);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 24px;
    color: var(--white);
}

.contact-info-content h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 14px;
    color: var(--steel-silver);
    margin: 0;
}

.contact-info-content a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange-accent);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a::before {
    content: '←';
    opacity: 1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange-accent);
    padding-right: 10px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--orange-accent);
    font-size: 18px;
}

.footer-contact-info h6 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-contact-info p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.footer-newsletter {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--orange-accent);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e08e00;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-copyright a {
    color: var(--orange-accent);
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.footer-badges img {
    height: 60px;
    border-radius: var(--border-radius-sm);
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-steel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--orange-accent);
}

/* ========================================
   Page Header / Breadcrumb
======================================== */
.page-header {
    background: var(--gradient-steel);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--orange-accent);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--white);
}

/* ========================================
   Sidebar
======================================== */
.sidebar {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--orange-accent);
}

.sidebar-categories li {
    margin-bottom: 10px;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    color: var(--steel-gray);
    transition: var(--transition);
}

.sidebar-categories a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.sidebar-categories .count {
    background: rgba(0,0,0,0.1);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .header-middle {
        padding: 10px 0;
    }
    
    .header-search {
        margin: 15px 0;
    }
    
    .mega-menu {
        position: static;
        box-shadow: none;
        padding: 15px;
    }
    
    .hero-slide {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .hero-slide {
        height: 400px;
        text-align: center;
    }
    
    .hero-slide::before {
        background: rgba(9,18,51,0.85);
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-section {
        margin-top: 0;
        border-radius: 0;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .about-badge {
        bottom: 15px;
        left: 15px;
        padding: 15px 20px;
    }
    
    .about-badge .number {
        font-size: 30px;
    }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Custom Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   Loading Animation
======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition);
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Mobile Menu Styles - منوی موبایل
======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-sidebar-search {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-sidebar-search form {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.mobile-sidebar-search input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-family: var(--font-primary);
    outline: none;
}

.mobile-sidebar-search button {
    border: none;
    background: var(--primary-blue);
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
}

.mobile-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list > li > a,
.mobile-menu-list > li > .submenu-toggle {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--steel-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
}

.mobile-menu-list > li > a i:first-child,
.mobile-menu-list > li > .submenu-toggle i:first-child {
    width: 24px;
    margin-left: 12px;
    color: var(--primary-blue);
    font-size: 16px;
}

.mobile-menu-list > li > a span,
.mobile-menu-list > li > .submenu-toggle span {
    flex: 1;
}

.mobile-menu-list .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #999;
}

.mobile-menu-list li.open > .submenu-toggle .arrow {
    transform: rotate(-90deg);
}

.mobile-menu-list > li > a:hover,
.mobile-menu-list > li > a.active,
.mobile-menu-list > li > .submenu-toggle:hover {
    background: linear-gradient(90deg, rgba(26, 75, 140, 0.08) 0%, transparent 100%);
    color: var(--primary-blue);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu-list li.open > .mobile-submenu {
    max-height: 2000px;
}

.mobile-submenu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 35px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-submenu li a i {
    width: 22px;
    margin-left: 10px;
    color: var(--steel-silver);
    font-size: 14px;
}

.mobile-submenu li a:hover {
    background: #fff;
    color: var(--primary-blue);
    padding-right: 40px;
}

.mobile-submenu li a.see-all {
    color: var(--primary-blue);
    font-weight: 500;
    background: rgba(26, 75, 140, 0.05);
}

/* Nested Submenu */
.mobile-submenu .has-submenu > .submenu-toggle {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 35px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: right;
}

.mobile-submenu .mobile-submenu li a {
    padding-right: 50px;
}

.mobile-sidebar-footer {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-top: 1px solid #eee;
}

.mobile-contact-info {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-phone,
.mobile-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-phone {
    background: #fff;
    color: var(--primary-blue);
}

.mobile-whatsapp {
    background: #25d366;
    color: #fff;
}

.mobile-phone:hover {
    background: #f0f0f0;
}

.mobile-whatsapp:hover {
    background: #20bd5a;
}

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

.mobile-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(26, 75, 140, 0.1);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Search Bar */
.mobile-search-bar {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.mobile-search-form {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mobile-search-form input {
    flex: 1;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    font-family: var(--font-primary);
    outline: none;
}

.mobile-search-form button {
    border: none;
    background: var(--primary-blue);
    color: #fff;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-search-form button:hover {
    background: var(--primary-dark);
}

/* Header Phone Button (Mobile) */
.header-phone-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.header-phone-btn:hover {
    background: #0d9669;
    transform: scale(1.1);
    color: #fff;
}

/* Desktop Nav Menu */
.desktop-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.desktop-nav-menu > li {
    position: relative;
}

.desktop-nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.desktop-nav-menu > li > a:hover,
.desktop-nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.15);
}

.desktop-nav-menu > li > a i.fa-chevron-down {
    font-size: 10px;
}

/* Desktop Dropdown */
.desktop-nav-menu .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.desktop-nav-menu li:hover > .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom li a {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    padding: 12px 20px;
    color: var(--steel-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu-custom li a:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
    padding-right: 25px;
}

.dropdown-menu-custom li a i {
    margin-left: 10px;
    color: var(--primary-blue);
}

/* Mega Menu Styles */
.has-megamenu {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.mega-menu-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
}

.mega-menu-title i {
    color: var(--primary-blue);
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu ul li a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: var(--steel-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mega-menu ul li a:hover {
    color: var(--primary-blue);
    padding-right: 10px;
}

.mega-menu ul li a i {
    margin-left: 8px;
    font-size: 10px;
    color: var(--steel-silver);
}

/* Logo Text Fallback */
.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

/* ========================================
   Responsive Price Tables - جداول قیمت ریسپانسیو
======================================== */
.price-table-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.table-title {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: #fff;
    padding: 18px 25px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-title i {
    font-size: 20px;
    opacity: 0.9;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.price-table thead {
    background: #f8f9fa;
}

.price-table thead th {
    padding: 15px 12px;
    font-weight: 600;
    font-size: 13px;
    color: var(--steel-gray);
    text-align: center;
    border-bottom: 2px solid #eee;
    white-space: nowrap;
}

.price-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.price-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(26, 75, 140, 0.04) 0%, transparent 100%);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody td {
    padding: 14px 12px;
    text-align: center;
    font-size: 14px;
    color: var(--steel-gray);
    vertical-align: middle;
}

.price-table .price-cell {
    font-weight: 700;
    color: var(--green-accent);
    font-size: 15px;
    direction: ltr;
}

.price-table .badge {
    font-size: 12px;
    padding: 5px 10px;
}

/* Price Tabs */
.price-tabs {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    gap: 5px;
}

.price-tabs .nav-link {
    border-radius: 50px;
    padding: 12px 20px;
    color: var(--steel-gray);
    font-weight: 500;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-tabs .nav-link:hover {
    background: #f0f0f0;
}

.price-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 75, 140, 0.3);
}

.price-tabs .nav-link i {
    font-size: 16px;
}

/* Responsive Table Cards (Mobile) */
@media (max-width: 768px) {
    .price-tabs {
        border-radius: 16px;
        padding: 10px;
        flex-wrap: wrap;
    }
    
    .price-tabs .nav-link {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 100px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .price-tabs .nav-link i {
        font-size: 14px;
    }
    
    .price-table-wrapper {
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .table-title {
        font-size: 16px;
        padding: 15px 18px;
    }
    
    /* Card Layout for Mobile */
    .price-table,
    .price-table thead,
    .price-table tbody,
    .price-table th,
    .price-table td,
    .price-table tr {
        display: block;
    }
    
    .price-table thead {
        display: none;
    }
    
    .price-table tbody tr {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        margin: 12px 15px;
        padding: 15px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.06);
        position: relative;
    }
    
    .price-table tbody tr:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
    
    .price-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed #eee;
        text-align: right;
    }
    
    .price-table tbody td:last-child {
        border-bottom: none;
        padding-top: 15px;
        justify-content: center;
    }
    
    .price-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--steel-gray);
        font-size: 13px;
        flex-shrink: 0;
        padding-left: 15px;
    }
    
    .price-table .price-cell {
        font-size: 17px;
        color: var(--green-accent);
    }
    
    .price-table tbody td .btn {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .price-tabs .nav-link {
        flex: 1 1 calc(50% - 10px);
    }
}

/* All Categories Price Section */
.all-categories-prices {
    padding: 40px 0;
}

.category-price-section {
    margin-bottom: 40px;
}

.category-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.category-price-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.category-price-title i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 18px;
}

.category-price-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-price-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Price Card for Categories */
.price-mini-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.price-mini-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.price-mini-card .product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--steel-gray);
    margin-bottom: 8px;
}

.price-mini-card .product-specs {
    font-size: 13px;
    color: var(--steel-silver);
    margin-bottom: 12px;
}

.price-mini-card .product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-mini-card .price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-accent);
}

.price-mini-card .price-unit {
    font-size: 12px;
    color: var(--steel-silver);
}

.price-mini-card .price-action {
    margin-top: 15px;
}

.price-mini-card .price-action .btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}
