:root {
  /* Light theme (default) */
  --bg-color: #DFD0B8;
  --text-color: #222831;
  --primary-accent: #393E46;
  --secondary-accent: #948979;
  --navbar-bg: #222831;
  --navbar-text: #DFD0B8;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

[data-theme='dark'] {
  --bg-color: #222831;
  --text-color: #DFD0B8;
  --primary-accent: #393E46;
  --secondary-accent: #948979;
  --navbar-bg: #1a1e24;
  --navbar-text: #DFD0B8;
  --card-bg: #2a2f38;
  --card-shadow: rgba(0, 0, 0, 0.3);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Lora', serif;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

p, li {
  font-family: 'Lora', serif;
}

/* NeuraDock Navbar Styles */
.neuradock-navbar {
  background: var(--navbar-bg);
  color: var(--navbar-text);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: var(--transition);
  padding: 1.1rem 0.5rem;
  box-shadow: none;
  z-index: 1050;
}
.neuradock-navbar.shrink {
  background: var(--navbar-bg);
  padding: 0.5rem 0.5rem;
  box-shadow: 0 2px 16px var(--card-shadow);
}
.navbar-brand {
  color: var(--navbar-text) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.navbar-brand:hover {
  color: var(--secondary-accent) !important;
}
.navbar-nav .nav-link {
  color: var(--navbar-text) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-left: 1rem;
  position: relative;
  transition: color 0.2s;
}
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--secondary-accent);
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--secondary-accent) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  width: 100%;
}
/* Search Bar Styles */
.neuradock-search-form {
  align-items: center;
  margin-left: 2rem;
}
.neuradock-search-input {
  width: 0;
  min-width: 0;
  opacity: 0;
  border: none;
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  font-family: 'Lora', serif;
  font-size: 1rem;
  box-shadow: none;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  position: absolute;
  right: 0;
  z-index: 2;
}
.neuradock-search-form.active .neuradock-search-input {
  width: 220px;
  min-width: 120px;
  opacity: 1;
  border: 1px solid var(--secondary-accent);
  box-shadow: 0 2px 8px var(--card-shadow);
}
.neuradock-search-btn {
  background: none;
  border: none;
  color: var(--navbar-text);
  padding: 0.25rem 0.5rem;
  font-size: 1.3rem;
  z-index: 3;
  position: relative;
  transition: color 0.2s;
}
.neuradock-search-btn:focus {
  outline: none;
  box-shadow: none;
}
.search-icon {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background: none;
  position: relative;
  transition: transform 0.3s;
}
.search-icon::before, .search-icon::after {
  content: '';
  position: absolute;
  background: var(--navbar-text);
  border-radius: 2px;
  transition: all 0.3s;
}
.search-icon::before {
  left: 0.45em;
  top: 0.2em;
  width: 0.7em;
  height: 0.7em;
  border: 2px solid var(--navbar-text);
  border-radius: 50%;
  background: none;
}
.search-icon::after {
  left: 1em;
  top: 0.85em;
  width: 0.35em;
  height: 0.12em;
  background: var(--navbar-text);
  border-radius: 2px;
  transform: rotate(45deg);
}
.neuradock-search-form.active .search-icon::before {
  border: none;
  width: 1em;
  height: 0.13em;
  left: 0.15em;
  top: 0.6em;
  background: var(--secondary-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.neuradock-search-form.active .search-icon::after {
  width: 1em;
  height: 0.13em;
  left: 0.15em;
  top: 0.6em;
  background: var(--secondary-accent);
  border-radius: 2px;
  transform: rotate(-45deg);
}
/* Hamburger menu custom animation */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
}
.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after,
.navbar-toggler .navbar-toggler-icon span {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navbar-text);
  margin: 0.3em 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar-toggler.collapsed .navbar-toggler-icon::before {
  transform: rotate(0);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span {
  opacity: 0;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--navbar-text);
  font-size: 1.3rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  margin-left: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--secondary-accent);
  transform: rotate(30deg);
}

