body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

.navbar-brand {
  font-weight: bold;
}

footer {
  background: #343a40;
  color: white;
  padding: 15px 0;
}
.blog-meta {
  font-size: 0.9rem;
  color: #6c757d; /* normal mode (Bootstrap muted) */
}
/* Light mode */
.attachment-box {
  background: #f8f9fa;
}
.btn-attachment {
  background: #e9ecef;
  border: 1px solid #ced4da;
  color: #333;
}

/* Dark mode */
body.dark-mode .attachment-box {
  background: #2b2b2b;
}
body.dark-mode .btn-attachment {
  background: #3a3a3a;
  border: 1px solid #555;
  color: #eee;
}
body.dark-mode .btn-attachment:hover {
  background: #4a4a4a;
}
/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark-mode .navbar {
  background-color: #1f1f1f !important;
}
body.dark-mode .breadcrumb-container {
  background-color: #1e1e1e; 
}

body.dark-mode .breadcrumb a {
  color: #9ad0ff; /* light blue link */
}
/* Breadcrumb separator fix */
.breadcrumb-item + .breadcrumb-item::before {
  color: #6c757d; /* normal mode muted gray */
}

body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
  color: #aaa; /* lighter gray for dark mode */
}
body.dark-mode .breadcrumb-item.active {
  color: #ddd;
}
.blog-meta {
  font-size: 0.9rem;
}

body.dark-mode .blog-meta {
  color: #aaa; /* lighter gray for dark mode */
}
body.dark-mode .card {
  background-color: #1f1f1f;
  color: #f1f1f1;
}

body.dark-mode footer {
  background-color: #1f1f1f;
}

body.dark-mode section.bg-light {
  background-color: #2a2a2a !important;
}
body.dark-mode .form-control {
  background-color: #2b2b2b;
  color: #eee;
  border: 1px solid #444;
}
/* Placeholder in light mode */
::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* Placeholder in dark mode */
body.dark-mode ::placeholder {
  color: #bbb;
}
/* Blog section */
.blog-item {
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 1.5rem;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    .blog-item:hover {
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      transform: translateY(-3px);
    }
    .blog-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .blog-meta {
      font-size: 0.9rem;
      color: #6c757d;
    }
    @media (min-width: 768px) {
      .blog-img img {
        height: 100%;
      }
    }
    
.social-icons a:hover {
  background-color: #f0c14b;          /* Golden hover color */
  transition: color 0.3s ease;
}
.social-icons a {
  border: 1px solid #333;
  border-radius: 5px;
  text-decoration: none;    /* Removes underline/dot */
  color: white;             /* Ensures default color is white */
  padding: 0px 5px;
  margin: 0 10px;           /* Space between icons */
  display: inline-block;
}
/* full blog post */
.post-header img {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px;
    }
    .blog-meta {
      font-size: 0.9rem;
      color: #6c757d;
      margin-bottom: 10px;
    }
  /* Hover effect for cards */
.hover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Active category button */
.btn-outline-primary.active {
  background-color: #0d6efd;
  color: #fff;
}
    /* ✅ Breadcrumb Fix */
.breadcrumb {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

body.dark-mode .breadcrumb {
  background-color: #1e1e1e; /* dark background */
}

.breadcrumb a {
  text-decoration: none;
  color: #0d6efd; /* Bootstrap primary blue */
}

body.dark-mode .breadcrumb a {
  color: #9ad0ff; /* light blue for dark mode */
}

.breadcrumb-item.active {
  color: #6c757d; /* muted gray */
}

body.dark-mode .breadcrumb-item.active {
  color: #ddd; /* lighter for dark mode */
}

/* ✅ Attachment Box Fix */
.attachment-box {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
}

body.dark-mode .attachment-box {
  background: #2b2b2b;
  color: #eee; /* text color in dark */
}

.btn-attachment {
  background: #e9ecef;
  border: 1px solid #ced4da;
  color: #333;
}

body.dark-mode .btn-attachment {
  background: #3a3a3a;
  border: 1px solid #555;
  color: #eee;
}
body.dark-mode .btn-attachment:hover {
  background: #4a4a4a;
}

    