:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #3c382c;
  --hero-gradient2: #a18b3a;
  --footer-bg-color: #e5e3d2;
  --link-color: #9a8539;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #000000;
  --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: var(--footer-bg-color);
  color: var(--footer-text-color);
  border-top: 1px solid var(--link-color);
}
.footer a {
  text-decoration: none;
  color: var(--footer-text-color) !important;
}
.footer-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  position: relative;
  color: var(--footer-text-color) !important;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  padding-left: 6px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 0;
  outline: 0;
  background: color-mix(in srgb, var(--footer-bg-color) 80%, white 20%);
  color: var(--footer-text-color);
}
.newsletter-form input::placeholder {
  color: var(--footer-text-color);
}
.newsletter-form button {
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  background: var(--link-color);
  color: var(--footer-text-color);
  transition: all 0.3s ease;
}
.newsletter-form button:hover {
  background: color-mix(in srgb, var(--link-color) 80%, white 20%);
}
.footer-divider {
  margin: 1.5rem 0;
  border-color: var(--link-color);
}
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 17px;
}
.social-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--footer-text-color);
  background-color: color-mix(in srgb, var(--footer-bg-color), white 20%);
  font-size: 1.2rem;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.social-icons span:hover {
  background: linear-gradient(
    135deg,
    var(--link-color),
    var(--footer-text-color)
  );
  transform: translateY(-2px);
}

.navbar {
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--header-bg-color) !important;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.246);
}

.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;
  font-weight: 500;
  padding: 0 1rem;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--link-color) !important;
  transform: translateY(-1px);
}
.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link-color);
}

/* 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;
  }
}

.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;
}
/* ===== Heading Section ===== */
.heading {
  margin-bottom: 27px;
}

.text-center {
  text-align: center;
}

/* ===== Title Styling ===== */
.heading h2 {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* Underline accent */
.heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--link-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* ===== Paragraph Styling ===== */
.heading p {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional subtle spacing between paragraphs */
.heading p:last-child {
  margin-bottom: 0;
}

/* ===== Box Card Style ===== */
.box {
  background: #ffffff;
  padding: 19px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  border-top: 4px solid var(--link-color);
}

/* Subtle hover effect */
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ===== Heading ===== */
.box h3 {
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ===== Paragraphs ===== */
.box p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

/* ===== List Styling ===== */
.box ul {
  margin: 20px 0;
  padding-left: 20px;
}

.box ul li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #444;
  position: relative;
}

/* Custom bullet */
.box ul li::marker {
  color: var(--link-color);
  font-weight: bold;
}
.title {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: var(--link-color);
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 11px;
}

/* Accent underline using the same theme color */
.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--link-color);
  border-radius: 2px;
}

/* Optional centered version */
.title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}
/* ===== Cards Section Layout ===== */
.cards {
  background: #f8fafc;
}

.cards .heading {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

/* ===== Modern Card Design ===== */
.cust-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f7;
}

/* Gradient accent line on top */
.cust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--link-color), #4cc9f0);
}

/* Hover effect */
.cust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ===== Heading Style ===== */
.cust-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0d3b66;
}

/* Icon styling */
.cust-card h3 i {
  font-size: 1.4rem;
  color: var(--link-color);
  background: rgba(0, 119, 182, 0.08);
  padding: 8px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.cust-card:hover h3 i {
  background: var(--link-color);
  color: #fff;
}

/* ===== Paragraph Style ===== */
.cust-card p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .cust-card {
    padding: 21px;
  }
}
/* Section container */
.cust-bg {
  /* Layout */
  margin: 30px auto;
  padding: 21px;

  /* Visual */
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(233, 253, 13, 0.08),
    rgba(255, 255, 255, 0.85)
  );
  border: 1px solid rgba(245, 253, 13, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  /* Text */
  color: #1f2937; /* slate */
  line-height: 1.75;

  /* If you want it to look good on dark pages too */
  backdrop-filter: blur(6px);
}

/* Title */
.cust-bg h2 {
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b2a5b;
  position: relative;
  padding-left: 0.9rem;
}

/* Decorative accent bar */
.cust-bg h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 6px;
  height: 1.2em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--link-color), #ffff63);
}

/* Paragraphs */
.cust-bg p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: #334155;
}

/* Last paragraph spacing */
.cust-bg p:last-child {
  margin-bottom: 0;
}
/* Sidebar Container */
.sidebar-links {
  background-color: #f8fafc;
  padding: 21px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 279px;
  margin-bottom: 15px;
}

/* Sidebar Title */
.sidebar-links h2 {
  font-weight: 600;
  margin-bottom: 18px;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

/* List Reset */
.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List Items */
.sidebar-page-list li {
  margin-bottom: 10px;
}

/* Links */
.sidebar-page-list li a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover Effect */
.sidebar-page-list li a:hover {
  background-color: #f6fee0;
  color: #8ea103;
  transform: translateX(4px);
}
.sidebar-search {
  padding: 19px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 43, 43, 0.08);
  margin-bottom: 15px;
  width: 279px;
}
.sidebar-search h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}
.sidebar-search form {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}
.sidebar-search input[type="text"] {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #d5e2e2;
  border-radius: 6px;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.sidebar-search input::placeholder {
  color: #9aa;
}
.sidebar-search button {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #002b2b;
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.sidebar-search button:hover {
  transform: translateY(-1px);
}
