        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans Bengali', sans-serif;
        }
        
        body {
            background-color: #f8f9fa;
            color: #2c3e50;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #1a5f7a 0%, #2a9d8f 100%);
            color: white;
                padding: 7px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 9px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: white;
        }
        
        .logo-icon {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            color: #FFD700;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .logo-text {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 700;
        }
        
        .logo-subtitle {
            font-size: 0.8rem;
            opacity: 0.8;
            margin-top: 2px;
        }
        
        .nav-menu {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .nav-link {
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            border-radius: 30px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        .nav-link:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-2px);
        }
        
        .nav-link.active {
            background: rgba(255,255,255,0.2);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .hero {
            background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(42, 157, 143, 0.9)), url('assets/bg-pattern.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: clamp(40px, 8vw, 80px) 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
               
        }
        
        .hero:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            font-size: clamp(1.8rem, 5vw, 3.5rem);
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            line-height: 1.3;
            padding: 0 10px;
        }
        
        .hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            margin-bottom: 30px;
            opacity: 0.95;
            padding: 0 10px;
        }
        
        .cta-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: clamp(12px, 2.5vw, 15px) clamp(25px, 5vw, 40px);
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            flex: 1;
            min-width: 180px;
            justify-content: center;
                padding-right: 1.5rem;
        }
        
        .btn-primary {
                background: linear-gradient(135deg, #57a4a2 0%, #f4a261);
            color: white;
            box-shadow: 0 10px 20px rgba(231, 111, 81, 0.3);
        }
        
        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(231, 111, 81, 0.4);
        }
        
        .btn-secondary {
            background: rgba(255,255,255,0.2);
            color: white;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255,255,255,0.3);
        }
        
        .btn-secondary:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-5px);
        }
        
