/* Reset Style */
* {
  margin: 0;
  padding: 0;
}
:root {
  --primary-bg-color: #f6f6f6;
  --primary-color: #000;
  --secondary-color: #464242;
  --text-color: #000;
  --border-color: #cfc8c8;
}
.body {
  color: var(--text-color);
  line-height: 1.6;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}
/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}
.header-top {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.icons i {
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
}
.icons i:hover {
  color: var(--secondary-color);
  transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-button {
  background: var(--primary-color) !important;
  color: #fff;
}
.contact-button:hover {
  background: var(--secondary-color) !important;
  color: #fff;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-color);
  letter-spacing: 0.6px;
  padding: 15px;
}
.item {
  margin: 14px 0;
}
/* Slider */
.slider {
  height: 60vh;
  margin-top: 140px;
}
.carousel-item {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  background-repeat: no-repeat;
}
.carousel-item img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}
/* Mobile Menu */
.mobile-overlay {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
}
.mobile-overlay.active {
  visibility: visible;
  opacity: 1;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100vh;
  background: #fff;
  transition: left 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
}
.mobile-menu-toggle {
  border: none;
  background: gray;
  border-radius: 5px;
  padding: 5px;
}
.mobile-menu-toggle i {
  color: #fff;
}
.sidebar-header {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-header img {
  width: 80px;
  height: auto;
}
.sidebar-close {
  background: none;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
  border: none;
}
.mobile-sidebar.active {
  left: 0;
}
.sidebar-menu {
  padding-left: 0px !important;
}
.sidebar-menu li {
  border-bottom: 1px solid var(--border-color);
  list-style: none;
}
.sidebar-menu li a {
  display: block;
  padding: 14px;
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}
/* Breadcrumb */
.breadcrumb{
  margin-top: 70px;
}
/* Main Content */
.content {
  padding: 40px 0;
}
.blog-category-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 28px;
}
.blog-image img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 5px;
}
.blog-details {
  color: var(--text-color);
}
.blog-card-image img {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}
.most-viewed-section a {
  color: var(--text-color);
}
.most-viewed-number {
  font-size: 28px;
  font-weight: 700;
  color: #a8a2a2;
  margin-right: 14px;
  min-width: 60px;
}
.most-viewed-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
}
/* Blog Details */
.sidebar-block-category ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 20px;
}
.sidebar-block-category ul li {
  padding: 8px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}
.comment-card {
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s ease;
}
.comment-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.comment-body {
  line-height: 1.6;
  word-wrap: break-word;
}
.dropdown-toggle::after {
  font-size: 0.8em;
}
/* Footer */
.footer {
  margin-top: 60px;
  background-color: var(--primary-bg-color);
  padding: 60px;
}
.footer-about-section h5,
.footer-category-section h5,
.footer-quick-link-section h5,
.footer-social-section h5 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-about-section ul,
.footer-category-section ul,
.footer-quick-link-section ul,
.footer-social-section ul {
  list-style: none;
  padding: 0;
}
.footer-about-section ul li,
.footer-category-section ul li,
.footer-quick-link-section ul li,
.footer-social-section ul li {
  margin-bottom: 8px;
}
.footer-about-section ul li a,
.footer-category-section ul li a,
.footer-quick-link-section ul li a,
.footer-social-section ul li a {
  color: var(--text-color);
  text-decoration: none;
}
.copyright-section {
  color: var(--text-color);
  border-top: 1px solid #cdc7c7;
  margin-top: 14px;
  padding-top: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-bottom {
    display: none;
  }
  .slider {
    margin-top: 80px;
  }
  .breadcrumb{
    margin-top: 40px;
  }
  }
  .blog-image img {
    max-width: 388px;
    height: auto;
  }
  .blog-card-image img {
     max-width: 160px;
     height: auto;
  }
}
@media (min-width: 769px) {
  .mobile-overlay {
    display: none;
  }
  .sidebar-menu {
    display: none;
  }
}

