:root {
  --body-bg-color: #ffffff;
  --body-text-color: #1c1c1c;
  --heading-color: #3d3d3d;
  --hero-gradient1: #24243e;
  --hero-gradient2: #24243e;
  --footer-bg-color: #36373a;
  --link-color: #00bfff;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --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;
}

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

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

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

.hero-section {
  padding: 115px 0 25px 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;
}

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

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: fixed !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}

@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}
.colored {
  color: #4081a9 !important;
}
.heading h2 {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: #24243e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
}

.heading h2 .colored {
  color: #4081a9;
  background: linear-gradient(90deg, #4081a9 0%, #24243e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Section container with subtle background and border */
.comp-sec {
  padding: 3rem 1.5rem;
  margin: 2rem auto;
  color: #24243e;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9fbfd; /* Light, soft background */
  border-left: 5px solid #4081a9; /* Accent color border for a modern touch */
  border-radius: 8px; /* Soft corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

/* Main heading */
.comp-title {
  font-weight: 800;
  color: #4081a9;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* Subheading */
.comp-sub {
  font-weight: 700;
  color: #24243e;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.comp-sub::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #4081a9;
  margin-top: 4px;
  border-radius: 2px;
}

/* Paragraphs */
.comp-sec p {
  margin-bottom: 1rem;
  color: #333;
}
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.cust-bg {
  background-color: #24243e;
  color: #ffffff;
}
.cust-bg h2 {
  color: #ffffff !important;
}
.cust-bg h3 {
  color: #ffffff !important;
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
} /* Full-width section */
.links-sec {
  width: 100%;
  padding: 1rem 17px;
  background: #f9fbfd;
  border-top: 1px solid #e0e6eb;
  border-bottom: 1px solid #e0e6eb;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Heading */
.links-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #4081a9;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  position: relative;
}

.links-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #4081a9;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Link list – centered horizontally */
.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* allows wrapping on small screens */
  gap: 1.5rem; /* space between links */
}

/* Individual links */
.links-list a {
  text-decoration: none;
  color: #24243e;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.links-list a:hover {
  color: #4081a9;
  transform: translateY(-2px); /* subtle hover lift */
}
.error-page {
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
  border-radius: 12px;
  max-width: 700px;
  margin: 5rem auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  color: #24243e;
  font-family: "Helvetica Neue", Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

/* 404 number */
.error-code {
  font-size: 7rem;
  font-weight: 800;
  color: #4081a9;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(64, 129, 169, 0.2);
}

/* Headings */
.error-title {
  font-weight: 700;
  color: #24243e;
}

.error-text {
  color: #555;
}

/* Buttons */
.btn-home {
  border: 2px solid #4081a9;
  color: #4081a9;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-home:hover {
  background: #4081a9;
  color: #fff;
}

.btn-back {
  border: 2px solid #24243e;
  color: #24243e;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #24243e;
  color: #fff;
}

/* Stars animation */
.error-stars i {
  color: #4081a9;
  animation: sparkle 2s infinite ease-in-out;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Icon animation */
.error-page .icon i {
  color: #4081a9;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* Footer container */
.footer-biz {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef4f8 100%);
  border-top: 2px solid #4081a9;
  color: #24243e;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

/* Text */
.footer-biz p {
  margin: 0;
  color: #333;
}

/* Contact text */
.footer-biz .contact {
  color: #24243e;
  font-weight: 500;
}

/* Link styling */
.footer-biz .footer-link {
  text-decoration: none;
  color: #4081a9;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-biz .footer-link:hover {
  color: #24243e;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-biz {
    text-align: center;
    padding: 2rem 1rem;
  }
}
.box-first,
.box-second {
  background-color: #e7e9ebde;
  padding: 17px 15px;
}
.box-second {
  background-color: #c5c5c5de;
}
@media (min-width: 767px) {
  .box-first {
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }
  .box-second {
    border-top-right-radius: 21px;
    border-bottom-right-radius: 21px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
@media (max-width: 767px) {
  .box-first {
    border-radius: 21px 21px 0 0;
  }
  .box-second {
    border-radius: 0 0 21px 21px;
  }
}
