:root {
  --primary-color: #226456;
  --secondary-color: #226456;
  --dark-color: #226456;
  --light-color: #226456;
  --accent-color: #226456;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7ff;
  color: var(--dark-color);
}

.top-bar-header{
    background-color: #f5f7ff !important;

}
.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section {
  background: linear-gradient(
    135deg,
    rgba(78, 84, 200, 0.1) 0%,
    rgba(143, 148, 251, 0.1) 100%
  );
  padding: 5rem 0;
  border-radius: 0 0 30px 30px;
}

.blog-card {
  transition: all 0.3s ease;
  border-radius: 15px !important;
  border: none;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.badge-tech {
  background: linear-gradient(45deg, #226456, #8f94fb);

  color: white;
}

.badge-dev {
  background: linear-gradient(45deg, #11998e, #38ef7d);
  color: white;
}

.badge-design {
  background: linear-gradient(45deg, #f46b45, #eea849);
  color: white;
}

.author-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-weight: 700;
}

.widget-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

.tag-cloud a {
  display: inline-block;
  padding: 5px 15px;
  background: #f1f3ff;
  border-radius: 50px;
  margin: 0 5px 10px 0;
  color: var(--dark-color);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.tag-cloud a:hover {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  text-decoration: none;
}

.pagination .page-item .page-link {
  border: none;
  color: var(--dark-color);
  margin: 0 5px;
  border-radius: 10px !important;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0;
  margin-top: 5rem;
}

.search-box {
  position: relative;
}

.search-box input {
  padding-left: 45px;
  border-radius: 50px !important;
  border: none;
  background: #f1f3ff;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 12px;
  color: var(--primary-color);
}

.recent-post {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.recent-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
}

.recent-post h6 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.recent-post span {
  font-size: 0.8rem;
  color: #6c757d;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2rem;
  }
}
