* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Tahoma, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Modern Header Styles */
.main-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Brand & Logo */
.header-brand {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline {
    font-size: 0.8rem;
    color: #bdc3c7;
    margin: 0;
    font-weight: 300;
}

/* Main Navigation */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #3498db;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #3498db;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.nav-link i {
    font-size: 1rem;
    width: 20px;
}

.nav-link.admin-link {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.nav-link.admin-link:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 150px;
    display: none;
    z-index: 1001;
    margin-top: 0.5rem;
}

.language-switcher:hover .language-dropdown {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.language-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: #f8f9fa;
    color: #3498db;
}

.language-option.active {
    background: #3498db;
    color: white;
}

.language-option span:first-child {
    font-weight: 500;
}

.language-option span:last-child {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ecf0f1;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #3498db;
    transform: translateX(5px);
}

.mobile-nav-link i {
    width: 20px;
    font-size: 1.1rem;
}

.mobile-nav-link.admin-link {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.mobile-language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.mobile-language-option {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-language-option:hover,
.mobile-language-option.active {
    background: #3498db;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .company-tagline {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .nav-link:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .mobile-nav-link:hover {
    transform: translateX(-5px);
}

/* Active state for mobile menu */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



.logo h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher a {
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: all 0.3s;
}

.language-switcher a.active,
.language-switcher a:hover {
    color: white;
    border-color: white;
    background: #34495e;
}

/* بخش اصلی */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-preview {
    padding: 3rem 0;
}

.products-preview h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
}

/* فوتر */
footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}
/* Clean Footer Styles - Optimized */
.clean-footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.clean-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ecf0f1;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #bdc3c7;
    font-size: 0.95rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid #3498db;
    transition: all 0.3s ease;
}

[dir="rtl"] .contact-line {
    border-left: none;
    border-right: 3px solid #3498db;
}