.section {
    padding: clamp(6px, 8vw, 38px) clamp(15px, 4vw, 20px);
}
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 clamp(15px, 4vw, 20px);
        }
        
        .section-header {
            text-align: center;
            margin-bottom: clamp(30px, 6vw, 50px);
        }
        
        .section-title {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: #1a5f7a;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
            padding: 0 20px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: clamp(60px, 15vw, 100px);
            height: 4px;
            background: linear-gradient(90deg, #2a9d8f, #e9c46a);
            border-radius: 2px;
        }
        
        .section-subtitle {
            color: #6c757d;
            font-size: clamp(1rem, 2vw, 1.2rem);
            max-width: 600px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .posts-slider {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
        }
        
        .slider-container {
            display: flex;
            gap: clamp(15px, 3vw, 30px);
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 20px 0;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        
        .slider-container::-webkit-scrollbar {
            display: none;
        }
        
        .post-card {
            flex: 0 0 clamp(280px, 85vw, 350px);
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .post-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .post-image {
            width: 100%;
            height: clamp(150px, 40vw, 200px);
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .post-card:hover .post-image {
            transform: scale(1.05);
        }
        
        .post-content {
            padding: clamp(15px, 3vw, 25px);
        }
        
        .post-title {
            font-size: clamp(1.1rem, 2.5vw, 1.4rem);
            color: #1a5f7a;
            margin-bottom: 15px;
            line-height: 1.4;
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 3.2em;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            color: #6c757d;
            font-size: 0.85rem;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .post-author {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .author-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .post-stats {
            display: flex;
            gap: clamp(10px, 3vw, 20px);
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .stat {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #495057;
            font-size: 0.9rem;
        }
        
        .stat i {
            color: #2a9d8f;
        }
        
        .post-link {
            display: block;
            text-decoration: none;
            color: inherit;
        }
        
        .ranking-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 20px;
            padding: clamp(25px, 5vw, 40px);
            margin-top: 40px;
        }
        
        .ranking-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            min-width: 300px;
        }
        
        .ranking-table th {
            background: linear-gradient(135deg, #2a9d8f 0%, #1a5f7a 100%);
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .ranking-table td {
            padding: 12px;
            border-bottom: 1px solid #eee;
            font-size: 0.9rem;
        }
        
        .ranking-table tr:hover {
            background: #f8f9fa;
        }
        
        .rank {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border-radius: 50%;
            background: #e9ecef;
            font-weight: bold;
            color: #495057;
        }
        
        .rank-1 { background: #FFD700; color: #000; }
        .rank-2 { background: #C0C0C0; color: #000; }
        .rank-3 { background: #CD7F32; color: #000; }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .user-avatar {
            width: clamp(40px, 8vw, 50px);
            height: clamp(40px, 8vw, 50px);
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #2a9d8f;
        }
        
        .level-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            color: white;
        }
        
        .level-নবীন { background: #6c757d; }
        .level-শিক্ষার্থী { background: #2a9d8f; }
        .level-সচেতন { background: #e9c46a; color: #000; }
        .level-পথপ্রদর্শক { background: #f4a261; }
        .level-সত্য-অনুসারী { background: #e76f51; }
        .level-আলোর-ফেরিওয়ালা { background: #9b5de5; }
        .level-উজ্জ্বল-বাতিঘর { background: #00bbf9; }
        
        .about-section {
            background: white;
            border-radius: 20px;
            padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 60px);
            margin-top: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }
        
        .about-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #2a9d8f, #e9c46a, #f4a261, #e76f51);
        }
        
        .about-content {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.8;
            color: #495057;
        }
        
        .about-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .about-card {
            text-align: center;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 15px;
            transition: transform 0.3s;
        }
        
        .about-card:hover {
            transform: translateY(-10px);
            background: white;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .about-icon {
            font-size: clamp(2rem, 6vw, 3rem);
            color: #2a9d8f;
            margin-bottom: 20px;
        }
        
        .footer {
            background: linear-gradient(135deg, #1a5f7a 0%, #264653 100%);
            color: white;
            padding: 40px 20px;
            margin-top: 60px;
        }
        
        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }
        
        .footer-logo {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
            transition: color 0.3s;
            font-size: 0.9rem;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 30px;
            opacity: 0.8;
            font-size: 0.9rem;
        }
        
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 95, 122, 0.95);
            z-index: 1001;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;
        }
        
        .mobile-menu.active {
            display: flex;
        }
        
        .close-menu {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }
        
        .slider-nav {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            border: none;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .slider-dot.active {
            background: #2a9d8f;
            transform: scale(1.2);
        }
        
        .quran-verse {
            font-style: italic;
            text-align: center;
            padding: clamp(20px, 4vw, 30px);
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            margin: 30px 0;
            border-right: 5px solid #2a9d8f;
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: #1a5f7a;
        }
        
        /* Responsive Media Queries */
        @media (max-width: 1024px) {
            .nav-link {
                padding: 8px 12px;
                font-size: 0.85rem;
            }
            
            .about-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .about-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .ranking-table {
                font-size: 0.8rem;
            }
            
            .ranking-table th,
            .ranking-table td {
                padding: 10px 8px;
            }
            
            .user-info {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }
            
            .level-badge {
                font-size: 0.7rem;
                padding: 3px 8px;
            }
            
            .btn {
                min-width: 150px;
            }
        }
        
        @media (max-width: 480px) {
            .logo-text {
                font-size: 1.3rem;
            }
            
            .logo-subtitle {
                font-size: 0.7rem;
            }
            
            .hero h1 {
                font-size: 1.5rem;
            }
            
            .hero p {
                font-size: 0.95rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 280px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-links a {
                justify-content: center;
            }
            
            .post-card {
                flex: 0 0 85vw;
            }
            
            .section {
                padding: 30px 0px;
                
            }
            
            .ranking-table {
                display: block;
                overflow-x: auto;
            }
        }
        
        @media (max-width: 360px) {
            .nav-container {
                padding: 0 10px;
            }
            
            .hero {
                padding: 30px 15px;
            }
            
            .section-title {
                font-size: 1.3rem;
            }
            
            .section-subtitle {
                font-size: 0.9rem;
            }
            
            .post-title {
                font-size: 1rem;
            }
            
            .about-card {
                padding: 20px;
            }
        }
        
        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            .post-card:hover {
                transform: none;
            }
            
            .nav-link:hover {
                transform: none;
                background: rgba(255,255,255,0.1);
            }
            
            .btn:hover {
                transform: none;
            }
            
            .btn-primary:hover {
                transform: none;
            }
            
            .btn-secondary:hover {
                transform: none;
            }
            
            .about-card:hover {
                transform: none;
            }
        }
        
        /* Print styles */
        @media print {
            .header, .footer, .mobile-menu-btn, .slider-nav {
                display: none;
            }
            
            body {
                background: white;
            }
            
            .section {
                padding: 20px 0;
            }
            
            .post-card {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }
        
        
        
        
        
        
        
        
        

        
        
 /* Existing CSS এর নিচে এই কোডগুলো যোগ করুন */

/* মোবাইল ডিভাইসের জন্য কার্ড অপটিমাইজেশন */
@media (max-width: 768px) {
    .post-card {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 180px !important;
        min-height: 180px;
        max-height: 180px;
    }
    
    .post-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 15px !important;
    }
    
    .post-title {
        min-height: auto !important;
        max-height: none !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }
    
    .post-meta {
        margin-bottom: 10px !important;
        font-size: 0.8rem !important;
    }
    
    .post-stats {
        margin-top: 10px !important;
        justify-content: space-between;
        gap: 10px;
    }
    
    .stat {
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    
    /* স্লাইডার কার্ডের সাইজ ফিক্স */
    .slider-container {
        padding: 10px 0;
    }
    
    .post-card {
        flex: 0 0 85vw !important;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .post-image, 
    .post-image-placeholder {
        height: 150px !important;
        min-height: 150px;
        max-height: 150px;
    }
    
    .post-card {
        flex: 0 0 90vw !important;
        max-width: 280px;
    }
    
    .post-title {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
    
    .post-content {
        padding: 12px !important;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .post-author {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .post-image, 
    .post-image-placeholder {
        height: 130px !important;
        min-height: 130px;
        max-height: 130px;
    }
    
    .post-card {
        flex: 0 0 95vw !important;
        max-width: 260px;
    }
    
    .post-stats {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
}

/* ছবি এবং প্লেসহোল্ডারের জন্য কমন স্টাইল */
.post-image, 
.post-image-placeholder {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* কার্ডগুলোর মধ্যে কন্টেন্ট সঠিকভাবে দেখানোর জন্য */
.post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* টাচ ডিভাইসের জন্য অপটিমাইজেশন */
@media (hover: none) and (pointer: coarse) {
    .post-card {
        touch-action: pan-y;
    }
    
    .slider-container {
        scroll-snap-type: x mandatory;
    }
    
    .post-card {
        scroll-snap-align: center;
    }
}

/* iOS ডিভাইসের জন্য বিশেষ ফিক্স */
@supports (-webkit-touch-callout: none) {
    .post-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}       
        
        
        
  
    
    
    
    
    
/* শুধু ইমেজ লোগোর জন্য */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-only {
    height: 50px; /* আপনার পছন্দমত সাইজ দিন */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img-only:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img-only {
        height: 40px;
    }

}

@media (max-width: 480px) {
    .logo-img-only {
        height: 46px;
    }

}
   
        
        
        
        
 
  /* Simple Wave Design */
/* Simple Wave Design */
.hero {
    background: linear-gradient(135deg, #1a5f7a 0%, #2a9d8f 100%);
    color: white;
    padding: clamp(60px, 10vw, 120px) 20px clamp(80px, 15vw, 160px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* লোগো স্টাইল - উন্নত ভার্সন */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 0;
}

.logo-img-only {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-img-only:hover {

}

/* লোগোর জন্য উন্নত Responsive adjustments */
@media (max-width: 1024px) {
    .logo-img-only {
        height: 45px;
    }
}

@media (max-width: 768px) {
    .logo-img-only {
        height: 40px;
    }
    
    .hero {
        padding: clamp(50px, 8vw, 100px) 20px clamp(70px, 12vw, 140px);
    }
    
    .hero::after {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .logo-img-only {
                height: 42px;
        margin-bottom: -5px;
        margin-top: -4px;
    }
    .mobile-menu-btn {
    margin-top: 10px;
}
        .section {
        padding: 0px 0px;
    }
    .posts-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin-top: -20px;
}
    
    
    .nav-container {
        padding: 0 14px;
    }
    
    .hero {
        padding: clamp(40px, 6vw, 80px) 20px clamp(60px, 10vw, 120px);
    }
    
    .hero::after {
        height: 60px;
    }
    
    .hero h1 {
        font-size: clamp(1.6rem, 4vw, 2.8rem);
    }
    
    .hero p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

@media (max-width: 360px) {
    .logo-img-only {
        height: 32px;
    }
    
    .hero {
        padding: 40px 15px 80px;
    }
    
    .hero::after {
        height: 50px;
    }
}     
    
 .hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* সূক্ষ্ম ইসলামিক প্যাটার্ন */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.07"><defs><pattern id="arabesque" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q5,0 10,10 T20,10 M10,0 Q20,10 10,20 T10,0" fill="none" stroke="%23FFFFFF" stroke-width="0.4" stroke-linecap="round"/><circle cx="10" cy="10" r="2" fill="%23FFFFFF" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23arabesque)"/></svg>'),
        /* মসৃণ ওয়েভ ইফেক্ট */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,154.7C672,128,768,96,864,106.7C960,117,1056,171,1152,176C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 300px 300px, cover;
    background-position: center, bottom;
    opacity: 0.5;
    
}  
        
        
        
        
        
        
 /* Simple Wave Design - FIXED VERSION */
.hero {
    background: linear-gradient(135deg, #1a5f7a 0%, #2a9d8f 100%);
    color: white;
    padding: clamp(60px, 10vw, 120px) 20px clamp(80px, 15vw, 160px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {

    margin-bottom: 1px;
    content: '';
    position: absolute;
    bottom: -1px; /* -1px দিলে কোনো গ্যাপ থাকবে না */
    left: 0;
    width: 100%;
    height: clamp(80px, 15vw, 150px); /* এখন রেসপনসিভ */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f9fa' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%; /* পুরো এলাকা জুড়ে */
    background-repeat: no-repeat;
    z-index: 1;
        z-index: 3;
    height: 105px;
    margin-bottom: -5px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}       
      
        
        
        
 .section {
    padding: clamp(6px, 8vw, 38px) clamp(15px, 4vw, 20px);
    margin-top: -41px;
}       
 .posts-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin-top: -39px;
}    
        
        
        
        
        
        /* Typing Text Container Styles */
/* Fixed height for typing text to prevent layout shift */
#typing-text {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

@media (max-width: 768px) {
    #typing-text {
        height: 100px;
    }
}

@media (max-width: 480px) {
    #typing-text {
        height: 80px;
    }
}
        
        
        
        

@media (max-width: 480px) {
    #typing-text {
        height: 66px;
        margin-top: -26px;
        font-size: 25px;
                margin-bottom: 5px;
     
    }
    
    .section-header {
    margin-top: 17px;
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 50px);
}
    .section {
    padding: clamp(6px, 8vw, 38px) clamp(15px, 4vw, 20px);
    margin-top: -41px;
    padding: 1px;
}
}
 
 .section-title {
    margin-top: 25px;
}       
        
.slider-container {
    display: flex;
    gap: clamp(9px, 2vw, 30px);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}        
        
        
        
        
/* Post stats compact design */
.post-stats {
    display: flex;
    gap: 25px; /* কম gap */
    margin-top: 15px;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping */
}

.stat i {
    color: #2a9d8f;
    font-size: 1.1rem;
    min-width: 20px; /* Fixed icon width */
}

.stat-number {
    font-weight: 600;
    color: #1a5f7a;
    min-width: 20px; /* Fixed number width */
    text-align: center;
}

/* Post content padding and spacing */
.post-content {
    padding: 20px 15px 15px; /* Reduced bottom padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.25rem;
    color: #1a5f7a;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
    flex: 1; /* Take available space */
}

/* Reduce overall card height slightly */
.post-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    min-height: 350px; /* Slightly reduced height */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.post-image, 
.post-image-placeholder {
    width: 100%;
    height: 170px; /* Reduced image height */
    object-fit: cover;
    transition: transform 0.5s;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .post-card {
        flex: 0 0 360px;
        min-height: 330px;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 160px;
    }
    
    .post-title {
        font-size: 1.15rem;
        min-height: 2.8em;
    }
    
    .post-stats {
        gap: 20px;
    }
    
    .stat {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .slider-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding: 10px 0;
        scroll-behavior: auto;
    }
    
    .post-card {
        flex: 0 0 100% !important;
        min-height: 310px;
        width: 100%;
        margin: 0;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 150px;
    }
    
    .post-content {
        padding: 15px 12px 12px;
    }
    
    .post-title {
        font-size: 1.05rem;
        min-height: 2.6em;
        margin-bottom: 12px;
    }
    
    .post-stats {
        gap: 18px;
        margin-top: 12px;
        padding-top: 10px;
    }
    
    .stat {
        font-size: 0.85rem;
    }
    
    .stat i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .post-card {
        min-height: 290px;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 130px;
    }
    
    .post-content {
        padding: 12px 10px 10px;
    }
    
    .post-title {
        font-size: 0.95rem;
        min-height: 2.4em;
        margin-bottom: 10px;
    }
    
    .post-stats {
        gap: 15px;
        margin-top: 10px;
        padding-top: 8px;
    }
    
    .stat {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .stat i {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .post-card {
        min-height: 270px;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 110px;
    }
    
    .post-title {
        font-size: 0.9rem;
        min-height: 2.2em;
    }
    
    .post-stats {
        gap: 12px;
    }
    
    .stat {
        font-size: 0.75rem;
    }
}      




.post-title {
    flex: 1; /* Take available space */
    overflow: hidden; /* Hide overflow */
}

.post-stats {
    flex-shrink: 0; /* Don't shrink */
}






/* MOBILE - সামান্য কম কমাবো (max-width: 768px) */
@media (max-width: 768px) {
    .post-card {
        flex: 0 0 100% !important;
        min-height: 180px; /* 250px থেকে 28% কম = 180px (বাড়ানো) */
        max-height: 180px;
        width: 100%;
        margin: 0;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 90px; /* বাড়ানো */
    }
    
    .post-content {
        padding: 10px 8px 5px; /* বাড়ানো */
        height: 90px; /* বাড়ানো */
    }
    
    .post-title {
        font-size: 0.85rem; /* বাড়ানো */
        min-height: 1.8em; /* বাড়ানো */
        margin-bottom: 5px;
        line-height: 1.3;
        -webkit-line-clamp: 2; /* ২ লাইন দেখাবে */
    }
    
    .post-stats {
        gap: 12px;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid #eee;
    }
    
    .stat {
        font-size: 0.75rem; /* বাড়ানো */
        gap: 4px;
    }
    
    .stat i {
        font-size: 0.8rem; /* বাড়ানো */
    }
    
    .stat-number {
        font-size: 0.8rem; /* বাড়ানো */
    }
}

/* ছোট মোবাইল (480px) */
@media (max-width: 480px) {
    .post-card {
        min-height: 160px; /* বাড়ানো */
        max-height: 160px;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 80px; /* বাড়ানো */
    }
    
    .post-content {
        height: 80px; /* বাড়ানো */
        padding: 8px 6px 4px;
                height: 104px;
    }
    
    .post-title {
        font-size: 0.8rem; /* বাড়ানো */
        min-height: 1.6em;
        -webkit-line-clamp: 2; /* ২ লাইন */
    }
    
    .post-stats {
        gap: 10px;
        margin-top: 4px;
        padding-top: 4px;
    }
    
    .stat {
        font-size: 0.7rem; /* বাড়ানো */
    }
}

/* সবচেয়ে ছোট মোবাইল (360px) */
@media (max-width: 360px) {
    .post-card {
        min-height: 140px; /* বাড়ানো */
        max-height: 140px;
    }
    
    .post-image, 
    .post-image-placeholder {
        height: 70px; /* বাড়ানো */
    }
    
    .post-content {
        height: 70px; /* বাড়ানো */
        padding: 6px 5px 3px;
                height: 104px;
    }
    
    .post-title {
        font-size: 0.75rem; /* বাড়ানো */
        min-height: 1.4em;
    }
    
    .slider-container {
        grid-template-columns: 1fr;
        gap: 6px; /* বাড়ানো */
    }
    
    .stat {
        font-size: 0.65rem; /* বাড়ানো */
    }
}

/* MOBILE - সর্বাধিক পঠিতও একই হবে */
@media (max-width: 768px) {
    #trendingSlider .post-card {
        flex: 0 0 100% !important;
        min-height: 180px; /* একই হাইট */
        max-height: 180px;
        width: 100%;
        margin: 0;
    }
    
    #trendingSlider .post-image, 
    #trendingSlider .post-image-placeholder {
        height: 90px; /* একই ইমেজ হাইট */
    }
    
    #trendingSlider .post-content {
        padding: 10px 8px 5px;
        height: 90px;
    }
    
    #trendingSlider .post-title {
        font-size: 0.85rem;
        min-height: 1.8em;
        margin-bottom: 5px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    
    #trendingSlider .post-stats {
        gap: 12px;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid #eee;
    }
    
    #trendingSlider .stat {
        font-size: 0.75rem;
        gap: 4px;
    }
    
    #trendingSlider .stat i {
        font-size: 0.8rem;
    }
    
    #trendingSlider .stat-number {
        font-size: 0.8rem;
    }
}

/* ছোট মোবাইল (480px) */
@media (max-width: 480px) {
    #trendingSlider .post-card {
        min-height: 160px;
        max-height: 160px;
    }
    
    #trendingSlider .post-image, 
    #trendingSlider .post-image-placeholder {
        height: 80px;
    }
    
    #trendingSlider .post-content {
        height: 80px;
        padding: 8px 6px 4px;
    }
    
    #trendingSlider .post-title {
        font-size: 0.8rem;
        min-height: 1.6em;
        -webkit-line-clamp: 2;
    }
    
    #trendingSlider .post-stats {
        gap: 10px;
        margin-top: 4px;
        padding-top: 4px;
    }
    
    #trendingSlider .stat {
        font-size: 0.7rem;
    }
}

/* সবচেয়ে ছোট মোবাইল (360px) */
@media (max-width: 360px) {
    #trendingSlider .post-card {
        min-height: 140px;
        max-height: 140px;
    }
    
    #trendingSlider .post-image, 
    #trendingSlider .post-image-placeholder {
        height: 70px;
    }
    
    #trendingSlider .post-content {
        height: 70px;
        padding: 6px 5px 3px;
    }
    
    #trendingSlider .post-title {
        font-size: 0.75rem;
        min-height: 1.4em;
    }
    
    #trendingSlider .stat {
        font-size: 0.65rem;
    }
}

/* PC/Laptop/Tablet এর জন্য আগের মতো রাখুন */
@media (min-width: 769px) {
    #trendingSlider .post-card {
        flex: 0 0 380px;
        min-height: 350px;
        max-height: 350px;
    }
    
    #trendingSlider .post-image, 
    #trendingSlider .post-image-placeholder {
        height: 170px;
    }
    
    #trendingSlider .post-content {
        height: 180px;
        padding: 20px 15px 15px;
    }
    
    #trendingSlider .post-title {
        font-size: 1.25rem;
        min-height: 3.2em;
        margin-bottom: 15px;
    }
    
    #trendingSlider .post-stats {
        gap: 25px;
        margin-top: 15px;
        padding-top: 12px;
    }
    
    #trendingSlider .stat {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    #trendingSlider .stat i {
        font-size: 1.1rem;
    }
}





