@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* متغیرهای طراحی سیستم */
:root {
    /* رنگ‌های اصلی */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #ff9800;
    --secondary-dark: #f57c00;
    --accent: #ff5722;
    
    /* رنگ‌های خنثی */
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    
    /* رنگ‌های زمینه */
    --bg-light: #f8f9fa;
    --bg-dark: #001f3f;
    
    /* تایپوگرافی */
    --font-main: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-arabic: 'Vazirmatn', sans-serif;
    
    /* سایه‌ها */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* انحناها */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* ترنزیشن‌ها */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* فاصله‌ها */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* breakpoint ها */
    --mobile: 576px;
    --tablet: 768px;
    --desktop: 992px;
    --large: 1200px;
    --xlarge: 1400px;
}

/* Reset و استایل‌های پایه */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--bg-light);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* دسترسی - لینک پرش به محتوا */
.skip-link {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-sm);
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 10000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* کانتینرها */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.container1 {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* استایل هدر */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    gap: var(--space-lg);
}

/* لوگو */
.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--white);
    padding: 3px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.logo:hover {
    transform: rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.logo-container h1 {
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 800;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.logo-container h1 span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.5px;
}


/* استایل آیکون مدیریت */
.admin-access {
    flex-shrink: 0;
    margin-right: 15px;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.admin-btn i {
    font-size: 1.1rem;
}

.admin-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-text {
        display: none;
    }
    
    .admin-btn {
        padding: 10px;
    }
}

/* ناوبری اصلی */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 var(--space-md);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: var(--space-xs);
    flex-wrap: nowrap;
    padding: 5px 0;
}

nav ul li {
    flex-shrink: 0;
    position: relative;
}

/* منوی کشویی */
.nav-dropdown {
    position: relative;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--shadow-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    list-style: none;
    min-width: 200px;
    padding: var(--space-sm) 0;
    margin-top: var(--space-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 1000;
    border: 1px solid var(--light-gray);
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
}

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

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-right: calc(var(--space-md) + 4px);
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    display: block;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    font-size: 0.9rem;
    position: relative;
    font-weight: 500;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a:focus {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

nav ul li a.active {
    background: var(--secondary);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav ul li a.active:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* تغییر زبان */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.lang-toggle:hover,
.lang-toggle:focus {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--shadow-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    width: 150px;
    padding: var(--space-sm) 0;
    margin-top: var(--space-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 1000;
    border: 1px solid var(--light-gray);
}

.lang-switcher:hover .lang-dropdown,
.lang-toggle:focus + .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.lang-dropdown li a:hover,
.lang-dropdown li a:focus {
    background: var(--light);
    color: var(--primary);
    padding-right: calc(var(--space-md) + 4px);
    outline: none;
}

/* منوی همبرگری */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 27px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-normal);
}

.menu-toggle:hover,
.menu-toggle:focus {
    transform: scale(1.1);
    outline: none;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* بخش Hero */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    z-index: 3;
    color: var(--white);
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-button {
    padding: var(--space-md) var(--space-lg);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    border: 2px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.cta-button:hover::before {
    right: 100%;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    outline: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background: var(--white);
    color: var(--primary);
}

/* کنترل‌های اسلاید */
.slide-controls {
    position: absolute;
    bottom: var(--space-lg);
    right: 50%;
    transform: translateX(50%);
    z-index: 4;
    display: flex;
    gap: var(--space-sm);
}

.slide-prev,
.slide-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slide-prev:hover,
.slide-next:hover,
.slide-prev:focus,
.slide-next:focus {
    background: var(--primary);
    border-color: var(--white);
    transform: scale(1.1);
    outline: none;
}

/* نشانگرهای اسلاید */
.slide-indicators {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: var(--space-xs);
}

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

.indicator.active,
.indicator:hover {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* دسته‌بندی محصولات */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-xl);
    color: var(--primary);
    position: relative;
    font-weight: 700;
}


/* آمار سریع */
.quick-facts {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--space-xl) 0;
}

.quick-facts .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.fact-card {
    text-align: center;
    padding: var(--space-lg);
    transition: var(--transition-normal);
}

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

.fact-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.fact-card:hover i {
    transform: scale(1.1);
}

.fact-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.fact-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}






/* پروژه‌ها */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgb(0, 0, 0);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}



.product-specs {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    background-color: #f5f5f5; /* خاکستری روشن برای حس صنعتی */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* سایه ملایم برای حس عمق */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-specs:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12); /* کمی جلوه تعاملی */
}

.product-specs p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #333; /* متن حرفه‌ای و خوانا */
    text-align: justify;
}



/* ریسپانسیو */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-info {
        padding: 25px 20px;
    }
    
    .spec-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .spec-value {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
}

/* آمار */
.stats {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #00294d 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-item {
    padding: var(--space-lg);
}

.stat-item .counter {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    display: block;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* اخبار */
.news-preview {
    padding: var(--space-xl) 0;
    background: var(--bg-light);
}

.news-preview h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-xl);
    color: var(--primary);
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}

.news-content p {
    color: var(--gray);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.view-all {
    text-align: center;
}

/* فوتر */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--black) 100%);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-col h4 {
    margin-bottom: var(--space-lg);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    text-decoration: none;
    display: block;
    padding: var(--space-xs) 0;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus {
    color: var(--secondary);
    padding-right: var(--space-sm);
    outline: none;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info p {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info a:hover,
.contact-info a:focus {
    color: var(--secondary);
    outline: none;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links 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);
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover,
.social-links a:focus {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--secondary);
    outline: none;
}

/* کلاس‌های کمکی */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* رسپانسیو */
@media (max-width: 1200px) {
    .header-content {
        gap: var(--space-md);
    }
    
    nav ul li a {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }
    
    .logo-container h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    nav {
        order: 3;
        width: 100%;
        margin: var(--space-md) 0 0;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 0;
        padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
    }
    
    .dropdown-menu li a {
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .about-preview .container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-content {
        right: 5%;
        left: 5%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container1 {
        padding: 0 var(--space-sm);
    }
    
    .features-grid-large {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .quick-facts .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xs);
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .quick-facts .container {
        grid-template-columns: 1fr;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
    }
    
    .slide-controls {
        bottom: var(--space-md);
    }
    
    .slide-prev,
    .slide-next {
        width: 40px;
        height: 40px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a1a;
        --dark: #ffffff;
        --bg-light: #2d2d2d;
        --gray: #a0a0a0;
        --light-gray: #3d3d3d;
    }
}

/* چاپ */
@media print {
    .hero,
    .slide-controls,
    .menu-toggle,
    .lang-switcher,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}


/* #################################################### */

/* نوتیفیکیشن */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.notification.error {
    background: #dc3545;
}

.notification.success {
    background: var(--primary);
}

/* انیمیشن‌های اضافی */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-in-down {
    animation: slideInDown 0.5s ease;
}

/* حالت لودینگ */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(50%, -50%) rotate(0deg); }
    100% { transform: translate(50%, -50%) rotate(360deg); }
}