* {
            font-family: 'Vazirmatn', sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        .hero-gradient {
            background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
        }
        
        .glass-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .service-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }
        
        .service-card.active {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
        }
        
        .float-animation {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        .pulse-ring {
            animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        
        @keyframes pulse-ring {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease-out forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .eye-pattern {
            background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
            background-size: 60px 60px;
        }
        
        .testimonial-card {
            position: relative;
            overflow: hidden;
        }
        
        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -20px;
            right: 20px;
            font-size: 120px;
            color: rgba(14, 165, 233, 0.1);
            font-family: Georgia, serif;
            line-height: 1;
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #10b981, #0ea5e9);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .contact-input {
            transition: all 0.3s ease;
        }
        
        .contact-input:focus {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.5);
        }
        
        .stat-number {
            background: linear-gradient(135deg, #0ea5e9, #10b981);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .tab-btn {
            transition: all 0.3s ease;
            position: relative;
        }
        
        .tab-btn::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #0ea5e9, #10b981);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .tab-btn.active::after {
            transform: scaleX(1);
        }
        
        .tab-btn.active {
            color: #0ea5e9;
            background: rgba(14, 165, 233, 0.05);
        }
        
        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease-out;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .modal-overlay {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
        }
        
        .modal-content {
            animation: modalSlideIn 0.4s ease-out;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* Horizontal scrollbar for category tabs */
        .overflow-x-auto::-webkit-scrollbar {
            height: 4px;
        }

        .overflow-x-auto::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        .overflow-x-auto::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
        }

        .overflow-x-auto::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        .category-tab {
            transition: all 0.3s ease;
            position: relative;
        }

        .category-tab::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #0ea5e9, #10b981);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .category-tab.active::after {
            transform: scaleX(1);
        }

        .category-tab.active {
            color: #0ea5e9;
            background: rgba(14, 165, 233, 0.05);
        }

        .service-group {
            display: none;
        }

        .service-group.active {
            display: grid;
        }

        /* Mobile viewport fix */
        @media (max-width: 768px) {
            .modal-wrapper {
                min-height: 100vh;
                min-height: calc(var(--vh, 1vh) * 100);
            }

            .modal-content {
                height: calc(var(--vh, 1vh) * 100);
            }

            .modal-scrollable {
                max-height: calc(var(--vh, 1vh) * 100 - 280px);
            }
        }

        @media (min-width: 769px) {
            .modal-wrapper {
                min-height: 100vh;
            }

            .modal-scrollable {
                max-height: calc(90vh - 200px);
            }
        }

.article-card { transition: transform .3s ease, box-shadow .3s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .25); }
.article-content { color: #475569; line-height: 2; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { color: #0f172a; font-weight: 800; margin: 2rem 0 1rem; line-height: 1.55; }
.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.55rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content p { margin: 1rem 0; }
.article-content ul, .article-content ol { margin: 1rem 0; padding-right: 1.5rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin: .5rem 0; }
.article-content strong { color: #1e293b; }
.article-content blockquote { border-right: 4px solid #0ea5e9; background: #f0f9ff; padding: 1rem 1.25rem; border-radius: .75rem; margin: 1.5rem 0; }
.article-content a { color: #0284c7; text-decoration: underline; }
.article-content code { direction: ltr; display: inline-block; background: #f1f5f9; padding: .1rem .35rem; border-radius: .35rem; }
.article-content pre { direction: ltr; text-align: left; background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: .75rem; overflow: auto; }
.flash-message { animation: fadeIn .35s ease-out; }
.form-error { color: #dc2626; font-size: .8rem; margin-top: .35rem; }
