@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* Apple-inspired Design System Variables */
:root {
    /* Colors - Inspired by logo but refined for Apple-style design */
    --primary-blue: #007AFF;
    --primary-yellow: #FFD60A;
    --primary-green: #30D158;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F7;
    --gray-200: #E5E5EA;
    --gray-300: #D2D2D7;
    --gray-400: #AEAEB2;
    --gray-500: #8E8E93;
    --gray-600: #636366;
    --gray-700: #48484A;
    --gray-800: #1C1C1E;
    --gray-900: #000000;
    
    /* Text Colors */
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #AEAEB2;
    --text-on-dark: #F5F5F7;
    
    /* Spacing System (Apple-inspired) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 96px;
    --space-6xl: 128px;
    
    /* Typography Scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 60px;
    --text-7xl: 72px;
    --text-8xl: 96px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    
    /* 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);
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--text-base);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--text-6xl); font-weight: 700; }
h2 { font-size: var(--text-5xl); font-weight: 600; }
h3 { font-size: var(--text-4xl); font-weight: 600; }
h4 { font-size: var(--text-3xl); font-weight: 600; }
h5 { font-size: var(--text-2xl); font-weight: 600; }
h6 { font-size: var(--text-xl); font-weight: 600; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--text-lg);
}

.text-large {
    font-size: var(--text-2xl);
    line-height: 1.5;
}

.text-small {
    font-size: var(--text-sm);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Section Spacing */
section {
    padding: var(--space-4xl) 0; /* Reduced from space-6xl to space-4xl */
}

.section-sm {
    padding: var(--space-3xl) 0; /* Reduced from space-4xl to space-3xl */
}

.section-lg {
    padding: var(--space-4xl) 0;
}

/* First section after hero slider - reduce top padding */
.hero-slider + section,
section:first-of-type {
    padding-top: var(--space-3xl); /* Reduced top padding for first section */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-normal);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    height: 72px;
}

.logo h1 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.logo h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 400;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
    background-color: var(--gray-100);
}

nav a.active {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: #0056CC;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn-small {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    position: relative;
    padding-top: 0; /* حذف فاصله بالا */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: var(--text-7xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: var(--text-2xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-5xl);
}

.section-header h2 {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.section-header p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Grid Systems */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-content {
    padding: var(--space-xl);
}

.card h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.service-card h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* Page Headers */
.page-header {
    background: var(--gray-50);
    padding: var(--space-6xl) 0 var(--space-5xl) 0;
    margin-top: 72px;
    text-align: center;
}

.page-header h1 {
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.page-header p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Map Section */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--gray-50);
    padding: var(--space-5xl) 0 var(--space-xl) 0;
    border-top: 1px solid var(--gray-200);
}

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

.footer-section h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: var(--text-base);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

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

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

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

.fade-in-delay-1 {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --text-6xl: 48px;
        --text-7xl: 56px;
        --space-6xl: 80px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    nav ul {
        gap: var(--space-md);
    }
    
    nav a {
        font-size: var(--text-sm);
        padding: var(--space-xs) var(--space-sm);
    }
    
    .hero h1 {
        font-size: var(--text-6xl);
    }
    
    .hero p {
        font-size: var(--text-xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: var(--text-5xl);
    }
    
    .section-header h2 {
        font-size: var(--text-4xl);
    }
    
    .page-header h1 {
        font-size: var(--text-5xl);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }


/* Additional styles for enhanced UX/UI */

/* Form Styles */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all var(--transition-normal);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Value List Styles */
.value-list {
    list-style: none;
    padding: 0;
}

.value-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: var(--text-lg);
    color: var(--text-primary);
    position: relative;
    padding-left: var(--space-xl);
}

.value-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: var(--space-md);
    color: var(--primary-green);
    font-weight: bold;
    font-size: var(--text-lg);
}

.value-list li:last-child {
    border-bottom: none;
}

/* Footer Links */
footer ul {
    list-style: none;
    padding: 0;
}

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

footer ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-base);
    transition: color var(--transition-fast);
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Contact Info Block */
.contact-info-block h2,
.contact-form-block h2 {
    margin-bottom: var(--space-xl);
}