@media (max-width: 480px) {
    .post-stats {
        gap: 40px;
        margin-top: 4px;
        padding-top: 4px;
    }
        #trendingSlider   .post-stats {
        gap: 40px;
        margin-top: 4px;
        padding-top: 4px;
    } 
}
@media (max-width: 768px) {
    .stat {
        font-size: 0.75rem;
        gap: 0px;
    }
         #trendingSlider   .stat {
        font-size: 0.75rem;
        gap: 0px;
    }
}


.hero p {

    opacity: 0.60;
  
}

@media (max-width: 480px) {
    .logo-img-only {
        height: 45px;
        margin-bottom: -5px;
        margin-top: -4px;
    }
}





/* search.css - index.php এর স্টাইলসে যোগ করুন */

/* ============ MOBILE SEARCH (লোগোর ডান পাশে) ============ */
.mobile-search-container {
    display: none;
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    width: 180px;
}

.mobile-search-container form {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

#mobileSearchInput {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
}

#mobileSearchInput::placeholder {
    color: rgba(255,255,255,0.7);
}

#mobileSearchInput:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
}

.mobile-search-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.mobile-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border: 2px solid rgba(255,255,255,0.1);
        left: -70px;
}

.mobile-search-suggestions.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============ DESKTOP SEARCH (শুধু ডেস্কটপে) ============ */
.desktop-search-container {
    display: block;
}

