

:root {
  --primary-color: #0d6efd;
  --dark-color: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --tag-bg: #f1f5f9;
  --tag-text: #475569;
}

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




/*.btn-contact {
  background-color: #0077ff;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-contact:hover {
  background-color: #0056b3;
  color: #fff;
  transform: translateY(-1px);
}*/

/* MAIN CONTENT LAYOUT */
.main-page-heading {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 2rem 0 2.5rem 0;
  letter-spacing: -1px;
}

/* BLOG GRID & CARDS */
.blog-grid-card {
  border: none;
  background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  height: 100%;
}

.blog-card-img-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  aspect-ratio: 16 / 9;
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-grid-card:hover .blog-card-img-wrapper img {
  transform: scale(1.04);
}

.blog-meta {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  gap: 0 5px;
}

.blog-meta .author-name {
  font-weight: 600;
  color: #475569;
}

.blog-meta .views-badge {
  margin-left: auto;
  color: #64748b;
  display: none;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-grid-card:hover .blog-card-title {
  color: #0077ff;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.75rem;
  display: none;
}

.tag-badge {
  background-color: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.tag-badge:hover {
  background-color: #0077ff;
  color: #ffffff;
}

/* SIDEBAR STYLING */
.sidebar-wrapper {
  padding-left: 1rem;
}

@media (max-width: 991px) {
  .sidebar-wrapper {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.sidebar-widget {
  margin-bottom: 2.5rem;
}

.sidebar-widget-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  position: relative;
  letter-spacing: -0.3px;
}

/* SEARCH WIDGET */
.sidebar-search-box {
  position: relative;
}
section.blog-iner-page .sidebar-search-box {display: none;}

.single-blog-meta .views {
    display: none;
}
.single-blog-title + .mb-4 {
    display: none;
}
.sidebar-search-box input {
  padding: 12px 45px 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-search-box input:focus {
  outline: none;
  border-color: #0077ff;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15);
}

.sidebar-search-box .search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

/* FEATURED POSTS SIDEBAR ITEM */
.featured-post-item {
  display: flex;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.featured-post-item:last-child {
  border-bottom: none;
}

.featured-post-thumb {
  width: 90px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.featured-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-post-item:hover .featured-post-thumb img {
  transform: scale(1.08);
}

.featured-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.2s ease;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post-item:hover .featured-post-title {
  color: #0077ff;
}

.featured-post-meta {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* RECENT POSTS SIDEBAR ITEM */
.recent-post-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.recent-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.recent-post-item:hover .recent-post-title {
  color: #0077ff;
}

.recent-post-meta {
  font-size: 0.8rem;
  color: #64748b;
}

/* NEWSLETTER WIDGET */
.newsletter-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
}

.newsletter-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* SINGLE BLOG DETAIL PAGE STYLING */
.single-blog-hero {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  height: 490px;
  width: 100%;
}

.single-blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.single-blog-meta {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.single-blog-meta .views {
  margin-left: auto;
  color: #475569;
  font-weight: 600;
}

.single-blog-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.single-blog-body p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 8px;
}

.single-blog-body h2, .single-blog-body h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.single-blog-body blockquote {
  border-left: 4px solid #0077ff;
  padding: 1rem 1.5rem;
  background-color: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
  margin: 2rem 0;
}

/* BACK TO BLOGS BUTTON */
.btn-back-blogs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fe6461;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: transform 0.2s ease;
  padding-bottom: 0;
}

.btn-back-blogs:hover {
  transform: translateX(-4px);
  color: #0056b3;
}

/* MODAL STYLING */
.modal-content {
  border-radius: 14px;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-weight: 700;
  color: #0f172a;
}

section.main-blogpage {padding-top: 60px;}

section.main-blogpage h1.main-page-heading {
    padding-bottom: 40px;
}

.blog-header nav#navbarBelow {
    background: linear-gradient(45deg, #fe6461, #2fb9e8);
}

section.blog-iner-page {
    padding-top: 100px;
    overflow: visible;
}



.blog-header .header {
  background: #1d2856;
  top: 0;
}
.blog-header .dropdown-menu.new-drop-dwn-st {
  border:1px solid #e96a35;
  border-top: 0;
}

.accordion-header {
    margin: 0 !important;
}

/* STICKY SIDEBAR FORM WIDGET */
.sidebar-form-widget {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 99;
}

.widget-form {
  text-align: center;
  box-shadow: 1px 1px 12px 2px #00000025;
  padding: 20px 20px;
  border-radius: 12px;
  background: #ffffff;
}

.widget-form h3 {
    font-size: 30px;
    font-weight: 500;
}

.widget-form h5 {
    font-size: 25px;
    font-weight: 400;
    padding-bottom: 20px;
}

.widget-form form {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.widget-form form input, .widget-form form textarea {
    background: #fff;
    border-radius: 12px;
    padding: 12px 10px;
    height: auto;
    line-height: normal;
    resize: none;
  color: #000;
  border: 1px solid #e96a35;
}

.widget-form .btn1 {
    background: #e96a35;
    padding: 10px 10px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-top: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-item h2 button > br {
    display: none;
}
.accordion-body {
    padding: 1rem 1.25rem !important;
}

/* PAGINATION STYLING */
.custom-pagination {
  margin-top: 2rem;
  margin-bottom: 2rem;
  gap: 6px;
}

.custom-pagination .page-item .page-link {
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-pagination .page-item.active .page-link {
  background-color: #e96a35;
  border-color: #e96a35;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(233, 106, 53, 0.35);
}

.custom-pagination .page-item .page-link:hover:not(.disabled) {
  background-color: #e96a35;
  color: #ffffff;
  border-color: #e96a35;
}

.custom-pagination .page-item.disabled .page-link {
  color: #cbd5e1;
  background-color: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.6;
}

.accordion-header button.accordion-button>br {
    display: none;
}



@media(max-width: 991px){
  .single-blog-hero img {
      object-position: center;
  }

  .single-blog-hero {
      height: 200px;
  }
.blog-grid-card {
    text-align: center;
}

.blog-meta {
    justify-content: center;
}
  .single-blog-title {
      font-size: 25px;
      text-align: center;
  }

  .single-blog-meta {
      justify-content: center;
  }

  .single-blog-body p {
      font-size: 14px;
      text-align: center;
  }

  .single-blog-body h2 {
      text-align: center;
      font-size: 18px;
      font-weight: bold;
  }

  .single-blog-body h3 {
      text-align: center;
      font-size: 16px;
  }

  .sidebar-wrapper {
      display: none;
  }
}