:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #363a31;
  --link-color: #87907f;
  --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);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/body-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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;
}
.twitter-tweet {
  width: 279px !important;
}

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

/* Footer base */
.footer {
  margin-top: 5rem;
  padding: 2.5rem 0;
  color: #ffffff !important;

  /* Subtle separation from content */
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Footer text */
.footer p {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* Footer links */
.footer a {
  color: #8ea66c !important;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s ease;
}

/* Hover underline animation */
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #8fa68c, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.footer a:hover {
  color: #2f332a !important;
}

.footer a:hover::after {
  transform: scaleX(1);
}

/* Link spacing for row layout */
.footer a + a {
  margin-left: 1.25rem;
}

/* Mobile alignment cleanup */
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }

  .footer .col-md-6:last-child {
    margin-top: 1rem;
  }
}

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

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

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

.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;
}
.contact-container h2 {
  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: #0dfd0d9e;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}
/* Section container */
.heading {
  margin: 30px auto;
  line-height: 1.75;
}

/* Main section title */
.heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #2f332a;
  margin-bottom: 1.25rem;
}

/* Subheadings */
.heading h3 {
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  color: #3b4034;
  position: relative;
}

/* Subtle accent line */
.heading h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #8fa68c;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Paragraph text */
.heading p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* Intro paragraph emphasis */
.heading > p:first-of-type {
  font-size: 1.05rem;
}

/* Image styling */
.heading img {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Desktop image spacing */
@media (min-width: 768px) {
  .heading img {
    margin-left: 1.5rem;
  }
}

.rounded-5 {
  border-radius: 21px;
}

.cust-bg {
  margin: 30px auto;
  padding: 2.75rem 21px;
  line-height: 1.75;

  /* Transparent / glass effect */
  background: rgb(255 255 255 / 14%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Section heading */
.cust-bg h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* Paragraph text */
.cust-bg p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* List styling */
.cust-bg ul {
  margin: 1.75rem 0;
  padding-left: 0;
  list-style: none;
}

/* Custom list bullets */
.cust-bg ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
}

/* Accent bullet */
.cust-bg ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fa68c, #b7c7a9);
}

/* Subtle divider line after list */
.cust-bg ul::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
  margin: 2rem 0;
}

/* Title */
.header h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #9ea394 !important;
  margin-bottom: 1.5rem;
}

/* Paragraphs */
.header p {
  font-size: 1.05rem;
  margin: 0 auto 1.25rem;
}

/* Subtle divider */
.header::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin: 2.5rem auto 0;
  background: linear-gradient(to right, transparent, #8fa68c, transparent);
  opacity: 0.8;
}
/* Widget container */
.search-widget {
  padding: 1.75rem 21px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  width: 279px;
}

/* Widget title */
.search-widget .widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2f332a;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* Form layout */
.search-form {
  display: flex;
  align-items: center;
  position: relative;
}

/* Input */
.search-form input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: #606458;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

/* Placeholder */
.search-form input::placeholder {
  color: rgba(96, 100, 88, 0.6);
}

/* Focus state */
.search-form input:focus {
  border-color: #8fa68c;
  box-shadow: 0 0 0 4px rgba(143, 166, 140, 0.15);
}

/* Button */
.search-form button {
  position: absolute;
  right: 0.35rem;
  height: 2.2rem;
  width: 2.2rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #8fa68c, #b7c7a9);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Accessibility: hide button on touch keyboards if desired */
@media (hover: none) {
  .search-form button {
    display: none;
  }

  .search-form input {
    padding-right: 1rem;
  }
}
/* Contact container */
.contact-container {
  max-width: 520px;
  margin: 5rem auto;
  padding: 2.75rem 2.25rem 2.25rem;
  position: relative;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.1);
  color: #606458;
}

/* Top icon header */
.contact-header {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: linear-gradient(135deg, #8fa68c, #b7c7a9);
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Form title */
.contact-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2f332a;
  letter-spacing: -0.02em;
}

/* Labels */
.contact-container .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7063;
  margin-bottom: 0.35rem;
}

/* Inputs & textarea */
.contact-container .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: #606458;
  background: rgba(255, 255, 255, 0.7);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

/* Placeholder */
.contact-container .form-control::placeholder {
  color: rgba(96, 100, 88, 0.6);
}

/* Focus state */
.contact-container .form-control:focus {
  border-color: #8fa68c;
  box-shadow: 0 0 0 4px rgba(143, 166, 140, 0.15);
}

/* Button */
.contact-container .btn-primary {
  margin-top: 1.25rem;
  border-radius: 999px;
  padding: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #8fa68c, #b7c7a9);
  border: none;
  cursor: not-allowed;
  opacity: 0.85;
}

/* Email link */
.contact-container .email-link {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #4f5448;
}

.contact-container .email-link i {
  margin-right: 0.35rem;
  color: #8fa68c;
}

/* Mobile refinements */
@media (max-width: 576px) {
  .contact-container {
    padding: 2.5rem 1.75rem 2rem;
  }
}
