/* ============================================
   NetVian - طراحی مدرن و به‌روز
   نسخه 2.0 - طراحی از صفر
   ============================================ */

/* ============================================
   CSS VARIABLES - متغیرهای CSS
   ============================================ */
:root {
    /* Colors - رنگ‌ها */
    --primary: #4caf50;
    --primary-dark: #45a049;
    --primary-light: #81c784;
    --secondary: #1a202c;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    
    /* Typography - تایپوگرافی */
    --font: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Spacing - فاصله‌ها */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Layout - چیدمان */
    --container-max: 1400px;
    --nav-height: 80px;
    --nav-height-mobile: 70px;
    
    /* Transitions - انیمیشن‌ها */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE - ریست و پایه
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-light);
    direction: rtl;
    text-align: right;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on all elements */
* {
    max-width: 100%;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY - تایپوگرافی
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    font-family: var(--font);
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

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

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   NAVIGATION - ناوبری
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text);
}

.nav-logo-text .text-primary {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background: rgba(76, 175, 80, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(76, 175, 80, 0.12);
    font-weight: 700;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-base);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Desktop/Mobile Only Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile Menu */
.nav-mobile {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
    display: none;
}

.nav-mobile.active {
    transform: translateX(0);
    display: block;
}

.nav-mobile-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-link-mobile:hover,
.nav-link-mobile:focus {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
}

.nav-link-mobile.active {
    background: rgba(76, 175, 80, 0.15);
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE - واکنش‌گرا
   ============================================ */
@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
    
    .mobile-only {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .nav-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    :root {
        --nav-height: var(--nav-height-mobile);
    }
    
    .container {
        padding: 0 1rem !important;
        overflow-x: hidden !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-mobile {
        top: var(--nav-height-mobile);
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

/* ============================================
   UTILITIES - ابزارها
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   ACCESSIBILITY - دسترسی‌پذیری
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    right: 0;
    background: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Focus Visible */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   HERO SECTION - بخش قهرمان
   ============================================ */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(76,175,80,0.03)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: var(--font-size-xl);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* ============================================
   CARDS & GRIDS - کارت‌ها و شبکه‌ها
   ============================================ */
.card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(69, 160, 73, 0.1) 100%);
    border-radius: var(--radius-full);
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   SECTION HEADERS - هدر بخش‌ها
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE - Mobile First Approach
   ============================================ */

/* Mobile Base Styles (up to 768px) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .container {
        padding: 0 1rem !important;
        overflow-x: hidden !important;
    }
    
    :root {
        --nav-height: var(--nav-height-mobile);
        --font-size-base: 0.9375rem; /* 15px */
        --font-size-sm: 0.8125rem; /* 13px */
        --font-size-lg: 1rem; /* 16px */
        --font-size-xl: 1.125rem; /* 18px */
        --font-size-2xl: 1.375rem; /* 22px */
        --font-size-3xl: 1.75rem; /* 28px */
        --font-size-4xl: 2.25rem; /* 36px */
        --spacing-xs: 0.5rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
    }
    
    html {
        font-size: 15px;
    }
    
    /* Container */
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 var(--spacing-md);
        height: var(--nav-height-mobile);
    }
    
    .nav-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-logo-text {
        font-size: var(--font-size-lg);
    }
    
    .nav-toggle {
        display: flex !important;
        width: 28px;
        height: 22px;
    }
    
    .nav-mobile {
        top: var(--nav-height-mobile);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .nav-link-mobile {
        font-size: var(--font-size-lg);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    /* Hero Section */
    .hero {
        min-height: calc(100vh - var(--nav-height-mobile));
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding: 0 var(--spacing-md);
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-text p {
        font-size: var(--font-size-base);
        line-height: 1.7;
        margin-bottom: var(--spacing-md);
    }
    
    /* Sections */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-md);
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-sm);
    }
    
    .section-header p {
        font-size: var(--font-size-base);
        line-height: 1.7;
    }
    
    /* Cards & Grids */
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-md);
    }
    
    .service-card {
        padding: var(--spacing-md);
    }
    
    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .service-card h3 {
        font-size: var(--font-size-lg);
    }
    
    /* Buttons */
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-base);
        width: 100%;
        max-width: 100%;
    }
    
    /* Typography */
    h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
    h4 { font-size: var(--font-size-lg); }
    h5 { font-size: var(--font-size-base); }
    h6 { font-size: var(--font-size-sm); }
    
    p {
        font-size: var(--font-size-base);
        line-height: 1.7;
    }
    
    /* Tables */
    table {
        font-size: var(--font-size-sm);
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: var(--spacing-sm);
        width: 100%;
    }
    
    /* Utilities */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    :root {
        --spacing-xs: 0.375rem;
        --spacing-sm: 0.625rem;
        --spacing-md: 0.875rem;
        --spacing-lg: 1.25rem;
        --spacing-xl: 1.75rem;
        --spacing-2xl: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .card {
        padding: var(--spacing-sm);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .nav-logo-text {
        font-size: var(--font-size-base);
    }
}

/* Tablet (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        gap: var(--spacing-lg);
    }
}

/* Large Desktop (1025px and up) */
@media (min-width: 1025px) {
    .desktop-only {
        display: block !important;
    }
    
    .mobile-only {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .nav-mobile {
        display: none !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .btn,
    .nav-link,
    .nav-link-mobile {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover,
    .service-card:hover {
        transform: none;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .parallax-hero {
        min-height: 50vh !important;
    }
    
    .nav-header {
        height: 60px;
    }
    
    :root {
        --nav-height-mobile: 60px;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS - بهینه‌سازی عملکرد
   ============================================ */
/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Will-change for animations */
.card,
.service-card,
.btn {
    will-change: transform;
}

/* GPU Acceleration */
.hero,
.nav-header {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Print Styles */
@media print {
    .nav-header,
    .nav-mobile,
    .nav-toggle,
    footer {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Main CSS - استایل اصلی و یکپارچه سایت NetVian */
/* این فایل تمام استایل‌های اصلی را یکپارچه می‌کند */

/* ============================================
   CSS VARIABLES - متغیرهای CSS
   ============================================ */
:root {
    /* Colors - رنگ‌ها */
    --primary-color: #4caf50;
    --primary-dark: #45a049;
    --primary-light: #81c784;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #e5e5e5;
    --border-color: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    
    /* Fonts - فونت‌ها */
    --font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    
    /* Spacing - فاصله‌ها */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE - ریست و پایه
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - تایپوگرافی
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

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

p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

a {
    font-family: var(--font-family);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ============================================
   HEADER & NAVIGATION - حذف شده
   ناوبر جدید در modern-navigation.css تعریف شده است
   ============================================ */

/* ============================================
   SECTIONS - بخش‌ها
   ============================================ */
.alis-section {
    padding: 4rem 2rem;
    width: 100%;
    max-width: 100vw;
}

.alis-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.alis-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.alis-section-description {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   BUTTONS - دکمه‌ها
   ============================================ */
.alis-btn-green,
.alis-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.alis-btn-green {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.alis-btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.alis-btn-white {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--shadow);
}

.alis-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-lg);
}

/* ============================================
   CARDS - کارت‌ها
   ============================================ */
.alis-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
}

.alis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

/* ============================================
   GRID - سیستم Grid
   ============================================ */
.alis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* ============================================
   STATS COUNTER - شمارنده
   ============================================ */
.alis-stats {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
}

.alis-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: var(--font-family);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-family);
}

/* ============================================
   RESPONSIVE - واکنش‌گرا
   ============================================ */
@media (max-width: 768px) {
    html { font-size: 14px; }
    
    .alis-nav-container {
        padding: 1rem;
    }
    
    .alis-nav-menu {
        display: none;
    }
    
    .alis-nav-toggle {
        display: block;
    }
    
    .alis-section {
        padding: 3rem 1rem;
    }
    
    .alis-grid,
    .alis-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .alis-btn-green,
    .alis-btn-white {
        width: 100%;
        padding: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .alis-stats-grid,
    .alis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   HEADER SPECIFIC - استایل‌های خاص هدر
   ============================================ */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-family);
}

.logo-text-primary {
    color: var(--primary-color);
    margin-left: 0.5rem;
}

.logo-text-secondary {
    color: var(--text-dark);
}

/* استایل‌های موبایل ناوبر حذف شده - در modern-navigation.css تعریف شده است */
/* Modern Professional Design - NetVian */

:root {
    /* Primary Colors */
    --primary-green: #4caf50;
    --primary-green-dark: #45a049;
    --primary-green-light: #81c784;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #1a202c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    
    /* Typography */
    --font-primary: 'Iranian Sans', 'Tahoma', 'Arial', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
    line-height: 1.8;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

/* Container */
.alis-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

@media (max-width: 768px) {
    .alis-container {
        padding: 0 var(--spacing-md);
    }
}

/* Header - Modern Design */
.alis-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.alis-nav {
    padding: var(--spacing-md) 0;
}

.alis-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.alis-nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.alis-logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--black);
}

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

.alis-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex: 1;
    justify-content: center;
}

.alis-nav-link {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-700);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.alis-nav-link:hover {
    color: var(--primary-green);
    background: var(--gray-50);
}

.alis-nav-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.alis-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Hero Section - Modern */
.alis-hero {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: var(--spacing-4xl) var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.alis-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(76,175,80,0.1)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.alis-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.alis-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--black);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.alis-hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

/* Buttons - Modern */
.alis-btn-green,
.alis-btn-white {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.alis-btn-green {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.alis-btn-green:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.alis-btn-white {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.alis-btn-white:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Cards - Modern */
.alis-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.alis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green-light);
}

.alis-card-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

.alis-card-description {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.alis-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-green);
    font-weight: 700;
    transition: all var(--transition-base);
}

.alis-card-link:hover {
    gap: var(--spacing-md);
    color: var(--primary-green-dark);
}

/* Grid - Modern */
.alis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

@media (max-width: 768px) {
    .alis-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* Section - Modern */
.alis-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    position: relative;
}

.alis-section-title {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    text-align: center;
    color: var(--black);
    margin-bottom: var(--spacing-md);
}

.alis-section-description {
    font-size: var(--font-size-lg);
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.8;
}

/* Services Zigzag - Modern */
.services-zigzag-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4xl);
}

.service-zigzag-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.service-zigzag-item:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

.service-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.1) 100%);
    border-radius: var(--radius-xl);
}

.service-content-wrapper {
    flex: 1;
}

.service-content-wrapper h3 {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--black);
    margin-bottom: var(--spacing-lg);
}

