 /*Blog Styles */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 .row.footer {
     padding-left: 20px;
     padding-right: 20px;
 }

 @media (max-width: 991px) {
     #header .header-nav-main nav>ul li {
         width: 100%;
         font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
     }
         #header .header-nav-main nav > ul li a {
         font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
         font-size: 14px !important;
     }
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     line-height: 1.6;
     color: #333;
     background-color: #fff;
 }

 .blog-header {
     color: white;
     padding: 200px 0 100px;
     text-align: center;
     background-image: url("/uploads/blog-img.jpg") !important;
     background-repeat: no-repeat;
     background-position: center;
     background-size: cover;
     position: relative;
 }

 .blog-header::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5);
     z-index: 1;
 }

 .blog-header h1,
 .blog-header p {
     position: relative;
     z-index: 2;
 }

 .blog-header-single {
     color: white;
     padding: 200px 0 50px;
     text-align: center;
     background-repeat: no-repeat;
     background-position: center;
     background-size: cover;
     position: relative;
     height: 500px;
     display: flex;
    align-items: flex-end;
 }

 .blog-header-single::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5);
     /* Dark overlay */
     z-index: 1;
 }

 .blog-header-single h1,
 .blog-header-single p,
 .breadcrumb {
     position: relative;
     z-index: 2;
 }
 
.breadcrumb-item+.breadcrumb-item::before{
    color: #ffffff !important;
}