.theme-toggle i {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .fa-sun {
  display: none;
  color: #FFD700;
}

.theme-toggle .fa-moon {
  display: inline-block;
  color: #E2E8F0;
}

[data-theme='dark'] .theme-toggle .fa-sun {
  display: inline-block;
}

[data-theme='dark'] .theme-toggle .fa-moon {
  display: none;
}

/* Slide-in mobile menu */
@media (max-width: 991.98px) {
  .neuradock-navbar .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    height: 100vh;
    background: #222831;
    box-shadow: -2px 0 16px rgba(34,40,49,0.12);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 2000;
    padding: 2rem 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .neuradock-navbar .navbar-collapse.show {
    right: 0;
  }
  .neuradock-navbar .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  .neuradock-navbar .nav-link {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  .neuradock-search-form {
    margin-left: 0;
    width: 100%;
    margin-top: 1.5rem;
  }
}
/* Sticky Navbar Shadow on Scroll */
body {
  padding-top: 70px;
} 

/* Hero Section Styles */
.neuradock-hero {
  background: linear-gradient(120deg, #DFD0B8 0%, #F5EFE6 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}
.hero-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #222831;
  line-height: 1.2;
  letter-spacing: 0.01em;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
}
.hero-heading .highlight {
  color: #948979;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.hero-subheading {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  color: #393E46;
  opacity: 0;
  transition: opacity 0.8s 0.5s;
}
.neuradock-cta-btn {
  background: #393E46;
  color: #DFD0B8;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.75rem 2.2rem;
  border-radius: 2rem;
  box-shadow: 0 2px 12px rgba(34,40,49,0.08);
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s, background 0.2s;
  border: none;
  outline: none;
  letter-spacing: 0.02em;
}
.neuradock-cta-btn:hover, .neuradock-cta-btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 24px #94897955;
  background: #222831;
  color: #DFD0B8;
}
#neuradock-hero-animation {
  min-height: 320px;
  min-width: 220px;
  background: transparent;
}
@media (max-width: 991.98px) {
  .neuradock-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero-heading {
    font-size: 2rem;
  }
}
@media (max-width: 767.98px) {
  .neuradock-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-heading {
    font-size: 1.5rem;
  }
  #neuradock-hero-animation {
    min-height: 180px;
  }
}
/* Letter-by-letter fade-in animation */
.hero-heading .fade-in-letter {
  opacity: 0;
  display: inline-block;
  animation: fadeInLetter 0.7s forwards;
}
@keyframes fadeInLetter {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
.hero-subheading.fade-in {
  opacity: 1 !important;
  animation: fadeInSub 1.1s 0.5s both;
}
@keyframes fadeInSub {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
} 

/* Featured Blog Posts Section */
.neuradock-featured-posts {
  background: none;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #222831;
  letter-spacing: 0.01em;
}
.featured-card {
  background: #DFD0B8;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(34,40,49,0.08);
  overflow: hidden;
  transition: box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.18s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.featured-card:hover {
  box-shadow: 0 8px 32px #94897933;
  transform: translateY(-4px) scale(1.025);
}
.featured-card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  height: 180px;
  background: #F5EFE6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.featured-card:hover .featured-card-img {
  transform: scale(1.08);
}
.category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #948979;
  color: #222831;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.25rem 1.1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px #94897922;
  z-index: 2;
}
.featured-card-body {
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #222831;
  margin-bottom: 0.5rem;
}
.featured-card-excerpt {
  font-family: 'Lora', serif;
  color: #393E46;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.featured-card-author {
  margin-top: auto;
}
.author-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #94897933;
  box-shadow: 0 1px 4px #94897922;
}
.author-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #222831;
  font-size: 1rem;
}
@media (max-width: 991.98px) {
  .featured-card-img-wrapper {
    height: 160px;
  }
}
@media (max-width: 767.98px) {
  .neuradock-featured-posts .row {
    row-gap: 2rem;
  }
  .featured-card-img-wrapper {
    height: 140px;
  }
} 

