:root {
     --primary: #0d6efd; 
    /* --primary: #242F65; */
     --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;

      /* Additional badge colors */
  --badge-blue: #0d6efd;
  --badge-green: #198754;
  --badge-red: #dc3545;
  --badge-orange: #fd7e14;
  --badge-teal: #20c997;
  --badge-purple: #6f42c1;
  --badge-pink: #d63384;
}

 /*Badge classes */
.badge-blue { background-color: var(--badge-blue); color: #fff; }
.badge-green { background-color: var(--badge-green); color: #fff; }
.badge-red { background-color: var(--badge-red); color: #fff; }
.badge-orange { background-color: var(--badge-orange); color: #fff; }
.badge-teal { background-color: var(--badge-teal); color: #fff; }
.badge-purple { background-color: var(--badge-purple); color: #fff; }
.badge-pink { background-color: var(--badge-pink); color: #fff; }



/* Page body padding */
body { padding-top: 80px; }

/* Blog card styling */
.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: #fff;
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.blog-img { height: 200px; object-fit: contain; }
.category-badge { margin-right: 5px; margin-top: 5px; padding-top: 5px; padding-bottom: 6px; }
.blog-meta { font-size: 0.9rem; color: #6c757d; margin-top: auto; }

/* Navbar category styling */
#category-nav .nav-link {
  margin: 0 10px;
  transition: color 0.3s ease;
  border-bottom: none !important;
}
#category-nav .nav-link.active { font-weight: 600; }

/* Full page loader */
#page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide content initially until loaded */
#content { display: none; }



/* Fix child active style */
.dropdown-item.active, 
.dropdown-item:active {
    background-color: transparent !important;
    color: #0d6efd !important;
}

/* Open dropdown on hover */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* circle */
}





/* Rounded search bar */
.search-pill {
  border-radius: 50rem !important;
  height: 50px;
}

/* Search icon inside input */
.search-icon-btn {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 18px;
  color: #0d6efd;
  padding: 20px;
  cursor: pointer;
}

/* Remove focus outline for cleaner look */
.search-icon-btn:focus {
  box-shadow: none;
  outline: none;
}

/* Input focus shadow */
.search-pill:focus {
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25);
}



.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