.desktop-search-container form {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============ RESPONSIVE DESIGN ============ */
/* ডেস্কটপ (769px এবং তার বেশি) */
@media (min-width: 769px) {
    .mobile-search-container {
        display: none !important;
    }
    
    .desktop-search-container {
        display: block;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .nav-menu {
        display: flex;
        gap: 10px;
        align-items: center;
        flex: 1;
        justify-content: flex-end;
    }
    
    .desktop-search-container {
        margin-right: 20px;
        flex: 1;
        max-width: 400px;
    }
}

/* ট্যাবলেট (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        margin-left: 0;
    }
    
    .mobile-search-container {
        display: flex !important;
        width: 200px;
    }
    
    #mobileSearchInput {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .mobile-search-btn {
        width: 38px;
        height: 38px;
    }
}

/* মোবাইল (480px এবং ছোট) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .mobile-search-container {
        display: flex !important;
        width: 150px;
        margin-right: 8px;
    }
    
    #mobileSearchInput {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .mobile-search-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .mobile-search-suggestions {
        font-size: 0.85rem;
    }
    
    .logo-img-only {
        height: 40px;
    }
}

/* খুব ছোট মোবাইল (360px এবং ছোট) */
@media (max-width: 360px) {
    .mobile-search-container {
        width: 130px;
    }
    
    #mobileSearchInput {
        font-size: 0.75rem;
        padding: 7px 10px;
    }
    
    .mobile-search-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .logo-img-only {
        height: 35px;
    }
}

/* টাচ ডিভাইস অপটিমাইজেশন */
@media (hover: none) and (pointer: coarse) {
    .mobile-search-btn:hover {
        transform: none;
    }
    
    #mobileSearchInput {
        font-size: 16px; /* iOS zoom প্রতিরোধ */
    }
}

/* মোবাইল মেনুতে সার্চ যোগ করুন */
.mobile-menu .mobile-menu-search {
    width: 90%;
    margin: 0 auto 20px;
}

.mobile-menu .mobile-menu-search form {
    display: flex;
}

.mobile-menu .mobile-menu-search input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px 0 0 30px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
}

.mobile-menu .mobile-menu-search button {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-left: none;
    border-radius: 0 30px 30px 0;
    color: white;
    padding: 0 20px;
    cursor: pointer;
}
/* ============ DESKTOP SEARCH SPECIFIC STYLES ============ */
.search-input-wrapper {
    position: relative;
    width: 250px;
}

/* ডেস্কটপ সার্চ ইনপুট */
#desktopSearchInput {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
        margin-left: 22px;
}

#desktopSearchInput::placeholder {
    color: rgba(255,255,255,0.7);
}

#desktopSearchInput:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
    width: px;
}

/* ডেস্কটপ সার্চ আইকন */
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    pointer-events: none;
}

/* ডেস্কটপ সার্চ বাটন */
.search-btn {
    display: none;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* ডেস্কটপ সার্চ সাজেশন */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-suggestions.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* সাজেশন আইটেম (ডেস্কটপ এবং মোবাইল কমন) */
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    color: #2c3e50;
    text-decoration: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item i {
    color: #2a9d8f;
}

.suggestion-title {
    font-weight: 500;
    font-size: 0.95rem;
}

.suggestion-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 3px;
}

.no-suggestions {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* ডেস্কটপ নেভ মেনু ফিক্স */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        gap: 10px;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .desktop-search-container {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-right: 20px;
    }
    
    .search-input-wrapper {
        width: 250px;
    }
    
    #desktopSearchInput {
        width: 100%;
    }
    
    .search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ডেস্কটপ লেআউট ঠিক করুন */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .nav-menu {
        flex: 1;
        justify-content: flex-end;
    }
}


@media (max-width: 480px) { 
    #mobileSearchInput {
        font-size: 0.8rem;
        padding: 3px 12px;
    }
        .mobile-search-btn {
        width: 31px;
        height: 31px;
        font-size: 0.9rem;
    }
        #mobileSearchInput {
        margin-left: -20px;
    }
    .mobile-search-btn {
        margin-right: 6px;
    }
    
        .mobile-menu-btn {
        margin-top: 4px;
    }
        .logo-img-only {
        position: relative;
        top: -1px;
    }
}


@media (max-width: 480px) {
    .logo-img-only {
        height: 45px;
    }
}

        .btn {
                    border-radius: 10px;
        }
        
        
        
            #desktopSearchInput {
        width: 91%;
    }
    
    
    
    
    /* মোবাইল মেনু স্টাইল ঠিক করুন */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 122, 0.98);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.active {
    display: flex !important; /* !important যোগ করুন */
}

.mobile-menu .nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    width: 80%;
    max-width: 300px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.mobile-menu .nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.mobile-menu .btn {
    width: 80%;
    max-width: 300px;
    justify-content: center;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* মোবাইল মেনু বাটন */
.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 1002;
    margin-left: 10px;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* মোবাইল মেনু বন্ধ করার বাটন */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 1003;
}

.close-menu:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Responsive মিডিয়া কুয়েরি */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important; /* !important যোগ করুন */
    }
    
    .nav-menu {
        display: none !important; /* মোবাইলে নেভ মেনু লুকান */
    }
    
    .mobile-menu {
        display: none; /* ডিফল্টভাবে লুকানো */
    }
    
    .mobile-menu.active {
        display: flex !important; /* সক্রিয় হলে দেখান */
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important; /* ডেস্কটপে লুকান */
    }
    
    .nav-menu {
        display: flex !important; /* ডেস্কটপে নেভ মেনু দেখান */
    }
}


@media (max-width: 480px) {
    #mobileSearchInput {
        margin-left: -3px;
    }
}