.service-content-wrapper p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 968px) {
    .service-zigzag-item {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
}

/* Footer styles removed - using inline styles in footer.blade.php */

/* Utilities */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

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

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
    
    .alis-hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .alis-hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

/* ============================================
   MODERN NAVIGATION - ناوبر مدرن و زیبا
   با دسترسی‌پذیری عالی (WCAG 2.1 AA)
   نسخه یکپارچه و پایدار - بدون تداخل
   ============================================ */

:root {
    --nav-bg: #ffffff;
    --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
    --nav-text: #1a202c;
    --nav-text-hover: #4caf50;
    --nav-active: #4caf50;
    --nav-cta-bg: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    --nav-cta-hover: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    --nav-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --nav-shadow-scrolled: 0 4px 30px rgba(0, 0, 0, 0.12);
    --nav-border: rgba(76, 175, 80, 0.1);
    --nav-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --nav-height-mobile: 70px;
}

/* ============================================
   BASE STYLES - استایل‌های پایه
   ============================================ */

/* Header Container */
.modern-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--nav-bg);
    box-shadow: var(--nav-shadow);
    z-index: 1000;
    transition: var(--nav-transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modern-nav-header.scrolled {
    height: calc(var(--nav-height) - 5px);
    background: var(--nav-bg-scrolled);
    box-shadow: var(--nav-shadow-scrolled);
}

.modern-nav-header.header-hidden {
    transform: translateY(-100%);
}

/* Navigation Container */
.modern-nav {
    width: 100%;
    height: 100%;
}

.modern-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

/* Logo Section */
.modern-nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    order: 1;
    min-width: 180px;
}

.modern-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--nav-transition);
    padding: 0.5rem;
    border-radius: 12px;
}

.modern-logo-link:hover,
.modern-logo-link:focus {
    transform: scale(1.05);
    outline: 2px solid var(--nav-active);
    outline-offset: 4px;
}

.modern-logo-link:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

.modern-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--nav-transition);
}

.modern-logo-link:hover .modern-logo-img {
    transform: rotate(5deg) scale(1.1);
}

.modern-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}

.logo-text-net {
    color: var(--nav-active);
    transition: var(--nav-transition);
}

.logo-text-vian {
    color: var(--nav-text);
    transition: var(--nav-transition);
}

.modern-logo-link:hover .logo-text-net,
.modern-logo-link:hover .logo-text-vian {
    color: var(--nav-active);
}

/* Desktop Navigation Menu - Base: مخفی */
.modern-nav-menu {
    display: none !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    width: auto;
    order: 2;
}

.modern-nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--nav-transition);
    position: relative;
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    height: 100%;
}

.modern-nav-link i {
    font-size: 1rem;
    transition: var(--nav-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    text-align: center;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    left: 50%;
    height: 3px;
    background: var(--nav-active);
    border-radius: 2px;
    transition: var(--nav-transition);
    opacity: 0;
}

.modern-nav-link:hover,
.modern-nav-link:focus {
    color: var(--nav-active);
    background: rgba(76, 175, 80, 0.08);
    transform: translateY(-2px);
}

.modern-nav-link:hover::before,
.modern-nav-link:focus::before {
    right: 20%;
    left: 20%;
    opacity: 1;
}

.modern-nav-link:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

.modern-nav-link.active {
    color: var(--nav-active);
    background: rgba(76, 175, 80, 0.12);
    font-weight: 700;
}

.modern-nav-link.active::before {
    right: 20%;
    left: 20%;
    opacity: 1;
}

/* CTA Button - Base: مخفی */
.modern-nav-actions {
    display: none !important;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    order: 3;
    min-width: 180px;
}

.modern-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--nav-cta-bg);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: var(--nav-transition);
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.modern-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.modern-nav-cta:hover::before {
    left: 100%;
}

.modern-nav-cta:hover,
.modern-nav-cta:focus {
    background: var(--nav-cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.modern-nav-cta:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

.modern-nav-cta:active {
    transform: translateY(-1px);
}

.modern-nav-cta i {
    font-size: 1rem;
    animation: rocketPulse 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes rocketPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

/* Mobile Menu Toggle Button - Base: مخفی */
.modern-nav-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--nav-border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: var(--nav-transition);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.modern-nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: var(--nav-transition);
    display: block;
    margin: 0 auto;
}

.modern-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
}

.modern-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.modern-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: white;
}

.modern-nav-toggle.active {
    background: var(--nav-active);
    border-color: var(--nav-active);
}

.modern-nav-toggle:hover,
.modern-nav-toggle:focus {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--nav-active);
}

.modern-nav-toggle:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

/* Mobile Navigation Menu - Base: مخفی */
.modern-nav-mobile {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s, opacity 0.4s;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

.modern-nav-mobile.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.modern-nav-mobile-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.modern-nav-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: var(--nav-transition);
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    position: relative;
    text-align: center;
    width: 100%;
}

.modern-nav-link-mobile::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--nav-active);
    border-radius: 2px;
    transition: var(--nav-transition);
}

.modern-nav-link-mobile:hover,
.modern-nav-link-mobile:focus {
    background: rgba(76, 175, 80, 0.1);
    color: var(--nav-active);
    padding-right: 2rem;
}

.modern-nav-link-mobile:hover::before,
.modern-nav-link-mobile:focus::before {
    height: 60%;
}

.modern-nav-link-mobile:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

.modern-nav-link-mobile.active {
    background: rgba(76, 175, 80, 0.15);
    color: var(--nav-active);
    font-weight: 700;
}

.modern-nav-link-mobile.active::before {
    height: 60%;
}