a:hover{
    color: #fff;
}

 @media (max-width: 768px) {
     .blog-header-single {
         padding: 180px 0 0px;
     }

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

     .breadcrumb {
         font-size: 14px;
     }

     .blog-header-single{
        height: auto;
     }
 }


 .blog-title {
     font-size: 45px;
     font-weight: 700;
     margin-bottom: 1rem;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     color: #fff;
     letter-spacing: 1px;
 }

 .blog-subtitle {
     font-size: 18px;
     opacity: 0.9;
    font-weight: 500 !important;
    color: #fff !important;
 }

 /*Container */
 .blog-container {
     padding: 60px 15px;
 }

 /*Blog Grid */
 .blog-grid {
     margin-bottom: 3rem;
     display: flex;
     flex-wrap: wrap;
     row-gap: 25px;
 }

 .blog-card {
     background: white;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     height: 100%;
     display: flex;
     flex-direction: column;
 }

 .blog-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
 }

 .blog-card-image {
     position: relative;
     height: 250px;
     overflow: hidden;
 }

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

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

 .blog-card-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(45deg, rgb(142 64 9 / 53%), rgb(255 225 144 / 50%));
     opacity: 0;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .blog-card:hover .blog-card-overlay {
     opacity: 1;
 }

 .read-more-btn {
     background: white;
     color: #333;
     padding: 12px 24px;
     border-radius: 25px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     transform: translateY(20px);
 }

 .blog-card:hover .read-more-btn {
     transform: translateY(0);
 }

 .read-more-btn:hover {
     background: #f8f9fa;
     color: #333;
     text-decoration: none;
 }

 .new-badge {
     position: absolute;
     top: 10px;
     right: 10px;
     background: #ff4757;
     color: white;
     padding: 4px 8px;
     border-radius: 12px;
     font-size: 0.7rem;
     font-weight: 600;
     text-transform: uppercase;
     z-index: 2;
 }

 .blog-card-content {
     padding: 2rem;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
 }

 .blog-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 1rem;
     margin-bottom: 1rem;
     font-size: 0.9rem;
 }

 .blog-date {
     color: #8e4009;
     font-size: 14px;
 }

 .blog-author {
     color: #000000;
     font-size: 14px;
 }

 .blog-category {
     background: #8e4009;
     color: white;
     padding: 4px 12px;
     border-radius: 15px;
     font-size: 13px;
     font-weight: 500;
 }

 .blog-card-title {
     font-size: 18px;
     font-weight: bold;
     margin-bottom: 1rem;
     line-height: 1.4;
 }

 .blog-card-title a {
     color: #333;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .blog-card-title a:hover {
     color: #8e4009;
 }

 .blog-card-excerpt {
     color: #000000;
     font-size: 16px;
     line-height: 1.5;
     margin-bottom: 1.5rem;
     flex-grow: 1;
 }

 .blog-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;

 }

 .blog-tag {
     background: #f8f9fa;
     color: #8e4009;
     padding: 4px 10px;
     border-radius: 12px;
     font-size: 14px;
     font-weight: 500;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .blog-tag:hover {
     background: #8e4009;
     color: white;
     text-decoration: none;
 }

 .no-posts {
     text-align: center;
     padding: 4rem 0;
     color: #6c757d;
 }

 .no-posts h3 {
     font-size: 2rem;
     margin-bottom: 1rem;
     color: #495057;
 }

 /*Pagination */
 .pagination-nav {
     margin-top: 3rem;
 }

 .pagination {
     border-radius: 8px;
     overflow: hidden;
     /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
     display: flex !important;
    justify-content: center !important;
 }

 .page-link {
     color: #667eea;
     padding: 12px 20px;
     border: none;
     background: white;
     font-weight: 500;
     transition: all 0.3s ease;
 }

 .page-link:hover {
     background: #667eea;
     color: white;
     text-decoration: none;
 }

 .page-item.active .page-link {
     background: #667eea;
     border-color: #667eea;
     color: white;
 }

 /*Sidebar Styles */
 
.sticky-top{
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 1;
 }
 
 .blog-sidebar {
     padding-left: 2rem;
 }

 .sidebar-widget {
     background: white;
     border-radius: 12px;
     padding: 2rem;
     margin-bottom: 2rem;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
 }

 .widget-title {
     font-size: 1.3rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: #333;
     border-bottom: 2px solid #8e4009;
     padding-bottom: 0.5rem;
 }

 /*Search Widget */
 .search-form .search-wrapper {
     position: relative;
 }

 .search-form .search-input {
     padding: 12px 50px 12px 15px;
     border: 2px solid #e9ecef;
     border-radius: 25px;
     font-size: 1rem;
     transition: all 0.3s ease;
     width: 100%;
 }

 .search-form .search-input:focus {
     border-color: #667eea;
     box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
     outline: none;
 }

 .search-btn {
     position: absolute;
     right: 5px;
     top: 50%;
     transform: translateY(-50%);
     background: #8e4009;
     color: white;
     border: none;
     border-radius: 50%;
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 .search-btn:hover {
     background: #5a6fd8;
 }

 /*Recent Posts Widget */
 .recent-posts {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .recent-post-item {
     display: flex;
     gap: 1rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid #e9ecef;
 }

 .recent-post-item:last-child {
     border-bottom: none;
     padding-bottom: 0;
 }

 .recent-post-image {
     flex-shrink: 0;
     width: 60px;
     height: 60px;
     border-radius: 8px;
     overflow: hidden;
 }

 .recent-post-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .recent-post-content h6 {
     margin-bottom: 0.5rem;
     font-size: 13px;
     line-height: 1.3;
 }

 .recent-post-content h6 a {
     color: #333;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .recent-post-content h6 a:hover {
     color: #8e4009;
 }

 /*Categories Widget */
 .category-list {
     list-style: none;
     padding: 0;
 }

 .category-list li {
     margin-bottom: 0.5rem;
 }

 .category-list a {
     color: #6c757d;
     text-decoration: none;
     padding: 0.5rem 0;
     display: block;
     transition: all 0.3s ease;
     border-bottom: 1px solid #f8f9fa;
 }

 .category-list a:hover,
 .category-list a.active {
     color: #8e4009;
     padding-left: 1rem;
 }

 /*Tags Widget */
 .tag-cloud {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
 }

 .tag-item {
     background: #f8f9fa;
     color: #495057;
     padding: 6px 12px;
     border-radius: 15px;
     font-size: 13px;
     font-weight: 500;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .tag-item:hover,
 .tag-item.active {
     background: #8e4009;
     color: white;
     text-decoration: none;
 }

 /*Blog Post Page Styles */
 .blog-post-page {
     padding: 2rem 0 4rem;
 }

 .single-post {
     /* background: white; */
     border-radius: 12px;
     padding: 2rem;
     /*margin-bottom: 3rem;*/
     /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
 }

 .post-header {
     margin-bottom: 3rem;
 }

 .breadcrumb {
     background-color: #f5f5f500 !important;
     margin-bottom: 2rem;
     padding: 0;
     background-color: none;
 }

 .breadcrumb-item a {
     color: #f8cc59;
     text-decoration: none;
 }

 .breadcrumb-item.active {
     color: #f8cc59;
 }

 li.breadcrumb-item {
     color: #fff !important;
 }

 .post-title {
     font-size: 2.8rem;
     font-weight: 800;
     line-height: 1.2;
     margin-bottom: 1.5rem;
     color: #333;
 }

 .post-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
     color: #6c757d;
     font-size: 15px;
     margin-bottom: 2rem;
 }

 .meta-item {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     color: #000;
 }

 .meta-item i {
     color: #8e4009;
 }

 .post-featured-image {
     margin-bottom: 3rem;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
 }

 .post-featured-image img {
     width: 100%;
     height: auto;
 }

 .post-content {
     font-size: 1.1rem;
     line-height: 1.8;
 }

 .post-excerpt {
     margin-bottom: 2rem;
     padding-bottom: 2rem;
     border-bottom: 1px solid #e9ecef;
 }

 .post-excerpt .lead {
     font-size: 1.3rem;
     font-weight: 400;
     color: #495057;
 }

 .post-body {
     margin-bottom: 3rem;
 }

 .post-body h1,
 .post-body h2,
 .post-body h3,
 .post-body h4,
 .post-body h5,
 .post-body h6 {
     margin-top: 2rem;
     margin-bottom: 1rem;
     font-weight: 700;
     color: #333;
 }

 .post-body p {
     margin-bottom: 1.5rem;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 15px;
 }

 .post-body ul,
 .post-body ol {
     margin-bottom: 1.5rem;
     padding-left: 2rem;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 15px;
 }

 .post-tags h4 {
     font-weight: bold;
 }

 .post-body blockquote {
     margin: 2rem 0;
     padding: 1.5rem;
     background: #f8f9fa;
     border-left: 4px solid #667eea;
     font-style: italic;
 }

 .post-tags {
     margin-bottom: 3rem;
     padding: 2rem 0;
     border-top: 1px solid #e9ecef;
     border-bottom: 1px solid #e9ecef;
 }

 .post-tags h5 {
     margin-bottom: 1rem;
     font-weight: 600;
 }

 .tag-list {
     display: flex;
     flex-wrap: wrap;
     gap: 0.5rem;
 }

 .post-tag {
     background: #8e4009;
     color: white;
     padding: 6px 15px;
     border-radius: 20px;
     font-size: 0.9rem;
     font-weight: 500;
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .post-tag:hover {
     background: #5a6fd8;
     color: white;
     text-decoration: none;
 }

 .social-share {
     margin-bottom: 3rem;
 }

 .social-share h5 {
     margin-bottom: 1rem;
     font-weight: 600;
 }

 .share-buttons {
     display: flex;
     gap: 1rem;
 }

 .share-btn {
     padding: 10px 20px;
     border-radius: 25px;
     text-decoration: none;
     font-weight: 500;
     font-size: 0.9rem;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .share-btn.facebook {
     background: #3b5998;
     color: white;
 }

 .share-btn.twitter {
     background: #1da1f2;
     color: white;
 }

 .share-btn.linkedin {
     background: #0077b5;
     color: white;
 }

 .share-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     color: white;
     text-decoration: none;
 }

 /*Comments Section */
 .comments-section {
     background: #ffffff00;
     border-radius: 12px;
     padding: 2rem;
     margin-bottom: 3rem;
     /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
 }

 .comments-section h3 {
     margin-bottom: 2rem;
     font-weight: 700;
     color: #333;
 }

 .comment-form {
     margin-bottom: 3rem;
     padding-bottom: 2rem;
     border-bottom: 2px solid #e9ecef;
 }

 .comment-form h4 {
     margin-bottom: 1.5rem;
     font-weight: 600;
     color: #333;
 }

 .comment-form .form-control {
     border: 2px solid #e9ecef;
     border-radius: 8px;
     padding: 12px 15px;
     transition: all 0.3s ease;
 }

 .comment-form .form-control:focus {
     border-color: #ffe190;
     /* box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25); */
 }

 .comments-list {
     margin-top: 2rem;
     display: flex;
    flex-wrap: wrap;
    gap: 20px
 }

 .comment-item {
     padding: 1.5rem;
     margin-bottom: 1.5rem;
     background: #f8f9fa;
     border-radius: 12px;
     border-left: 4px solid #ffe190;
 }

 .comment-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1rem;
 }

 .comment-author {
     font-size: 1.1rem;
     font-weight: 600;
     color: #333;
     margin: 0;
 }

 .comment-date {
     color: #6c757d;
     font-size: 0.9rem;
 }

 .comment-content {
     margin-bottom: 1rem;
 }

 .comment-content p {
     margin: 0;
     line-height: 1.6;
 }

 .comment-meta {
     font-size: 0.8rem;
 }

 .no-comments {
     text-align: center;
     color: #6c757d;
     font-style: italic;
     padding: 2rem 0;
 }

 /*Related Posts */
 .related-posts {
     /*background: white;*/
     border-radius: 12px;
     padding: 2rem;
     /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
     padding-top: 3rem;
     border-top: 2px solid #e9ecef;
 }

 .related-posts h3 {
     text-align: center;
     margin-bottom: 2rem;
     font-size: 2rem;
     font-weight: 700;
     color: #333;
 }

 .related-post-card {
     background: white;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     margin-bottom: 2rem;
 }

 .related-post-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
 }

 .related-post-image {
     height: 200px;
     overflow: hidden;
 }

 .related-post-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: all 0.3s ease;
 }

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

 .related-post-content {
     padding: 1.5rem;
 }

 .related-post-content h4 {
     margin-bottom: 0.8rem;
     font-size: 1.1rem;
     font-weight: 700;
 }

 .related-post-content h4 a {
     color: #333;
     text-decoration: none;
     transition: color 0.3s ease;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 14px;
 }

 .related-post-content h4 a:hover {
     color: #8e4009;
 }

 .related-post-content p {
     color: #000;
     font-size: 0.9rem;
     margin-bottom: 0.5rem;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 14px;
 }
 
 .text-muted{
    color: #000000 !important;
}

 /*Responsive Design */
 @media (max-width: 768px) {
     .blog-title {
         font-size: 2.2rem;
     }

     .blog-subtitle {
         font-size: 1rem;
     }

     .blog-container {
         padding: 40px 15px;
     }

     .blog-sidebar {
         padding-left: 0;
         margin-top: 3rem;
     }

     .post-title {
         font-size: 2rem;
     }

     .post-meta {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
     }

     .share-buttons {
         /* flex-direction: column; */
         align-items: flex-start;
     }

     .blog-card-content {
         padding: 1.5rem;
     }

     .single-post {
         padding: 1.5rem;
     }

     .comments-section {
         padding: 1.5rem;
     }

     .sidebar-widget {
         padding: 1.5rem;
     }
 }

 @media (max-width: 576px) {
     .blog-header {
         padding: 60px 0 40px;
     }

     .blog-title {
         font-size: 1.8rem;
     }

     .post-title {
         font-size: 1.6rem;
     }

     .blog-card-image {
         height: 200px;
     }

     .blog-card-content {
         padding: 1.2rem;
     }

     .blog-card-title {
         font-size: 1.1rem;
     }

     .single-post {
         padding: 1rem;
     }

     .comments-section {
         padding: 1rem;
     }

     .sidebar-widget {
         padding: 1rem;
     }
 }

 .comment-card {
     background: #f8f9fa;
 }

 .comment-avatar {
     width: 48px;
     height: 48px;
     border-radius: 50%;
     object-fit: cover;
     flex: 0 0 48px;
 }

 .comment-author-name {
     font-weight: 600;
 }
 
 
 .post-navigation-wrapper {
    border-top: 1px solid #ddd;
}

.post-navigation-wrapper .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8e4009;
}

