    body {
      font-family: 'Poppins', sans-serif;
      background: #f5f7fb;
      margin: 0;
      padding: 0;
      color: #222;
    }
    
h2, h3 {
  text-align: center;
}
h1 { text-align: center; font-weight: 700; margin-bottom: 30px; color: #062bff; }

/* Header */
.header-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
      z-index: 9999999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease;
}

.blog-card h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  margin: 8px 0;
  color: #062BFF;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.header-hidden {
  top: -100px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}
.logo-section {
  display: flex;
  align-items: center;
}

.logo-box {
  width: 50px;
  height: 50px;
  background: #0015FF;
  color: #ffffff;
  display: flex;
  justify-content: center;
  margin-right: 10px;
  align-items: center;
  font-size: 36px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  font-family: "Inter", sans-serif;
  user-select: none;
}

.logo-box svg {
    width: 60px;
    height: 60px;
    display: block;
    fill: #fff;
}

.logo {
  height: 50px;
  width: 50px;
  border-radius: 10px;
  margin-right: 10px;
}
.site-title {
  font-size: 20px;
  font-weight: 600;
    color: #062bff;
  margin: 0;
}
.nav-links {
  display: flex;
  gap: 10px;
}
.nav-link {
  padding: 8px 16px;
  background-color: #0015ff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  border: 2px solid #0015ff;
}
.nav-link:hover {
  background-color: white;
  color: #0015ff;
}
    .container {
      max-width: 1000px;
      margin: 10px auto;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.06);
      padding: 24px;
    }
    .feature-img {
      width: 100%;
      border-radius: 12px;
      height: 400px;
      object-fit: cover;
      margin-bottom: 20px;
    }
    .blog-title {
  font-size: 22px;
  font-weight: 700;
  color: #062bff;
  margin: 16px 0 8px 0;
  line-height: 1.3;
  text-transform: capitalize;
  word-break: break-word;
}

.blog-title {
  animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .blog-title {
    font-size: 15px;
    text-align: left;
    padding: 0 10px;
  }
}

    .short-desc {
      font-size: 15px;
      color: #444;
      margin-bottom: 20px;
      border-left: 4px solid #062bff;
      padding-left: 12px;
    }
    .meta {
      font-size: 13px;
      color: #777;
      margin-bottom: 20px;
      animation: fadeIn 0.4s ease-in-out;
    }
    .content {
      line-height: 1.8;
      font-size: 15px;
      color: #333;
      animation: fadeIn 0.4s ease-in-out;
    }
    .back-btn {
      display: inline-block;
      margin-top: 30px;
      background: #062bff;
      color: #fff;
      padding: 10px 20px;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s ease;
    }
    .back-btn:hover {
      background: #021fb8;
    }
    
.content img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: 100%;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.short-desc {
  background: #f5f6f8;
  border-left: 4px solid #062bff;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.short-desc {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}


html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@media (max-width: 1060px) {
  .container {
    margin: 10px auto !important;
    width: calc(100% - 22px);
    padding: 10px !important;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .feature-img {
    height: auto;
    max-height: 400px;
  }

  .content, .short-desc {
    padding-left: 10px;
    padding-right: 5px;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* ========== IMAGE WRAPPER WITH SHINE ANIMATION ========== */
.image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #eaeaea;
  border-radius: 12px;
  margin-bottom: 20px;
}

.image-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #eaeaea 0%, #eaeaea 40%, #ffffff 50%, #eaeaea 60%, #eaeaea 150%);
  background-size: 300% 300%;
  animation: shine 1.5s linear infinite;
  border-radius: 12px;
  z-index: 1;
}

@keyframes shine {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -150% 90%;
  }
}

/* Ensure feature image fades in after load */
.feature-img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  position: relative;
}

.feature-img.loaded {
  opacity: 1;
}

/* Force vertical scrollbar */
html {
  height: 100%;
  overflow-y: scroll !important;
}

