:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    transition: all 0.3s ease;
}

body {
    font-family: 'Vazirmatn UI', 'Tahoma', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}
h1 {
    font-size: 2rem !important;
}
/* Navbar Styles */
.navbar {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}



.nav-link {
    color: #4b5563 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--primary-color) !important;
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

/* Hero Section */
.hero-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

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

/* Category Section */
.category-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    animation: fadeIn 0.6s ease;
}

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

.category-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Project Cards */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    overflow: hidden;
    border-radius: 16px !important;
    background: white;
    box-shadow: var(--shadow-sm);
}



.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.project-name {
    color: #1f2937;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Progress Bar */
.progress-custom {
    height: 10px;
    border-radius: 10px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.bg-gradient-success {
    background: var(--gradient-success) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Price Box */
.price-box {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.price-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.price-badge {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
}

/* Supporters Badge */
.supporters-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Support Button */
.support-btn {
    background: var(--gradient-warm);
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Empty State */
.empty-state {
    background: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-md);
}

.empty-icon {
    font-size: 5rem;
    color: #d1d5db;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .category-section {
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
.category-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px !important;
    background: white;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}



.category-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.category-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.category-name {
    color: #1f2937;
    font-size: 1.3rem;
    line-height: 1.4;
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

.category-header-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.category-header-image {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

.breadcrumb-item.active {
    color: #6b7280;
}


/* Home Header Styles */
.home-header-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.home-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-header-overlay .hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-text-fill-color: white;
    background: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .home-header-wrapper {
        height: 300px;
    }

    .home-header-overlay .hero-title {
        font-size: 2rem;
    }

    .home-header-overlay .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .home-header-wrapper {
        height: 250px;
    }

    .home-header-overlay .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem !important;
    }

    .home-header-overlay .lead {
        font-size: 0.9rem;
    }

    .category-image-wrapper {
        height: 200px;
    }

    .category-name {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .home-header-wrapper {
        height: 500px;
    }
}
.min-height-800 {
    min-height: 800px;
}
.num-left {
    text-align: left;
    direction: ltr;
}