.modern-nav-link-mobile i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modern-nav-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: var(--nav-cta-bg);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: var(--nav-transition);
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.modern-nav-cta-mobile:hover,
.modern-nav-cta-mobile:focus {
    background: var(--nav-cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.modern-nav-cta-mobile:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 2px;
}

.modern-nav-cta-mobile i {
    font-size: 1.25rem;
    animation: rocketPulse 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Desktop/Mobile Only Classes - Base: همه مخفی */
.desktop-only {
    display: none !important;
}

.mobile-only {
    display: none !important;
}

/* ============================================
   DESKTOP STYLES - استایل‌های دسکتاپ
   ============================================ */

@media (min-width: 769px) {
    /* نمایش عناصر دسکتاپ */
    .desktop-only {
        display: block !important;
    }
    
    .desktop-only.modern-nav-menu,
    .desktop-only.modern-nav-actions {
        display: flex !important;
    }
    
    /* مخفی کردن عناصر موبایل */
    .mobile-only {
        display: none !important;
    }
    
    /* نمایش منوی دسکتاپ */
    .modern-nav-menu {
        display: flex !important;
    }
    
    .modern-nav-actions {
        display: flex !important;
    }
    
    /* مخفی کردن دکمه همبرگر */
    .modern-nav-toggle {
        display: none !important;
    }
    
    /* مخفی کردن منوی موبایل */
    .modern-nav-mobile {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
    }
}

/* Tablet - تبلت */
@media (max-width: 1024px) and (min-width: 769px) {
    .modern-nav-container {
        padding: 0 1.5rem;
        gap: 0.75rem;
    }
    
    .modern-nav-logo {
        min-width: 150px;
    }
    
    .modern-nav-actions {
        min-width: 150px;
    }
    
    .modern-nav-menu {
        gap: 0.15rem;
        flex: 1;
    }
    
    .modern-nav-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .modern-nav-link span {
        display: none;
    }
    
    .modern-nav-link i {
        font-size: 1.1rem;
    }
    
    .modern-nav-cta {
        padding: 0.75rem 1.25rem;
    }
    
    .modern-nav-cta span {
        display: none;
    }
}

/* ============================================
   MOBILE STYLES - استایل‌های موبایل
   ============================================ */

@media (max-width: 768px) {
    :root {
        --nav-height: var(--nav-height-mobile);
    }
    
    /* مخفی کردن عناصر دسکتاپ */
    .desktop-only {
        display: none !important;
    }
    
    /* نمایش عناصر موبایل */
    .mobile-only {
        display: block !important;
    }
    
    .mobile-only.modern-nav-toggle {
        display: flex !important;
    }
    
    /* تنظیمات هدر موبایل */
    .modern-nav-header {
        height: var(--nav-height-mobile);
    }
    
    .modern-nav-container {
        padding: 0 1rem;
        justify-content: center;
    }
    
    .modern-nav-logo {
        position: absolute;
        right: 50%;
        transform: translate(50%, -50%);
        top: 50%;
    }
    
    /* مخفی کردن منوی دسکتاپ */
    .modern-nav-menu {
        display: none !important;
    }
    
    .modern-nav-actions {
        display: none !important;
    }
    
    /* نمایش دکمه همبرگر */
    .modern-nav-toggle {
        display: flex !important;
        left: 1rem;
        right: auto;
    }
    
    /* تنظیمات منوی موبایل */
    .modern-nav-mobile {
        top: var(--nav-height-mobile);
        display: none !important;
    }
    
    .modern-nav-mobile.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .modern-logo-text {
        font-size: 1.5rem;
    }
    
    .modern-logo-img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .modern-nav-container {
        padding: 0 0.75rem;
    }
    
    .modern-logo-text {
        font-size: 1.25rem;
    }
    
    .modern-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .modern-nav-mobile-content {
        padding: 1.5rem 1rem;
    }
    
    .modern-nav-link-mobile {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY - دسترسی‌پذیری
   ============================================ */

/* Skip to Main Content Link */
.skip-to-main {
    position: absolute;
    top: -100px;
    right: 0;
    background: var(--nav-active);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s;
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Focus Visible Enhancement */
.modern-nav-link:focus-visible,
.modern-nav-link-mobile:focus-visible,
.modern-nav-cta:focus-visible,
.modern-nav-cta-mobile:focus-visible,
.modern-logo-link:focus-visible,
.modern-nav-toggle:focus-visible {
    outline: 3px solid var(--nav-active);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .modern-nav-header {
        border-bottom: 2px solid var(--nav-text);
    }
    
    .modern-nav-link,
    .modern-nav-link-mobile {
        border: 1px solid transparent;
    }
    
    .modern-nav-link:hover,
    .modern-nav-link:focus,
    .modern-nav-link-mobile:hover,
    .modern-nav-link-mobile:focus {
        border-color: var(--nav-active);
    }
}

/* Print Styles */
@media print {
    .modern-nav-header {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #ccc;
    }
    
    .modern-nav-toggle,
    .modern-nav-mobile {
        display: none !important;
    }
}
/* NetVian Custom CSS - Fallback for Tailwind */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Text */
.text-center {
    text-align: center;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.text-white {
    color: #ffffff;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-blue-600 {
    color: #2563eb;
}

/* Background */
.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-purple-600 {
    background-color: #9333ea;
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--gradient-from), var(--gradient-to));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--gradient-from), var(--gradient-to));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--gradient-from), var(--gradient-to));
}

.from-blue-600 {
    --gradient-from: #2563eb;
    --gradient-to: rgba(37, 99, 235, 0);
}

.via-purple-600 {
    --gradient-from: #9333ea;
    --gradient-to: rgba(147, 51, 234, 0);
}

.to-pink-600 {
    --gradient-to: #db2777;
}

.to-purple-600 {
    --gradient-to: #9333ea;
}

