:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #000000;
  --hero-gradient2: #000000;
  --footer-bg-color: #0d0d0d;
  --link-color: #61a5ff;
  --header-bg-color: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --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;
  scroll-margin-top: 70px;
}

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

.content-area h2 {
  position: relative;
  text-align: center;
}

.content-area h2::before,
.content-area h2::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--heading-color);
}

.content-area h2::before {
  top: -6px;
}

.content-area h2::after {
  bottom: -6px;
}

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

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

.contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}
.box {
  background-color: #ffffff; /* light background */
  border: 1px solid #e0e0e0; /* subtle border */
  border-radius: 12px; /* rounded corners */
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 100%;
}

/* Hover effect */
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon above H3 */
.box h3 {
  position: relative;
  font-size: 1.5rem;
  color: #1a1a1a; /* dark accent */
  margin-bottom: 15px;
  padding-left: 0;
}

/* Paragraph and list styling */
.box p {
  color: #333333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.box ul {
  list-style: disc inside;
  padding-left: 0;
  margin-bottom: 15px;
}

.box ul li {
  margin-bottom: 10px;
  color: #444444;
}
.box .icon {
  width: 60px;
  height: 60px;
  background-color: #1a1a1a; /* dark accent */
  color: #ffffff; /* icon color */
  border-radius: 50%; /* circular */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto; /* float above heading */
  font-size: 1.5rem; /* icon size */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.cust-box {
  background-color: #ffffff; /* light background */
  border: 1px solid #000000; /* black accent border */
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cust-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Content styling */
.cust-box h3 {
  color: #000000; /* black accent */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.cust-box p {
  color: #333333;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .cust-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}
.cust-bg {
  background-color: #1a1a1a; /* dark background */
  color: #f5f5f5; /* light text */
  padding: 40px 25px;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.cust-bg:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.cust-bg h2 {
  color: #ffffff !important; /* bright heading */
  font-size: 2rem;
  margin-bottom: 20px;
}

.cust-bg p {
  color: #e0e0e0; /* softer text for readability */
  line-height: 1.8;
  margin: 0 auto;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cust-bg {
    padding: 30px 20px;
  }

  .cust-bg h2 {
    font-size: 1.6rem;
  }

  .cust-bg p {
    font-size: 0.95rem;
  }
}
.footer {
  background: linear-gradient(135deg, #000000 0%, #1e1e1e 100%);
  color: #eaeaea;
  font-size: 0.95rem;
  padding: 40px 0;
  border-top: 1px solid #333;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.footer p {
  margin: 0;
  color: #bfbfbf;
  font-family: 'Inter', sans-serif;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* Contact button */
.contact-btn {
  background-color: #ffffff;
  color: #000000;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.contact-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Email under buttons */
.footer-email {
  color: #bfbfbf;
  font-size: 0.9rem;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-email {
    margin-top: 15px;
  }
}
.contact-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 40px 30px;
  background: #0f0f0f;
  color: #f1f1f1 !important;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  font-family: "Inter", sans-serif;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-container:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.contact-header i {
  font-size: 2.8rem;
  color: #ffffff;
  background: #1a1a1a;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.contact-header h1 {
  margin-top: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-header p {
  color: #aaaaaa !important;
  font-size: 0.95rem;
  margin-top: 5px;
}

form {
  margin-top: 40px;
  text-align: left;
}

form h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 25px;
}

.form-label {
  font-weight: 600;
  color: #dddddd !important;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-control {
  background-color: #1b1b1b;
  border: 1px solid #333;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 10px 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: #121212;
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

textarea.form-control {
  resize: none;
}

.btn-outline-primary {
  color: #ffffff;
  border-color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 20px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Email link */
.email-link {
  margin-top: 40px;
  font-size: 0.95rem;
  color: #aaaaaa;
  text-align: center;
}

.email-link i {
  color: #ffffff;
  margin-right: 6px;
}

/* Responsive */
@media (max-width: 576px) {
  .contact-container {
    margin: 50px 0;
    padding: 30px 20px;
  }

  .contact-header i {
    font-size: 2.2rem;
    padding: 10px;
  }

  form h2 {
    font-size: 1.2rem;
  }
}
/* ==== 404 Page Styles ==== */
.error-page-container {
  background: radial-gradient(circle at top left, #1a1a1a, #000000);
  color: #f5f5f5;
  text-align: center;
  padding: 60px 20px;
  font-family: "Inter", sans-serif;
}

/* Bug icon with glow and float animation */
.error-icon {
  font-size: 7rem;
  color: #ff4b4b;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
  animation: error-float 3s ease-in-out infinite;
}

/* Large 404 number */
.error-code {
  font-size: 6rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Headline and text */
.error-title {
  color: #e0e0e0 !important;
  font-weight: 600;
}

.error-text {
  color: #bcbcbc;
  margin: 0 auto;
  line-height: 1.7;
}

/* Button styling */
.error-btn {
  background-color: #ffffff;
  color: #000;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.error-btn:hover {
  background-color: #ff4b4b;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 75, 75, 0.6);
}

/* Floating animation for bug icon */
@keyframes error-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

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