/* Categories Section */
.neuradock-categories-section {
  background: none;
}
.category-card {
  background: #393E46;
  color: #DFD0B8;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(34,40,49,0.08);
  padding: 2.5rem 1.2rem 2rem 1.2rem;
  transition: box-shadow 0.22s, transform 0.18s, border 0.22s;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px #94897933;
  border: 2px solid #948979;
}
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: filter 0.2s;
}
.category-card:hover .category-icon {
  animation: pulseIcon 0.8s infinite alternate;
  filter: drop-shadow(0 0 8px #94897988);
}
@keyframes pulseIcon {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.category-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  color: #DFD0B8;
}
@media (max-width: 991.98px) {
  .category-card {
    min-height: 220px;
    padding: 2rem 1rem 1.5rem 1rem;
  }
  .category-name {
    font-size: 1.1rem;
  }
}
@media (max-width: 767.98px) {
  .category-card {
    min-height: 180px;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
  .category-name {
    font-size: 1rem;
  }
} 

/* Infographics Section */
.neuradock-infographics-section {
  background: none;
}
.infographic-card {
  background: #F5EFE6;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(34,40,49,0.08);
  transition: box-shadow 0.22s, transform 0.18s;
  border: 2px solid transparent;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.infographic-card:hover {
  box-shadow: 0 8px 32px #94897933;
  border: 2px solid #948979;
  transform: translateY(-6px) scale(1.02);
}
.infographic-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #222831;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.infographic-graphic {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .infographic-card {
    min-height: 240px;
    padding: 1.2rem 0.5rem;
  }
}
@media (max-width: 767.98px) {
  .infographic-card {
    min-height: 180px;
    padding: 0.7rem 0.2rem;
  }
  .infographic-title {
    font-size: 1.1rem;
  }
}

/* Modern Four-Column Footer */
.neuradock-footer {
  background: #222831;
  color: #DFD0B8;
  font-family: 'Lora', serif;
  border-top: none;
  padding-bottom: 0;
}
.footer-heading {
  color: #DFD0B8;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}
.footer-links {
  padding-left: 0;
  margin-bottom: 0;
}
.footer-link {
  color: #DFD0B8;
  text-decoration: none;
  font-family: 'Lora', serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #948979;
  text-decoration: underline;
}
.footer-desc {
  color: #DFD0B8;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social-link {
  color: #DFD0B8;
  font-size: 1.5rem;
  transition: color 0.2s;
  display: inline-block;
  margin-right: 0.5rem;
}
.footer-social-link:last-child {
  margin-right: 0;
}
.footer-social-link:hover {
  color: #948979;
}
.footer-bottom-bar {
  background: #1a1d22;
  color: #DFD0B8;
  font-size: 0.98rem;
  padding: 0.7rem 0;
  text-align: center;
  letter-spacing: 0.01em;
  border-top: 1px solid #393E46;
}
@media (max-width: 991.98px) {
  .neuradock-footer .row > div {
    margin-bottom: 2rem;
  }
}
@media (max-width: 767.98px) {
  .neuradock-footer {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 0;
  }
  .footer-links {
    margin-bottom: 1rem;
  }
  .footer-social {
    justify-content: center;
  }
} 

/* Newsletter Subscription Section */
.newsletter-section {
  background: #393E46;
  color: #DFD0B8;
  position: relative;
  overflow: hidden;
}
.newsletter-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #DFD0B8;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.newsletter-desc {
  color: #DFD0B8;
  font-size: 1.13rem;
  margin-bottom: 1.5rem;
}
.newsletter-form {
  gap: 0.7rem;
}
.newsletter-input {
  background: #222831 !important;
  color: #DFD0B8 !important;
  border: none !important;
  border-radius: 2rem !important;
  padding: 0.8rem 1.2rem !important;
  font-size: 1.08rem !important;
  box-shadow: 0 2px 8px #22283122;
  outline: none;
  transition: box-shadow 0.2s;
}
.newsletter-input:focus {
  box-shadow: 0 4px 16px #94897933;
  background: #222831;
  color: #DFD0B8;
}
.newsletter-btn {
  background: #DFD0B8 !important;
  color: #222831 !important;
  font-weight: 600;
  border-radius: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px #22283122;
}
.newsletter-btn:hover, .newsletter-btn:focus {
  background: #948979 !important;
  color: #DFD0B8 !important;
}
.newsletter-bg-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .newsletter-heading {
    font-size: 1.3rem;
  }
  .newsletter-section {
    padding: 2.2rem 0 !important;
  }
} 

.netpub-ad-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 200px;
  max-width: 320px;
  margin-left: 2rem;
}
@media (max-width: 991.98px) {
  .netpub-ad-right {
    margin-left: 0;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
} 

.netpub-ad-topleft {
  position: fixed;
  top: 80px; /* below navbar */
  left: 0;
  z-index: 2000;
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
  padding-left: 0.2rem;
}
@media (max-width: 991.98px) {
  .netpub-ad-topleft {
    display: none;
  }
} 

.netpub-ad-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px rgba(34,40,49,0.08);
  min-height: 60px;
  padding: 0.2rem 0;
}
body {
  padding-top: 130px !important;
}
@media (max-width: 991.98px) {
  .netpub-ad-fixed-top {
    min-height: 50px;
    padding: 0.1rem 0;
  }
  body {
    padding-top: 110px !important;
  }
} 

.netpub-ad-midtop-right {
  position: fixed;
  top: 110px;
  right: 0;
  z-index: 2500;
  width: 160px;
  min-width: 120px;
  max-width: 336px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0.5rem 0.2rem 0 0;
}
@media (max-width: 1200px) {
  .netpub-ad-midtop-right {
    width: 120px;
    min-width: 100px;
    max-width: 160px;
    top: 100px;
  }
}
@media (max-width: 991.98px) {
  .netpub-ad-midtop-right {
    display: none;
  }
} 