/* Flex */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Border */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadow */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Transitions */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:bg-blue-600:hover {
    background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.hover\:text-blue-600:hover {
    color: #2563eb;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Opacity */
.opacity-20 {
    opacity: 0.2;
}

.opacity-70 {
    opacity: 0.7;
}

/* Backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Border */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-white {
    border-color: #ffffff;
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Width & Height */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* Margin */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

/* Space */
.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-x-reverse {
    --tw-space-x-reverse: 1;
}

/* Padding */
.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Input */
input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button */
button, .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2563eb;
}

/* Text utilities */
.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* Hidden */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
    .md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Responsive breakpoints */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    .sm\:inline {
        display: inline;
    }
}

/* Additional utilities */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.object-cover {
    object-fit: cover;
}

.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

/* Color utilities */
.text-blue-100 {
    color: #dbeafe;
}

.text-blue-200 {
    color: #bfdbfe;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-orange-50 {
    background-color: #fff7ed;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.bg-teal-50 {
    background-color: #f0fdfa;
}

.bg-yellow-50 {
    background-color: #fefce8;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-blue-900 {
    background-color: #1e3a8a;
}

.text-yellow-300 {
    color: #fde047;
}

.text-pink-300 {
    color: #f9a8d4;
}

.text-green-300 {
    color: #86efac;
}

.text-blue-300 {
    color: #93c5fd;
}

/* Mix blend */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-xl {
    --tw-blur: blur(24px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-3xl {
    --tw-blur: blur(64px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* Width/Height utilities */
.w-6 {
    width: 1.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-32 {
    width: 8rem;
}

.w-64 {
    width: 16rem;
}

.w-72 {
    width: 18rem;
}

.w-96 {
    width: 24rem;
}

.h-6 {
    height: 1.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-32 {
    height: 8rem;
}

.h-48 {
    height: 12rem;
}

.h-64 {
    height: 16rem;
}

.h-72 {
    height: 18rem;
}

.h-96 {
    height: 24rem;
}

/* Position utilities */
.left-1\/2 {
    left: 50%;
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.top-10 {
    top: 2.5rem;
}

.top-20 {
    top: 5rem;
}

.top-40 {
    top: 10rem;
}

.bottom-8 {
    bottom: 2rem;
}

.bottom-10 {
    bottom: 2.5rem;
}

.bottom-20 {
    bottom: 5rem;
}

.left-10 {
    left: 2.5rem;
}

.left-20 {
    left: 5rem;
}

.right-10 {
    right: 2.5rem;
}

.right-20 {
    right: 5rem;
}

/* Text colors for gradients */
.from-yellow-300 {
    --gradient-from: #fde047;
}

.to-pink-300 {
    --gradient-to: #f9a8d4;
}

.from-blue-600 {
    --gradient-from: #2563eb;
}

.to-purple-600 {
    --gradient-to: #9333ea;
}

.from-purple-600 {
    --gradient-from: #9333ea;
}

.to-pink-600 {
    --gradient-to: #db2777;
}

.from-green-600 {
    --gradient-from: #16a34a;
}

.to-teal-600 {
    --gradient-to: #0d9488;
}

.from-blue-500 {
    --gradient-from: #3b82f6;
}

.to-cyan-500 {
    --gradient-to: #06b6d4;
}

.from-purple-500 {
    --gradient-from: #a855f7;
}

.to-pink-500 {
    --gradient-to: #ec4899;
}

.from-green-500 {
    --gradient-from: #22c55e;
}

.to-emerald-500 {
    --gradient-to: #10b981;
}

.from-orange-500 {
    --gradient-from: #f97316;
}

.to-red-500 {
    --gradient-to: #ef4444;
}

.from-indigo-500 {
    --gradient-from: #6366f1;
}

.to-blue-500 {
    --gradient-to: #3b82f6;
}

.from-teal-500 {
    --gradient-from: #14b8a6;
}

.to-cyan-500 {
    --gradient-to: #06b6d4;
}

.from-yellow-400 {
    --gradient-from: #facc15;
}

.to-orange-500 {
    --gradient-to: #f97316;
}

.from-blue-400 {
    --gradient-from: #60a5fa;
}

.to-cyan-400 {
    --gradient-to: #22d3ee;
}

.from-purple-400 {
    --gradient-from: #c084fc;
}

.to-pink-400 {
    --gradient-to: #f472b6;
}

.from-green-400 {
    --gradient-from: #4ade80;
}

.to-emerald-400 {
    --gradient-to: #34d399;
}

/* Additional responsive utilities */
@media (min-width: 640px) {
    .sm\:inline {
        display: inline;
    }
}

/* Hover effects */
.hover\:bg-blue-400:hover {
    background-color: #60a5fa;
}

.hover\:bg-green-400:hover {
    background-color: #4ade80;
}

.hover\:bg-blue-50:hover {
    background-color: #eff6ff;
}

.hover\:bg-purple-50:hover {
    background-color: #faf5ff;
}

.hover\:bg-green-50:hover {
    background-color: #f0fdf4;
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* List */
.list-disc {
    list-style-type: disc;
}

.list-inside {
    list-style-position: inside;
}

/* Border radius utilities */
.-mr-16 {
    margin-right: -4rem;
}

.-mt-16 {
    margin-top: -4rem;
}

.-ml-12 {
    margin-left: -3rem;
}

.-mb-12 {
    margin-bottom: -3rem;
}

/* Background opacity */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Text opacity */
.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Border colors with opacity */
.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.border-yellow-200 {
    border-color: #fef08a;
}

/* Additional gradient stops */
.from-black\/80 {
    --gradient-from: rgba(0, 0, 0, 0.8);
}

.to-transparent {
    --gradient-to: transparent;
}

.from-blue-600\/20 {
    --gradient-from: rgba(37, 99, 235, 0.2);
}

.to-purple-600\/20 {
    --gradient-to: rgba(147, 51, 234, 0.2);
}

/* Resize */
.resize-none {
    resize: none;
}

/* Placeholder */
.placeholder-white\/70::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Focus ring */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--tw-ring-color);
}

.focus\:ring-yellow-300:focus {
    --tw-ring-color: #fde047;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Margin utilities */
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

/* Aspect ratio */
.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
}

.aspect-h-9 {
    height: 0;
}

.aspect-w-16 .aspect-h-9 {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Max width */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-none {
    max-width: none;
}

/* Space between */
.space-x-reverse > * + * {
    margin-right: var(--tw-space-x);
    margin-left: 0;
}

/* Additional colors */
.bg-pink-600 {
    background-color: #db2777;
}

.bg-cyan-500 {
    background-color: #06b6d4;
}

.bg-emerald-500 {
    background-color: #10b981;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-indigo-500 {
    background-color: #6366f1;
}

.bg-teal-500 {
    background-color: #14b8a6;
}

.text-cyan-500 {
    color: #06b6d4;
}

.text-pink-500 {
    color: #ec4899;
}

.text-emerald-500 {
    color: #10b981;
}

.text-orange-500 {
    color: #f97316;
}

.text-red-500 {
    color: #ef4444;
}

.text-indigo-500 {
    color: #6366f1;
}

.text-teal-500 {
    color: #14b8a6;
}

/* Prose */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
}

/* Whitespace */
.whitespace-pre-line {
    white-space: pre-line;
}

/* Additional utility classes for specific use cases */
.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--gradient-from), var(--gradient-to));
}

/* Service card specific styles */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Hero pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

/* Additional color utilities */
.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.text-blue-600 {
    color: #2563eb;
}

.text-purple-600 {
    color: #9333ea;
}

.text-green-600 {
    color: #16a34a;
}

/* Border utilities */
.border-gray-100 {
    border-color: #f3f4f6;
}

/* Additional spacing */
.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Additional responsive utilities */
@media (min-width: 1024px) {
    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }
}

/* Shadow utilities */
.hover\:shadow-yellow-500\/50:hover {
    box-shadow: 0 20px 25px -5px rgba(234, 179, 8, 0.5), 0 10px 10px -5px rgba(234, 179, 8, 0.04);
}

/* Additional hover effects */
.hover\:from-yellow-500:hover {
    --gradient-from: #eab308;
}

.hover\:to-orange-600:hover {
    --gradient-to: #ea580c;
}

/* Padding utilities */
.p-12 {
    padding: 3rem;
}

.md\:p-12 {
    padding: 3rem;
}

@media (min-width: 768px) {
    .md\:p-12 {
        padding: 3rem;
    }
}

/* Additional width utilities */
.min-w-0 {
    min-width: 0;
}

/* Text utilities */
.text-blue-50 {
    color: #eff6ff;
}

/* Background opacity */
.bg-gray-900 {
    background-color: #111827;
}

/* Additional flex utilities */
.flex-wrap {
    flex-wrap: wrap;
}

/* Position utilities */
.inset-y-0 {
    top: 0;
    bottom: 0;
}

.inset-x-0 {
    left: 0;
    right: 0;
}

/* Margin utilities */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

/* Additional responsive text */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

/* Border utilities */
.border-t {
    border-top-width: 1px;
}

.pt-8 {
    padding-top: 2rem;
}

/* Additional color classes */
.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

/* Space utilities */
.space-x-6 > * + * {
    margin-left: 1.5rem;
}

/* Additional gradient colors */
.from-cyan-500 {
    --gradient-from: #06b6d4;
}

.from-emerald-500 {
    --gradient-from: #10b981;
}

.from-red-500 {
    --gradient-from: #ef4444;
}

.from-indigo-500 {
    --gradient-from: #6366f1;
}

.from-teal-500 {
    --gradient-from: #14b8a6;
}

.to-cyan-500 {
    --gradient-to: #06b6d4;
}

.to-emerald-500 {
    --gradient-to: #10b981;
}

.to-blue-500 {
    --gradient-to: #3b82f6;
}

.to-red-500 {
    --gradient-to: #ef4444;
}

.to-indigo-500 {
    --gradient-to: #6366f1;
}

.to-teal-500 {
    --gradient-to: #14b8a6;
}

/* Additional background colors */
.bg-cyan-500 {
    background-color: #06b6d4;
}

.bg-emerald-500 {
    background-color: #10b981;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-indigo-500 {
    background-color: #6366f1;
}

.bg-teal-500 {
    background-color: #14b8a6;
}

.bg-yellow-400 {
    background-color: #facc15;
}

.bg-orange-500 {
    background-color: #f97316;
}

.bg-pink-500 {
    background-color: #ec4899;
}

.bg-purple-500 {
    background-color: #a855f7;
}

.bg-green-400 {
    background-color: #4ade80;
}

.bg-blue-400 {
    background-color: #60a5fa;
}

.bg-cyan-400 {
    background-color: #22d3ee;
}

.bg-pink-400 {
    background-color: #f472b6;
}

.bg-purple-400 {
    background-color: #c084fc;
}

.bg-emerald-400 {
    background-color: #34d399;
}

.bg-green-400 {
    background-color: #4ade80;
}

/* Additional text colors */
.text-cyan-400 {
    color: #22d3ee;
}

.text-pink-400 {
    color: #f472b6;
}

.text-purple-400 {
    color: #c084fc;
}

.text-emerald-400 {
    color: #34d399;
}

.text-green-400 {
    color: #4ade80;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-orange-600 {
    color: #ea580c;
}

.text-yellow-400 {
    color: #facc15;
}

/* Additional hover colors */
.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:bg-white:hover {
    background-color: #ffffff;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:bg-blue-500:hover {
    background-color: #3b82f6;
}

.hover\:bg-purple-50:hover {
    background-color: #faf5ff;
}

.hover\:bg-green-50:hover {
    background-color: #f0fdf4;
}

.hover\:bg-white\/30:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Additional border colors */
.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.border-blue-600 {
    border-color: #2563eb;
}

/* Additional utilities */
.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}

/* Additional spacing */
.gap-3 {
    gap: 0.75rem;
}

/* Additional responsive */
@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Additional width */
.w-24 {
    width: 6rem;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

/* Additional height */
.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.h-24 {
    height: 6rem;
}

/* Additional position */
.left-1\/2 {
    left: 50%;
}

/* Additional transform */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

/* Additional margin */
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Additional padding */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Additional border radius */
.rounded-lg {
    border-radius: 0.5rem;
}

/* Additional utilities for service cards */
.from-blue-500 {
    --gradient-from: #3b82f6;
}

.to-cyan-500 {
    --gradient-to: #06b6d4;
}

/* Ensure gradients work */
.bg-gradient-to-br {
    --gradient-from: var(--tw-gradient-from);
    --gradient-to: var(--tw-gradient-to, var(--gradient-from));
    background-image: linear-gradient(to bottom right, var(--gradient-from), var(--gradient-to));
}

.from-purple-500 {
    --gradient-from: #a855f7;
}

.to-pink-500 {
    --gradient-to: #ec4899;
}

.from-green-500 {
    --gradient-from: #22c55e;
}

.to-emerald-500 {
    --gradient-to: #10b981;
}

.from-orange-500 {
    --gradient-from: #f97316;
}

.to-red-500 {
    --gradient-to: #ef4444;
}

.from-indigo-500 {
    --gradient-from: #6366f1;
}

.to-blue-500 {
    --gradient-to: #3b82f6;
}

.from-teal-500 {
    --gradient-from: #14b8a6;
}

.to-cyan-500 {
    --gradient-to: #06b6d4;
}

/* تنظیمات فونت فارسی - ایران‌سنس */
body {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* تنظیمات فونت برای عناوین */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* تنظیمات فونت برای متن‌های توپر */
.font-bold {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 700;
}

.font-black {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 900;
}

/* تنظیمات فونت برای دکمه‌ها */
button, .btn, input[type="submit"], input[type="button"] {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 600;
}

/* تنظیمات فونت برای input ها */
input, textarea, select {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* تنظیمات فونت برای لینک‌ها */
a {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* بهبود خوانایی برای متن فارسی */
p, span, div, li {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* تنظیمات فونت برای navigation */
nav, .nav {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 500;
}

/* بهبود نمایش اعداد فارسی */
body {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-variant-numeric: normal;
}

/* بهبود فاصله‌گذاری حروف برای فارسی */
* {
    letter-spacing: 0;
    word-spacing: 0.1em;
}
/* طراحی مشابه سایت alis.ir - سبز روشن (#8bc34a) */

:root {
    --alis-green: #8bc34a;
    --alis-green-dark: #689f38;
    --alis-green-light: #aed581;
    --alis-green-very-light: #dcedc8;
    --alis-bg-light: #f1f8e9;
    --alis-text-dark: #1b5e20;
    --alis-text: #2e7d32;
    --alis-white: #ffffff;
    --alis-font: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif;
}

/* فونت ایران‌سنس برای تمام کلاس‌های alis */
.alis-hero,
.alis-hero-text,
.alis-hero-title,
.alis-hero-subtitle,
.alis-btn-white,
.alis-section,
.alis-section-title,
.alis-section-description,
.alis-card,
/* Footer styles removed - using inline styles in footer.blade.php */
    font-family: var(--alis-font);
}

/* Hero Section سبز روشن */
.alis-hero {
    background: var(--alis-green);
    padding: 5rem 2rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.alis-hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.alis-hero-text {
    color: white;
}

.alis-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.alis-hero-subtitle {
    font-size: 1.75rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.alis-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: white;
    color: var(--alis-green);
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

/* Sections */
.alis-section {
    padding: 5rem 2rem;
    background: white;
}

.alis-section-alt {
    background: var(--alis-bg-light);
}

.alis-container {
    max-width: 1400px;
    margin: 0 auto;
}

.alis-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--alis-text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.alis-section-description {
    font-size: 1.25rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Cards */
.alis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.alis-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 195, 74, 0.1);
}

.alis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--alis-green-light);
}

/* Footer styles removed - using inline styles in footer.blade.php */

/* Responsive */
@media (max-width: 768px) {
    .alis-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .alis-hero-title {
        font-size: 2.5rem;
    }
    
    .alis-nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .alis-section-title {
        font-size: 2.5rem;
    }
}




/* المان‌های متحرک و انیمیشن‌ها - مشابه alis.ir */

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

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

@keyframes bounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes shake {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(-5deg); 
    }
    75% { 
        transform: rotate(5deg); 
    }
}

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

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

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

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

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== FLOATING ELEMENTS ===== */
.alis-floating {
    animation: float 6s ease-in-out infinite;
}

.alis-floating-delay-1 {
    animation-delay: 0.5s;
}

.alis-floating-delay-2 {
    animation-delay: 1s;
}

.alis-floating-delay-3 {
    animation-delay: 1.5s;
}

/* ===== PULSE ANIMATIONS ===== */
.alis-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== BOUNCE ANIMATIONS ===== */
.alis-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* ===== FADE IN ANIMATIONS ===== */
.alis-fade-in {
    animation: fadeIn 1s ease-out;
}

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

.alis-fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.alis-fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.alis-fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== SLIDE ANIMATIONS ===== */
.alis-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.alis-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* ===== HOVER EFFECTS ===== */
.alis-hover-lift {
    transition: all 0.3s ease;
}

.alis-hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.alis-hover-scale {
    transition: transform 0.3s ease;
}

.alis-hover-scale:hover {
    transform: scale(1.05);
}

.alis-hover-glow {
    transition: all 0.3s ease;
}

.alis-hover-glow:hover {
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.5);
}

/* ===== LIQUID SHAPES ===== */
.alis-liquid-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.alis-liquid-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.3);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.alis-liquid-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.alis-liquid-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* ===== BUTTON ANIMATIONS ===== */
.alis-btn-animated {
    position: relative;
    overflow: hidden;
}

.alis-btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.alis-btn-animated:hover::before {
    left: 100%;
}

/* ===== CARD ANIMATIONS ===== */
.alis-card-animated {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alis-card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.1), transparent);
    transition: left 0.5s;
}

