:root {
  --body-bg-color: #030613;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #030613;
  --link-color: #0051ff;
  --header-bg-color: #13141b;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  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;
}

.twitter-tweet {
  width: 279px !important;
}

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

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

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

.navbar {
  background-color: transparent !important;
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.hero-section.with-bg {
  background-image: url("/images/hero-bg.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;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 30px;
  }
}
.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;
  }
}

.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;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/* Digital heading section (dark theme + blue accent) */
.heading {
  margin-bottom: 25px;
}

.heading h2 {
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  color: #eaf2ff;

  /* subtle digital glow */
  text-shadow:
    0 0 12px rgba(59, 130, 246, 0.25),
    0 0 28px rgba(59, 130, 246, 0.15);
}

/* futuristic underline / scan line */
.heading h2::after {
  content: "";
  display: block;
  width: min(180px, 60%);
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0) 0%,
    rgba(59, 130, 246, 0.9) 50%,
    rgba(59, 130, 246, 0) 100%
  );
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.heading p {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
  margin: 0 auto;
  color: rgba(234, 242, 255, 0.78);
  letter-spacing: 0.2px;
} /* Digital content box (dark theme + blue accent) */
.digital-box {
  position: relative;
  padding: clamp(1rem, 2.2vw, 2.2rem);
  border-radius: 18px;
  height: 100%;
  /* Background allowed here */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.22);

  /* Depth */
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(59, 130, 246, 0.08) inset;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease;
  overflow: hidden;
}

/* subtle digital grid overlay */
.digital-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.35;
  pointer-events: none;
}

/* blue glow accent corner */
.digital-box::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  top: -120px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.35),
    transparent 70%
  );
  filter: blur(8px);
  opacity: 0.65;
  pointer-events: none;
}

.digital-box h3 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #eaf2ff;
  letter-spacing: 0.3px;
}

/* small accent line under title */
.digital-box h3::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.95),
    rgba(59, 130, 246, 0)
  );
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.digital-box p {
  position: relative;
  margin: 0 0 1rem;
  color: rgba(234, 242, 255, 0.78);
  line-height: 1.85;
  font-size: 1rem;
}

.digital-box p:last-child {
  margin-bottom: 0;
}

/* Hover effect = modern digital lift */
.digital-box:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.12) inset;
}
/* Modern Digital Section (dark + blue accent) */
.modern-bg {
  position: relative;
  padding: clamp(2.8rem, 5vw, 3rem) clamp(1.2rem, 3vw, 2.5rem);
  margin: 30px auto;
  border-radius: 22px;

  /* Modern dark panel background */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.22);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.08) inset;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden;
}

/* Subtle digital grid overlay */
.modern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  pointer-events: none;
}

/* Blue glow accent */
.modern-bg::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -160px;
  right: -160px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.35),
    transparent 70%
  );
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}

/* Typography */
.modern-bg h2 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 750;
  line-height: 1.2;
  color: #eaf2ff;
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.2);
}

/* Underline accent */
.modern-bg h2::after {
  content: "";
  display: block;
  width: min(220px, 70%);
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.95),
    rgba(59, 130, 246, 0)
  );
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.modern-bg > p {
  margin: 0 0 1.6rem;
  color: rgba(234, 242, 255, 0.78);
  line-height: 1.85;
  font-size: 1.05rem;
}

/* Sub headings */
.modern-bg h3 {
  position: relative;
  margin: 1rem 0 0.8rem;
  font-weight: 700;
  color: #dbeafe;
  letter-spacing: 0.3px;
  padding-left: 1rem;
}

/* Left neon bar for each h3 */
.modern-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1.2em;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

.modern-bg h3 + p,
.modern-bg h3 + p + p {
  margin: 0 0 1rem;
  color: rgba(234, 242, 255, 0.75);
  line-height: 1.85;
  font-size: 1rem;
}

