.hero-badge {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  
  /* শুধু টেক্সটে গ্রেডিয়েন্ট */
  background: linear-gradient(135deg, #0285F7, #ffa800, #1308fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* বাকি স্টাইল আপনার ইচ্ছামতো */
  letter-spacing: 1px;
}
.hero-badge {
  font-size: 28px;
  padding: 18px 36px;
}

/* মোবাইলের জন্য (৬০০px এর নিচে) */
@media (max-width: 600px) {
  .hero-badge {
    font-size: 18px; /* ছোট সাইজ */
    padding: 12px 24px; /* প্যাডিংও কমালাম */
  }
}

/* খুব ছোট মোবাইলের জন্য (৪০০px এর নিচে) */
@media (max-width: 400px) {
  .hero-badge {
    font-size: 14px;
    padding: 10px 18px;
  }
}
/* ============================================
   BLOG SECTION STYLES
   ============================================ */

.blog-section {
    padding: 80px 0;
    background: #f8faff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 10px;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,#ffa800,#0f3460,#ffa800);
    border-radius: 2px;
}

.section-sub {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* ============================================
   BLOG GRID
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ============================================
   BLOG CARD
   ============================================ */

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(15, 52, 96, 0.06);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(15, 52, 96, 0.12);
}

.blog-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-body {
    padding: 25px 28px 30px;
}

.blog-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.blog-body h3:hover {
    color: #0f3460;
}

.meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}

.meta i {
    margin-right: 4px;
}

.blog-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0f3460;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
}

.read-more i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.read-more:hover {
    color: #e94560;
}

.read-more:hover i {
    transform: translateX(6px);
}

/* ============================================
   MODAL / POPUP STYLES
   ============================================ */

.article-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 40px auto;
    padding: 30px 40px;
    width: 90%;
    max-width: 850px;
    border-radius: 16px;
    position: relative;
    animation: modalSlideDown 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

/* Close Button */
.close-btn {
    position: sticky;
    top: 0;
    float: right;
    font-size: 34px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    background: #fff;
    padding: 0 8px;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #e94560;
}

/* ============================================
   ARTICLE BODY CONTENT
   ============================================ */

.article-body {
    padding: 10px 5px 20px;
    line-height: 1.8;
    color: #1a1a2e;
}

.article-body h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
    line-height: 1.3;
}

.article-body h2 {
    font-size: 23px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #0f3460;
    border-bottom: 2px solid #f0f4ff;
    padding-bottom: 10px;
}

.article-body h3 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #16213e;
}

.article-body h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #0f3460;
}

.article-body p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 28px;
}

.article-body li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}

.article-body hr {
    border: none;
    border-top: 2px solid #f0f4ff;
    margin: 30px 0;
}

/* Table Styles */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 25px;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.article-body table th,
.article-body table td {
    border: 1px solid #e8ecf1;
    padding: 12px 16px;
    text-align: left;
}

.article-body table th {
    background: #0f3460;
    color: #fff;
    font-weight: 600;
}

.article-body table tr:nth-child(even) {
    background: #f8faff;
}

.article-body table tr:hover {
    background: #f0f4ff;
}

/* FAQ Section */
.article-body .faq-section {
    background: #f0f4ff;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 30px 0 20px;
    border-left: 4px solid #0f3460;
}

.article-body .faq-section h3 {
    margin-top: 0;
    color: #0f3460;
}

.article-body .faq-section h4 {
    margin-top: 18px;
    margin-bottom: 5px;
    color: #16213e;
    font-size: 16px;
}

.article-body .faq-section p {
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideDown {
    from {
        transform: translateY(-60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(2) {
    transition-delay: 0.25s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > *:nth-child(3) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .modal-content {
        padding: 25px 30px;
        margin: 30px auto;
    }

    .article-body h1 {
        font-size: 26px;
    }

    .article-body h2 {
        font-size: 21px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-sub {
        font-size: 16px;
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .blog-grid {
        grid-template-columns: 2, 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .blog-body {
        padding: 20px 22px 25px;
    }

    .blog-body h3 {
        font-size: 18px;
    }

    .blog-img {
        height: 180px;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 15px auto;
        padding: 20px 18px;
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .close-btn {
        font-size: 30px;
        padding: 0 5px;
    }

    .article-body {
        padding: 5px 0 10px;
    }

    .article-body h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .article-body h2 {
        font-size: 19px;
        margin-top: 25px;
    }

    .article-body h3 {
        font-size: 17px;
    }

    .article-body p,
    .article-body li {
        font-size: 15px;
    }

    .article-body table {
        font-size: 13px;
    }

    .article-body table th,
    .article-body table td {
        padding: 8px 10px;
    }

    .article-body .faq-section {
        padding: 18px 20px;
        margin: 20px 0;
    }

    .article-body .faq-section h4 {
        font-size: 15px;
    }

    .article-body .faq-section p {
        font-size: 14px;
    }

    .article-body hr {
        margin: 20px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .blog-body h3 {
        font-size: 17px;
    }

    .blog-body p {
        font-size: 14px;
    }

    .modal-content {
        padding: 15px 14px;
        margin: 10px auto;
    }

    .article-body h1 {
        font-size: 20px;
    }

    .article-body h2 {
        font-size: 17px;
    }

    .article-body p,
    .article-body li {
        font-size: 14px;
    }
}