:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #080808;
  --hero-gradient2: #454347;
  --footer-bg-color: #0d0d0d;
  --link-color: #80b4fb;
  --header-bg-color: #ffffff;
  --font-family: "Times New Roman", Times, serif;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}

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

.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: 135px 0 50px 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;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 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) 95%,
      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;
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 17px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}
.card-cust {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-top: 15px;
}

.card-cust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--link-color), #64b5f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-cust:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-cust:hover::before {
  opacity: 1;
}

.colored {
  color: var(--link-color) !important;
}
.cust-bg {
  background: linear-gradient(
    135deg,
    var(--body-bg-color) 0%,
    color-mix(in srgb, var(--link-color) 8%, var(--body-bg-color)) 25%,
    color-mix(in srgb, var(--hero-gradient2) 12%, var(--body-bg-color)) 50%,
    color-mix(in srgb, var(--link-color) 6%, var(--body-bg-color)) 75%,
    var(--body-bg-color) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 17px;
  border-radius: 21px;
}
.quick-links {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  width: 279px;
}

.quick-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--link-color), #64b5f6);
  border-radius: 16px 16px 0 0;
}

.quick-links h2 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 21px;
  text-align: center;
  position: relative;
}

.quick-links h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--link-color);
  border-radius: 2px;
}

.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-page-list li {
  margin-bottom: 8px;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.sidebar-page-list li:hover {
  transform: translateX(5px);
}

.sidebar-page-list li a {
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--nav-link-color, #141414);
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.sidebar-page-list li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--link-color) 10%, transparent),
    color-mix(in srgb, var(--link-color) 15%, transparent)
  );
  transition: left 0.3s ease;
  z-index: 1;
}

.sidebar-page-list li a::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--link-color);
  font-weight: bold;
  z-index: 3;
}

.sidebar-page-list li a span {
  position: relative;
  z-index: 2;
}

.sidebar-page-list li a:hover {
  color: var(--link-color);
  background: color-mix(in srgb, var(--link-color) 8%, transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding-right: 45px;
}

.sidebar-page-list li a:hover::before {
  left: 0;
}

.sidebar-page-list li a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sidebar-page-list li:first-child a {
  border: 1px solid color-mix(in srgb, var(--link-color) 20%, transparent);
  background: color-mix(in srgb, var(--link-color) 5%, transparent);
  font-weight: 600;
}

.sidebar-page-list li:first-child a:hover {
  background: color-mix(in srgb, var(--link-color) 15%, transparent);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .quick-links {
    margin-bottom: 15px;
    padding: 20px;
  }

  .sidebar-page-list li a {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}
.footer {
  background: linear-gradient(
    135deg,
    var(--body-bg-color) 0%,
    color-mix(in srgb, var(--link-color) 5%, var(--body-bg-color)) 50%,
    var(--body-bg-color) 100%
  );
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--link-color) 15%, transparent);
  backdrop-filter: blur(10px);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--link-color) 0%,
    color-mix(in srgb, var(--hero-gradient2) 50%, var(--link-color)) 50%,
    var(--link-color) 100%
  );
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      color-mix(in srgb, var(--link-color) 8%, transparent) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      color-mix(in srgb, var(--hero-gradient2) 6%, transparent) 0%,
      transparent 50%
    );
  opacity: 0.7;
  z-index: 1;
}

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

.footer p,
.footer span {
  color: color-mix(in srgb, var(--nav-link-color) 80%, transparent);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

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

.footer a:hover {
  color: var(--link-color);
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 !important;
  }

  .footer .col-md-6 {
    margin-bottom: 1rem;
  }

  .footer .col-md-6:last-child {
    margin-bottom: 0;
  }
}
.error_page {
  background: linear-gradient(
    135deg,
    var(--body-bg-color) 0%,
    color-mix(in srgb, var(--link-color) 8%, var(--body-bg-color)) 25%,
    color-mix(in srgb, var(--hero-gradient2) 12%, var(--body-bg-color)) 50%,
    color-mix(in srgb, var(--link-color) 6%, var(--body-bg-color)) 75%,
    var(--body-bg-color) 100%
  );
  align-items: center;
  position: relative;
  overflow: hidden;
}

.error-icon-container {
  position: relative;
  display: inline-block;
}

.error-icon {
  color: var(--link-color);
  position: relative;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.error-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--link-color) 20%, transparent) 0%,
    color-mix(in srgb, var(--link-color) 10%, transparent) 50%,
    transparent 100%
  );
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  z-index: 1;
}

.error-number {
  font-weight: 900;
  background: linear-gradient(45deg, var(--link-color), var(--hero-gradient2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.error-title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.error-description {
  color: color-mix(in srgb, var(--nav-link-color) 80%, transparent);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.error_page_btn {
  background: linear-gradient(45deg, var(--link-color), var(--hero-gradient2));
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.error_page_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, var(--hero-gradient2), var(--link-color));
}

.btn-outline-primary {
  border: 2px solid var(--link-color);
  color: var(--link-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--link-color);
  border-color: var(--link-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@media (max-width: 768px) {
  .error-number {
    font-size: 4rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error_page_btn,
  .btn-outline-primary {
    width: 200px;
  }
}
.wrap_word {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
