:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #008550;
  --hero-gradient2: #33a38e;
  --footer-bg-color: #0d0d0d;
  --link-color: #33a38e;
  --header-bg-color: #ffffff;
  --font-family: 'Candara', Arial, sans-serif;
  --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;

}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201000%20700'%3E%3Cg%20stroke='%2394a3b8'%20stroke-width='1'%20opacity='0.95'%3E%3Cline%20x1='40'%20y1='640'%20x2='140'%20y2='560'/%3E%3Cline%20x1='140'%20y1='560'%20x2='250'%20y2='610'/%3E%3Cline%20x1='250'%20y1='610'%20x2='360'%20y2='540'/%3E%3Cline%20x1='360'%20y1='540'%20x2='470'%20y2='600'/%3E%3Cline%20x1='470'%20y1='600'%20x2='590'%20y2='520'/%3E%3Cline%20x1='590'%20y1='520'%20x2='720'%20y2='590'/%3E%3Cline%20x1='720'%20y1='590'%20x2='860'%20y2='510'/%3E%3Cline%20x1='860'%20y1='510'%20x2='980'%20y2='420'/%3E%3Cline%20x1='140'%20y1='560'%20x2='210'%20y2='470'/%3E%3Cline%20x1='210'%20y1='470'%20x2='360'%20y2='540'/%3E%3Cline%20x1='210'%20y1='470'%20x2='300'%20y2='400'/%3E%3Cline%20x1='300'%20y1='400'%20x2='430'%20y2='450'/%3E%3Cline%20x1='430'%20y1='450'%20x2='590'%20y2='520'/%3E%3Cline%20x1='430'%20y1='450'%20x2='520'%20y2='360'/%3E%3Cline%20x1='520'%20y1='360'%20x2='650'%20y2='430'/%3E%3Cline%20x1='650'%20y1='430'%20x2='770'%20y2='360'/%3E%3Cline%20x1='770'%20y1='360'%20x2='860'%20y2='510'/%3E%3Cline%20x1='770'%20y1='360'%20x2='910'%20y2='380'/%3E%3Cline%20x1='910'%20y1='380'%20x2='980'%20y2='420'/%3E%3Cline%20x1='300'%20y1='400'%20x2='360'%20y2='300'/%3E%3Cline%20x1='360'%20y1='300'%20x2='520'%20y2='280'/%3E%3Cline%20x1='520'%20y1='280'%20x2='630'%20y2='210'/%3E%3Cline%20x1='630'%20y1='210'%20x2='740'%20y2='290'/%3E%3Cline%20x1='740'%20y1='290'%20x2='850'%20y2='220'/%3E%3Cline%20x1='850'%20y1='220'%20x2='930'%20y2='300'/%3E%3Cline%20x1='930'%20y1='300'%20x2='910'%20y2='380'/%3E%3Cline%20x1='630'%20y1='210'%20x2='690'%20y2='120'/%3E%3Cline%20x1='690'%20y1='120'%20x2='820'%20y2='160'/%3E%3Cline%20x1='820'%20y1='160'%20x2='920'%20y2='100'/%3E%3Cline%20x1='920'%20y1='100'%20x2='980'%20y2='150'/%3E%3Cline%20x1='980'%20y1='150'%20x2='850'%20y2='220'/%3E%3Cline%20x1='820'%20y1='160'%20x2='850'%20y2='220'/%3E%3Cline%20x1='740'%20y1='290'%20x2='770'%20y2='360'/%3E%3Cline%20x1='520'%20y1='280'%20x2='520'%20y2='360'/%3E%3Cline%20x1='360'%20y1='300'%20x2='430'%20y2='450'/%3E%3C/g%3E%3Cg%20fill='%23008550'%20opacity='0.95'%3E%3Ccircle%20cx='40'%20cy='640'%20r='3'/%3E%3Ccircle%20cx='140'%20cy='560'%20r='6'/%3E%3Ccircle%20cx='210'%20cy='470'%20r='4'/%3E%3Ccircle%20cx='250'%20cy='610'%20r='3'/%3E%3Ccircle%20cx='300'%20cy='400'%20r='7'/%3E%3Ccircle%20cx='360'%20cy='540'%20r='4'/%3E%3Ccircle%20cx='360'%20cy='300'%20r='3'/%3E%3Ccircle%20cx='430'%20cy='450'%20r='6'/%3E%3Ccircle%20cx='470'%20cy='600'%20r='3'/%3E%3Ccircle%20cx='520'%20cy='280'%20r='7'/%3E%3Ccircle%20cx='520'%20cy='360'%20r='4'/%3E%3Ccircle%20cx='590'%20cy='520'%20r='6'/%3E%3Ccircle%20cx='630'%20cy='210'%20r='4'/%3E%3Ccircle%20cx='650'%20cy='430'%20r='6'/%3E%3Ccircle%20cx='690'%20cy='120'%20r='3'/%3E%3Ccircle%20cx='720'%20cy='590'%20r='3'/%3E%3Ccircle%20cx='740'%20cy='290'%20r='4'/%3E%3Ccircle%20cx='770'%20cy='360'%20r='7'/%3E%3Ccircle%20cx='820'%20cy='160'%20r='4'/%3E%3Ccircle%20cx='850'%20cy='220'%20r='6'/%3E%3Ccircle%20cx='860'%20cy='510'%20r='4'/%3E%3Ccircle%20cx='910'%20cy='380'%20r='6'/%3E%3Ccircle%20cx='920'%20cy='100'%20r='3'/%3E%3Ccircle%20cx='930'%20cy='300'%20r='4'/%3E%3Ccircle%20cx='980'%20cy='150'%20r='4'/%3E%3Ccircle%20cx='980'%20cy='420'%20r='7'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: repeat;
  background-size: 1000px 700px;
  opacity: 0.35;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background: linear-gradient(to right,
      var(--body-bg-color) 0%,
      var(--body-bg-color) 35%,
      rgba(248, 250, 252, 0.65) 55%,
      rgba(248, 250, 252, 0.45) 100%);
}

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: 40px 0;
  scroll-margin-top: 70px;
}