.alis-card-animated:hover::before {
    left: 100%;
}

.alis-card-animated:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 195, 74, 0.2);
}

/* ===== ROTATING ELEMENTS ===== */
.alis-rotate {
    animation: rotate 20s linear infinite;
}

.alis-rotate-slow {
    animation: rotate 40s linear infinite;
}

/* ===== SHIMMER EFFECT ===== */
.alis-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===== GRADIENT ANIMATION ===== */
.alis-gradient-animated {
    background: linear-gradient(-45deg, #8bc34a, #aed581, #dcedc8, #8bc34a);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

/* ===== SCROLL ANIMATIONS (Intersection Observer) ===== */
.alis-scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.alis-scroll-fade.alis-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ICON ANIMATIONS ===== */
.alis-icon-bounce {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.alis-icon-pulse {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.alis-icon-rotate {
    display: inline-block;
    animation: rotate 3s linear infinite;
}

/* ===== PARTICLE EFFECTS ===== */
.alis-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* ===== LOADING ANIMATIONS ===== */
.alis-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 195, 74, 0.3);
    border-radius: 50%;
    border-top-color: var(--alis-green);
    animation: rotate 1s linear infinite;
}

/* ===== RESPONSIVE ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}




/* ============================================
   Mobile & Tablet Responsive Design
   ============================================ */

/* Mobile First Approach */
/* Base styles are for mobile, then we scale up */

/* ============================================
   Breakpoints:
   - Mobile: 0px - 575px
   - Tablet: 576px - 768px  
   - Desktop: 769px+
   ============================================ */

/* ============================================
   GLOBAL MOBILE FIXES
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ============================================
   HEADER - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .arvan-header {
        padding: 0.75rem 0;
    }
    
    .arvan-header nav {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .arvan-logo {
        font-size: 1.25rem;
        gap: 0.5rem;
    }
    
    .arvan-logo img {
        width: 100px;
        height: 35px;
    }
    
    .arvan-logo span {
        font-size: 1.1rem;
    }
    
    /* Show mobile menu button */
    #mobileMenuBtn {
        display: inline-flex !important;
    }
    
    /* Hide desktop menu */
    #desktopMenu {
        display: none !important;
    }
    
    #desktopOrderBtn {
        display: none !important;
    }
    
    /* Mobile menu button styling */
    #mobileMenuBtn {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    
    /* Call button on mobile */
    .arvan-btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .arvan-btn-primary i {
        font-size: 0.9rem;
    }
}

/* Mobile menu */
@media (max-width: 768px) {
    #mobileMenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    #mobileMenu.show {
        max-height: 500px;
        display: block !important;
    }
    
    #mobileMenu a {
        padding: 1rem !important;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* ============================================
   HERO BANNER - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .hero-banner-section {
        height: 60vh !important;
        min-height: 400px !important;
        max-height: 600px !important;
    }
    
    .arvan-hero-content {
        padding: 1.5rem 1rem !important;
    }
    
    .arvan-hero-content > div {
        padding: 1rem !important;
        max-width: 100% !important;
    }
    
    .arvan-badge {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .arvan-hero-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        margin-top: 0.75rem !important;
    }
    
    .arvan-hero-content p {
        font-size: 1rem !important;
        margin-top: 0.75rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0.75rem !important;
    }
    
    .arvan-hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .arvan-hero-buttons a {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
    }
}

@media (max-width: 480px) {
    .hero-banner-section {
        height: 55vh !important;
        min-height: 350px !important;
    }
    
    .arvan-hero-title {
        font-size: 1.25rem !important;
    }
    
    .arvan-hero-content p {
        font-size: 0.9rem !important;
    }
}

/* ============================================
   SECTIONS - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .arvan-section {
        padding: 2rem 1rem !important;
    }
    
    .arvan-container {
        padding: 0 1rem !important;
    }
    
    .arvan-section-header {
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem !important;
    }
    
    .arvan-section-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .arvan-section-description {
        font-size: 0.95rem !important;
        margin-top: 0.5rem !important;
    }
}

/* ============================================
   GRID LAYOUT - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .arvan-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .arvan-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

/* ============================================
   CARDS - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .arvan-card {
        padding: 1.25rem !important;
        margin: 0 !important;
    }
    
    .arvan-card-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .arvan-card-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .arvan-card-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
    
    .arvan-card-link,
    .arvan-card a {
        font-size: 0.875rem !important;
        padding: 0.625rem 1rem !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Service cards buttons */
    .arvan-card > div:last-child {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .arvan-card > div:last-child a {
        width: 100% !important;
    }
}

/* ============================================
   BUTTONS - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .arvan-btn-primary,
    .arvan-btn-secondary {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        min-width: 120px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .arvan-btn-primary i,
    .arvan-btn-secondary i {
        font-size: 0.9rem !important;
    }
}

/* ============================================
   FOOTER - Mobile & Tablet
   ============================================ */
/* Footer styles removed - using inline styles in footer.blade.php */