.contact-line:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-line i {
    width: 20px;
    color: #3498db;
    font-size: 1.1rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 2px;
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: #3498db;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.footer-link i {
    width: 20px;
    font-size: 1rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    opacity: 0.8;
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.facebook { background: #3b5998; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0077b5; }

.newsletter {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.newsletter-text {
    color: #bdc3c7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: #95a5a6;
    font-size: 0.9rem;
}

.newsletter-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.footer-legals {
    display: flex;
    gap: 2rem;
}

.footer-legals a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.footer-legals a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #3498db;
    transition: width 0.3s ease;
}

.footer-legals a:hover::after {
    width: 100%;
}

.footer-legals a:hover {
    color: #3498db;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.5);
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeInUp 0.6s ease-out;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .clean-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-line {
        justify-content: center;
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legals {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* RTL Support */
[dir="rtl"] .footer-link:hover {
    transform: translateX(-8px);
}

[dir="rtl"] .contact-line:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-legals a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .newsletter-form {
    flex-direction: row;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .clean-footer {
        background: linear-gradient(135deg, #0f1a23 0%, #1a252f 100%);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .social-link,
    .scroll-to-top,
    .contact-line,
    .newsletter-btn {
        transition: none;
    }
    
    .footer-col {
        animation: none;
    }
}
/* RTL support */
[dir="rtl"] {
    text-align: right;
    font-family: 'Tahoma', 'Arial', sans-serif;
}

[dir="rtl"] .container {
    direction: rtl;
}

[dir="rtl"] nav ul {
    padding-right: 0;
}





/* صفحه تماس */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* رسپانسیو */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* استایل‌های صفحات درباره ما و تماس با ما */

/* بنر صفحات */
.page-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #ccc;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

/* درباره ما */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



/* بنر درباره ما - نسخه بهبود یافته */
.about-banner {
    /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about/banner-bg.jpg');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 100%);
    opacity: 0.85;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ناوبری breadcrumb بهبود یافته */
.breadcrumb {
    margin-bottom: 50px;
}

.breadcrumb ol {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb li[aria-current="page"] {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* دکمه‌های اقدام */
.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.banner-actions .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-actions .btn-primary {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border: none;
}

.banner-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.banner-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* نشانگر اسکرول */
.banner-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.banner-scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.banner-scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* افکت‌های پارالاکس */
.parallax-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.parallax-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(5px);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 15%;
    animation: float 10s ease-in-out infinite 1s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* رسپانسیو */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 3rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-banner {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .breadcrumb ol {
        flex-direction: column;
        gap: 15px;
    }
    
    .breadcrumb .separator {
        transform: rotate(90deg);
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-actions .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .shape-1, .shape-2, .shape-3 {
        display: none;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .breadcrumb a, .breadcrumb li[aria-current="page"] {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}
.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-description {
    margin-bottom: 40px;
}

.feature-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-item i {
    color: var(--success-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-media {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.about-video {
    position: absolute;
    bottom: -30px;
    left: 30px;
}

.video-play-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ماموریت و چشم‌انداز */
.mission-vision {
    padding: 80px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.values-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.values-list i {
    color: var(--success-color);
}

/* تیم مدیریت */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.bio {
    color: var(--text-light);
    line-height: 1.6;
}

/* گواهینامه‌ها */
.certificates-section {
    padding: 80px 0;
    background: var(--light-color);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-item:hover .cert-overlay {
    opacity: 1;
}

.cert-view-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cert-view-btn:hover {
    background: var(--secondary-color);
}

.cert-info {
    padding: 20px;
    text-align: center;
}

.cert-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.cert-info p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.cert-date {
    color: var(--primary-color);
    font-weight: 500;
}

/* CTA Section */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* ویدیو مودال */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#modalVideo {
    width: 100%;
    border-radius: 10px;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mv-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-banner {
        padding: 80px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .team-grid,
    .certs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .video-play-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* استایل‌های بخش ماموریت و چشم‌انداز */
.mission-vision {
    padding: 80px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: rgb(13, 87, 235);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.values-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.values-list i {
    color: var(--success-color);
    min-width: 20px;
}

/* افکت پس‌زمینه برای کارت‌ها */
.mv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(26, 115, 232, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.mv-card:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(45deg) translate(50%, 50%);
    }
}

/* رسپانسیو */
@media (max-width: 992px) {
    .mv-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .mv-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .mission-vision {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mv-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .mv-card {
        padding: 25px 15px;
    }
    
    .mv-card h3 {
        font-size: 1.3rem;
    }
    
    .values-list {
        text-align: center;
    }
    
    .values-list li {
        justify-content: center;
    }
}

/* گواهینامه‌ها */
.certificates {
    background: #f8f9fa;
    padding: 4rem 0;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cert-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* تماس با ما */
.contact-info-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    border-radius: 50%;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* فرم تماس */
.contact-form-map {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper,
.map-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* پیام‌های خطا و موفقیت */
.error-messages {
    margin-bottom: 1.5rem;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.success-message {
    background: #27ae60;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .about-content,
    .contact-content,
    .mv-grid,
    .team-grid,
    .certs-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* پشتیبانی RTL */
[dir="rtl"] .breadcrumb {
    direction: rtl;
}

[dir="rtl"] .contact-item {
    text-align: right;
}

[dir="rtl"] .form-group {
    text-align: right;
}

/* استایل‌های صفحه اصلی */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ویژگی‌ها */
.features {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* دسته‌بندی‌ها */
.categories {
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.category-item p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .category-item {
        padding: 20px;
    }
    
    .category-image {
        width: 80px;
        height: 80px;
    }
}

/* محصولات ویژه */
.featured-products {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all:hover {
    color: #764ba2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #667eea;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* آمار */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}


.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 1.1rem;
    color: #e11010;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rating {
    color: #f39c12;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: #2c3e50;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: #2c3e50;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* پشتیبانی RTL */
[dir="rtl"] .section-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .view-all {
    flex-direction: row-reverse;
}

/* استایل‌های صفحه محصولات */

/* فیلترها */
.products-filters {
    background: #f8f9fa;
    padding: 2rem 0;
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box {
    width: 100%;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
}

.search-form button {
    padding: 1rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.category-filter h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.filter-info {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.filter-tag {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    margin: 0 0.5rem;
}

.clear-filters {
    color: #e74c3c;
    text-decoration: none;
    margin-left: 1rem;
}

/* لیست محصولات */
.products-listing {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay button {
    background: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.product-overlay button:hover {
    background: #667eea;
    color: white;
}

.product-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-specs h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-specs p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* حالت عدم وجود محصول */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.no-products-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.no-products h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-products p {
    color: #666;
    margin-bottom: 2rem;
}

/* دسته‌بندی‌ها */
.categories-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.category-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* مودال */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #000;
}

.loading {
    text-align: center;
    padding: 2rem;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-buttons {
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* پشتیبانی RTL */
[dir="rtl"] .search-form input {
    border-radius: 0 25px 25px 0;
}

[dir="rtl"] .search-form button {
    border-radius: 25px 0 0 25px;
}

[dir="rtl"] .product-category {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .close {
    right: auto;
    left: 1rem;
}

/* استایل‌های صفحه جزئیات محصول */

/* ناوبری */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 1rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #b4e30a;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.breadcrumb a::after {
    content: "/";
    margin-left: 0.5rem;
    color: #999;
}

[dir="rtl"] .breadcrumb a::after {
    content: "\\";
    margin-left: 0;
    margin-right: 0.5rem;
}

/* بخش اصلی محصول */
.product-detail {
    padding: 3rem 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* گالری تصاویر */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #667eea;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* اطلاعات محصول */
.product-info h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f4f5f7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.stars {
    color: #f39c12;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.product-description,
.product-specs {
    margin-bottom: 2rem;
}

.product-description h3,
.product-specs h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-description p {
    color: #555;
    line-height: 1.8;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-item i {
    color: #27ae60;
}

/* دکمه‌های action */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e9ecef;
}

#productQuantity {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

#productQuantity::-webkit-outer-spin-button,
#productQuantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 200px;
}

.btn-buy-now {
    flex: 1;
    min-width: 150px;
}

/* اطلاعات متا */
.product-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: #667eea;
    width: 20px;
}

.meta-item span {
    color: #555;
    font-size: 0.9rem;
}

/* محصولات مرتبط */
.related-products {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* سوالات متداول */
.product-faq {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h3::before {
    content: "▸";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3::before {
    transform: rotate(90deg);
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active p {
    max-height: 200px;
}

/* رسپانسیو */
@media (max-width: 968px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 2rem;
    }
    
    .thumbnail-images {
        flex-wrap: wrap;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* پشتیبانی RTL */
[dir="rtl"] .breadcrumb a::after {
    content: "\\";
}

[dir="rtl"] .spec-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .meta-item {
    flex-direction: row-reverse;
}


/* استایل‌های جدید برای بخش‌های اضافه شده */

/* اسلایدر هیرو */
.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* تور کارخانه */
.factory-tour {
    padding: 80px 0;
    background-color: #f9fafb;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tour-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tour-item:hover {
    transform: translateY(-5px);
}

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-item:hover .tour-image img {
    transform: scale(1.1);
}

.tour-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-video-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.tour-item h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.tour-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* مودال ویدیو */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: black;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#modalVideo {
    width: 100%;
    display: block;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .tour-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .factory-tour {
        padding: 60px 0;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .tour-item h3 {
        font-size: 1.2rem;
    }
    
    .tour-item p {
        font-size: 0.9rem;
    }
}

/* User Account Styles */
.user-account {
    position: relative;
    margin-left: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.user-toggle:hover {
    background-color: var(--light-color);
}

.user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    margin-top: 10px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.user-menu-item:hover {
    background-color: var(--light-color);
}

.user-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 5px 0;
}

/* Mobile User Styles */
.mobile-user-section {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

.mobile-user-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-auth-buttons {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }
    
    .user-dropdown {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-user-section,
    .mobile-auth-buttons {
        display: none;
    }
}