section h2 {
  position: relative;
  display: inline-block;

  margin: 0 auto 1rem;
  padding: 0.5rem 1rem;

  color: var(--heading-color);
  font-family: var(--font-family);
  font-weight: 600;

  text-align: center;
}

/* true centering without touching section */
section h2 {
  left: 50%;
  transform: translateX(-50%);
}

/* TOP-LEFT BRACKET */
section h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
  height: 25px;

  border-top: 3px solid var(--hero-gradient1);
  border-left: 3px solid var(--hero-gradient2);
}

/* BOTTOM-RIGHT BRACKET */
section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;

  width: 50px;
  height: 25px;

  border-bottom: 3px solid var(--hero-gradient2);
  border-right: 3px solid var(--hero-gradient1);
}


section img {
  outline: 5px solid var(--hero-gradient1);
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: underline !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}



.error_page {
  min-height: 70vh;
}


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

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

.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}



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

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

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

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

.box {
  position: relative;
  background-color: #ffffff;
  color: var(--body-text-color);
  font-family: var(--font-family);
  height: 100%;
  padding: 1.5rem;

  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;

  background: linear-gradient(to right,
      transparent,
      var(--hero-gradient1),
      var(--hero-gradient2),
      transparent);
  border-radius: 2px;
}

.box::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background-color: var(--hero-gradient2);
  box-shadow:
    0 0 0 3px rgba(51, 163, 142, 0.15),
    0 0 12px rgba(51, 163, 142, 0.45);
}

.box>* {
  position: relative;
  z-index: 1;
}

.box {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 1px);
  background-size: 24px 24px;
}


.box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.box p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}