/* ============================================
   TYPOGRAPHY - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 15px !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

/* ============================================
   SPACING - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    /* Reduce padding and margins */
    section {
        padding: 2rem 0 !important;
    }
    
    .container {
        padding: 0 1rem !important;
    }
    
    /* Service detail page */
    .service-detail-content,
    .service-detail-image {
        width: 100% !important;
        padding: 1rem !important;
    }
}

/* ============================================
   SERVICES PAGE - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    /* Open layout services */
    .service-item {
        flex-direction: column !important;
        padding: 1.5rem 1rem !important;
    }
    
    .service-item-image {
        width: 100% !important;
        margin-bottom: 1rem !important;
        margin-left: 0 !important;
    }
    
    .service-item-content {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .service-item-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-item-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .service-item-content .arvan-btn-primary {
        width: 100% !important;
    }
}

/* ============================================
   FORMS - Mobile & Tablet
   ============================================ */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.25rem !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        width: 100% !important;
        padding: 0.875rem !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        min-height: 48px !important;
    }
    
    textarea {
        min-height: 120px !important;
    }
    
    button[type="submit"],
    .btn-primary {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }
}

/* ============================================
   TABLET SPECIFIC (577px - 768px)
   ============================================ */
@media (min-width: 577px) and (max-width: 768px) {
    .arvan-hero-title {
        font-size: 1.75rem !important;
    }
    
    .arvan-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Footer styles removed - using inline styles in footer.blade.php */
    
    .arvan-hero-buttons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .arvan-hero-buttons a {
        width: auto !important;
        flex: 1 1 calc(50% - 0.5rem) !important;
        min-width: 150px !important;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-banner-section {
        height: 80vh !important;
        min-height: 400px !important;
    }
    
    .arvan-hero-title {
        font-size: 1.5rem !important;
    }
    
    .arvan-hero-content p {
        font-size: 0.95rem !important;
    }
}

/* ============================================
   TOUCH OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .arvan-card:hover {
        transform: none !important;
    }
    
    /* Active states instead of hover */
    .arvan-btn-primary:active,
    .arvan-btn-secondary:active {
        transform: scale(0.97);
        opacity: 0.9;
    }
}

/* ============================================
   PREVENT HORIZONTAL SCROLL
   ============================================ */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

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

/* ============================================
   UTILITY CLASSES FOR MOBILE
   ============================================ */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    .full-width-mobile {
        width: 100% !important;
    }
    
    .no-padding-mobile {
        padding: 0 !important;
    }
    
    .small-padding-mobile {
        padding: 1rem !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-desktop {
        display: block !important;
    }
}





/* Complete Responsive Design - Mobile First Approach */

/* Base - Mobile (320px+) */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

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

/* Container Responsive */
.alis-container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Grid Responsive */
.alis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Typography Responsive */
h1 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.4;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Small Mobile (360px+) */
@media (min-width: 360px) {
    .alis-container {
        padding: 0 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Large Mobile (480px+) */
@media (min-width: 480px) {
    .alis-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .alis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Tablet Portrait (768px+) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
    
    .alis-container {
        max-width: 720px;
        padding: 0 2rem;
    }
    
    .alis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    p {
        font-size: 1.0625rem;
    }
}

/* Tablet Landscape (1024px+) */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    
    .alis-container {
        max-width: 960px;
        padding: 0 2.5rem;
    }
    
    .alis-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
    .alis-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .alis-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3.5rem;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .alis-container {
        max-width: 1320px;
    }
    
    .alis-grid {
        gap: 4rem;
    }
}

/* Extra Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .alis-container {
        max-width: 1600px;
    }
}

/* Services Zigzag Responsive */
.services-zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-zigzag-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-image-wrapper,
.service-content-wrapper {
    width: 100%;
}

@media (min-width: 968px) {
    .service-zigzag-item {
        flex-direction: row;
        gap: 3rem;
    }
    
    .service-image-wrapper,
    .service-content-wrapper {
        flex: 1;
    }
}

/* Navigation Responsive */
@media (max-width: 767px) {
    .alis-nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        display: none;
    }
    
    .alis-nav-menu.active {
        display: flex;
    }
}

/* Forms Responsive */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

@media (min-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 1rem;
    }
}

/* Buttons Responsive */
button,
.alis-btn-green,
.alis-btn-white {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 44px;
}

@media (min-width: 480px) {
    button,
    .alis-btn-green,
    .alis-btn-white {
        width: auto;
        display: inline-block;
    }
}

/* Cards Responsive */
.alis-card {
    width: 100%;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .alis-card {
        padding: 2rem;
    }
}

/* Hero Section Responsive */
.alis-hero {
    padding: 3rem 1rem;
    min-height: 60vh;
}

@media (min-width: 768px) {
    .alis-hero {
        padding: 5rem 2rem;
        min-height: 70vh;
    }
}

@media (min-width: 1024px) {
    .alis-hero {
        padding: 6rem 3rem;
        min-height: 80vh;
    }
}

/* Section Padding Responsive */
.alis-section {
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .alis-section {
        padding: 4rem 2rem;
    }
}

@media (min-width: 1024px) {
    .alis-section {
        padding: 5rem 2rem;
    }
}

/* Portfolio Grid Responsive */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Stats Grid Responsive */
.alis-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 480px) {
    .alis-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .alis-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Text Alignment Responsive */
@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center;
    }
}

/* Hide/Show Responsive */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
    
    .show-mobile {
        display: none;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .alis-hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .alis-nav-menu,
    button,
    .alis-btn-green,
    .alis-btn-white {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}

/* Complete Accessibility (WCAG 2.1 AA Compliance) */

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4caf50;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 700;
    font-family: 'Iranian Sans', 'Tahoma', 'Arial', sans-serif;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Focus Indicators - Enhanced */
*:focus-visible {
    outline: 3px solid #4caf50;
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #4caf50;
    outline-offset: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    * {
        border-color: currentColor !important;
    }
    
    a {
        text-decoration: underline !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ARIA Live Regions */
[aria-live] {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Semantic HTML Enhancements */
main {
    outline: none;
}

nav[aria-label],
nav[aria-labelledby] {
    outline: none;
}

/* Button Accessibility */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Link Accessibility */
a[aria-disabled="true"] {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form Accessibility */
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
}

input[required],
select[required],
textarea[required] {
    border-left: 3px solid #4caf50;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #dc3545;
    border-left-width: 3px;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Success Messages */
.success-message {
    color: #4caf50;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Loading States */
[aria-busy="true"] {
    cursor: wait;
}

[aria-busy="true"]::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #4caf50;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* Color Contrast - Minimum 4.5:1 for text */
.text-low-contrast {
    color: #666;
}

/* Ensure sufficient contrast */
a {
    color: #4caf50;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #45a049;
    text-decoration: none;
}

/* Touch Target Size - Minimum 44x44px */
button,
a,
input[type="button"],
input[type="submit"],
input[type="checkbox"],
input[type="radio"] {
    min-height: 44px;
    min-width: 44px;
}

/* Image Alt Text Fallback */
img[alt=""] {
    border: 2px dashed #ccc;
}

/* Table Accessibility */
table {
    border-collapse: collapse;
    width: 100%;
}

th {
    text-align: right;
    font-weight: 700;
    background: #f5f5f5;
    padding: 0.75rem;
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Landmark Roles */
[role="banner"] {
    outline: none;
}

[role="main"] {
    outline: none;
}

[role="contentinfo"] {
    outline: none;
}

[role="navigation"] {
    outline: none;
}

[role="complementary"] {
    outline: none;
}

/* Keyboard Navigation */
.keyboard-only:focus {
    outline: 3px solid #4caf50;
    outline-offset: 2px;
}

/* Print Styles for Accessibility */
@media print {
    .skip-link,
    .sr-only {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="#"]:after {
        content: "";
    }
}

/* Enhanced Focus Indicators for Better Accessibility */

/* Keyboard Navigation Focus */
.keyboard-navigation *:focus,
.keyboard-navigation a:focus,
.keyboard-navigation button:focus,
.keyboard-navigation input:focus,
.keyboard-navigation select:focus,
.keyboard-navigation textarea:focus {
    outline: 3px solid var(--alis-green) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.2) !important;
    border-radius: 4px;
}

/* Focus for Links */
a:focus-visible {
    outline: 3px solid var(--alis-green) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.2) !important;
    border-radius: 4px;
    text-decoration: none;
}

/* Focus for Buttons */
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
    outline: 3px solid var(--alis-green-dark) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.3) !important;
    border-radius: 8px;
}

/* Focus for Form Inputs */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--alis-green) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.2) !important;
    border-color: var(--alis-green) !important;
}

