

:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #0d0d0d;
  --link-color: #308a1e;
  --header-bg-color: #1e1e1c;
  --font-family: 'Poppins', Arial, sans-serif;
  --nav-link-color: #ffffff;
  --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.webp");
  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 {
  background-color: 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: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;

}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 115px 0 30px;
  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: 77px 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;
  }
}

            
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ===== Section: Colour & Composition (dark bg + green accent) ===== */

.heading {
  margin: 0 auto;
  margin-bottom: 17px;
}

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

/* Accent + headline */
.heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

/* Green accent underline */
.heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: #22c55e; /* green accent */
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

.heading p {
  margin: 0.85rem auto 0;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.85;
}

/* ===== Half-width content box (dark bg + green accent) ===== */

.box {
  height: 100%;
  padding: 1.5rem 21px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(34, 197, 94, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.box:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-left: 0.9rem;
}

/* Green accent bar */
.box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 1.25em;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  font-size: 1.05rem;
  max-width: 70ch;
}

/* Optional: better spacing in Bootstrap columns */
.col-lg-6 {
  margin-bottom: 1.25rem;
}

/* Optional: reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .box,
  .box:hover {
    transition: none;
    transform: none;
  }
}

/* ===== Section Title (Left Aligned) ===== */

.title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
  position: relative;
  padding-left: 1.1rem;
}

/* Green accent bar on the left */
.title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 5px;
  height: 1.3em;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}

/* Optional subtle divider under title */
.title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 0.85rem;
  background: linear-gradient(
    to right,
    #22c55e,
    rgba(34, 197, 94, 0.0)
  );
}
.cust-bg {
  padding: 27px 21px;
  background: #0b0f0d; /* deep dark background */
  color: rgba(255, 255, 255, 0.85);
  margin: 30px 0;
}

/* Main section heading */
.cust-bg h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  position: relative;
  padding-left: 1.2rem;
}

/* Green accent bar */
.cust-bg h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 5px;
  height: 1.35em;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}

/* Body paragraphs */
.cust-bg p {
  margin: 0.85rem 0;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  max-width: 75ch;
}
/* ===== Sidebar Newsletter (dark bg + green accent) ===== */

.sidebar-newsletter {
  width: 100%;
}

.nl-card {
  padding: 1.35rem 1.25rem;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(34, 197, 94, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 279px;
  margin-bottom: 15px;
}

.nl-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-left: 0.9rem;
}

.nl-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.nl-subtitle {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.98rem;
}

.nl-form {
  display: grid;
  gap: 0.85rem;
}

.nl-input {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.nl-input:focus {
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  transform: translateY(-1px);
}

.nl-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #22c55e;
  color: #06120a;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

.nl-btn span {
  margin-left: 0.35rem;
}

.nl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.nl-btn:active {
  transform: translateY(0px);
}

.nl-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* Screen-reader-only label */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nl-input,
  .nl-btn {
    transition: none;
  }
}



/* Subheadings */
.cust-bg h3 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-left: 0.9rem;
}

/* Subheading accent */
.cust-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.85);
}

/* Improve spacing flow */
.cust-bg h3 + p {
  margin-top: 0.5rem;
}

/* Optional subtle divider for section separation */
.cust-bg::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 980px;
  height: 1px;
  margin: 3.5rem auto 0;
  background: linear-gradient(
    to right,
    rgba(34, 197, 94, 0.35),
    rgba(34, 197, 94, 0)
  );
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cust-bg * {
    transition: none;
  }
}