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

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

:root {
    /* رنگ‌های متریال زنده و متنوع */
    --primary-color: #6366F1; /* آبی-بنفش */
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    
    /* رنگ‌های متریال برای خدمات */
    --color-exam: #EF4444; /* قرمز متریال */
    --color-exam-light: #F87171;
    --color-exam-dark: #DC2626;
    
    --color-embassy: #F59E0B; /* نارنجی متریال */
    --color-embassy-light: #FBBF24;
    --color-embassy-dark: #D97706;
    
    --color-giftcard: #EC4899; /* صورتی متریال */
    --color-giftcard-light: #F472B6;
    --color-giftcard-dark: #DB2777;
    
    --color-apply: #10B981; /* سبز متریال */
    --color-apply-light: #34D399;
    --color-apply-dark: #059669;
    
    --color-paypal: #3B82F6; /* آبی متریال */
    --color-paypal-light: #60A5FA;
    --color-paypal-dark: #2563EB;
    
    --color-mastercard: #8B5CF6; /* بنفش متریال */
    --color-mastercard-light: #A78BFA;
    --color-mastercard-dark: #7C3AED;
    
    --color-other: #14B8A6; /* فیروزه‌ای متریال */
    --color-other-light: #5EEAD4;
    --color-other-dark: #0D9488;
    
    --secondary-color: #059669;
    --secondary-light: #10B981;
    --accent-color: #DC2626;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    --accent-blue: #3B82F6;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --bg-primary: #ffffff;
    --bg-secondary: #F9FAFB;
    --bg-dark: #0F172A;
    --border-color: #E5E7EB;
    --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);
}

@font-face {
    font-family: 'Yekan';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Iran';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/samim-font@v4.0.2/dist/Samim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Yekan', 'Iran', 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    direction: rtl;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(239, 68, 68, 0.2);
    direction: rtl;
    box-sizing: border-box;
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    direction: rtl;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #EF4444;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #EF4444, #F59E0B);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Iran', 'Yekan', 'Vazir', sans-serif;
    letter-spacing: 0.3px;
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #DC2626, #D97706);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.6);
}

.btn-outline {
    background: transparent;
    color: #EF4444;
    border: 2px solid #EF4444;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    color: white;
    border-color: #EF4444;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EF4444 0%, #F59E0B 30%, #3B82F6 60%, #8B5CF6 100%);
    z-index: -2;
    animation: gradient-shift-bg 15s ease infinite;
    background-size: 200% 200%;
    overflow: hidden;
    max-width: 100%;
}

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

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.svg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.hero-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
    top: -200px;
    right: -200px;
}

