:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #0a1f49;
  --hero-gradient1: #667eea;
  --hero-gradient2: #764ba2;
  --footer-bg-color: #0a1f49;
  --link-color: #16cdda;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}

body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color);
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: black;
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

.hero-section.with-bg {
  background-image: url("/images/power-of-blockchain.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

@media screen and (min-width: 1199.98px) {
  .dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff;
}

.dropdown-menu {
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (min-width: 1199.98px) {
  .custom-dropdown {
    max-width: 200px;
  }
}

@media (max-width: 1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6;
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none;
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.cust-bg {
  background: color-mix(in srgb, #16cdda8f 65%, transparent) !important;
  backdrop-filter: blur(12px);
  padding: 18px;
  border-radius: 21px;
}
.box {
  background: color-mix(in srgb, #ffffff 95%, transparent);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 18px;
  height: 100%;
}
.cust-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9; /* subtle light background */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem; /* center horizontally and add spacing below */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.cust-icon i {
  font-size: 28px;
  color: #0d6efd; /* bootstrap primary color */
  line-height: 1;
}
@media (max-width: 576px) {
  .cust-icon {
    width: 56px;
    height: 56px;
  }
  .cust-icon i {
    font-size: 20px;
  }
}
.compare-section {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.06),
    rgba(16, 185, 129, 0.03)
  );
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

/* headings & text */
.compare-section h2 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}
.compare-section h3 {
  margin-top: 1rem;
  color: #0b1220;
  font-weight: 600;
}
.compare-section p {
  color: #101011 !important;
  margin-bottom: 0.75rem;
}

/* list layout and custom markers */
.compare-section ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
}
.compare-section ul li {
  position: relative;
  padding-left: 2.6rem;
  color: #131416 !important;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0);
  border-radius: 8px;
  transition: transform 0.12s ease;
}
.compare-section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.06rem;
  color: #10b981; /* green accent */
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

/* subtle hover lift */
.compare-section ul li:hover {
  transform: translateY(-3px);
}

/* responsive tweaks */
@media (max-width: 576px) {
  .compare-section {
    padding: 1rem;
    border-radius: 10px;
  }
  .compare-section::before {
    width: 160px;
    height: 160px;
    right: -40px;
    top: -50px;
  }
}
@media (prefers-color-scheme: dark) {
  .compare-section {
    background: linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.04),
      rgba(16, 185, 129, 0.02)
    );
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.6);
  }
  .compare-section h2,
  .compare-section h3 {
    color: #e6eef8;
  }
  .compare-section p,
  .compare-section ul li {
    color: #cbd5e1;
  }
}
.img-section {
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 1.5rem;
  position: relative;
}

.img-section .section-top-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}

.img-section__content {
  background: linear-gradient(180deg, #ffffff 0%, #b8d8f9 100%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 1.25rem 17px;
  margin-top: -6px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
}

.img-section__content h2 {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.04)
  );
  color: #0f172a;
  padding: 0.4rem 5px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
}

.img-section__content h3 {
  color: #0b1220;
  font-weight: 600;
}


.footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* dark tech gradient */
  color: #d1d1d1;
  font-family: "Roboto Mono", monospace; /* techy font */
  font-size: 0.95rem;
  border-top: 2px solid rgba(0, 255, 204, 0.4); /* neon accent line */
  box-shadow: 0 -2px 15px rgba(0, 255, 204, 0.2);
}

.footer a {
  color: #00ffcc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #00ffcc;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

.footer a:hover::after {
  transform: scaleX(1);
}

.footer span {
  color: #aaa;
}

.footer p {
  margin-bottom: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .footer .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* 404 Page Container */
.error_page {
  background: radial-gradient(circle at top left, #0f2027, #203a43, #2c5364);
  color: #e0e0e0;
  font-family: "Roboto Mono", monospace; /* techy font */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon */
.error_page i {
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
  margin-bottom: 1rem;
}

/* Main 404 Text */
.error_page h1 {
  font-size: 6rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 40px #00ffcc;
  position: relative;
  display: inline-block;
  animation: glitch 1.5s infinite;
}

/* Subheading */
.error_page h2 {
  color: #cccccc;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Paragraph */
.error_page p {
  color: #aaaaaa;
  font-size: 1.1rem;
}

/* Button */
.error_page_btn {
  background: #00ffcc;
  border: none;
  color: #111 !important;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc inset;
}

.error_page_btn:hover {
  background: #00e6b8;
  box-shadow: 0 0 15px #00ffcc, 0 0 40px #00ffcc;
  transform: translateY(-2px);
}

/* Glitch Animation for 404 */
@keyframes glitch {
  0% {
    text-shadow: 2px 2px #ff00c1, -2px -2px #00fff9;
  }
  20% {
    text-shadow: -2px -2px #ff00c1, 2px 2px #00fff9;
  }
  40% {
    text-shadow: 2px -2px #ff00c1, -2px 2px #00fff9;
  }
  60% {
    text-shadow: -2px 2px #ff00c1, 2px -2px #00fff9;
  }
  80% {
    text-shadow: 2px 2px #ff00c1, -2px -2px #00fff9;
  }
  100% {
    text-shadow: none;
  }
}

/* Responsive Fix */
@media (max-width: 768px) {
  .error_page h1 {
    font-size: 4rem;
  }
  .error_page h2 {
    font-size: 1.5rem;
  }
}
/* Sidebar Container */
.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Roboto Mono", monospace;
}

/* Heading */
.sidebar-page-list h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00ffcc;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid #00ffcc;
  padding-left: 10px;
}

/* List Items */
.sidebar-page-list li {
  margin-bottom: 0.8rem;
}

/* Links */
.sidebar-page-list a {
  padding: 10px 15px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 204, 0.2);
  position: relative;
  overflow: hidden;
}

/* Hover Effects */
.sidebar-page-list a:hover {
  color: #111;
  background: #00ffcc;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
  transform: translateX(5px);
}

/* Neon Glow Pulse (optional) */
.sidebar-page-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0, 255, 204, 0.3), transparent);
  transition: all 0.5s;
}

.sidebar-page-list a:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar-page-list a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}