@media (max-width: 480px) {
    .mobile-search-btn {
        margin-right: -8px;
    }
}





























/* মোবাইল মেনু ভার্সন */
.mobile-menu .nav-link {
    width: 90%;
    max-width: 280px;
    padding: 12px 20px;
    margin: 8px 0;
    text-align: center;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.mobile-menu .nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

/* Login/Join বাটন */
.btn.btn-secondary {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    min-width: auto;
    flex: 0 0 auto;
}

.btn.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ডেস্কটপে নেভ মেনুর জন্য রেস্পন্সিভ */


/* ট্যাবলেট - নেভ মেনু লুকানো */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }
    
    /* মোবাইল মেনু */
    .mobile-menu {
        background: linear-gradient(135deg, rgba(26, 95, 122, 0.98) 0%, rgba(42, 157, 143, 0.98) 100%);
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu .nav-link {
        width: 85%;
        padding: 14px 20px;
        margin: 10px auto;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        border: 2px solid rgba(255,255,255,0.2);
    }
    
    .mobile-menu .btn {
        width: 85%;
        margin: 15px auto;
        padding: 15px 20px !important;
        font-size: 1rem !important;
    }
}


@media (max-width: 768px) {
    .mobile-menu .nav-link {
        width: 85%;
        padding: 7px 2px;
        margin: 9px auto;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
}
@media (max-width: 768px) {
    .mobile-menu.active {
        display: flex !important;
               height: 100%;
    }
}










/* ===== MOBILE MENU FIX ===== */
/* Remove fixed positioning from mobile menu */
.mobile-menu {
    position: relative !important; /* changed from fixed */
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.98) 0%, rgba(42, 157, 143, 0.98) 100%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0 !important;
    margin: 0 !important;
    z-index: 999 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu.active {
    display: flex !important;
}

/* Adjust close button position */
.mobile-menu .close-menu {
    position: absolute;
    top: 15px !important;
    right: 15px !important;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s;
    z-index: 1000;
}

/* Adjust mobile menu content */
.mobile-menu > div {
    width: 100% !important;
    max-width: 400px !important;
    margin: 40px auto 20px !important; /* Adjust top margin for close button */
    padding: 0 20px !important;
}

/* Adjust mobile menu links */
.mobile-menu .nav-link {
    width: 90% !important;
    max-width: 300px !important;
    padding: 12px 20px !important;
    margin: 8px auto !important;
    font-size: 0.95rem !important;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Ensure hero section comes after mobile menu */
.hero {
    position: relative;
    z-index: 1;
}

/* When mobile menu is open, push hero down smoothly */
body.mobile-menu-open .hero {
    transition: margin-top 0.3s ease;
}

/* Hide body overflow when menu is open (optional) */
body.mobile-menu-open {
    overflow: hidden;
    height: 100vh;
}

/* Adjust for mobile screens */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
        max-height: 80vh;
        overflow-y: auto;
        padding-bottom: 20px;
    }
    
    .mobile-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Remove the negative margin from mobile menu */
    .mobile-menu > div {
        margin-top: 20px !important;
    }
}

/* Very small mobile adjustments */
@media (max-width: 480px) {
    .mobile-menu {
        padding: 15px 0 !important;
    }
    
    .mobile-menu .nav-link {
        padding: 5px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .close-menu {
        top: 10px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
    }
}











/* Remove white flashing background effect */
.mobile-menu {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.98) 0%, rgba(42, 157, 143, 0.98) 100%);
    animation: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Smooth opening animation */
.mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu button style */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    z-index: 1002;
    margin-left: 10px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}








/* Mobile Menu Right Arrow Icons */
.mobile-menu .nav-link {
    position: relative;
    padding-right: 50px !important; /* Increase padding for arrow */
}

.mobile-menu .nav-link::after {
    content: '\f054'; /* FontAwesome right arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover::after {
    color: white;
    transform: translateY(-50%) translateX(5px);
}

/* Login/Logout button special styling */
.mobile-menu .nav-link[style*="background: rgba(231, 111, 81, 0.2)"]::after,
.mobile-menu .nav-link[style*="background: rgba(42, 157, 143, 0.3)"]::after {
    color: white;
}



.mobile-menu-btn {
    width: 42px;
    height: 42px;
        position: relative;
    top: -2px;

}
@media (max-width: 480px) {
    .logo-img-only {
        height: 46px;
        position: relative;
        top: -2px;
    }
}



.post-content {
    background: #e7fffd69;
}


 .hero::after {
    margin-bottom: -6px;
} 
  
  


#typing-text {
    margin-top: -30px;
}  











/* Post card width and height fix */
.post-card {
 
    min-height: 180px !important;
    max-height: 180px !important;

    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Latest posts slider cards */
#latestSlider .post-card {
    flex: 0 0 100% !important;
    min-height: 180px !important;
    max-height: 180px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Trending posts slider cards */
#trendingSlider .post-card {
    flex: 0 0 100% !important;
    min-height: 180px !important;
    max-height: 180px !important;
    width: 100% !important;
    margin: 0 !important;
}



/* Force same width for all cards in mobile grid */
.slider-container > * {
    width: 100% !important;
}

@media (max-width: 480px) {
/* Make sure image container has consistent height */
.post-card > div:first-child,
.post-card > img:first-child {
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    width: 100% !important;
    object-fit: cover !important;
}
}

/* Title truncation fix */
.post-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    min-height: 2.6em !important;
    max-height: 2.6em !important;
}

/* Stats section fix */
.post-stats {
    position: absolute !important;
    bottom: 10px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 15px !important;
    margin-top: 0 !important;
}

/* Card container fix */
.post-card {
    position: relative !important;
    overflow: hidden !important;
}






  /* PC/Laptop - বড় ভিউ */
@media (min-width: 769px) {
    #latestSlider .post-card,
    #trendingSlider .post-card {
        flex: 0 0 380px !important;
        min-height: 270px !important;
        max-height: 270px !important;
        width: auto !important;
    }
    
   
}

/* মোবাইল স্টাইল */
@media (max-width: 768px) {
    #latestSlider .post-card,
    #trendingSlider .post-card {
        min-height: 180px !important;
        max-height: 180px !important;
        width: 100% !important;
    }
    
    #latestSlider .post-image,
    #trendingSlider .post-image,
    #latestSlider .post-image-placeholder,
    #trendingSlider .post-image-placeholder {
        height: 90px !important;
    }
}