/* Skip Link Focus */
.skip-link:focus {
    top: 0 !important;
    outline: 3px solid var(--alis-green-dark) !important;
    outline-offset: 2px !important;
    z-index: 10000 !important;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    *:focus-visible {
        outline: 4px solid !important;
        outline-offset: 3px !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *:focus-visible {
        transition: none !important;
        animation: none !important;
    }
}





/* WCAG 2.1 Level AA Compliance Styles */

/* ============================================
   Color Contrast Enhancements
   ============================================ */

/* Ensure minimum 4.5:1 contrast ratio for normal text */
body, p, span, div, li, td, th {
    color: #1a1a1a !important; /* Dark text on light background */
}

/* Ensure minimum 3:1 contrast ratio for large text (18pt+) */
h1, h2, h3, h4, h5, h6,
.large-text {
    color: #000000 !important;
}

/* Links - minimum 3:1 contrast and clear indication */
a {
    color: #2e7d32 !important; /* Dark green for better contrast */
    text-decoration: underline !important;
}

a:visited {
    color: #1b5e20 !important;
}

a:focus, a:hover {
    color: #1b5e20 !important;
    outline: 3px solid #8bc34a !important;
    outline-offset: 2px !important;
}

/* ============================================
   Focus Indicators (Enhanced)
   ============================================ */

*:focus-visible {
    outline: 3px solid #2e7d32 !important;
    outline-offset: 3px !important;
    border-radius: 4px !important;
}

/* Skip Links - always visible when focused */
.skip-link:focus {
    top: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    outline: 4px solid #2e7d32 !important;
    outline-offset: 2px !important;
}

/* Form Elements Focus */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 3px solid #2e7d32 !important;
    outline-offset: 2px !important;
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2) !important;
}

/* ============================================
   Text Alternatives
   ============================================ */

/* Ensure all images have alt text (handled in HTML) */
img:not([alt]) {
    border: 3px dashed #ff0000 !important;
}

img[alt=""] {
    border: 2px solid #ffa500 !important;
}

/* ============================================
   Keyboard Navigation
   ============================================ */

/* All interactive elements must be keyboard accessible */
a, button, input, select, textarea,
[tabindex]:not([tabindex="-1"]) {
    outline: none; /* Remove default, use focus-visible */
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid #2e7d32 !important;
    outline-offset: 2px !important;
}

/* Ensure no keyboard traps */
.modal, .dropdown, .menu {
    tabindex: -1;
}

/* ============================================
   Landmarks and Regions
   ============================================ */

main {
    outline: none;
}

nav[role="navigation"] {
    outline: none;
}

/* ============================================
   Error Identification
   ============================================ */

/* Error messages must be clear and associated with fields */
.error-message,
.validation-errors {
    color: #d32f2f !important;
    font-weight: 600 !important;
}

.error-message::before {
    content: "⚠️ ";
    margin-left: 0.5rem;
}

/* Error fields - visual indication */
input.error,
select.error,
textarea.error {
    border: 2px solid #d32f2f !important;
    background-color: #ffebee !important;
}

input.error:focus,
select.error:focus,
textarea.error:focus {
    outline: 3px solid #d32f2f !important;
    outline-offset: 2px !important;
}

/* ============================================
   Labels and Instructions
   ============================================ */