/* Background Utilities */
.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

/* Text Color Utilities */
.text-tertiary {
    color: var(--text-tertiary);
}

/* Enhanced Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Scrolled State */
header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    font-size: var(--text-lg);
    font-weight: bold;
}

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

.scroll-to-top:hover {
    background-color: #0056CC;
    transform: translateY(-2px);
}

/* Loading State for Buttons */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .hero h1 {
        font-size: var(--text-6xl);
    }
    
    .section-header h2 {
        font-size: var(--text-4xl);
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 2px; /* جبران ارتفاع هدر ثابت */
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* سایه قوی‌تر برای خوانایی بهتر */
    color: white;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* سایه قوی‌تر برای خوانایی بهتر */
    color: white;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-2xl);
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin-left: auto; /* Push to the right in RTL */
}

.mobile-menu-btn:hover {
    background-color: var(--gray-100);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    nav ul {
        display: flex;
        flex-direction: row;
        gap: var(--space-xl);
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: var(--space-lg); /* Position on the right side */
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    header .container {
        position: relative;
        padding: var(--space-md) var(--space-lg);
    }
    
    nav {
        position: relative;
    }
    
    nav ul {
        position: absolute;
        top: calc(100% + var(--space-sm));
        right: 0; /* Align to right edge */
        left: var(--space-md); /* Add left margin to prevent overflow */
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        gap: var(--space-sm);
        display: none;
        z-index: 1000;
        max-width: calc(100vw - var(--space-xl)); /* Prevent overflow */
        width: auto;
        min-width: 200px;
    }
    
    nav ul.mobile-menu-open {
        display: flex;
    }
    
    nav a {
        padding: var(--space-md);
        font-size: var(--text-base);
        border-radius: var(--radius-md);
        text-align: center;
        width: 100%;
        display: block;
        transition: all var(--transition-fast);
        white-space: nowrap;
    }
    
    nav a:hover {
        background-color: var(--primary-blue);
        color: var(--white);
        transform: translateY(-1px);
    }
    
    nav a.active {
        background-color: var(--primary-blue);
        color: var(--white);
        font-weight: 600;
    }
    
    /* Hide desktop navigation on mobile */
    nav ul:not(.mobile-menu-open) {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .social-links {
        justify-content: center;
    }
}



/* اضافه کردن انیمیشن برای اسلایدشو */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content {
    animation: fadeIn 0.8s ease-out;
}

/* بهبود اسلایدشو در موبایل */
@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 36px;
        --text-6xl: 42px;
        --text-7xl: 48px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero h1 {
        font-size: var(--text-5xl);
        line-height: 1.2;
    }
    
    .hero p {
        font-size: var(--text-lg);
    }
    
    .page-header h1 {
        font-size: var(--text-4xl);
    }
    
    .section-header h2 {
        font-size: var(--text-3xl);
    }
    
    .card-content {
        padding: var(--space-lg);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    /* Reduce section spacing on mobile */
    section {
        padding: var(--space-3xl) 0;
    }
    
    .section-sm {
        padding: var(--space-2xl) 0;
    }
    
    .hero-slider + section,
    section:first-of-type {
        padding-top: var(--space-2xl);
    }
}


/* Icon Styles */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-lg) auto;
    transition: all var(--transition-normal);
}

.service-icon i {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

/* Footer Icons */
.footer-section h4 i,
.footer-section p i,
.footer-section a i {
    margin-left: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--text-base);
    width: 16px;
    text-align: center;
}

.footer-section a:hover i {
    color: var(--primary);
}

/* General Icon Styles */
i {
    transition: all var(--transition-normal);
}



/* Icon Styles - Feather Icons */
.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon i {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    stroke-width: 1.5;
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.card-icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    stroke-width: 1.5;
    margin-left: var(--space-sm);
    vertical-align: middle;
}