.post-navigation-wrapper .btn:hover{
    background-color: #8e4009;
    color: #fff;
}

.post-nav-text{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.nav ul li > .submenu {
  display: none; /* hidden by default */
  position: absolute;
  top: 100%; /* below parent */
  left: 0;
  width: 220px; /* adjust as needed */
  background-color: #eee;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  z-index: 999;
  padding: 0;
  margin: 0;
}

/* ----------- SHOW SUBMENU ON HOVER ----------- */
.nav ul li:hover > .submenu {
  display: block;
}

/* ----------- SUBMENU ITEMS ----------- */
.nav ul li > .submenu li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ddd;
}

.nav ul li > .submenu li a {
  display: block;
  padding: 7px 15px;
  color: #000;
  font-size: 13px;
  text-decoration: none;
  background-color: #eee;
}

.nav ul li > .submenu li a:hover {
  background-color: #fff;
}

/* ----------- RESPONSIVE: MOBILE ----------- */
@media screen and (max-width: 768px) {
  .nav ul li {
    display: block; /* stack vertically */
  }

  .nav ul li > .submenu {
    position: static; /* submenus stack under parent */
    width: 100%;
    display: none; /* hide initially */
  }

  /* Toggle submenu on click (using JS) */
  .nav ul li.active > .submenu {
    display: block;
  }

  .nav ul li > a {
    padding: 12px 20px;
   
  }
}





/* Default Navbar Style */
.navbar {
  width: 100%;
  background: #000;
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

/* Hide toggle button on desktop */
.navbar-toggle {
  display: none;
}

/* Hamburger icon style */
.navbar-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background-color: #fff;
  transition: 0.3s;
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  .navbar-toggle:focus {
    outline: none;
  }

  /* Optional: animate icon when active */
  .navbar-toggle.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}