label {
    font-weight: 600 !important;
    color: #1a1a1a !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

label.required::after {
    content: " *";
    color: #d32f2f;
    font-weight: bold;
}

/* Instructions for forms */
.form-instruction {
    color: #666 !important;
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
}

/* ============================================
   Headings Hierarchy
   ============================================ */

/* Ensure proper heading hierarchy */
h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* ============================================
   Language Attributes
   ============================================ */

/* RTL Support */
[dir="rtl"] {
    direction: rtl !important;
    text-align: right !important;
}

[lang="fa"], [lang="ar"] {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* ============================================
   Time Limits
   ============================================ */

/* Provide ability to extend time limits */
.session-timeout-warning {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ============================================
   Animation and Motion
   ============================================ */

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Content on Hover or Focus
   ============================================ */

/* Tooltips and popups must be dismissible */
.tooltip,
.popover {
    position: relative;
}

.tooltip[aria-describedby],
.popover[aria-describedby] {
    cursor: help;
}

/* Close button for modals and popups */
.close-button {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    outline: 2px solid #2e7d32;
}

/* ============================================
   Status Messages
   ============================================ */

/* Success messages */
[role="alert"][aria-live="assertive"] {
    border-right: 4px solid #28a745;
    padding: 1rem;
    margin: 1rem 0;
    background: #d4edda;
    color: #155724;
}

/* Error messages */
[role="alert"][aria-live="polite"] {
    border-right: 4px solid #dc3545;
    padding: 1rem;
    margin: 1rem 0;
    background: #f8d7da;
    color: #721c24;
}

/* Info messages */
[role="status"] {
    border-right: 4px solid #17a2b8;
    padding: 1rem;
    margin: 1rem 0;
    background: #d1ecf1;
    color: #0c5460;
}

/* ============================================
   Parsing (Valid HTML)
   ============================================ */

/* Ensure proper nesting and closing tags */
/* This is handled in HTML validation, but CSS can help */

/* ============================================
   Name, Role, Value
   ============================================ */

/* Buttons must have accessible names */
button:not([aria-label]):not([aria-labelledby]):empty::before {
    content: "Button";
    position: absolute;
    left: -9999px;
}

/* ============================================
   Resize Text
   ============================================ */

/* Text must be resizable up to 200% */
html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    line-height: 1.6;
}

/* Ensure text remains readable when zoomed */
@media (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ============================================
   Images of Text
   ============================================ */

/* Prefer text over images of text */
/* Use CSS for decorative elements instead of images */

/* ============================================
   Reflow
   ============================================ */

/* Content must reflow at 320px width */
@media (max-width: 320px) {
    * {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
}

/* ============================================
   Text Spacing
   ============================================ */

/* Support for custom text spacing */
.custom-text-spacing {
    line-height: 1.8 !important;
    letter-spacing: 0.12em !important;
    word-spacing: 0.16em !important;
    paragraph-spacing: 2em !important;
}

/* ============================================
   Content on Hover or Focus
   ============================================ */

/* Dismissible tooltips */
.tooltip-content {
    position: absolute;
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    z-index: 1000;
    pointer-events: none;
}

.tooltip-content[aria-hidden="true"] {
    display: none;
}

/* ============================================
   Target Size
   ============================================ */

/* Interactive elements must be at least 44x44px */
a, button, input[type="submit"], input[type="button"],
input[type="checkbox"], input[type="radio"] {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.75rem 1.5rem !important;
}

/* ============================================
   Concurrent Input Mechanisms
   ============================================ */

/* Support both pointer and keyboard */
input, select, textarea, button {
    touch-action: manipulation;
}

/* ============================================
   High Contrast Mode
   ============================================ */

@media (prefers-contrast: high) {
    * {
        border: 1px solid !important;
    }
    
    a, button {
        border: 2px solid !important;
    }
    
    img {
        border: 2px solid #000 !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .no-print {
        display: none !important;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
}





/* ============================================
   ICONS STYLES - استایل‌های آیکون‌ها
   اطمینان از لود صحیح تمام آیکون‌ها
   ============================================ */

/* Base Styles for All Icons */
i.fas,
i.far,
i.fab,
i.fal,
i.fad {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    speak: none !important;
    font-feature-settings: normal !important;
    font-variant-ligatures: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-wrap: normal !important;
    white-space: nowrap !important;
    direction: ltr !important;
}

/* Solid Icons (fas) */
.fas {
    font-weight: 900 !important;
}

/* Regular Icons (far) */
.far {
    font-weight: 400 !important;
}

/* Brand Icons (fab) */
.fab {
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands', 'FontAwesome', sans-serif !important;
    font-weight: 400 !important;
}

/* Light Icons (fal) */
.fal {
    font-weight: 300 !important;
}

/* Duotone Icons (fad) */
.fad {
    font-weight: 900 !important;
}

/* Ensure Icons are Visible */
i[class*="fa-"] {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-flex !important;
}

/* Icon Sizing */
.fa-xs { font-size: 0.75em !important; }
.fa-sm { font-size: 0.875em !important; }
.fa-lg { font-size: 1.33333em !important; line-height: 0.75em !important; vertical-align: -0.0667em !important; }
.fa-xl { font-size: 1.5em !important; line-height: 0.75em !important; vertical-align: -0.0667em !important; }
.fa-2x { font-size: 2em !important; }
.fa-3x { font-size: 3em !important; }
.fa-4x { font-size: 4em !important; }
.fa-5x { font-size: 5em !important; }
.fa-6x { font-size: 6em !important; }
.fa-7x { font-size: 7em !important; }
.fa-8x { font-size: 8em !important; }
.fa-9x { font-size: 9em !important; }
.fa-10x { font-size: 10em !important; }

/* Icon Alignment */
.fa-fw {
    text-align: center !important;
    width: 1.25em !important;
}

/* Icon Rotation */
.fa-rotate-90 { transform: rotate(90deg) !important; }
.fa-rotate-180 { transform: rotate(180deg) !important; }
.fa-rotate-270 { transform: rotate(270deg) !important; }
.fa-flip-horizontal { transform: scale(-1, 1) !important; }
.fa-flip-vertical { transform: scale(1, -1) !important; }
.fa-flip-both { transform: scale(-1, -1) !important; }

/* Icon Animation */
.fa-spin {
    animation: fa-spin 2s infinite linear !important;
}

.fa-pulse {
    animation: fa-spin 1s infinite steps(8) !important;
}

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

/* Loading State */
.fa-loading {
    opacity: 0.5 !important;
    animation: faPulse 1s ease-in-out infinite !important;
}

@keyframes faPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Fix for RTL */
[dir="rtl"] i.fas,
[dir="rtl"] i.far,
[dir="rtl"] i.fab {
    direction: ltr !important;
    display: inline-flex !important;
}

/* Specific Icon Fixes */
.fa-home::before { content: "\f015"; }
.fa-network-wired::before { content: "\f6ff"; }
.fa-briefcase::before { content: "\f0b1"; }
.fa-blog::before { content: "\f781"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-rocket::before { content: "\f135"; }
.fa-arrow-left::before { content: "\f060"; }
.fa-shopping-cart::before { content: "\f07a"; }
.fa-phone-alt::before { content: "\f879"; }
.fa-check-circle::before { content: "\f058"; }
.fa-server::before { content: "\f233"; }
.fa-shield-alt::before { content: "\f3ed"; }
.fa-bolt::before { content: "\f0e7"; }
.fa-wifi::before { content: "\f1eb"; }
.fa-cogs::before { content: "\f085"; }
.fa-sparkles::before { content: "\f890"; }
.fa-project-diagram::before { content: "\f542"; }
.fa-star::before { content: "\f005"; }
.fa-users::before { content: "\f0c0"; }
.fa-calendar-alt::before { content: "\f073"; }
.fa-award::before { content: "\f559"; }
.fa-headset::before { content: "\f590"; }
.fa-wrench::before { content: "\f0ad"; }
.fa-comments::before { content: "\f086"; }
.fa-inbox::before { content: "\f01c"; }
.fa-folder-open::before { content: "\f07c"; }
.fa-globe::before { content: "\f0ac"; }
.fa-video::before { content: "\f03d"; }
.fa-plug::before { content: "\f1e6"; }
.fa-chart-line::before { content: "\f201"; }
.fa-clock::before { content: "\f017"; }
.fa-file-alt::before { content: "\f15c"; }
.fa-bullseye::before { content: "\f140"; }
.fa-user-check::before { content: "\f4fc"; }
.fa-eye::before { content: "\f06e"; }
.fa-map-marker-alt::before { content: "\f3c5"; }

/* Debug Mode - نمایش محتوای آیکون‌ها */
body.fa-debug i.fas::before,
body.fa-debug i.far::before,
body.fa-debug i.fab::before {
    border: 1px dashed red;
    padding: 2px;
}


/* Icons Complete Fix - رفع کامل مشکلات آیکن‌ها */
/* این فایل اطمینان می‌دهد که تمام آیکن‌ها به صورت کامل نمایش داده شوند */

/* ============================================
   FONT AWESOME ICONS - آیکن‌های Font Awesome
   ============================================ */

/* Base Font Awesome Classes */
.fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure all icons are visible */
i[class*="fa-"],
i[class^="fa-"],
i[class*=" fas "],
i[class*=" far "],
i[class*=" fab "],
i[class*=" fal "],
i[class*=" fad "] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Icon Sizes - اندازه‌های آیکن */
.fa-xs { font-size: 0.75em !important; }
.fa-sm { font-size: 0.875em !important; }
.fa-lg { font-size: 1.33em !important; }
.fa-xl { font-size: 1.5em !important; }
.fa-2x { font-size: 2em !important; }
.fa-3x { font-size: 3em !important; }
.fa-4x { font-size: 4em !important; }
.fa-5x { font-size: 5em !important; }

/* Specific Icon Fixes - رفع مشکلات خاص */
.fa-bars,
.fa-times,
.fa-arrow-left,
.fa-arrow-right,
.fa-arrow-up,
.fa-arrow-down,
.fa-chevron-left,
.fa-chevron-right,
.fa-chevron-up,
.fa-chevron-down,
.fa-phone,
.fa-phone-alt,
.fa-envelope,
.fa-map-marker-alt,
.fa-user,
.fa-users,
.fa-star,
.fa-heart,
.fa-share,
.fa-search,
.fa-shopping-cart,
.fa-calendar,
.fa-clock,
.fa-check,
.fa-check-circle,
.fa-times-circle,
.fa-exclamation-circle,
.fa-info-circle,
.fa-question-circle,
.fa-home,
.fa-server,
.fa-network-wired,
.fa-shield-alt,
.fa-bolt,
.fa-wifi,
.fa-cogs,
.fa-project-diagram,
.fa-headset,
.fa-award,
.fa-sparkles {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Icon in Buttons - آیکن در دکمه‌ها */
button i[class*="fa-"],
.btn i[class*="fa-"],
a i[class*="fa-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0.25rem !important;
}

/* Icon in Navigation - آیکن در ناوبری */
nav i[class*="fa-"],
.nav i[class*="fa-"],
.navbar i[class*="fa-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Icon in Cards - آیکن در کارت‌ها */
.card i[class*="fa-"],
.alis-card i[class*="fa-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Icon Wrapper - wrapper آیکن */
.icon-wrapper,
.animated-icon-wrapper,
.icon-pulse-ring {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.icon-wrapper i[class*="fa-"],
.animated-icon-wrapper i[class*="fa-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Loading State - حالت بارگذاری */
.icon-loading {
    opacity: 0.5 !important;
    animation: iconPulse 1.5s ease-in-out infinite !important;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Fix for hidden icons - رفع آیکن‌های مخفی */
i[class*="fa-"][style*="display: none"],
i[class*="fa-"][style*="visibility: hidden"],
i[class*="fa-"][style*="opacity: 0"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure icons are not hidden by parent */
.hide i[class*="fa-"],
.hidden i[class*="fa-"],
[style*="display: none"] i[class*="fa-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive Icons - آیکن‌های واکنش‌گرا */
@media (max-width: 768px) {
    i[class*="fa-"] {
        font-size: 1em !important;
    }
    
    .fa-3x { font-size: 2em !important; }
    .fa-4x { font-size: 2.5em !important; }
    .fa-5x { font-size: 3em !important; }
}

/* Print Styles - استایل‌های چاپ */
@media print {
    i[class*="fa-"] {
        display: inline-block !important;
        visibility: visible !important;
    }
}
/* Iran Sans Font - فونت ایران سنس */
/* این فایل فونت ایران سنس را برای تمام سایت اعمال می‌کند */

/* Import Iran Sans from CDN - استفاده از فونت Vazirmatn به عنوان جایگزین */
/* استفاده از Google Fonts برای رفع مشکل 404 */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;900&display=swap');

/* استفاده از فونت Vazirmatn به عنوان جایگزین ایران‌سنس */
/* Vazirmatn یک فونت فارسی معتبر و مشابه ایران‌سنس است */
@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Vazirmatn Light'), local('Iranian Sans Light');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Vazirmatn'), local('Iranian Sans');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Vazirmatn Medium'), local('Iranian Sans Medium');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Vazirmatn Bold'), local('Iranian Sans Bold');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

/* Fallback: استفاده از Vazirmatn برای تمام متن‌ها */
* {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Base Font Settings - تنظیمات پایه فونت */
/* استفاده از Vazirmatn به عنوان فونت اصلی */

html, body {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

/* All Text Elements - تمام المان‌های متنی */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
button, input, textarea, select, label,
table, th, td, tr,
nav, header, footer, main, section, article {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Headings - عناوین */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 700 !important;
}

/* Paragraphs - پاراگراف‌ها */
p {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
    line-height: 1.8 !important;
}

/* Links - لینک‌ها */
a {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Buttons - دکمه‌ها */
button, .btn, input[type="submit"], input[type="button"] {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Forms - فرم‌ها */
input, textarea, select, label {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Navigation - ناوبری */
nav, .nav, .navbar, .menu {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Header & Footer */
header, footer {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Cards & Containers */
.card, .container, .box, .section {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Alis Design Classes */
.alis-section-title,
.alis-section-description,
.alis-nav-link,
.alis-btn-green,
.alis-btn-white,
.alis-hero-title,
.alis-hero-subtitle {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Ensure RTL */
[dir="rtl"], html[dir="rtl"], body[dir="rtl"] {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}

/* Loading State */
.font-loading {
    font-family: 'Tahoma', 'Arial', sans-serif !important;
}

.font-loaded {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}
/* Font Fallback - اطمینان از لود شدن فونت‌ها */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Vazirmatn Light'), local('Vazirmatn-Light');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Vazirmatn'), local('Vazirmatn-Regular');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Vazirmatn Medium'), local('Vazirmatn-Medium');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Vazirmatn Bold'), local('Vazirmatn-Bold');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local('Vazirmatn Black'), local('Vazirmatn-Black');
}

/* Fallback font stack */
* {
    font-family: 'Vazirmatn', 'Iranian Sans', 'Tahoma', 'Arial', sans-serif !important;
}
