.main-menu {
  background-color: orange;
}

.blog-header-content h1 {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.blog-header-content p {
  margin: 20px 0px;
}

.blog-home-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1501504905252-473c47e087f8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  padding: 150px 0;
}

.primary-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: orange;
  color: #2c3e50;
  border-radius: 15px;
  margin-top: 20px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.primary-btn:hover {
  background-color: #2c3e50;
  color: orange;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.top-category-widget-area {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #2c3e50;
}

.section-title p {
  color: #6c757d;
  font-size: 1.05rem;
  margin-bottom: 50px;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.12);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.about-content a {
  font-weight: 500;
  color: #000000;
}
.category-overlay h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 15px;
}
.category-overlay a {
  text-decoration: none;
}
.category-btn {
  align-self: flex-start;
  padding: 10px 22px;
  background: #cfe148;
  color: #2c3e50;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #2c3e50;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: #cfe148;
}

.post-content-area {
  background-color: #f8f9fa;
}

.posts-list {
  margin-bottom: 30px;
}

.single-post {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.single-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tags li {
  display: inline-block;
  margin-left: 5px;
}

.tags a {
  color: #6c757d;
  font-size: 12px;
  text-decoration: none;
}

.user-details p {
  margin-bottom: 10px;
  color: #6c757d;
  font-size: 14px;
}
.user-details p a {
  text-decoration: none;
}
.feature-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.posts-title h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.sidebar-widgets {
  padding-left: 15px;
}

.widget-wrap {
  background-color: #c3e67e;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.single-sidebar-widget {
  margin-bottom: 30px;
}

.search-form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 15px;
}

.search-form button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50px;
  background: none;
  border: none;
  color: #6c757d;
}

.user-info-widget {
  text-align: center;
}
.user-info-widget img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.social-links {
  list-style: none;
  margin: 15px 0;
}

.social-links li {
  display: inline-block;
  margin: 0 5px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 50%;
  color: #0786f6;
}

.social-links a:hover {
  background-color: #4e54c8;
  color: #fff;
}
.popular-title {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.single-post-list {
  margin-bottom: 15px;
}

.single-post-list .thumb {
  width: 80px;
  margin-left: 15px;
}
/* دکمه شناور چت  */
.floating-button {
  background: linear-gradient(135deg, orange);
  color: #000000;
}

.floating-button:hover {
  color: orange;
}

.single-post-list .thumb img {
  width: 100%;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 5px;
  font-size: 12px;
  color: #6c757d;
}

input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px;
}

button {
  padding: 0 15px;
  background-color: #4e54c8;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
}
@media (prefers-color-scheme: dark) {
  .post-content-area,
  .top-category-widget-area {
    background: var(--bg-color);
  }
  .single-post {
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  .meta-details,
  .widget-wrap {
    background: var(--card-bg);
    color: var(--text-color);
  }
  .progress-bar {
    background: #333;
  }
  .progress-value {
    background: var(--accent-green);
  }
  .category-card {
    background: var(--card-bg);
  }
  .category-overlay h4,
  .category-overlay p {
    color: var(--text-color);
  }
}
.blog-pagination {
  margin-top: 30px;
}

.pagination {
  display: flex;
  justify-content: center;
}

.page-item {
  margin: 0 5px;
}

.page-link {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #6c757d;
}

.page-item.active .page-link {
  background-color: orange;
  color: #000000;
  border-color: orange;
}

.banner-area {
  position: relative;
}

.banner-area .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-area .container {
  position: relative;
  z-index: 2;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

/* پیشرفت دوره */
.progress-bar {
  height: 5px;
  background-color: #e9ecef;
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}
.progress-value {
  height: 100%;
  background-color: #4e54c8;
  border-radius: 3px;
}

.rating {
  color: #ffc107;
  margin: 5px 0;
}
.mobile-nav {
  background: rgb(0, 0, 0);
}
@media (max-width: 992px) {
  .cta-one-area h1 {
    font-size: 2rem;
  }
  .cta-one-area p {
    font-size: 1.1rem;
  }
  .blog-area .menu-content h1 {
    font-size: 2.2rem;
  }
  .blog-area .single-blog h5 {
    font-size: 1.2rem;
    
  }

}

@media (max-width: 768px) {
  div[style*="background: linear-gradient(135deg, #e74c3c"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    display: block;
  }

  div[style*="rotate"],
  div[style*="DEMO VERSION"],
  .demo-watermark {
    display: none;
  }

  #logo {
    position: relative;
    text-align: center;
    margin: 30px auto 20px auto;
    padding: 0;
  }

  @media (max-width: 768px) {
    .category-card {
      height: 280px;
      margin-bottom: 30px;
    }

    .section-title h2 {
      font-size: 2rem;
    }
  }

  @media (max-width: 414px) {
    .blog-header-content h1 {
      font-size: 30px;
    }
  }
}
@media (max-width: 576px) {
  .cta-one-area .wrap {
    padding: 30px;
  }
  .cta-one-area .primary-btn.wh {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .blog-area .single-blog {
    padding: 15px;
  }
  .blog-area .single-blog img {
    height: 150px;
  }
}
