/* Reset এবং বেসিক স্টাইল */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* নেভিগেশন বার */
.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand i {
    font-size: 2rem;
    color: #60a5fa;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* হিরো সেকশন */
.hero {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(37, 99, 235, 0.9)),
                url('https://images.unsplash.com/photo-1588681664899-f142ff2dc9b1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.2rem;
}

#globalSearch {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#globalSearch:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* সেকশন কমন স্টাইল */
.section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* দেশ ফিল্টার ট্যাব */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 12px 24px;
    background: #f1f5f9;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #1e3a8a;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* দেশের গ্রিড */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.country-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-8px);
    border-color: #60a5fa;
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.15);
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
}

.country-flag {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.country-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.country-info {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.country-media-count {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* সার্চ রেজাল্ট সেকশন */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-back {
    padding: 12px 24px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e2e8f0;
    transform: translateX(-5px);
}

/* ক্যাটাগরি ফিল্টার */
.category-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
}

.category-section h4 {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.category-filter-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.category-filter-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* সার্চ রেজাল্ট */
.search-results {
    margin-top: 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
}

.results-info i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.results-controls {
    display: flex;
    gap: 10px;
}

.btn-control {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-control:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* মিডিয়া রেজাল্ট */
.media-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.media-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.media-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.1);
    transform: translateY(-3px);
}

.media-item.selected {
    border-color: #10b981;
    background: linear-gradient(to right, #f0fdf4, #ecfdf5);
}

.media-checkbox {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #10b981;
    z-index: 2;
}

.media-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding-right: 2rem;
}

.media-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.media-icon i {
    font-size: 1.5rem;
    color: white;
}

.media-title {
    flex: 1;
}

.media-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.media-category {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.media-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.media-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.media-detail i {
    color: #3b82f6;
    width: 18px;
}

.media-website {
    margin-top: 1.5rem;
}

.media-website a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background: #eff6ff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.media-website a:hover {
    background: #3b82f6;
    color: white;
    transform: translateX(5px);
}

/* অ্যাকশন প্যানেল */
.action-panel {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.selected-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.selected-count i {
    color: #34d399;
    font-size: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ফুটার */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #cbd5e1;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* নোটিফিকেশন */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.notification.info {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

/* লোডিং */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

/* নো রেজাল্ট স্টাইল */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.no-results i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #94a3b8;
}

/* রেসপন্সিভ ডিজাইন */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .media-results {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .action-panel {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .action-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .media-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 1.5rem;
    }
    
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .filter-tabs::-webkit-scrollbar {
        height: 5px;
    }
    
    .filter-tabs::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }
    
    .category-filters {
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .category-filters::-webkit-scrollbar {
        height: 5px;
    }
    
    .category-filters::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .results-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .media-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .media-icon {
        margin-right: 0;
    }
}

/* অ্যানিমেশন */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* স্ক্রলবার স্টাইল */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* প্রগ্রেস বার */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

/* টুলটিপ */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #1e293b;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

/* কাউন্টার স্টাইল */
.counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 8px;
}

/* স্ট্যাটাস ইনডিকেটর */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator.active {
    background: #d1fae5;
    color: #065f46;
}

.status-indicator.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.status-indicator.pending {
    background: #fef3c7;
    color: #92400e;
}

/* ব্যাজ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge.secondary {
    background: #f3f4f6;
    color: #4b5563;
}

.badge.success {
    background: #d1fae5;
    color: #065f46;
}

.badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

/* কার্ড হোভার এফেক্ট */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ফোকাস স্টেট */
button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ডিসএবলড স্টেট */
button:disabled, input:disabled, select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* লোডিং স্টেট */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* গ্রিড গ্যাপ ইউটিলিটি */
.gap-xs { gap: 0.5rem; }
.gap-sm { gap: 1rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2rem; }
.gap-xl { gap: 3rem; }

/* ফ্লেক্স ইউটিলিটি */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* টেক্সট ইউটিলিটি */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

/* মার্জিন ইউটিলিটি */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* প্যাডিং ইউটিলিটি */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* কালার ইউটিলিটি */
.text-primary { color: #1e3a8a; }
.text-secondary { color: #475569; }
.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }
.text-info { color: #3b82f6; }

.bg-primary { background-color: #1e3a8a; }
.bg-secondary { background-color: #475569; }
.bg-success { background-color: #10b981; }
.bg-warning { background-color: #f59e0b; }
.bg-danger { background-color: #ef4444; }
.bg-info { background-color: #3b82f6; }

/* বর্ডার ইউটিলিটি */
.border { border: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.border-l { border-left: 1px solid #e2e8f0; }
.border-r { border-right: 1px solid #e2e8f0; }

/* বর্ডার রেডিয়াস */
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* শ্যাডো ইউটিলিটি */
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.shadow { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }

/* ডিসপ্লে ইউটিলিটি */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* ওভারফ্লো ইউটিলিটি */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* পজিশন ইউটিলিটি */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* জি-ইন্ডেক্স ইউটিলিটি */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* উইডথ ইউটিলিটি */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }

/* হাইট ইউটিলিটি */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }

/* ট্রানজিশন */
.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

/* স্পেসিং */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* গ্রিড */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* কাস্টম স্ক্রলবার */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* গ্রেডিয়েন্ট ব্যাকগ্রাউন্ড */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

/* ট্রান্সফর্ম */
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.rotate-270 { transform: rotate(270deg); }

.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

/* অ্যানিমেশন ক্লাস */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* স্ট্রোক এনিমেশন */
.stroke-animation {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 5s linear forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

/* ফ্লিপ কার্ড */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* গ্রেডিয়েন্ট টেক্সট */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* গ্লাস ইফেক্ট */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* নিওমর্ফিজম */
.neomorph {
    background: #f0f0f0;
    border-radius: 15px;
    box-shadow: 20px 20px 60px #d9d9d9,
                -20px -20px 60px #ffffff;
}

/* স্পিনার ভ্যারিয়েন্ট */
.spinner-sm {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

.spinner-lg {
    width: 80px;
    height: 80px;
    border-width: 6px;
}

.spinner-secondary {
    border-top-color: #10b981;
}

.spinner-warning {
    border-top-color: #f59e0b;
}

.spinner-danger {
    border-top-color: #ef4444;
}

/* স্ট্রাইপড ব্যাকগ্রাউন্ড */
.striped-bg {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
}

/* ডট প্যাটার্ন */
.dot-pattern {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* চেকার্ড প্যাটার্ন */
.checker-pattern {
    background-image: 
        linear-gradient(45deg, #f1f5f9 25%, transparent 25%),
        linear-gradient(-45deg, #f1f5f9 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f1f5f9 75%),
        linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* গ্রিড লাইন */
.grid-lines {
    background-image: 
        linear-gradient(to right, #e2e8f0 1px, transparent 1px),
        linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ফোকাস রিং */
.focus-ring:focus {
    outline: none;
    ring: 3px solid rgba(59, 130, 246, 0.5);
}

/* হোভার আন্ডারলাইন */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* রিপল এফেক্ট */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* শাইন এফেক্ট */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::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: 0.5s;
}

.shine:hover::before {
    left: 100%;
}

/* ট্রান্সফর্ম পার্সপেক্টিভ */
.perspective-1000 {
    perspective: 1000px;
}

.perspective-500 {
    perspective: 500px;
}

/* থ্রিডি ট্রান্সফর্ম */
.transform-3d {
    transform-style: preserve-3d;
}

/* ব্যাকফেস ভিজিবিলিটি */
.backface-hidden {
    backface-visibility: hidden;
}

/* ক্লিপ পাথ */
.clip-circle {
    clip-path: circle(50% at 50% 50%);
}

.clip-polygon {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ব্লেন্ড মোড */
.blend-multiply {
    mix-blend-mode: multiply;
}

.blend-screen {
    mix-blend-mode: screen;
}

.blend-overlay {
    mix-blend-mode: overlay;
}

/* ফিল্টার */
.filter-blur {
    filter: blur(5px);
}

.filter-grayscale {
    filter: grayscale(100%);
}

.filter-sepia {
    filter: sepia(100%);
}

/* ট্রানজিশন ডেলেই */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* অ্যানিমেশন ডেলেই */
.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

/* স্টেপড অ্যানিমেশন */
.steps-10 {
    animation-timing-function: steps(10);
}

.steps-20 {
    animation-timing-function: steps(20);
}

/* কাস্টম কিউবিক বেজিয়ার */
.ease-in-out-cubic {
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

.ease-out-back {
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ease-in-back {
    animation-timing-function: cubic-bezier(0.36, 0, 0.66, -0.56);
}

/* ইনফিনিট স্ক্রল */
.infinite-scroll {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* টাইপরাইটার এফেক্ট */
.typewriter {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* ফ্লিকার এফেক্ট */
.flicker {
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.5;
    }
}

/* স্লাইড ইন */
.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ফ্লিপ ইন */
.flip-in-x {
    animation: flipInX 0.6s ease-out;
}

.flip-in-y {
    animation: flipInY 0.6s ease-out;
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    to {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes flipInY {
    from {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

/* জুম ইন */
.zoom-in {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* বাউন্স ইন */
.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* রোটেট ইন */
.rotate-in {
    animation: rotateIn 0.6s ease-out;
}

@keyframes rotateIn {
    from {
        transform: rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: rotate(0);
        opacity: 1;
    }
}

/* লাইটস্পিড এফেক্ট */
.lightspeed-in {
    animation: lightSpeedIn 0.5s ease-out;
}

@keyframes lightSpeedIn {
    from {
        transform: translateX(100%) skewX(-30deg);
        opacity: 0;
    }
    60% {
        transform: skewX(20deg);
        opacity: 1;
    }
    80% {
        transform: skewX(-5deg);
    }
    to {
        transform: translateX(0);
    }
}

/* রোল ইন */
.roll-in {
    animation: rollIn 0.6s ease-out;
}

@keyframes rollIn {
    from {
        transform: translateX(-100%) rotate(-120deg);
        opacity: 0;
    }
    to {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }
}

/* হিঞ্জ ইন */
.hinge-in {
    animation: hingeIn 0.8s ease-out;
}

@keyframes hingeIn {
    0% {
        transform: perspective(400px) rotateY(90deg);
        transform-origin: left;
        opacity: 0;
    }
    100% {
        transform: perspective(400px) rotateY(0);
        transform-origin: left;
        opacity: 1;
    }
}

/* জ্যাক ইন দ্য বক্স */
.jack-in-the-box {
    animation: jackInTheBox 0.5s ease-out;
}

@keyframes jackInTheBox {
    from {
        transform: scale(0.1) rotate(30deg);
        transform-origin: center bottom;
        opacity: 0;
    }
    50% {
        transform: rotate(-10deg);
    }
    70% {
        transform: rotate(3deg);
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ফ্ল্যাশ */
.flash {
    animation: flash 1s ease-out;
}

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

/* শেক */
.shake {
    animation: shake 0.5s ease-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* সুইং */
.swing {
    transform-origin: top center;
    animation: swing 1s ease-out;
}

@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* টাডা */
.tada {
    animation: tada 1s ease-out;
}

@keyframes tada {
    0% {
        transform: scale(1);
    }
    10%, 20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

/* জেলো */
.jello {
    animation: jello 0.6s ease-out;
}

@keyframes jello {
    11.1% {
        transform: none;
    }
    22.2% {
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    33.3% {
        transform: skewX(6.25deg) skewY(6.25deg);
    }
    44.4% {
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    55.5% {
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    66.6% {
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    77.7% {
        transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    88.8% {
        transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
    100% {
        transform: none;
    }
}

/* হার্টবিট */
.heartbeat {
    animation: heartbeat 1s ease-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* রাবারব্যান্ড */
.rubberBand {
    animation: rubberBand 1s ease-out;
}

@keyframes rubberBand {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scaleX(1.25) scaleY(0.75);
    }
    40% {
        transform: scaleX(0.75) scaleY(1.25);
    }
    60% {
        transform: scaleX(1.15) scaleY(0.85);
    }
    100% {
        transform: scale(1);
    }
}

/* উবাউন্স আউট */
.wobble {
    animation: wobble 1s ease-out;
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-25%) rotate(-5deg);
    }
    30% {
        transform: translateX(20%) rotate(3deg);
    }
    45% {
        transform: translateX(-15%) rotate(-3deg);
    }
    60% {
        transform: translateX(10%) rotate(2deg);
    }
    75% {
        transform: translateX(-5%) rotate(-1deg);
    }
}

/* ফ্লিপ আউট */
.flip-out-x {
    animation: flipOutX 0.6s ease-out;
}

.flip-out-y {
    animation: flipOutY 0.6s ease-out;
}

@keyframes flipOutX {
    from {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
    to {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
}

@keyframes flipOutY {
    from {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
    to {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
}

/* জুম আউট */
.zoom-out {
    animation: zoomOut 0.3s ease-out;
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* স্লাইড আউট */
.slide-out-left {
    animation: slideOutLeft 0.5s ease-out;
}

.slide-out-right {
    animation: slideOutRight 0.5s ease-out;
}

.slide-out-up {
    animation: slideOutUp 0.5s ease-out;
}

.slide-out-down {
    animation: slideOutDown 0.5s ease-out;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ফেড আউট */
.fade-out {
    animation: fadeOut 0.5s ease-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* রোল আউট */
.roll-out {
    animation: rollOut 0.6s ease-out;
}

@keyframes rollOut {
    from {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%) rotate(120deg);
        opacity: 0;
    }
}

/* হিঞ্জ আউট */
.hinge-out {
    animation: hingeOut 0.8s ease-out;
}

@keyframes hingeOut {
    0% {
        transform: perspective(400px) rotateY(0);
        transform-origin: left;
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateY(90deg);
        transform-origin: left;
        opacity: 0;
    }
}

/* লাইটস্পিড আউট */
.lightspeed-out {
    animation: lightSpeedOut 0.5s ease-out;
}

@keyframes lightSpeedOut {
    from {
        opacity: 1;
    }
    to {
        transform: translateX(100%) skewX(30deg);
        opacity: 0;
    }
}