/* ===== MOBILE POST CARDS GRID LAYOUT ===== */
/* Mobile Grid Layout - সকল মোবাইলের জন্য */
@media (max-width: 768px) {
    /* Latest Posts Slider */
    #latestSlider.slider-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        overflow-x: visible !important;
        padding: 10px 5px !important;
        scroll-behavior: auto !important;
    }
    
    /* Trending Posts Slider */
    #trendingSlider.slider-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        overflow-x: visible !important;
        padding: 10px 5px !important;
        scroll-behavior: auto !important;
    }
    
    /* Post Card Styles - সকল কার্ডের জন্য */
    .slider-container .post-card {
        flex: 0 0 100% !important;
        min-height: 220px !important; /* একটু বড় করুন */
        max-height: 220px !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 12px !important;
    }
    
    /* Image Container */
    .post-card > div:first-child,
    .post-card > img:first-child,
    .post-image,
    .post-image-placeholder {
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    /* Post Content */
    .post-content {
        padding: 12px 10px 10px !important;
        height: 110px !important; /* কার্ডের বাকি অংশ */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    

    
    /* Stats Section */
    .post-stats {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        margin-top: auto !important;
        padding-top: 10px !important;
        border-top: 1px solid #eee !important;
        width: 100% !important;
    }
    
    .stat {
        font-size: 0.75rem !important;
        gap: 5px !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .stat i {
        font-size: 0.85rem !important;
    }
    
    .stat-number {
        font-weight: 600 !important;
        font-size: 0.8rem !important;
    }
    
    /* Remove slider navigation dots */
    .slider-nav {
        display: none !important;
    }
}

/* ছোট মোবাইলের জন্য অপটিমাইজেশন (360px - 480px) */
@media (max-width: 480px) {
    #latestSlider.slider-container,
    #trendingSlider.slider-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 8px 5px !important;
    }
    
    .slider-container .post-card {
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .post-image,
    .post-image-placeholder {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
    
    .post-content {
        height: 100px !important;
        padding: 10px 8px 8px !important;
    }
    

    
    .post-stats {
        padding-top: 8px !important;
    }
    
    .stat {
        font-size: 0.7rem !important;
    }
    
    .stat-number {
        font-size: 0.75rem !important;
    }
}

/* সবচেয়ে ছোট মোবাইলের জন্য (360px এর নিচে) */
@media (max-width: 360px) {
    #latestSlider.slider-container,
    #trendingSlider.slider-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 5px !important;
    }
    
    .slider-container .post-card {
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .post-image,
    .post-image-placeholder {
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
    }
    
    .post-content {
        height: 90px !important;
        padding: 8px 6px 6px !important;
    }

    
    .post-stats {
        padding-top: 6px !important;
    }
    
    .stat {
        font-size: 0.65rem !important;
        gap: 3px !important;
    }
    
    .stat i {
        font-size: 0.75rem !important;
    }
    
    .stat-number {
        font-size: 0.7rem !important;
    }
}

/* PC/Tablet এর জন্য আগের মতো রাখুন (768px এর উপরে) */
@media (min-width: 769px) {
    #latestSlider.slider-container,
    #trendingSlider.slider-container {
        display: flex !important;
        gap: clamp(15px, 3vw, 30px) !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
        padding: 20px 0 !important;
    }
    
    .post-card {
        flex: 0 0 clamp(280px, 85vw, 350px) !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
    
    .slider-nav {
        display: flex !important;
    }
}

    
    .post-title {
    font-size: 17px;
    min-height: 3.2em !important;
    max-height: 2.2em !important;
    }
    
    
    
    
    

#typing-text {
    margin-top: -11px;
}


@media screen and (min-width: 768px) {
    #trendingSlider .post-stats {
                gap: 73px;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid #eee;
    }
      
  
  /* Hero Section Font কমিয়ে দিন */
.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* 3.5rem থেকে 2.8rem */
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.2rem); /* 1.3rem থেকে 1.2rem */
}

/* Section Title কমিয়ে দিন */
.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem); /* 2.5rem থেকে 2.2rem */
}

.section-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.1rem); /* 1.2rem থেকে 1.1rem */
}



.post-stats {

    gap: 73px;

}  



  }
  


  
  
/* ===== MODERN DASHBOARD STYLES ===== */
.site-overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0;
    margin: 0 auto 30px;
    max-width: 1400px;
    position: relative;
}

.dashboard-container {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2a9d8f, #e9c46a, #f4a261);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-title {
    font-size: 1.8rem;
    color: #1a5f7a;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.dashboard-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2a9d8f;
    border-radius: 2px;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Modern Dashboard Grid */
.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Dashboard Row - Left Icon + Name, Right Count */
.dashboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.dashboard-row:hover {
    
}

/* Left Side - Icon and Name */
.row-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.row-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.row-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.row-content {
    flex: 1;
}

.row-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.3;
}

.row-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Right Side - Count */
.row-right {
    text-align: right;
    min-width: 120px;
}

.row-count {
    font-size: 2rem;
    font-weight: 700;
    color: #1a5f7a;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Noto Sans Bengali', sans-serif;
    direction: ltr;
    text-align: right;
}

