
    body {
      background: linear-gradient(135deg, #2d186a 0%, #4a2c7a 100%);
      color: #fff;
    }
    .blog-hero {
      /* background: linear-gradient(135deg, #6b39ff 0%, #2d186a 100%); */
      background-color: (180deg, #1a0d3a 0%, #2d1b69 50%, #4a2c7a 100%);
      padding: 64px 0 32px 0;
      text-align: center;
      position: relative;
    }
   .blog-title {
      max-width: 900px;
      margin: 0 auto 32px auto;
      text-align: center;
    }

    /* .blog-title p {
      font-size: 2.8rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.3;
      margin: 0;
      text-wrap: balance;
      max-width: 800px;
      margin: 0 auto;
    } */
.blog-header {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.header-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.header-title {
    color: white;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}
@media (max-width: 768px) {
  .blog-title {
    font-size: 2rem;
    line-height: 1.4;
  }
}
    .blog-meta {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
    }
    .blog-author {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #bdbdbd;
      font-size: 1.1rem;
      font-weight: 500;
    }
    .blog-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #bdbdbd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: #fff;
    }
    .blog-info {
      display: flex;
      gap: 18px;
      align-items: center;
      color: #bdbdbd;
      font-size: 1rem;
      margin-bottom: 18px;
      justify-content: center;
    }
    .blog-summary {
      color: #e0e0e0;
      font-size: 1.13rem;
      max-width: 700px;
      margin: 0 auto 32px auto;
    }
   .blog-main-img {
      width: 100%;
      max-width: 900px;
      max-height: 400px; /* Adjust this value based on your image */
      /* margin: 0 auto 48px auto; */
      margin: 0 auto 0px auto;
      border-radius: 18px 18px 0px 0px;
      display: block;
      object-fit: cover;
      object-position: top; /* Shows the top portion of the image */
      overflow: hidden;
    }
    .blog-content {
      max-width: 900px;
      margin: 0 auto 64px auto;
      /* background: linear-gradient(135deg, #2d186a 0%, #4a2c7a 100%); */
      border-radius: 18px;
      padding: 48px 32px 48px 32px;
      color: #e0e0e0;
      font-size: 1.13rem;
      /* box-shadow: 0 0 32px 0 #7c3aed33; */
    }
    .blog-content h2 {
      color: #fff;
      font-size: 1.5rem;
      font-weight: 700;
      margin-top: 40px;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid rgba(167, 139, 250, 0.3);
    }

    .blog-content h2:first-of-type {
      margin-top: 24px;
    }

    .blog-content ul {
      margin: 0 0 24px 0;
      padding-left: 24px;
      list-style-type: disc;
    }

    .blog-content li {
      margin-bottom: 12px;
      padding-left: 8px;
      line-height: 1.7;
      color: #e0e0e0;
    }

    .blog-content li::marker {
      color: #a78bfa;
      font-size: 1.2em;
    }
    .quote-box {
      display: flex;
      align-items: center;
      margin-bottom: 24px;
      color: #fff;
      border-left: 4px solid #a78bfa;
      min-height: 50px;
      padding: 12px 18px;
      background: rgba(167, 139, 250, 0.08);
      border-radius: 0 8px 8px 0;
    }

    .quote-box p {
      margin: 0;
      font-size: 1.1rem;
      line-height: 1.6;
      font-weight: 400;
    }
    @media (max-width: 768px) {
  .blog-content {
    padding: 32px 24px;
    font-size: 1rem;
  }

  .blog-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
  }

  .quote-box {
    padding: 12px 16px;
  }

  .quote-box p {
    font-size: 1rem;
  }
}

.blog-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Navigation */
.blog-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Card */
.blog-card {
    /* background: white; */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-description {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-date {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-time {
    font-size: 12px;
    color: white;
    background: linear-gradient(90deg, rgba(118, 18, 249, 1) 0%, rgba(151, 71, 255, 1) 50%, rgba(219, 74, 224, 1) 100%) !important;    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn,
.page-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled),
.page-number:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.page-number.active {
    background: white;
    color: #667eea;
    font-weight: 600;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }

    .pagination {
        gap: 6px;
    }

    .page-btn,
    .page-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Featured Post */
.featured-post {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.blog-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 40px;
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-popular {
    display: inline-block;
    padding: 6px 16px;
    background: transparent;
    color: #4a5568;
    border: 1.5px solid #d1d5db;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 20px 60px;
    }

    .header-title {
        font-size: 32px;
    }

    .header-subtitle {
        font-size: 16px;
    }

    .header-label {
        font-size: 14px;
    }

    .header-content {
        margin-bottom: 40px;
    }

    .featured-post {
        border-radius: 12px;
    }

    .blog-main-img {
        height: 250px;
    }

    .post-content {
        padding: 24px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-description {
        font-size: 15px;
    }

    .post-meta {
        flex-wrap: wrap;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .header-title {
        font-size: 40px;
    }

    .header-subtitle {
        font-size: 18px;
    }

    .blog-main-img {
        height: 350px;
    }

    .post-title {
        font-size: 28px;
    }
}