/* Webkit Browsers (Chrome, Edge, Brave, Opera, newer Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #bac6ff;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0015ff;
}

/* Arrows: Only WebKit allows this */
::-webkit-scrollbar-button:single-button {
  display: block;
  background-color: #bec0ff;
  height: 12px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Up Arrow */
::-webkit-scrollbar-button:single-button:decrement {
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  background-color: transparent;
  background-image: url("https://xploredigi.store/media/up-arrow.png");
  /* Make it an up arrow */
}

/* Down Arrow */
::-webkit-scrollbar-button:single-button:increment {
  height: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  background-color: transparent;
  background-image: url("https://xploredigi.store/media/down-arrow.png");
}

/* Footer */
.footer {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100px;
}
/* Inline SVG Icon Styling */
.footer-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  color: #0015ff;
  display: block;
}
a {
  text-decoration: none;
}
.feature-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.feature-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease-in-out;
}

.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.feature-item a:hover {
  transform: scale(1.08);
}
.useful-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-weight: bold;
  font-size: 16px;
}
.useful-links a {
  text-decoration: none;
  color: #3c00ff;
}
.footer-bar {
  background-color: #fff;
  border-top: 1px solid #DBDBDB;
  padding: 8px;
  color: #000;
  font-weight: 500;
  font-size: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999999;
  width: 100%;
  text-align: center;

}
a {
  text-decoration: none;
}

blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  border-left: 4px solid #ff6600;
  padding: 12px 20px;
  margin: 25px 0;
  background: #fff4e5;
  border-radius: 8px;
  line-height: 1.6;
}

blockquote p {
  margin: 0;
}
blockquote {
  animation: fadeIn 0.4s ease-in-out;
}


@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2'),
       url('../fonts/poppins/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2'),
       url('../fonts/poppins/Poppins-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2'),
       url('../fonts/poppins/Poppins-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Apply it globally */
body {
  font-family: 'Poppins', sans-serif;
}





/* ============================
   PERFECT MOBILE BLOG VIEW
   (0px – 480px)
=============================== */
@media (max-width: 600px) {

  .container {
    margin: 10px auto !important;
    width: calc(100% - 12px);
    padding: 6px !important;
  }

  /* Header Title */
  .blog-title {
    font-size: 15px !important;
    line-height: 1.3;
    margin: 12px 0 6px 0;
    padding: 0 4px;
  }

  /* Meta Data */
  .meta {
    font-size: 12px !important;
    padding: 0 4px;
    margin-bottom: 14px;
  }

  /* Short Description Box */
  .short-desc {
    font-size: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 20px;
  }

  /* Feature Image Wrapper */
  .image-wrapper {
    height: auto !important;
    max-height: 200px !important;
    border-radius: 10px !important;
  }

  /* Feature Image */
  .feature-img {
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  /* Blog Content */
  .content {
    font-size: 14px !important;
    line-height: 1.65 !important;
    padding: 0 4px !important;
  }

  .content img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 16px 0 !important;
  }

  /* Blockquotes */
  blockquote {
    font-size: 14px !important;
    padding: 10px 12px !important;
    margin: 18px 0 !important;
  }

}
.disclaimer-box {
  background: #ffe5e5;
  border-left: 5px solid #ff3b3b;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 25px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.related-heading {
  font-size: 26px;
  font-weight: 700;
  color: #062bff;
  text-align: left;
  max-width: 1250px;
  margin: 50px auto 20px;
  padding-left: 10px;
}

.related-grid {
  max-width: 1250px;
  margin: 0 auto 60px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* SAME CARD STYLE AS INDEX PAGE */
.related-grid .blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  border: 1px solid #e6e6e6;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animate only the IMAGE */
.related-img-wrapper {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}

/* same hover */
.related-grid .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0px 10px rgba(0,0,0,0.22);
}

/* --- Image Wrapper + Shine Animation --- */
.related-grid .image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #eaeaea;
}

.related-grid .image-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #eaeaea 0%, #eaeaea 40%, #ffffff 50%, #eaeaea 60%, #eaeaea 150%);
  background-size: 300% 300%;
  animation: shine 1.5s linear infinite;
}

.related-grid img.hidden-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.related-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-grid .meta{
    margin-bottom: 8px;
}
/* read more button */
.related-grid .read-more {
  display: inline-block;
  color: #fff;
  background: #062bff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-grid .read-more:hover {
  background: #021fb8;
    transform: scale(1.06);
}

/* content */
.related-grid .blog-content {
  padding: 14px 20px 16px;
}

