  
        body { 
            font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
            scroll-behavior: smooth;

            background-color: #000000 ; 
        }
        
        /* Optimized Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .animate-fade-up {
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        
        .animate-slide-right {
            animation: slideInRight 0.6s ease-out forwards;
        }
        
        .animate-scale {
            animation: scaleIn 0.5s ease-out forwards;
        }
        
        /* Intersection Observer lazy loading */
        .lazy-load {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease-out;
        }
        
        .lazy-load.loaded {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #d4a84b;
            border-radius: 5px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #b88a2e;
        }
        
        /* Glassmorphism Effect */
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Hover Effects */
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        /* Shimmer Effect */
        .shimmer {
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        
        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(135deg, #d4a84b 0%, #f3c26b 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        /* Responsive Typography */
        @media (max-width: 768px) {
            h1 { font-size: 2rem !important; }
            h2 { font-size: 1.5rem !important; }
        }
        
        /* Loading Spinner */
        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(212, 168, 75, 0.3);
            border-top-color: #d4a84b;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Image Optimizations */
        img {
            max-width: 100%;
            height: auto;
        }
        
        /* Smooth Transitions */
        a, button, .transition-all {
            transition: all 0.3s ease;
        }
        
        /* RTL Specific */
        [dir="rtl"] .space-x-reverse > :not([hidden]) ~ :not([hidden]) {
            --tw-space-x-reverse: 1;
        }
        
        /* Mobile Menu - Hidden by default */
        .mobile-menu {
            display: none;
        }
        
        .menu-overlay {
            display: none;
        }
        
        /* Responsive Navigation */
        @media (max-width: 1024px) {
            .mobile-menu {
                display: none !important;
                position: fixed;
                top: 0;
                left: -100%;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: white;
                z-index: 1001;
                transition: left 0.3s ease;
                box-shadow: 4px 0 20px rgba(0,0,0,0.15);
                overflow-y: auto;
                padding-top: 20px;
            }
            
            .mobile-menu.active {
                display: block !important;
                left: 0;
            }
            
            .menu-overlay {
                display: none !important;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,0.5);
                z-index: 999;
            }
            
            .menu-overlay.active {
                display: block !important;
            }
        }
        
        /* Stats Counter Animation */
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #d4a84b;
        }
        
        /* Card Styles */
        .card-hover {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.2);
        }
        
        /* Button Styles */
        .btn-primary {
            background: linear-gradient(135deg, #d4a84b 0%, #b88a2e 100%);
            color: white;
            padding: 10px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(212, 168, 75, 0.3);
        }
        
        .btn-primary:active {
            transform: translateY(0);
        }

        @media (min-width: 1024px) {
            .btn-primary {
                padding: 12px 28px;
                font-size: 15px;
            }
        }

        @media (min-width: 1280px) {
            .btn-primary {
                padding: 12px 32px;
                font-size: 16px;
            }
        }
        
        /* Afghan Pattern Overlay */
        .afghan-pattern-bg {
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a84b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }


        /* Afghan Cultural Patterns */
.afghan-border {
    border-image: repeating-linear-gradient(
        45deg,
        #d4a84b,
        #d4a84b 10px,
        #1a5632 10px,
        #1a5632 20px
    ) 30;
    border-width: 3px 0;
}

/* Traditional Afghan Motif */
.afghan-motif::before {
    content: "✿";
    position: absolute;
    font-size: 2rem;
    color: #d4a84b;
    opacity: 0.1;
    pointer-events: none;
}

/* Responsive Video Embeds */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============ RESPONSIVE STYLES ============ */

/* Mobile First Base Styles */
* {
    box-sizing: border-box;
}

/* Extra Small Devices */
@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 720px;
    }
}

/* Large Devices (Desktops) */
@media (min-width: 1024px) {
    .container {
        max-width: 1140px;
    }
}

/* Extra Large Devices */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* ============ GRID RESPONSIVE ============ */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============ SPACING RESPONSIVE ============ */
@media (max-width: 767px) {
    .py-16 { padding-top: 3rem; padding-bottom: 3rem; }
    .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
    .py-24 { padding-top: 3rem; padding-bottom: 3rem; }
    .mb-8 { margin-bottom: 1.5rem; }
    .mb-12 { margin-bottom: 2rem; }
    .gap-8 { gap: 1.5rem; }
}