.hero-decoration:nth-child(2) {
    bottom: -200px;
    left: -200px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem 0;
    direction: rtl;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-shape {
        display: none;
    }
    
    .hero {
        padding-bottom: 2rem;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #EF4444, #F59E0B, #3B82F6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
    background-size: 300% 300%;
    text-shadow: none;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-shape {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--bg-primary);
    border-radius: 50% 50% 0 0;
    z-index: -1;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header .btn {
    margin-top: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* رنگ‌های مخصوص هر خدمت */
.service-exam {
    background-image: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-exam);
}

.service-exam:hover {
    border-color: var(--color-exam);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.service-exam .service-icon {
    background: linear-gradient(135deg, var(--color-exam), var(--color-exam-light));
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.service-exam .service-price {
    color: var(--color-exam);
}

.service-exam::before {
    background: linear-gradient(90deg, var(--color-exam), var(--color-exam-light));
}

.service-exam .service-features i {
    color: var(--color-exam);
}

.service-embassy {
    background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-embassy);
}

.service-embassy:hover {
    border-color: var(--color-embassy);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.service-embassy .service-icon {
    background: linear-gradient(135deg, var(--color-embassy), var(--color-embassy-light));
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.service-embassy .service-price {
    color: var(--color-embassy);
}

.service-embassy::before {
    background: linear-gradient(90deg, var(--color-embassy), var(--color-embassy-light));
}

.service-embassy .service-features i {
    color: var(--color-embassy);
}

.service-giftcard {
    background-image: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-giftcard);
}

.service-giftcard:hover {
    border-color: var(--color-giftcard);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.service-giftcard .service-icon {
    background: linear-gradient(135deg, var(--color-giftcard), var(--color-giftcard-light));
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.service-giftcard .service-price {
    color: var(--color-giftcard);
}

.service-giftcard::before {
    background: linear-gradient(90deg, var(--color-giftcard), var(--color-giftcard-light));
}

.service-giftcard .service-features i {
    color: var(--color-giftcard);
}

.service-apply {
    background-image: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-apply);
}

.service-apply:hover {
    border-color: var(--color-apply);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.service-apply .service-icon {
    background: linear-gradient(135deg, var(--color-apply), var(--color-apply-light));
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.service-apply .service-price {
    color: var(--color-apply);
}

.service-apply::before {
    background: linear-gradient(90deg, var(--color-apply), var(--color-apply-light));
}

.service-apply .service-features i {
    color: var(--color-apply);
}

.service-paypal {
    background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-paypal);
}

.service-paypal:hover {
    border-color: var(--color-paypal);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.service-paypal .service-icon {
    background: linear-gradient(135deg, var(--color-paypal), var(--color-paypal-light));
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.service-paypal .service-price {
    color: var(--color-paypal);
}

.service-paypal::before {
    background: linear-gradient(90deg, var(--color-paypal), var(--color-paypal-light));
}

.service-paypal .service-features i {
    color: var(--color-paypal);
}

.service-mastercard {
    background-image: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-mastercard);
}

.service-mastercard:hover {
    border-color: var(--color-mastercard);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
}

.service-mastercard .service-icon {
    background: linear-gradient(135deg, var(--color-mastercard), var(--color-mastercard-light));
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.service-mastercard .service-price {
    color: var(--color-mastercard);
}

.service-mastercard::before {
    background: linear-gradient(90deg, var(--color-mastercard), var(--color-mastercard-light));
}

.service-mastercard .service-features i {
    color: var(--color-mastercard);
}

.service-other {
    background-image: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-other);
}

.service-other:hover {
    border-color: var(--color-other);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

.service-other .service-icon {
    background: linear-gradient(135deg, var(--color-other), var(--color-other-light));
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}

.service-other .service-price {
    color: var(--color-other);
}

.service-other::before {
    background: linear-gradient(90deg, var(--color-other), var(--color-other-light));
}

.service-other .service-features i {
    color: var(--color-other);
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: 0.4s ease;
}

.service-exam:hover::after {
    background: linear-gradient(to right, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    opacity: 1;
    width: 100%;
}

.service-embassy:hover::after {
    background: linear-gradient(to right, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-giftcard:hover::after {
    background: linear-gradient(to right, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-apply:hover::after {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-paypal:hover::after {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-mastercard:hover::after {
    background: linear-gradient(to right, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-other:hover::after {
    background: linear-gradient(to right, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-orange), #F97316);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1.15) rotate(10deg) translateY(0);
    }
    50% {
        transform: scale(1.2) rotate(10deg) translateY(-5px);
    }
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    background: inherit;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon::after {
    opacity: 0.5;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    direction: rtl;
    text-align: right;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--secondary-color);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price-value {
    font-weight: 800;
    transition: color 0.3s ease;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(245, 158, 11, 0.02) 50%, rgba(59, 130, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* رنگ‌های مخصوص هر Feature */
.feature-speed {
    border-left: 4px solid #EF4444;
}

.feature-speed .feature-icon {
    background: linear-gradient(135deg, #EF4444, #F87171);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.feature-speed:hover {
    border-color: #EF4444;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.feature-speed::before {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.feature-security {
    border-left: 4px solid #10B981;
}

.feature-security .feature-icon {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.feature-security:hover {
    border-color: #10B981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.feature-security::before {
    background: linear-gradient(90deg, #10B981, #34D399);
}

.feature-support {
    border-left: 4px solid #3B82F6;
}

.feature-support .feature-icon {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.feature-support:hover {
    border-color: #3B82F6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.feature-support::before {
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.feature-price {
    border-left: 4px solid #F59E0B;
}

.feature-price .feature-icon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.feature-price:hover {
    border-color: #F59E0B;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.feature-price::before {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.feature-guarantee {
    border-left: 4px solid #EC4899;
}

.feature-guarantee .feature-icon {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.feature-guarantee:hover {
    border-color: #EC4899;
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.feature-guarantee::before {
    background: linear-gradient(90deg, #EC4899, #F472B6);
}

.feature-access {
    border-left: 4px solid #8B5CF6;
}

.feature-access .feature-icon {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.feature-access:hover {
    border-color: #8B5CF6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-access::before {
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.25rem;
    color: white;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    animation: bounce-icon 0.6s ease;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: scale(1.15) rotate(10deg) translateY(0);
    }
    50% {
        transform: scale(1.2) rotate(10deg) translateY(-5px);
    }
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(239, 68, 68, 0.02) 50%, rgba(245, 158, 11, 0.03) 100%);
    position: relative;
    overflow: visible;
}

.testimonials .container {
    overflow: visible;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.testimonials-swiper {
    padding: 2rem 0 4rem;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.testimonials-swiper .swiper-wrapper {
    padding-top: 2rem;
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    min-height: 320px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 0 0 0 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EF4444, #3B82F6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Yekan', 'Iran', 'Vazir', sans-serif;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #FBBF24;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    position: relative;
    padding-right: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(239, 68, 68, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-service {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    margin-top: auto;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.testimonial-service i {
    color: #EF4444;
}

/* Swiper Navigation */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #EF4444;
    transition: all 0.3s ease;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.testimonials-swiper .swiper-button-next {
    left: -25px;
    right: auto;
}

.testimonials-swiper .swiper-button-prev {
    right: -25px;
    left: auto;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #EF4444, #3B82F6);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 2rem;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(239, 68, 68, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #EF4444, #3B82F6);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
        overflow: visible;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        min-height: 280px;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .testimonial-rating {
        align-self: flex-start;
    }
    
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }
    
    .testimonials-swiper {
        padding: 1rem 0 3rem;
        overflow: visible;
    }
    
    .testimonials-swiper .swiper-wrapper {
        padding-top: 1rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    color: var(--text-secondary);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--accent-pink));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

/* Blog Preview Section */
.blog-preview {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.blog-preview .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card-preview {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.blog-card-preview:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.blog-image-preview {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-image-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card-preview:hover .blog-image-preview::after {
    opacity: 1;
}

.blog-content-preview {
    padding: 1.5rem;
}

.blog-meta-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.blog-meta-preview span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content-preview h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.blog-content-preview p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Contact Section - Professional Design */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(245, 158, 11, 0.03) 50%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.contact-simple {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-graphic-box {
    width: 100%;
    max-width: 320px;
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 40px rgba(91, 33, 182, 0.12);
    position: relative;
    overflow: hidden;
}

.contact-graphic-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 33, 182, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.contact-svg {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(91, 33, 182, 0.2));
}

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

.contact-info-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-simple {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-item-simple {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: right;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.contact-item-simple::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #EF4444, #F59E0B);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.contact-item-simple:hover::before {
    transform: scaleY(1);
}

.contact-item-simple:hover {
    transform: translateX(-8px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.2);
}

.contact-icon-simple {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    position: relative;
    transition: all 0.4s ease;
}

.contact-item-simple:hover .contact-icon-simple {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

.icon-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

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

.contact-details-simple h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.contact-main-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #EF4444;
    margin-bottom: 0.25rem;
    direction: ltr;
    text-align: right;
}

.contact-sub-value {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.contact-social-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link-simple:hover::before {
    opacity: 1;
}

.social-link-simple i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.social-link-simple:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-link-simple span {
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.social-link-simple:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    border-color: #EF4444;
}

.contact-action {
    text-align: center;
    margin-top: 2rem;
    grid-column: 1 / -1;
}

.contact-cta-btn {
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #EF4444, #F59E0B);
}

.contact-cta-btn:hover {
    background: linear-gradient(135deg, #DC2626, #D97706);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5);
}

.contact-cta-btn i:last-child {
    margin-right: 0;
    margin-left: 0.75rem;
    transition: transform 0.3s ease;
}

.contact-cta-btn:hover i:last-child {
    transform: translateX(-5px);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(91, 33, 182, 0.3);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(91, 33, 182, 0.5);
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    direction: rtl;
    text-align: right;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    direction: rtl;
    text-align: right;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* OTP Specific Styles */
.otp-step {
    animation: fadeIn 0.3s ease;
}

.otp-info {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(139, 92, 246, 0.1));
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.otp-info p {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.otp-info strong {
    color: var(--primary-color);
    font-weight: 700;
}

.change-phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.change-phone-link:hover {
    text-decoration: underline;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.otp-code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 700;
    padding: 1rem;
    max-width: 200px;
    direction: ltr;
}

.otp-timer {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.otp-timer span {
    color: var(--text-secondary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

#resendOtpLink {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#resendOtpLink:hover {
    text-decoration: underline;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #EF4444, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #EF4444, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #EF4444, #8B5CF6);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
    padding-right: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social .social-link:hover {
    background: linear-gradient(135deg, #EF4444, #8B5CF6);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .blog-grid-preview {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    min-width: 350px;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #EF4444, #8B5CF6);
}

.toast.success::before {
    background: linear-gradient(180deg, #10B981, #059669);
}

.toast.warning::before {
    background: linear-gradient(180deg, #F59E0B, #D97706);
}

.toast.error::before {
    background: linear-gradient(180deg, #EF4444, #DC2626);
}

.toast.info::before {
    background: linear-gradient(180deg, #3B82F6, #2563EB);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(139, 92, 246, 0.1));
    color: #EF4444;
}

.toast.success .toast-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    color: #10B981;
}

.toast.warning .toast-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    color: #F59E0B;
}

.toast.error .toast-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #EF4444;
}

.toast.info .toast-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    color: #3B82F6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.toast-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.05);
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }

    .blog-preview .section-header {
        flex-direction: column;
        text-align: center;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card:hover {
        transform: translateY(-8px) scale(1);
    }

    .contact-info-simple {
        grid-template-columns: 1fr;
    }

    .contact-action .btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .contact-simple {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        order: -1;
    }

    .contact-graphic-box {
        max-width: 100%;
    }
}

/* Smooth Scroll */
/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

