:root {
  --body-bg-color: #ebebeb;
  --body-text-color: #000000;
  --heading-color: #222222;
  --hero-gradient1: #668f6a;
  --hero-gradient2: #668f6a;
  --footer-bg-color: #ffffff;
  --link-color: #668f6a;
  --header-bg-color: #ebebeb;
  --font-family: "Montserrat", Arial, sans-serif;
  --nav-link-color: #141414;
  --footer-text-color: #000000;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
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;
  scroll-margin-top: 70px;
}

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

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

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

.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: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}

.error_page {
  min-height: 70vh;
}

.navbar {
  background-color: var(--header-bg-color) !important;
}

.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 .container {
  position: relative;
  z-index: 2;
}

@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;
}

.header {
  text-align: center;
  font-family: "Poppins", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  position: relative;
}

.header h2 {
  font-weight: 700;
  color: #668f6a;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* "Drawing-style" underline effect */
.header h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: #668f6a;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0px rgba(102, 143, 106, 0.4);
}

/* Paragraph style */
.header p {
  font-size: 1.1rem;
  color: #555;
  margin: 1rem 0;
  position: relative;
}

/* Optional: subtle hover effect for a lively feel */
.header h2:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.header p:hover {
  color: #668f6a;
  transition: color 0.3s ease;
}
.blockchain-section {
  font-family: "Poppins", sans-serif;
  color: #333;
  position: relative;
  text-align: justify;
}

.blockchain-title {
  font-size: 2.2rem;
  color: #668f6a;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

/* Tech-style underline with slight "sketch" twist */
.blockchain-title::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background: #668f6a;
  margin: 0.5rem auto 0;
  border-radius: 1.5px;
  transform: rotate(1deg);
  box-shadow: 1px 1px 0 rgba(102, 143, 106, 0.4);
}

.blockchain-img {
  outline: 2px dashed #668f6a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blockchain-img:hover {
  transform: rotate(-2deg) scale(1.03);
  box-shadow: 3px 3px 8px rgba(102, 143, 106, 0.4);
}

.blockchain-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
  position: relative;
}

.algorithms-section {
  padding: 2rem 1rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: linear-gradient(
    145deg,
    rgba(102, 143, 106, 0.05) 25%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(102, 143, 106, 0.05) 50%,
    rgba(102, 143, 106, 0.05) 75%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.05)
  );
  background-size: 50px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(102, 143, 106, 0.1);
}

.algorithms-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #668f6a;
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.algorithms-section h2::after {
  content: "";
  display: block;
  width: 45%;
  height: 3px;
  background: #668f6a;
  margin: 0.5rem auto 0;
  border-radius: 1.5px;
  transform: rotate(1deg);
  box-shadow: 1px 1px 0 rgba(102, 143, 106, 0.4);
}

.algorithms-section h3 {
  font-size: 1.5rem;
  color: #668f6a;
  margin-top: 2rem;
}

.algorithms-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
  position: relative;
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.cust-bg {
  background: #ffffff; /* light background for your light theme */
  padding: 17px; /* comfortable spacing inside */
  box-shadow: 0 8px 20px rgba(102, 143, 106, 0.15),
    0 4px 6px rgba(0, 0, 0, 0.05); /* layered shadow */
  position: relative;
  overflow: hidden;
}

.trust-section {
  padding: 2.5rem 17px;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(102, 143, 106, 0.15),
    0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.trust-section h2 {
  color: #668f6a;
  text-align: center;
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add icons on both sides of the H2 */
.trust-section h2::before,
.trust-section h2::after {
  content: "🔒"; /* lock icon for data security/trust */
  font-size: 1.5rem;
  margin: 0 0.8rem;
  opacity: 0.6;
}

/* Underline sketch effect for H2 */
.trust-section h2::after {
  content: "🔒";
  margin-left: 0.8rem;
}

/* H3 styling */
.trust-section h3 {
  font-size: 1.5rem;
  color: #668f6a;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

/* Paragraphs styling with subtle sketch lines */
.trust-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
  position: relative;
}

.trust-section p::before,
.trust-section p::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background: #668f6a;
  opacity: 0.2;
}

.trust-section p::before {
  top: -6px;
  left: 0;
  transform: rotate(-2deg);
}

.trust-section p::after {
  bottom: -6px;
  right: 0;
  transform: rotate(2deg);
}
.digital-finance-section {
  padding: 2rem 17px;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(102, 143, 106, 0.12),
    0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.digital-finance-section h2 {
  font-size: 2rem;
  color: #668f6a;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Subtle sketch underline */
.digital-finance-section h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background: #668f6a;
  margin: 0.5rem 0 0;
  border-radius: 1.5px;
  transform: rotate(-1deg);
  box-shadow: 1px 1px 0 rgba(102, 143, 106, 0.3);
}

.digital-finance-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
  position: relative;
}

/* Sketch accents on paragraphs */
.digital-finance-section p::before,
.digital-finance-section p::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background: #668f6a;
  opacity: 0.2;
}

.digital-finance-section p::before {
  top: -6px;
  left: 0;
  transform: rotate(-2deg);
}

.digital-finance-section p::after {
  bottom: -6px;
  right: 0;
  transform: rotate(2deg);
}

/* Optional: subtle hover effect on h2 for interactive feel */
.digital-finance-section h2:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
.footer {
  background: var(--footer-bg-color);
  border-top: 3px solid var(--link-color);
  padding: 2.5rem 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
}

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

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--link-color);
  transition: width 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
}

.footer-newsletter h3 {
  color: var(--footer-text-color) !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-form input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--link-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  border: none;
  background: var(--link-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);
}
.footer-social .social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  display: inline-block;
  color: var(--link-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icon i {
  vertical-align: middle;
}

.footer-social .social-icon:hover {
  transform: scale(1.2) rotate(-10deg);
  background: var(--link-color);
  color: #fff;
}

.footer::after {
  right: 10px;
  top: auto;
  bottom: 10px;
  left: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.error-page {
  background: #fdfdfd;
  font-family: "Poppins", sans-serif;
}

.error-icon {
  font-size: 6rem;
  color: #e74c3c; /* playful red for attention */
  text-shadow: 2px 2px 0 rgba(102, 143, 106, 0.2);
}

.error-code {
  font-size: 6rem;
  color: #668f6a;
  position: relative;
  display: inline-block;
  text-shadow: 3px 3px 0 rgba(102, 143, 106, 0.2);
}

/* Sketch underline under 404 */
.error-code::after {
  content: "";
  display: block;
  width: 50%;
  height: 6px;
  background: #668f6a;
  margin: 0.5rem auto 0;
  border-radius: 3px;
  transform: rotate(-2deg);
}

.error-title {
  font-size: 1.8rem;
  color: #333;
}

.error-text {
  font-size: 1.1rem;
  color: #555;
  margin: 0 auto;
}

.error-btn {
  background: #668f6a;
  border: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-btn:hover {
  background: #55795a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(102, 143, 106, 0.25);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .error-code {
    font-size: 4rem;
  }

  .error-icon {
    font-size: 4rem;
  }

  .error-title {
    font-size: 1.5rem;
  }
}