/* ============ FLEXBOX RESPONSIVE ============ */
@media (max-width: 767px) {
    .flex-col { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    
    .justify-between {
        justify-content: center;
    }
}

/* ============ NAVIGATION RESPONSIVE ============ */
@media (max-width: 1023px) {
    .desktop-menu {
        display: none !important;
    }
    
    header nav {
        position: relative;
    }
    
    .nav-links {
        display: none;
    }
}

@media (min-width: 1024px) {
    .desktop-menu {
        display: flex !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}

/* ============ HEADER RESPONSIVE ============ */
@media (max-width: 767px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ============ HERO SECTION ============ */
@media (max-width: 767px) {
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section p {
        font-size: 1rem !important;
    }
}

/* ============ CARDS ============ */
@media (max-width: 575px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ============ FORMS ============ */
@media (max-width: 575px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ============ IMAGES ============ */
@media (max-width: 767px) {
    img {
        height: auto;
    }
    
    .object-cover {
        object-fit: cover;
    }
}

/* ============ BUTTONS ============ */
@media (max-width: 575px) {
    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ============ TABLES RESPONSIVE ============ */
@media (max-width: 767px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    thead, tbody, th, td, tr {
        display: block;
    }
    
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    tr {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}

/* ============ FOOTER ============ */
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        text-align: center;
    }
    
    footer .flex {
        justify-content: center;
    }
}

/* ============ SECTIONS ============ */
@media (max-width: 767px) {
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* ============ FIXED ELEMENTS ============ */
@media (max-width: 767px) {
    .fixed {
        position: relative;
    }
    
    .sticky {
        position: relative;
    }
}

/* ============ UTILITY CLASSES ============ */
.hidden { display: none; }

@media (max-width: 767px) {
    .mobile-hidden { display: none; }
}

@media (min-width: 768px) {
    .desktop-hidden { display: none; }
}

/* ============ TOUCH OPTIMIZATION ============ */
@media (hover: none) {
    .hover\:hover:hover {
        /* Disable hover effects on touch devices */
    }
    
    a, button {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ============ SCROLLBAR ============ */
@media (max-width: 767px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

/* ============ PADDING & MARGIN UTILITIES ============ */
@media (max-width: 767px) {
    .p-4 { padding: 0.75rem; }
    .p-6 { padding: 1rem; }
    .m-4 { margin: 0.5rem; }
    .m-6 { margin: 1rem; }
}

/* ============ BOX SHADOW ============ */
@media (max-width: 767px) {
    .shadow-lg, .shadow-xl {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

/* ============ TEXT RESPONSIVE ============ */
@media (max-width: 575px) {
    .text-xs { font-size: 0.75rem; }
    .text-sm { font-size: 0.875rem; }
    .text-base { font-size: 1rem; }
    .text-lg { font-size: 1.125rem; }
    .text-xl { font-size: 1.25rem; }
    .text-2xl { font-size: 1.5rem; }
    .text-3xl { font-size: 1.75rem; }
    .text-4xl { font-size: 2rem; }
    .text-5xl { font-size: 2.5rem; }
}

/* ============ WIDTH & HEIGHT ============ */
@media (max-width: 767px) {
    .w-full { width: 100%; }
    .h-auto { height: auto; }
    .min-h-screen { min-height: auto; }
}

/* ============ DISPLAY UTILITIES ============ */
@media (max-width: 767px) {
    .block { display: block; }
    .inline-block { display: inline-block; }
    .flex { display: flex; }
    .grid { display: grid; }
}

/* ============ HORIZONTAL SCROLL FIX ============ */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Fix for Tailwind grid causing horizontal scroll */
.grid {
    width: 100%;
}

/* Force horizontal scroll to be hidden */
body.overflow-x-hidden {
    overflow-x: hidden !important;
}

/* ============ DARK MODE STYLES ============ */
.dark {
    color-scheme: dark;
}

.dark body {
    background-color: #111827;
    color: #f3f4f6;
}

.dark .bg-white {
    background-color: #1f2937;
}

.dark .bg-gray-50 {
    background-color: #111827;
}

.dark .bg-gray-100 {
    background-color: #1f2937;
}

.dark .bg-gray-200 {
    background-color: #374151;
}

.dark .text-gray-800 {
    color: #f3f4f6;
}

.dark .text-gray-700 {
    color: #e5e7eb;
}

.dark .text-gray-600 {
    color: #d1d5db;
}

.dark .text-gray-500 {
    color: #9ca3af;
}

.dark .text-gray-400 {
    color: #9ca3af;
}

.dark .border-gray-100 {
    border-color: #374151;
}

.dark .border-gray-200 {
    border-color: #374151;
}

.dark .border-gray-300 {
    border-color: #4b5563;
}

.dark .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.dark .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.dark input,
.dark textarea,
.dark select {
    background-color: #374151;
    border-color: #4b5563;
    color: #f3f4f6;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #9ca3af;
}

.dark .card {
    background-color: #1f2937;
    border-color: #374151;
}

.dark .hover\:bg-gray-50:hover {
    background-color: #374151;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Mobile menu dark mode */
@media (max-width: 1024px) {
    .dark .mobile-menu {
        background-color: #1f2937;
    }
    
    .dark .menu-overlay {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

/* Dark mode for common elements */
.dark .from-gray-900 {
    --tw-gradient-from: #111827;
}

.dark .to-black {
    --tw-gradient-to: #000000;
}

.dark .bg-gray-800\/50 {
    background-color: rgba(31, 41, 55, 0.5);
}

.dark .bg-gray-800\/30 {
    background-color: rgba(31, 41, 55, 0.3);
}



/* Full Width Map Styles */
.map-container-full {
    width: 100%;
    position: relative;
    background-color: #1a1a2e;
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Dark mode map container */
.dark .map-container-full {
    background-color: #0a0a1a;
}

/* Responsive Map Heights */
@media (max-width: 768px) {
    .map-container-full {
        height: 350px !important;
    }
}

@media (max-width: 640px) {
    .map-container-full {
        height: 300px !important;
    }
}

/* Full Width Map Container */
.map-container-full {
    width: 100%;
    position: relative;
    background-color: #e9ecef;
}

.map-container-full iframe {
    display: block;
}

.dark .map-container-full {
    background-color: #1a1a2e;
}

/* Location Badge Animation */
.absolute.bottom-4 .inline-flex {
    transition: transform 0.2s ease;
}

.absolute.bottom-4 .inline-flex:hover {
    transform: translateY(-2px);
}