.row-unit {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

/* Reaction Breakdown */
.reaction-details {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.reaction-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f8f9fa;
}

.reaction-detail.mashallah {
    color: #2a9d8f;
    background: rgba(42, 157, 143, 0.1);
}

.reaction-detail.alhamdulillah {
    color: #e9c46a;
    background: rgba(233, 196, 106, 0.1);
}

.reaction-detail.benefited {
    color: #e76f51;
    background: rgba(231, 111, 81, 0.1);
}

/* Dashboard Footer */
.dashboard-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.update-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.update-info i {
    color: #2a9d8f;
}

.refresh-btn {
    background: #2a9d8f;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.refresh-btn:hover {
    background: #238276;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.4);
}

.refresh-btn:active {
    transform: translateY(0);
}

.refresh-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Skeleton */
.skeleton-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-row {
    height: 70px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 480px) {
    .dashboard-container {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .dashboard-row {
        padding: 15px;
        min-height: 65px;
    }
    
    .row-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .row-name {
        font-size: 0.95rem;
    }
    
    .row-count {
        font-size: 1.7rem;
    }
    
    .reaction-details {
        gap: 10px;
    }
    
    .reaction-detail {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}

@media (min-width: 768px) {
    .dashboard-container {
        padding: 30px;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-row {
        padding: 20px 25px;
        min-height: 75px;
    }
    
    .row-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .row-name {
        font-size: 1.05rem;
    }
    
    .row-count {
        font-size: 2.2rem;
    }
    
    .reaction-details {
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dashboard-row {
        margin: 0;
    }
}  
















/* ... existing CSS ... */

/* Dashboard Row Animation */
.dashboard-row.animate {
    animation: rowPulse 0.6s ease;
}

@keyframes rowPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Count Styles */
.row-count {
    font-size: 2rem;
    font-weight: 700;
    color: #1a5f7a;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Noto Sans Bengali', sans-serif;
    direction: ltr;
    text-align: right;
    transition: all 0.3s ease;
}

.row-count.animating {
    color: #2a9d8f;
    text-shadow: 0 0 10px rgba(42, 157, 143, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
   
}

@media (min-width: 768px) {
    .row-count {
        font-size: 2.2rem;
    }
}

/* ... rest of CSS ... */
/* খুব সহজ animation */
.stat-number {
    display: inline-block;
    transition: transform 0.3s;
}

.stat-number:hover {
    transform: scale(1.1);
    color: #2a9d8f;
    font-weight: bold;
}
  /* Post Card Count Fix - সব ডিভাইসের জন্য */
.post-stats {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 15px !important; /* Gap কমিয়ে দিন */
    padding: 8px 10px 8px !important;
    box-sizing: border-box !important;
}

.stat {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important; /* সমান width */
    min-width: 0 !important; /* Important: 0 দিলে shrink হবে */
    max-width: 50% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    gap: 5px !important;
}

.stat i {
    flex-shrink: 0 !important; /* আইকন shrink হবে না */
    font-size: 0.9rem !important;
}

.stat-number {
    flex-shrink: 1 !important; /* Number shrink হবে */
    min-width: 0 !important; /* Very important */
    max-width: 60px !important; /* Maximum width */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
} 







@media (max-width: 767px) {
.post-stats {
    top: 142px;
}

    #trendingSlider .post-stats {

        top: 142px;
    }
}

/* Post Card Count Fix - সব ডিভাইসের জন্য */
.post-stats {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 15px !important; /* Gap কমিয়ে দিন */
    padding: 8px 10px 8px !important;
    box-sizing: border-box !important;
}

.stat {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important; /* সমান width */
    min-width: 0 !important; /* Important: 0 দিলে shrink হবে */
    max-width: 50% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    gap: 5px !important;
}

.stat i {
    flex-shrink: 0 !important; /* আইকন shrink হবে না */
    font-size: 0.9rem !important;
}

.stat-number {
    flex-shrink: 1 !important; /* Number shrink হবে */
    min-width: 0 !important; /* Very important */
    max-width: 60px !important; /* Maximum width বাড়িয়ে দিন */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    direction: ltr !important; /* সংখ্যা left-to-right রাখুন */
    text-align: left !important;
}

/* মোবাইলের জন্য আরও বেশি জায়গা */
@media (max-width: 768px) {
    .stat-number {
        max-width: 70px !important; /* মোবাইলে বেশি জায়গা */
        font-size: 0.8rem !important;
    }
    
    .post-stats {
        gap: 10px !important; /* Gap আরও কমিয়ে দিন */
        padding: 8px 5px !important;
    }
}

@media (max-width: 480px) {
    .stat-number {
        max-width: 50px !important;
        font-size: 0.75rem !important;
    }
    
    .post-stats {
        gap: 8px !important;
        padding: 6px 3px !important;
    }
    
    .stat i {
        font-size: 0.8rem !important;
    }
}

/* খুব বড় সংখ্যার জন্য বিশেষ স্টাইল */
.stat-number.large-number {
    font-size: 0.75rem !important;
    letter-spacing: -0.5px;
}

/* যেসব সংখ্যায় M আছে তাদের জন্য */
.stat-number:contains('M'),
.stat-number:contains('K') {
    font-size: 0.8rem !important;
}



.dashboard-footer {
    display: none;
}
    .section {
        background: #f9f9f9;
    }
.dashboard-container {

    box-shadow: none;

}
.stat-number {
    margin-top: 3px;
}
.row-count {
    color: #29998d;

}
.row-count {
    font-size: 18px;

    
}


@media screen and (max-width: 768px) {
.dashboard-rowreact{
    display:none;
}
}
@media screen and (min-width: 768px) {
#typing-text {
    margin-top: -50px;
}
    .dashboard-container {
        margin-top: 45px;
    }
}

.dashboard-row {
    box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 1px 5px 2px rgb(230 230 230 / 75%);
    -moz-box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.75);
}
.stat-number {
    margin-top: 3px;
    margin-left: -2px;
}


@media (max-width: 768px) {
    #latestSlider.slider-container, #trendingSlider.slider-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 5px !important;
    }
}


/* ইসলামিক কালিমা বা শাহাদাত এর ডিজাইন */
.header::before {
    content: 'ﷲ';
    font-family: 'KFGQPC Uthmanic Script HAFS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.1;
    color: white;
    z-index: 0;
    pointer-events: none;
}

/* নেভ লিংকে ইসলামিক আইকন */
.nav-link i {
    color: #FFD700; /* গোল্ডেন কালার */
}

/* অ্যাক্টিভ লিংক */
.nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
}



.hero {
    background: linear-gradient(135deg, 
        #1a5f7a 0%, 
        #0d4a3a 50%, 
        #0a2e2e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'ﷲ';
    font-family: 'KFGQPC Uthmanic Script HAFS';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* টাইটেল স্টাইল */ 
.hero h1 {
    font-family: 'Noto Sans Bengali', 'KFGQPC Uthmanic Script HAFS', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #FFD700;
}











.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0d4a3a, #FFD700);
    z-index: 1;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: none  !important ;
}

/* পোস্ট ইমেজ স্টাইল */
.post-image, .post-image-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.post-image-placeholder {
    background: linear-gradient(135deg, #0d4a3a, #1a5f7a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image-placeholder i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 4rem;
}

/* পোস্ট কন্টেন্ট */
.post-content {
    padding: 20px;
    background: #f8f9fa;
}









/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a5f7a 0%, #264653 100%);
    color: white;
    padding: 30px 15px;
    margin-top: 40px;
    box-sizing: border-box;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
    width: 100%;
}

/* সব ডিভাইসের জন্য ২ কলাম লেআউট */
.footer-content {
    grid-template-columns: repeat(2, 1fr);
}

/* প্রতিটি কলামের স্টাইল */
.footer-content > div {
    padding: 0 10px;
    box-sizing: border-box;
}

/* লোগো সেকশন */
.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: #FFD700;
    font-size: 1.8rem;
}

/* লিংক সেকশন */
.footer-links h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #FFD700;
}

/* সোশ্যাল মিডিয়া সেকশন */
.footer-social h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.social-icons a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #FFD700;
    background: rgba(255,255,255,0.2);
}

/* কন্টাক্ট ইনফো */
.contact-info {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-info i {
    margin-right: 10px;
    color: #FFD700;
    width: 20px;
}

/* কপিরাইট */
.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    grid-column: 1 / -1; /* পুরো জায়গা জুড়ে */
}

/* ছোট মোবাইলের জন্য সামান্য অ্যাডজাস্ট */
@media (max-width: 360px) {
    .footer {
        padding: 25px 10px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-content > div {
        padding: 0 5px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .social-icons {
        gap: 10px;
        font-size: 1.2rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
    }
}

/* ট্যাবলেটের জন্য (যদি বড় স্ক্রিনে ২ কলাম দেখাতে চান) */
@media (min-width: 769px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .copyright {
        grid-column: 1 / -1;
    }
}
/* ===== MOBILE FOOTER FIX ===== */
/* Mobile frame (480px এবং ছোট) */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        text-align: left !important;
    }
    
    .footer-content > div {
        text-align: left;
        padding: 0 8px;
    }
    
    .footer-logo {
        text-align: left;
        justify-content: flex-start;
    }
    
    .footer-logo i {
        margin-right: 10px;
        margin-left: 0;
    }
    
    .footer-links h3 {
        text-align: left;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        font-size: 1rem;
    }
    
    .footer-links a {
        text-align: left;
        justify-content: flex-start;
        font-size: 0.85rem;
        padding: 4px 0;
        margin-bottom: 6px;
    }
    
    .footer-links a i {
        margin-right: 8px;
        width: 15px;
        text-align: center;
    }
    
    /* Social section */
    .footer-content > div:last-child {
        text-align: left;
    }
    
    .footer-content > div:last-child h3 {
        text-align: left;
    }
    
    .social-icons {
        justify-content: flex-start;
        margin-bottom: 15px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-info i {
        width: 18px;
        text-align: center;
    }
}

/* Very small mobile (360px এর নিচে) */
@media (max-width: 360px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .footer-content > div {
        padding: 0 5px;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

/* ছোট মোবাইলেও ২ কলাম লেআউট জোর করে রাখুন */
@media (max-width: 768px) and (min-width: 481px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

/* Ensure all footer text is left aligned */
.footer-content > div {
    text-align: left;
}

.footer-links {
    text-align: left;
}

/* Force left alignment for all direct children */
.footer > div:first-child > div {
    text-align: left !important;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 20px);
}















/* Remove any conflicting styles */
@media (min-width: 768px) {
    .post-image, 
    .post-image-placeholder {
        height: 143px !important;
        min-height: 143px !important;
        max-height: 143px !important;
    }
    /* Force all post images to be exactly 143px */
.post-card > img:first-child,
.post-card > div:first-child,
.post-image,
.post-image-placeholder,
.post-card > div[style*="height:"] {
    height: 143px !important;
    min-height: 143px !important;
    max-height: 143px !important;
    width: 100% !important;
    object-fit: cover !important;
}
}














/* === MOBILE MENU FIX === */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px; /* Header height */
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a5f7a 0%, #2a9d8f 100%);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), 
                opacity 0.3s ease;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    display: block;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Mobile menu links */
.mobile-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-30px);
    opacity: 0;
}

.mobile-menu.active .nav-link {
    animation: slideInMenuItem 0.5s ease forwards;
}

.mobile-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu.active .nav-link:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu.active .nav-link:nth-child(7) { animation-delay: 0.4s; }
.mobile-menu.active .nav-link:nth-child(8) { animation-delay: 0.45s; }

.mobile-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes slideInMenuItem {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.mobile-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-30px);
    opacity: 0;
    align-content: space-between;
    justify-content: flex-start;
}
.mobile-menu > div {
        margin-top: 2px !important;
    }
    
    .mobile-menu {

       background: linear-gradient(135deg, #1d6a7e 0%, #0e4b3e);
    box-shadow: none;

}
.mobile-menu > div {
    margin-top: 15px !important;
}


























/* ===== MOBILE MENU TWO COLUMN LAYOUT ===== */
@media (max-width: 768px) {
    .mobile-menu > div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 90% !important;
        max-width: 500px !important;
        margin: 40px auto 20px !important;
        padding: 0 10px !important;
    }
    
    .mobile-menu .nav-link {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 16px 15px !important;
        font-size: 0.95rem !important;
        min-height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        animation: none !important;
        animation-delay: 0s !important;
    }
    
    /* আইকন সাইজ বড় করুন */
    .mobile-menu .nav-link i {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
    }
    
    /* Right arrow hide করুন */
    .mobile-menu .nav-link::after {
        display: none !important;
    }
    
    /* প্রতিটি লিঙ্কের জন্য ভিন্ন ব্যাকগ্রাউন্ড কালার */
    .mobile-menu .nav-link:nth-child(odd) {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    .mobile-menu .nav-link:nth-child(even) {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Login/Logout বাটনের জন্য আলাদা স্টাইল */
    .mobile-menu .nav-link[href*="join.php"],
    .mobile-menu .nav-link[href*="dashboard.php"] {
        background: linear-gradient(135deg, rgba(42, 157, 143, 0.2), rgba(26, 95, 122, 0.2)) !important;
        border: 1px solid rgba(42, 157, 143, 0.3) !important;
    }
    
    /* হোভার ইফেক্ট */
    .mobile-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    }
}

/* ছোট মোবাইলের জন্য অ্যাডজাস্টমেন্ট */
@media (max-width: 480px) {
    .mobile-menu > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    
    .mobile-menu .nav-link {
        padding: 14px 12px !important;
        min-height: 75px !important;
        font-size: 0.9rem !important;
    }
    
    .mobile-menu .nav-link i {
        font-size: 1.1rem !important;
    }
}

/* সবচেয়ে ছোট মোবাইলের জন্য */
@media (max-width: 360px) {
    .mobile-menu > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px !important;
    }
    
    .mobile-menu .nav-link {
        padding: 12px 10px !important;
        min-height: 70px !important;
        font-size: 0.85rem !important;
    }
    
    .mobile-menu .nav-link i {
        font-size: 1rem !important;
    }
}