.related-grid .blog-content h3 {
  margin: 0px 0 8px;
  font-size: 20px;
  color: #062bff;
}

.related-grid .blog-content p {
  font-size: 14px;
  color: #444;
}

/* mobile fix */
@media(max-width:480px) {
  .related-heading {
    text-align: center;
    padding-left: 0;
  }
}

.related-grid .read-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef1ff;
    color: #0015ff;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.related-grid .read-time-pill svg {
    stroke: #0015ff;
}

.related-grid .blog-card {
    position: relative;
}
.hidden-img { opacity: 0; transition: opacity 0.4s; }
.image-loader.hide { opacity: 0; visibility: hidden; }



.author-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 6px;
  margin-top: 35px;
  float: right;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-left: 4px solid #001eff;
}

/* Icon container */
.author-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

/* Hover on icon */
.author-info-icon:hover svg {
  stroke: #000aff;
}

/* Title ("Author :") */
.author-title {
  font-size: 14px;
  font-weight: 700;
  color: #001eff;
}

/* Author name */
.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Sidebar title */
.sidebar-title {
  margin-top: 17px;
  margin-bottom: 0px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #333;
}

/* Divider line */
.sidebar-divider {
  height: 2px;
  background: #ccc;
  margin: 5px 0 20px;
}
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 300px;
    height: 100vh;
  overflow-y: auto;

  background: #f5f5f5;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  padding: 0px 20px;
  transition: right 0.3s ease;
  z-index: 10000000;
}
.sidebar.open {
  right: 0;
  height: 100vh;
}

/* Sidebar links & buttons */
.sidebar a, .sidebar button:not(.close-btn) {
  display: block;
  margin: 15px 0; 
  padding: 12px;
  text-align: center;
  border-radius: 6px;
  background:  #0015ff;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}
.sidebar a:hover, .sidebar button:not(.close-btn):hover {
  background: #005bb5;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
/* On mobile, move close button to 10px from top */
@media (max-width: 768px) {
  .close-btn {
    top: 10px;
    right: 15px;
  }
}
/* Default (light mode) */
.dark-mode-card {
  padding: 12px;
  background: #ddd;
  border-radius: 8px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

/* Dark mode version */
body.dark .dark-mode-card {
  background: #333;
  color: #fff;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}
.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .slider {
  background-color:  #0015ff;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Light / Dark */
body.light { background: #fff; color: #000; }
body.dark { background: #121212; color: #fff; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2px 10px;
    margin: 80px auto 0px;
    border-radius: 6px;
    width: fit-content;
    max-width: 95%;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.breadcrumbs a {
    text-decoration: none;
    color: #0015ff;
    font-weight: 600;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #FF6500;
    font-size: 20px;
}

.breadcrumbs .current {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

/* Fullscreen button for each image */
.fullscreen-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.fullscreen-btn svg {
    stroke: #0015ff;
}

/* Global overlay fullscreen button*/
#globalFullscreenBtn {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#globalFullscreenBtn svg {
    stroke: #0015ff;
}

/* Overlay */
#imgViewerOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    touch-action: pinch-zoom;
}

/* Image inside viewer */
#viewerImage {
    max-width: 90vw;
    max-height: 90vh;
    transition: transform 0.15s ease-in-out;
    border-radius: 10px;
    padding: 0px 6px 0px;
    display: block;
}

/* Close Button */
#viewerCloseBtn {
    position: fixed;
    top: 20px;
    right: 25px;
    background: #ffffff;
    border-radius: 50%;
    padding: 6px 6px 2px;
    cursor: pointer;
    z-index: 10000000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#viewerCloseBtn svg {
    stroke: #0015ff;
}

/* Side arrows */
.viewer-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 6px 6px 2px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#leftArrow { left: 25px; }
#rightArrow { right: 25px; }

.viewer-arrow svg {
    stroke: #0015ff;
}

/* Fix Image Layout in Overlay */
#imgViewerOverlay img {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}


#imgViewerOverlay {
    touch-action: pinch-zoom;
}


/* =============================
   FADE TRANSITION SUPPORT
============================= */
body.theme-transition {
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.theme-transition * {
  transition: background-color 0.35s ease, color 0.35s ease;
}