/* Make spacing consistent */
.modern-bg p:last-child {
  margin-bottom: 0;
}
/* Clean modern box (no glass / no grid) */
.box {
  position: relative;
  padding: 1.5rem 21px;
  border-radius: 16px;
  height: 100%;
  /* simple solid dark background */
  background: #0b1220;

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);

  transition:
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

/* Blue accent line on the left */
.box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

/* Icon style */
.box .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;

  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);

  margin-bottom: 1rem;
}

.box .icon i {
  font-size: 1.4rem;
  color: rgba(59, 130, 246, 0.95);
}

/* Title */
.box h3 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #eaf2ff;
}

/* Text */
.box p {
  margin: 0 0 0.9rem;
  color: rgba(234, 242, 255, 0.78);
  line-height: 1.8;
  font-size: 1rem;
}

.box p:last-child {
  margin-bottom: 0;
}

/* Hover */
.box:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(59, 130, 246, 0.08);
}
/* Section Title (left aligned, modern digital) */
.title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: #eaf2ff;
  letter-spacing: 0.4px;

  text-align: left; /* not centered */
  position: relative;

  text-shadow: 0 0 18px rgba(59, 130, 246, 0.18);
}

/* Accent underline */
.title::after {
  content: "";
  display: block;
  width: 170px;
  height: 3px;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.95),
    rgba(59, 130, 246, 0)
  );
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}
.rounded-5 {
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(15, 105, 123, 0.524);
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
/* Sidebar Quick Links */
.sidebar-links {
  padding: 1.6rem 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  width: 279px;
  margin-bottom: 15px;
}

.sidebar-links h2 {
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #eaf2ff;
  letter-spacing: 0.4px;
  position: relative;
}

/* Accent underline */
.sidebar-links h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.95),
    rgba(59, 130, 246, 0)
  );
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.sidebar-page-list li {
  margin: 0;
}

/* Link Button Style */
.sidebar-page-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.9rem 1rem;
  border-radius: 14px;

  color: rgba(234, 242, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: transform 200ms ease, border-color 200ms ease,
    background 200ms ease, box-shadow 200ms ease, color 200ms ease;
  position: relative;
}

/* Small arrow bullet */
.sidebar-page-list a::before {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(59, 130, 246, 0.9);
  opacity: 0.9;
}

/* Hover effect */
.sidebar-page-list a:hover {
  transform: translateX(6px);
  color: #eaf2ff;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.12);
}

/* Optional: active link style (add class="active" to <a>) */
.sidebar-page-list a.active {
  color: #eaf2ff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.18);
}
/* Footer - modern dark + blue accent */
.footer {
  position: relative;
  margin-top: 4rem;
  padding: 2.25rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* subtle glow line */
.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(820px, 85%);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0),
    rgba(59, 130, 246, 0.65),
    rgba(59, 130, 246, 0)
  );
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

/* logo */
.footer img {
  opacity: 0.95;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  max-width: 100%;
  height: auto;
}

/* base text */
.footer p,
.footer span {
  color: rgba(234, 242, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* links */
.footer a {
  color: rgba(234, 242, 255, 0.86);
  text-decoration: none;
  font-weight: 700;
  transition: color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.footer a:hover {
  color: rgba(59, 130, 246, 0.95);
}

/* right side (email + privacy) */
.footer .col-md-6.text-md-end {
  gap: 0.8rem;
}

/* Email pill */
.footer span.me-3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer span.me-3 i {
  color: rgba(59, 130, 246, 0.95);
  font-size: 1.05rem;
}

/* Privacy policy button-like link */
.footer a[href="/privacy"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.footer a[href="/privacy"]:hover {
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.45);
}

/* Make footer elements breathe on mobile */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0;
  }

  .footer .col-md-6.text-md-end {
    margin-top: 0.8rem;
  }

  .footer span.me-3 {
    width: fit-content;
    margin: 0 auto;
  }
}