/* মোবাইল মেনু entrance animation */
.mobile-menu.active > div {
    animation: slideInGrid 0.5s ease forwards;
}

@keyframes slideInGrid {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* প্রতিটি গ্রিড আইটেমের জন্য staggered animation */
.mobile-menu.active .nav-link:nth-child(1) { animation: fadeInUp 0.4s ease 0.1s both; }
.mobile-menu.active .nav-link:nth-child(2) { animation: fadeInUp 0.4s ease 0.15s both; }
.mobile-menu.active .nav-link:nth-child(3) { animation: fadeInUp 0.4s ease 0.2s both; }
.mobile-menu.active .nav-link:nth-child(4) { animation: fadeInUp 0.4s ease 0.25s both; }
.mobile-menu.active .nav-link:nth-child(5) { animation: fadeInUp 0.4s ease 0.3s both; }
.mobile-menu.active .nav-link:nth-child(6) { animation: fadeInUp 0.4s ease 0.35s both; }
.mobile-menu.active .nav-link:nth-child(7) { animation: fadeInUp 0.4s ease 0.4s both; }
.mobile-menu.active .nav-link:nth-child(8) { animation: fadeInUp 0.4s ease 0.45s both; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* বিভিন্ন ক্যাটেগরির জন্য ভিন্ন কালার */
.mobile-menu .nav-link[href*="index.php"] {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.15), rgba(38, 70, 83, 0.15));
    border-left: 4px solid #2a9d8f;
}

.mobile-menu .nav-link[href*="truth"] {
    background: linear-gradient(135deg, rgba(231, 111, 81, 0.15), rgba(155, 93, 229, 0.15));
    border-left: 4px solid #e76f51;
}

.mobile-menu .nav-link[href*="ranking"] {
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.15), rgba(244, 162, 97, 0.15));
    border-left: 4px solid #e9c46a;
}

.mobile-menu .nav-link[href*="about"] {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.15), rgba(67, 97, 238, 0.15));
    border-left: 4px solid #4cc9f0;
}

.mobile-menu .nav-link[href*="dashboard"] {
    background: linear-gradient(135deg, rgba(241, 91, 181, 0.15), rgba(254, 228, 64, 0.15));
    border-left: 4px solid #f15bb5;
}

/* লগইন/লগআউট বিশেষ স্টাইল */
.mobile-menu .nav-link[href*="join.php"] {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.25), rgba(26, 95, 122, 0.25));
    border: 2px solid rgba(42, 157, 143, 0.4);
    font-weight: 600;
}





@media (max-width: 480px) {
    #mobileSearchInput {
        margin-left: 0px;
    }
        .post-title {
        font-size: 14px !important;
        font-size: 14px;
        line-height: 1.4;
    }
}





.post-title {
    line-height: 1.4 !important;

}


.post-card::before {

    background: none;
}


/* ইসলামিক কালিমা বা শাহাদাত এর ডিজাইন */
.header::before {
    content:" " ;
    font-family: 'KFGQPC Uthmanic Script HAFS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.1;
    color: white;
    z-index: 0;
    pointer-events: none;
}


.post-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: none;
}



@media (min-width: 769px) {
.hero {

    height: 460px;
}

    #typing-text {
        margin-top: -70px;
    }
    
    .header {
    background: linear-gradient(135deg, #1e6079 0%, #0c3d34 100%);
    color: white;
    padding: 7px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

}















@media (max-width: 769px) {
.hero {

.post-card {

    box-shadow: none;

}

}



@media (max-width: 768px) {
    .slider-container .post-card {
        flex: 0 0 100% !important;
        min-height: 220px !important;
        max-height: 220px !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none  !important;
        border-radius: 12px !important;
    }
}



.post-card:hover {
    transform: translateY(-5px);
    box-shadow: none  !important;
    border-color: none  !important ;
}
















.stat-number {
    margin-top: 3px;
    margin-left: -2px;
        color: #6c757d;
    font-size: 0.9rem;
            margin-left: -5px;
                font-weight: 500 !important;
}
.fa-eye:before {
    content: "\f06e"; 
    color: #6c757d;
}
.fa-heart:before {
    color: #6c757d;
    content: "\f004";
}



@media (min-width: 769px) {
    .post-card {
        border-radius: 6px !important;
     
    }
}

.post-card {
    background: white;
    border-radius: 6px !important;
   
}

@media (max-width: 768px) {
    #latestSlider .post-card, #trendingSlider .post-card {

        border-radius: 6px !important;
    }
}

@media (max-width: 768px) {
    .post-card > div:first-child, .post-card > img:first-child, .post-image, .post-image-placeholder {

        border-radius: 6px 6px 0 0 !important;
    }
}
@media (min-width: 768px) {
    #latestSlider .post-card, #trendingSlider .post-card {

        border-radius: 6px !important;
    }
}

@media (min-width: 768px) {
    .post-card > div:first-child, .post-card > img:first-child, .post-image, .post-image-placeholder {

        border-radius: 6px 6px 0 0 !important;
    }
}


@media (max-width: 769px) {
    .header {
        background: linear-gradient(135deg, #1a5f7a 0%, #177154 100%);
  
    }



}