.btn-icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
    margin-left: var(--space-sm);
    transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
    transform: translateX(-2px);
}

.inline-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    stroke-width: 1.5;
    margin-left: var(--space-xs);
    vertical-align: middle;
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    stroke-width: 1.5;
    margin-left: var(--space-sm);
    vertical-align: middle;
    transition: color 0.2s ease;
}

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

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

.service-icon:hover {
    animation: iconFloat 0.6s ease-in-out;
}

/* Responsive Icon Adjustments */
@media (max-width: 768px) {
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-icon i {
        width: 20px;
        height: 20px;
    }
    
    .btn-icon,
    .footer-icon {
        width: 14px;
        height: 14px;
    }
    
    .card-icon {
        width: 14px;
        height: 14px;
    }
}


/**/
/**/
/**/
/**/
/**/
/**/
/**/

#mobile-nav
{
	height: max-content;
}
/* Mobile Navigation Styles - Improved */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: var(--space-lg);
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        width: 44px;
        height: 44px;
        background: var(--gray-100);
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
    }
    
    .mobile-menu-btn:hover {
        background: var(--gray-200);
        transform: translateY(-50%) scale(1.05);
    }
    
    .mobile-menu-btn i {
        font-size: var(--text-xl);
        color: var(--text-primary);
    }
    
    header .container {
        position: relative;
        padding: var(--space-sm) var(--space-lg);
        justify-content: flex-start;
        height: 64px; /* کاهش ارتفاع هدر در موبایل */
    }
    
    .logo h1 {
        font-size: var(--text-xl); /* کاهش سایز لوگو در موبایل */
        margin-right: 55px;
	}
	 .logo h2 {
        font-size: var(--text-xl); /* کاهش سایز لوگو در موبایل */
        margin-right: 55px;
	}
    
    nav ul {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: none;
        border-radius: 0;
        border-top: 1px solid var(--gray-200);
        padding: var(--space-xl);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        gap: var(--space-md);
        display: none;
        z-index: 1000;
        max-width: 100%;
        width: 100%;
        min-width: auto;
        text-align: right;
        overflow-y: auto;
        transition: all var(--transition-normal);
    }
    
    nav ul.mobile-menu-open {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        padding: var(--space-lg) var(--space-md);
        font-size: var(--text-lg);
        border-radius: var(--radius-md);
        text-align: right;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all var(--transition-fast);
        white-space: nowrap;
        color: var(--text-primary);
        font-weight: 500;
    }
    
    nav a:hover {
        background-color: var(--primary-blue);
        color: var(--white);
        transform: translateX(-4px);
        padding-right: var(--space-xl);
    }
    
    nav a.active {
        background-color: var(--primary-blue);
        color: var(--white);
        font-weight: 600;
    }
    
    /* اضافه کردن آیکون برای منوی موبایل */
    nav a::after {
        content: '';
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.6;
        transition: all var(--transition-fast);
    }
    
    nav a:hover::after,
    nav a.active::after {
        opacity: 1;
        transform: translateX(-4px);
    }
    
    /* بهبود فوتر در موبایل */
    .footer-section {
        margin-bottom: var(--space-xl);
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
}





.hero-slider {
    min-height: 100vh; /* دسکتاپ */
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: auto;
        height: auto; /* اجازه بده ارتفاع با محتوا تغییر کند */
        padding-top: 72px; /* جبران هدر ثابت */
		 min-height: 60vh; /* برای اینکه خیلی کوچک نشود */
    }
    .slide {
        height: auto;
        min-height: 60vh; /* برای اینکه خیلی کوچک نشود */
    }
}





@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .slide-content p {
        font-size: 0.95rem;
    }
}


		/*Start Fonts*/
		@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 900;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Black.eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype');
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: bold;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 500;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 300;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: 200;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}
@font-face {
    font-family: IRANSansfanum;
    font-style: normal;
    font-weight: normal;
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum).eot');
    src: url('/assets/fonts/iransansfanum/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('/assets/fonts/iransansfanum/woff/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/assets/fonts/iransansfanum/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}
