/* ========== استایل‌های تکمیلی بدون نیاز به Tailwind ========== */

/* Layout Classes */
.min-h-screen {
    min-height: 100vh;
}

.flex-grow {
    flex-grow: 1;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-20 {
    height: 5rem;
}

.h-44 {
    height: 11rem;
}

.h-48 {
    height: 12rem;
}

.h-80 {
    height: 20rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Width Classes */
.w-1\/3 {
    width: 33.333333%;
}

.w-3\/4 {
    width: 75%;
}

.w-1\/4 {
    width: 25%;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* Display */
.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.block {
    display: block;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Text Align */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* Border */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-b-4 {
    border-bottom-width: 4px;
}

.border-r-2 {
    border-right-width: 2px;
}

.border-r-4 {
    border-right-width: 4px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-yellow-500 {
    border-color: #eab308;
}

/* Background Colors */
.bg-blue-800 {
    background-color: #1e40af;
}

.bg-blue-900 {
    background-color: #1e3a8a;
}

.bg-yellow-400 {
    background-color: #facc15;
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-800 {
    background-color: #1f2937;
}

/* Text Colors */
.text-blue-700 {
    color: #1d4ed8;
}

.text-blue-800 {
    color: #1e40af;
}

.text-blue-900 {
    color: #1e3a8a;
}

.text-yellow-400 {
    color: #facc15;
}

.text-yellow-500 {
    color: #eab308;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-600 {
    color: #4b5563;
}

/* Opacity */
.opacity-90 {
    opacity: 0.9;
}

.opacity-70 {
    opacity: 0.7;
}

/* Leading (Line Height) */
.leading-6 {
    line-height: 1.5rem;
}

.leading-7 {
    line-height: 1.75rem;
}

.leading-8 {
    line-height: 2rem;
}

.leading-tight {
    line-height: 1.25;
}

/* Tracking */
.tracking-tight {
    letter-spacing: -0.025em;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Focus */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1e40af;
}

/* Group Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:text-blue-700 {
    color: #1d4ed8;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Transform */
.scale-110 {
    transform: scale(1.1);
}

/* Duration */
.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Inset */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Gradient */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--tw-gradient-stops));
}

.from-blue-900\/90 {
    --tw-gradient-from: rgba(30, 58, 138, 0.9);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 58, 138, 0));
}

.from-blue-600 {
    --tw-gradient-from: #2563eb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.to-blue-800 {
    --tw-gradient-to: #1e40af;
}

.via-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

/* Space Between */
.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Line Clamp */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Backdrop Blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* Origin */
.origin-top {
    transform-origin: top;
}

/* Prose */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose h2 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose ul, .prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-right: 1.625em;
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.7777778;
}

.max-w-none {
    max-width: none;
}

/* Custom Logo */
.custom-logo {
    height: 5rem;
    width: auto;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}