 @font-face {
            font-family: 'Iran Yekan';
            src: url('iranyekan/IRANYekanWebRegular.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }
        
        @font-face {
            font-family: 'Iran Yekan';
            src: url('iranyekan/IRANYekanWebBold.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }
        
        @font-face {
            font-family: 'Iran Yekan';
            src: url('iranyekan/IRANYekanWebMedium.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }
        
        @font-face {
            font-family: 'Iran Yekan';
            src: url('iranyekan/IRANYekanWebLight.woff2') format('woff2');
            font-weight: 300;
            font-style: normal;
            font-display: swap;
        }
        
        /* Performance: Reduce layout shifts */
        img {
            content-visibility: auto;
        }
        
        :root {
            --primary: #1e3a8a;
            --secondary: #ffffff;
            --accent: #f4a261;
            --text-primary: #1e3a8a;
            --text-secondary: #6b7280;
            --text-light: #9ca3af;
            --border: #e5e7eb;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        /* Sharp Duotone Icon Color Variables */
        :root {
            /* Menu icons: Navy blue primary, gray accent */
            --menu-icon-primary: #1e3a8a;
            --menu-icon-secondary: #6b7280;
        }
        
        
        body {
            font-family: 'Iran Yekan', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--secondary);
            color: var(--text-primary);
            line-height: 1.6;
        }
        

/* سایز فونت برای موبایل */
h1 {
    font-size: 1.75rem; /* 28px */
}
h2 {
    font-size: 1.5rem; /* 24px */
            margin: 1rem 0;
}
h3 {
    font-size: 1.25rem; /* 20px */
            margin: 1rem 0;
}
h4 {
    font-size: 1.125rem; /* 18px */
}
h5 {
    font-size: 1rem; /* 16px */
}
h6 {
    font-size: 0.875rem; /* 14px */
}

/* استایل برای دسکتاپ */
@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem; /* 40px */
        margin-bottom: 1.5rem;
    }
    h2 {
        font-size: 2rem; /* 32px */
        margin: 1rem 0;
    }
    h3 {
        font-size: 1.75rem; /* 28px */
         margin: 1rem 0;
    }
    h4 {
        font-size: 1.5rem; /* 24px */
    }
    h5 {
        font-size: 1.25rem; /* 20px */
    }
    h6 {
        font-size: 1rem; /* 16px */
    }
}

        
        .gradient-bg {
            background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
        }
        
        .service-card {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border);
            background: white;
        }
        
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent);
        }
        
        .icon-container {
            background: var(--primary);
            color: white;
        }
        
        .exchange-card {
            background: white;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }
        
        .exchange-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .nav-link {
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }

        /* Mobile nav active underline */
        .nav-link.mobile-active::after {
            width: 100%;
        }

        /* Fine-tune line-height for services section title (mobile-first) */
        .services-title {
            line-height: 1.4;
        }
        @media (min-width: 768px) {
            .services-title {
                line-height: 1.35;
            }
        }

        /* Mobile submenu background */
        #mobile-nav .submenu {
            background-color: rgba(30, 58, 138, 0.04);
            border-radius: 0.5rem;
            margin-top: 0;
            margin-bottom: 0;
            padding: 0 0.75rem;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-4px);
            transition: max-height 300ms ease, opacity 200ms ease, transform 200ms ease, margin 200ms ease, padding 200ms ease;
        }

        #mobile-nav .submenu.open {
            max-height: 700px;
            opacity: 1;
            transform: translateY(0);
            margin-top: 0.75rem;
            margin-bottom: 0.25rem;
            padding: 0.5rem 0.75rem 0.75rem 0.75rem;
        }
        
        /* آخرین submenu وقتی باز است، padding-bottom بیشتری داشته باشد */
        #mobile-nav .has-submenu:last-child .submenu.open {
            margin-bottom: 0.5rem;
        }
        
        /* فاصله ساب‌منوی باز نسبت به آیتم بعدی (حداقل) */
        #mobile-nav .has-submenu:not(:last-child) .submenu.open {
            margin-bottom: 0.5rem;
        }
        
        .hero-title {
            background: linear-gradient(135deg, white, #e0e7ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        
        .pulse-animation {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .text-gradient {
            background: linear-gradient(135deg, var(--accent), #2563eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--accent), #2563eb);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
        }
        
        .btn-secondary {
            background: white;
            color: var(--accent);
            border: 2px solid var(--accent);
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .btn-secondary:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-2px);
        }
        
        .exchange-table {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        
        .exchange-table th {
            background: linear-gradient(135deg, var(--primary), #1e40af);
            color: white;
            padding: 16px;
            font-weight: 600;
            text-align: center;
        }
        
        .exchange-table td {
            padding: 16px;
            text-align: center;
            border-bottom: 1px solid var(--border);
            transition: all 0.3s ease;
        }
        
        .exchange-table tr:hover td {
            background: #f8fafc;
        }
        
        .currency-rate {
            font-weight: 700;
            font-size: 18px;
        }
        
        .currency-change-positive {
            color: var(--success);
            font-weight: 600;
        }
        
        .currency-change-negative {
            color: var(--danger);
            font-weight: 600;
        }
        
        .currency-time {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .currency-flag {
            width: 24px;
            height: 16px;
            border-radius: 2px;
            display: inline-block;
            margin-left: 8px;
        }
        
        .flag-usd { background: linear-gradient(to bottom, #b22234 33%, white 33%, white 66%, #b22234 66%); }
        .flag-eur { background: linear-gradient(to bottom, #003399 33%, #ffcc00 33%, #ffcc00 66%, #003399 66%); }
        .flag-gbp { background: linear-gradient(45deg, #012169 25%, white 25%, white 50%, #c8102e 50%, #c8102e 75%, white 75%); }
        .flag-aed { background: linear-gradient(to bottom, #ff0000 33%, white 33%, white 66%, #000000 66%); }
        .flag-cny { background: linear-gradient(to bottom, #de2910 50%, #de2910 50%); }
        
        /* Mobile Menu Animations */
        #mobile-nav {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.3s ease,
                        padding 0.4s ease;
        }
        
        #mobile-nav.menu-open {
            max-height: calc(100vh - 64px);
            opacity: 1;
            padding-bottom: 1rem;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }

        /* Lock page scroll when mobile menu is open */
        body.mobile-nav-open {
            overflow: hidden;
            touch-action: none;
        }
        
        /* Mobile nav icons styling - no background, navy blue color, ensure horizontal layout */
        #mobile-nav .nav-link {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
        }
        
        #mobile-nav .nav-link img,
        #mobile-nav button img[style*="filter"] {
            width: 16px !important;
            height: 16px !important;
            padding: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
            display: inline-block !important;
        }
        
        #mobile-nav button > div {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
        }
        
        
        /* Mobile Services Layout */
        @media (max-width: 768px) {
            /* Remove background for service icons (except Hub) */
            .container-card .w-24 {
                display: flex !important;
                width: 32px !important;
                height: 32px !important;
                margin-bottom: 0.75rem !important;
                background: transparent !important;
                box-shadow: none !important;
            }
            .container-card .w-24 img {
                filter: invert(17%) sepia(91%) saturate(1748%) hue-rotate(208deg) brightness(93%) contrast(91%) !important;
            }
            .container-card .relative.z-10 {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }
            .container-card h3 {
                font-size: 1rem;
                margin-bottom: 0.5rem;
            }
            .container-card p {
                font-size: 0.875rem;
                margin-bottom: 0.75rem !important;
                line-clamp: 2;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .container-card {
                padding: 1rem !important;
            }
        }
        
        /* Hub card mobile layout */
        .hub-card-mobile {
            min-height: 250px;
        }
        @media (max-width: 768px) {
            .hub-card-mobile .relative.z-10.flex.items-center {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 1rem !important;
            }
            .hub-card-mobile .w-24 {
                display: flex !important;
                width: 50px !important;
                height: 50px !important;
                border-radius: 50% !important;
            }
            .hub-card-mobile .w-24 img {
                filter: invert(1) !important;
            }
            .hub-card-mobile .flex.items-center.text-white span {
                display: none !important;
            }
            .hub-card-mobile .flex.items-center.text-white img {
                margin-left: 0 !important;
            }
        }
        
        /* Submenu Animations */
        .submenu {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.25s ease,
                        margin-top 0.3s ease;
        }
        
        .submenu.open {
            max-height: 550px;
            opacity: 1;
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        /* Create real spacing for open submenus by adding margin on the parent item */
        #mobile-nav .has-submenu.submenu-open {
            margin-bottom: 0.5rem;
        }
        /* Modern browsers: ensure spacing even without JS class */
        #mobile-nav .has-submenu:has(> .submenu.open) {
            margin-bottom: 0.5rem;
        }
        /* Remove underline decoration for mobile nav links */
        #mobile-nav .nav-link::after {
            display: none;
        }
        
        /* Unify size (height/typography/padding) of mobile menu items */
        #mobile-nav .has-submenu > button,
        #mobile-nav a.nav-link {
            font-size: 1rem;           /* text-base */
            line-height: 1.5rem;       /* 24px for consistent height */
            padding-top: 0.625rem;     /* py-2.5 */
            padding-bottom: 0.625rem;
        }
        
        /* Chevron rotation animation */
        .submenu-chevron {
            transition: transform 0.3s ease;
        }
        
        .submenu-chevron.rotate {
            transform: rotate(180deg);
        }
        
        /* Responsive Design */
        @media (max-width: 1024px) {
            .max-w-7xl {
                max-width: 100%;
                padding: 0 1rem;
            }
            
            .grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 {
                grid-template-columns: repeat(1, minmax(0, 1fr));
                gap: 1.5rem;
            }
            
            .exchange-table {
                overflow-x: auto;
            }
            
            .exchange-table table {
                min-width: 600px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
                line-height: 1.2;
            }
            
            .text-4xl.md\\:text-5xl {
                font-size: 2rem;
            }
            
            .py-24 {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
            
            .py-32 {
                padding-top: 4rem;
                padding-bottom: 4rem;
            }
            
            .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
                grid-template-columns: repeat(1, minmax(0, 1fr));
                gap: 1rem;
            }
            
            .service-card {
                padding: 1.5rem;
            }
            
            .exchange-table th,
            .exchange-table td {
                padding: 0.75rem;
                font-size: 0.875rem;
            }
            
            .currency-rate {
                font-size: 1rem;
            }
            
            .btn-primary,
            .btn-secondary {
                padding: 0.75rem 1.5rem;
                font-size: 0.875rem;
                width: 100%;
                margin-bottom: 0.5rem;
            }
        }
        
        @media (max-width: 640px) {
            .px-6 {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .py-6 {
                padding-top: 1rem;
                padding-bottom: 1rem;
            }
            
            .space-x-12.space-x-reverse {
                gap: 1rem;
            }
            
            .nav-link {
                font-size: 0.875rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .text-xl.md\\:text-2xl {
                font-size: 1rem;
            }
            
            .service-card {
                padding: 1rem;
            }
            
            .w-16.h-16 {
                width: 3rem;
                height: 3rem;
            }
            
            .text-2xl {
                font-size: 1.25rem;
            }
            
            .exchange-table th,
            .exchange-table td {
                padding: 0.5rem 0.25rem;
                font-size: 0.75rem;
            }
            
            .currency-rate {
                font-size: 0.875rem;
            }
            
            .currency-time {
                font-size: 0.75rem;
            }
        }
        
        /* Mobile Navigation */
        @media (max-width: 1024px) {
            .hidden.lg\\:block {
                display: none;
            }
            
            .lg\\:hidden {
                display: block;
            }
            
            #mobile-nav {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                border-top: 1px solid var(--border);
                box-shadow: var(--shadow-lg);
                z-index: 40;
            }
            
            #mobile-nav ul {
                flex-direction: column;
                padding: 1rem;
            }
            
            #mobile-nav li {
                margin-bottom: 0.5rem;
            }
            
            #mobile-nav a {
                display: block;
                padding: 0.75rem;
                border-radius: 0.5rem;
                transition: all 0.3s ease;
            }
            
            #mobile-nav a:hover {
                background: var(--secondary);
                color: var(--accent);
            }
        }
        
        /* Performance Optimization for Background Patterns */
        .absolute.inset-0.opacity-3 {
            content-visibility: auto;
            contain: layout style paint;
            will-change: transform;
        }
        
        /* Increase pattern visibility on mobile */
        @media (max-width: 768px) {
            .absolute.inset-0.opacity-3 {
                opacity: 0.75 !important;
            }
        }
        
        /* Footer Responsive */
        @media (max-width: 768px) {
            .lg\\:col-span-1 {
                grid-column: span 1;
            }
            
            .grid.grid-cols-1.lg\\:grid-cols-3 {
                grid-template-columns: repeat(1, minmax(0, 1fr));
                gap: 2rem;
            }
            
            .space-y-6 > * + * {
                margin-top: 1rem;
            }
            
            .bg-white.bg-opacity-10 {
                padding: 1rem;
            }
        }
        
        /* Exchange Table Mobile */
        @media (max-width: 640px) {
            .exchange-table {
                font-size: 0.75rem;
            }
            
            .exchange-table th {
                padding: 0.5rem 0.25rem;
            }
            
            .exchange-table td {
                padding: 0.5rem 0.25rem;
            }
            
            .currency-flag {
                width: 16px;
                height: 12px;
                margin-left: 4px;
            }
        }
        
        /* Better Visual Design */
        .service-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        }
        
        .service-card:hover {
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            border-color: var(--accent);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        .exchange-table {
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        
        .exchange-table th {
            background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
            color: white;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }
        
        .exchange-table tr:nth-child(even) {
            background-color: #f8fafc;
        }
        
        .exchange-table tr:hover {
            background-color: #e0f2fe;
        }
        
        /* Improved Typography */
        .text-gradient {
            background: linear-gradient(135deg, var(--accent), #2563eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }
        
        /* Better Spacing */
        .section-spacing {
            padding: 4rem 0;
        }
        
        @media (max-width: 768px) {
            .section-spacing {
                padding: 2rem 0;
            }
        }
        
        /* Improved Button Design */
        .btn-primary {
            background: linear-gradient(135deg, var(--accent), #2563eb);
            color: white;
            border: none;
            padding: 0.875rem 2rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .btn-primary:hover::before {
            left: 100%;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
        }
        
        .btn-secondary {
            background: white;
            color: var(--accent);
            border: 2px solid var(--accent);
            padding: 0.875rem 2rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        
        .btn-secondary:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        /* Hero Slider */
        .hero-slider {
            position: relative;
            width: 100%;
        }
        
        .slide {
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        .slider-dot.active {
            background: #ffffff !important;
            width: 48px;
        }
        
        .slider-dot {
            cursor: pointer;
        }
        
        .slider-dot:hover {
            background: rgba(255, 255, 255, 0.7) !important;
        }

        /* TGJU Widget Styling */
        .tgju-widget-container {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        }
        
        .tgju-widget-container tgju {
            display: block;
            width: 100%;
        }
        
        /* افزایش ارتفاع ردیف‌ها */
        .tgju-widget-container .tgju-widget-content-row {
            min-height: 72px !important;
            padding: 20px 24px !important;
            transition: background-color 0.2s ease;
        }
        
        /* استایل هدر */
        .tgju-widget-container .tgju-widget-header {
            padding: 18px 24px !important;
            font-weight: 600 !important;
        }
        
        /* استایل عنوان */
        .tgju-widget-container .tgju-widget-title {
            font-size: 15px !important;
            font-weight: 500 !important;
        }
        
        /* استایل قیمت */
        .tgju-widget-container .tgju-widget-price {
            font-size: 17px !important;
            font-weight: 700 !important;
        }
        
        /* استایل زمان */
        .tgju-widget-container .tgju-widget-time {
            font-size: 13px !important;
        }
        
        /* استایل dot */
        .tgju-widget-container .tgju-widget-dot {
            width: 10px !important;
            height: 10px !important;
            border-radius: 50% !important;
        }
        
        /* استایل جدول ویجت */
        .tgju-widget-container .tgju-widget-table {
            width: 100% !important;
            border-collapse: separate !important;
            border-spacing: 0 !important;
        }
        
        .tgju-widget-container .tgju-widget-table tbody tr {
            transition: background-color 0.2s ease !important;
        }
        
        .tgju-widget-container .tgju-widget-table tbody tr td {
            padding: 20px 24px !important;
            vertical-align: middle !important;
        }
        
        .tgju-widget-container .tgju-widget-table thead tr th {
            padding: 18px 24px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
        }
        
        /* استایل عنوان جدول */
        .tgju-widget-container .tgju-widget-table-title,
        .tgju-widget-container .tgju-widget-title-text {
            font-size: 16px !important;
            font-weight: 500 !important;
            color: #1e3a8a !important;
        }
        
        /* حذف سایه */
        .tgju-widget-container {
            box-shadow: none !important;
        }
        
        /* ردیوس برای گوشه‌های پایین جدول */
        .tgju-widget-container .tgju-widget-table {
            border-radius: 16px;
        }
        
        .tgju-widget-container .tgju-widget-table tbody tr:last-child td {
            border-bottom: none !important;
        }
        
        .tgju-widget-container .tgju-widget-table tbody tr:last-child td:first-child {
            border-bottom-right-radius: 16px !important;
        }
        
        .tgju-widget-container .tgju-widget-table tbody tr:last-child td:last-child {
            border-bottom-left-radius: 16px !important;
        }
        
        /* استایل بخش copyright - حذف بوردر بالا */
        .tgju-widget-container .tgju-copyright,
        .tgju-widget-container .tgju-copyright-fix {
            border-top: none !important;
            padding-top: 16px !important;
            margin-top: 0 !important;
            box-shadow: none !important;
        }
        
        .tgju-widget-container .tgju-copyright a,
        .tgju-widget-container .tgju-copyright-fix a {
            color: #6b7280 !important;
            text-decoration: none !important;
            font-size: 13px !important;
        }
        
        /* ریسپانسیو */
        @media (max-width: 768px) {
            .tgju-widget-container .tgju-widget-content-row {
                min-height: 64px !important;
                padding: 16px 20px !important;
            }
            
            .tgju-widget-container .tgju-widget-header {
                padding: 16px 20px !important;
            }
            
            .tgju-widget-container .tgju-widget-title {
                font-size: 14px !important;
            }
            
            .tgju-widget-container .tgju-widget-price {
                font-size: 15px !important;
            }
        }
        
        /* SVG Animation Components */
        .svg-animation {
            width: 100%;
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 0;
        }

        .svg-animation svg {
            width: 160px;
            height: 160px;
        }

        /* خطوط خاکستری که در حالت عادی دیده می‌شوند */
        .gray-path, .gray-circle {
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        /* خطوط رنگی که در حالت عادی مخفی هستند */
        .draw-path, .colored-circle {
            opacity: 0;
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            transition: opacity 0.3s ease;
        }

        /* وقتی هاور می‌شود */
        .svg-item:hover .gray-path,
        .svg-item:hover .gray-circle {
            opacity: 0;
        }

        .svg-item:hover .draw-path {
            opacity: 1;
            animation: drawAnimation 2s ease-out forwards;
        }

        .svg-item:hover .colored-circle {
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        @keyframes drawAnimation {
            to {
                stroke-dashoffset: 0;
            }
        }

        .svg-item {
            opacity: 1;
            color: #9ca3af;
            transition: all 0.3s ease;
            background: white !important;
        }

        .svg-item:hover {
            background: #fffaf5 !important;
            border-color: #f4a261 !important;
        }

        /* Container Card Styles */
        .container-card {
            position: relative;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border: 2px solid #e2e8f0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .container-card:hover {
            background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            border-color: var(--accent);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: translateY(-12px);
        }

        .container-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(244, 162, 97, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            border-radius: 1rem;
        }

        .container-card:hover::before {
            opacity: 1;
        }
        
        
/*
 * Fix for Mobile Navigation Icons
 * Overrides Tailwind's base 'li > a' rule which causes flex calculation issues for icons inside the mobile nav menu.
*/
#mobile-nav ul li > a,
#mobile-nav ul li > button {
    width: auto; /* از حالت 100% خارج شو */
    display: inline-flex; /* چیدمان را برای هم‌ترازی آیکون و متن بهینه کن */
}

/*
 * Fix for Main Header Mobile Icons
 * This specifically targets the main header icons (Search, Call, Menu)
 * and fixes the zero-height issue caused by the flex container.
*/
.lg\:hidden.flex.items-center.gap-2 > button > img,
.lg\:hidden.flex.items-center.gap-2 > a > img {
    height: initial !important;
}

/* ========================================================================
   Enamad (Trust Seal) Styles
   ======================================================================== */
.enamad-widget-container {
    padding-top: 1rem;
}

.enamad-widget-container img {
    cursor: pointer;
    max-width: 120px;
    height: auto;
    background-color: white; /* Add white background for better visibility */
    border-radius: 8px; /* Optional: adds rounded corners */
    padding: 5px; /* Optional: adds some spacing */
}

/* فوتر ۴ ستونه با ستون اول عریض‌تر */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        /* ستون اول 1.5 برابر بقیه، سه ستون دیگر برابر */
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}