:root{
  --njci-green: #14532d;
  --njci-gold: #d6a23c;
  --muted: #6b7280;
  --cust-creamy: #f5f9ed;
  --cust-dark: #0d1b2a;
}
*{
  box-sizing: border-box;
}
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: #ffffff;
  padding-top: 0;
  box-sizing: border-box;
}

a{
  text-decoration: none;
}
/* Default navbar */
.njci-navbar {
  /* position: absolute; */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: white;
  color: var(--cust-dark);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* When fixed after scroll */
/* .njci-navbar.fixed-top-custom {
  position: fixed;
  background-color: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  animation: slideDown 0.4s ease forwards;
} */

/* Smooth slide down animation */
@keyframes slideDown {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
body.nav-fixed {
  padding-top: 90px; /* Match navbar height */
}
.page-header{
  background-image: url('/images/header_bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* text-align: center; */
}

.page-header h3{
  color: #fff;
  font-size: 18px;
}

 .page-header h3 a{
  color: #e1dcdc;
  font-size: 16px;
}
.page-header p{
  color: #3B9E61 !important;
}

.njci-navbar .nav-link { color: var(--cust-dark); font-weight:500; }

.njci-navbar .nav-link.active{
  color: var(--njci-gold);
}
.njci-navbar .brand {
  font-family: "Merriweather", serif;
  font-weight:700;
}
.navbar-toggler{
  border: 1px solid var(--cust-dark);
}

.navbar-toggler:focus{
  border: 1px solid #fff;
}
.journal-hero{
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 72px 0;
}
.journal-hero::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(5,23,10,0.60), rgba(5,23,10,0.75));
}

.navbar-nav li .nav-link:hover{
  color: var(--njci-gold) !important;
  text-decoration: underline;
}

.section-title{
  font-size: 20px;
}
.hero-inner{ position:relative; z-index:2; }
.issue-cover { border-radius: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); background:#fff; }
.article-title {
  font-family: "inter", serif; font-weight:700; color: var(--njci-green); 
}

.article-title:hover{
  text-decoration: underline;
  color: var(--njci-gold);
  transition: all .3s;
}
.toc-list .meta { color: var(--muted); font-size: .95rem; }
.editor-card { border-radius:8px; background:#fff; box-shadow: 0 6px 18px rgba(16,24,40,0.06); padding:16px; text-align:center; }
.index-badge img { max-height:36px; }
.highlight-card { border-left: 4px solid var(--njci-green); padding: 12px 18px; background:#fff; border-radius:6px; }
.most-section { background:#f8f9fa; padding: 60px 0; }
.most-card { background:#fff; border:1px solid #eee; border-radius:6px; padding:20px; transition:.3s; }
.most-card:hover { box-shadow:0 6px 18px rgba(0,0,0,.08); transform: translateY(-3px); }
footer { background: var(--njci-green); color:#fff; padding:26px 0; }

.auth-card {max-width:800px; margin:100px auto; background:#fff; border:1px solid #e5e7eb; border-radius:8px; padding:30px; box-shadow:-1px 3px 19px 0px rgba(29, 27, 27, 0.61) }
.auth-card h3 { font-family:"Merriweather", serif; color:#14532d; margin-bottom:20px; }
.btn-success { background:#14532d; border:none; }

@media (max-width: 765px){
  .auth-card{
    margin: 80px 0.7rem 30px;
  }
}
.custom-btn{
  box-shadow: rgba(0, 0, 0, .3) 0 5px 15px;
  box-sizing: border-box;
  background-image: linear-gradient(#CA780F, #FDC10F);
  border: 0;
   transition: all .3s;
}
.custom-btn:hover{
  color: #fff;
  transition: all .3s;
}

.download-btn{
  color: var(--njci-green);
  background-color: transparent;
  border: 1px solid var(--njci-green);
  border-radius: 8px;
  transition: all .3s;
}
.download-btn:hover{
  background-color: var(--njci-green);
  color: #fff;
  transition: all 0.3s;
}

.guideline-section h4, .section-title {
  color: var(--njci-gold)
}

/* Section Heading */
.section-heading {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #2a2a2a;
    margin-bottom: 2.5rem;
}

/* Card Styles */
.njci-card {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.njci-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Card Background Images */
.card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-overlay);
  z-index: 2;
}

/* Card Content Container */
.card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

/* Card Title */
.card-title-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0;
  max-width: 85%;
}

/* Card Button */
.card-cta-btn {
    display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #2a2a2a;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  width: fit-content;
  transition: all 0.3s ease;
  border: none;
}

.card-cta-btn:hover {
  background: #f0f0f0;
  transform: translateX(5px);
  color: #2a2a2a;
}

.card-cta-btn::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.card-cta-btn:hover::after {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .njci-card {
    height: 280px;
    margin-bottom: 1.5rem;
  }

  .section-heading {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .njci-card {
    height: 300px;
  }

  .card-title-text {
    font-size: 1.25rem;
  }

  .section-heading {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
}


.page-item.active .page-link {
    background-color: #14532d; 
    border-color: #14532d;
    color: #fff;
}

.page-link {
    color: #14532d;
}

.page-link:hover {
    color: #d6a23c;
}