:root {
  --body-bg-color: #c5d3ca;
  --body-text-color: #363535;
  --heading-color: #222222;
  --hero-gradient1: #2c3c30;
  --hero-gradient2: #265313;
  --footer-bg-color: #2c3c30;
  --link-color: #03a700;
  --header-bg-color: #ffffff;
  --font-family: "Times New Roman", Times, 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: 100px;
}

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

.footer img {
  filter: brightness(0) invert(1);
}

.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.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);
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 88px;
    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 !important;
  text-decoration: none;
  background-color: #91919131 !important;
}
/* Navbar Base */
.navbar {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease-in-out;
}

/* Brand Logo */
.navbar-brand img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #2c3e50 !important; /* dark gray-blue for readability */
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(46, 204, 113, 0.15); /* soft green hover */
  color: #27ae60 !important; /* wellness green */
}

/* Active Link */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  background-color: #27ae60 !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* Mobile Toggle */
.navbar-toggler {
  border: none;
  background: #27ae60;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.navbar-toggler:hover {
  background: #219150;
}
.navbar-toggler-icon {
  filter: invert(100%);
}
/* Heading Section */
.heading h2 {
  position: relative;
  display: inline-flex; /* keeps icons inline */
  align-items: center;
  gap: 0.6rem; /* spacing between text and icons */
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* Decorative leaf icons */
.heading h2::before,
.heading h2::after {
  content: "🌿";
  font-size: 1.2rem;
  color: #27ae60;
  position: static; /* no absolute positioning, stays inline */
  transform: none;
}
.heading h1 {
  position: relative;
  display: inline-flex; /* keeps icons inline */
  align-items: center;
  gap: 0.6rem; /* spacing between text and icons */
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* Decorative leaf icons */
.heading h1::before,
.heading h1::after {
  content: "🌿";
  font-size: 1.2rem;
  color: #27ae60;
  position: static; /* no absolute positioning, stays inline */
  transform: none;
}

/* Paragraph text */
.heading p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

/* Responsive tweak: smaller icons on narrow screens */
@media (max-width: 480px) {
  .heading h2 {
    font-size: 1.4rem;
    gap: 0.3rem;
  }
  .heading h2::before,
  .heading h2::after {
    font-size: 1rem;
  }
}

/* Why Section */
.why-section {
  padding: 1rem 21px;
  text-align: center;
  border-left: 6px solid #27ae60; /* wellness green accent */
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background: #ffffff; /* keeps it clean, no heavy backgrounds */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Heading Style */
.why-section h2 {
  font-weight: 700;
  color: #145a32; /* deep green wellness tone */
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

/* Decorative underline */
.why-section h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #27ae60, #1abc9c);
  margin: 0.6rem auto 0;
  border-radius: 3px;
}

/* Paragraphs */
.why-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.1rem;
  text-align: justify;
}
.box {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 21px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Heading */
.box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #27ae60; /* wellness green accent */
  margin-bottom: 1rem;
  position: relative;
}

/* Decorative underline */
.box h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #27ae60;
  border-radius: 2px;
  margin-top: 0.4rem;
}

/* Paragraph */
.box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
.rounded {
  border-radius: 21px !important;
}

.newsletter {
  width: 279px;
  margin-bottom: 30px;
}

.newsletter-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(245, 250, 247, 0.98)
  );
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 8px 30px rgba(44, 60, 48, 0.12);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--hero-gradient1),
    var(--link-color),
    var(--hero-gradient1)
  );
  border-radius: 20px 20px 0 0;
}

.newsletter-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--link-color), #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.newsletter-icon i {
  font-size: 1.5rem;
  color: white;
}

.newsletter-card h4 {
  color: var(--hero-gradient1);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.newsletter-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 25px;
  text-align: left;
}

.newsletter-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-form .input-wrapper i {
  position: absolute;
  left: 15px;
  color: var(--link-color);
  font-size: 1rem;
  z-index: 2;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(39, 174, 96, 0.2);
  border-radius: 12px;
  padding: 12px 15px 12px 45px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  color: var(--hero-gradient1);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--link-color);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
  outline: none;
}

.newsletter-form .form-control::placeholder {
  color: #999;
  font-weight: 400;
}

.newsletter-btn {
  background: linear-gradient(135deg, var(--link-color), #2ecc71);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.newsletter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
  left: 100%;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #2ecc71, var(--link-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.newsletter-btn i {
  transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
  transform: translateX(3px);
}

.newsletter-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
  color: #666;
}

.newsletter-note i {
  color: var(--link-color);
  font-size: 0.9rem;
}

.newsletter-note small {
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .newsletter-card {
    padding: 25px 20px;
  }

  .newsletter-card h4 {
    font-size: 1.2rem;
  }

  .newsletter-form .form-control {
    padding: 10px 12px 10px 40px;
  }
}

.error-page {
  background: radial-gradient(
    ellipse at center,
    rgba(39, 174, 96, 0.08) 0%,
    transparent 70%
  );
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(39, 174, 96, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(46, 204, 113, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(34, 139, 34, 0.05) 0%,
      transparent 20%
    );
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.error-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 20px;
}

.error-icon {
  color: var(--link-color);
  font-size: 4rem !important;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(39, 174, 96, 0.3));
  animation: gentle-bounce 3s ease-in-out infinite;
}

.error-404 {
  font-size: clamp(4rem, 15vw, 8rem) !important;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hero-gradient1), var(--link-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0 !important;
  text-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(39, 174, 96, 0.2));
  line-height: 1;
}

.error-title {
  color: var(--hero-gradient1) !important;
  font-weight: 600;
  margin-bottom: 20px !important;
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
}

.error-description {
  color: rgba(44, 60, 48, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px !important;
}

.error-buttons {
  gap: 15px !important;
  margin-bottom: 40px;
}

.error-btn-home {
  background: linear-gradient(135deg, var(--link-color), #2ecc71) !important;
  border: 2px solid transparent !important;
  color: white !important;
  font-weight: 600;
  padding: 12px 30px !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.error-btn-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.error-btn-home:hover::before {
  left: 100%;
}

.error-btn-home:hover {
  background: linear-gradient(135deg, #2ecc71, var(--link-color)) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
  color: white !important;
}

.error-btn-back {
  background: transparent !important;
  border: 2px solid var(--link-color) !important;
  color: var(--link-color) !important;
  font-weight: 600;
  padding: 12px 30px !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.error-btn-back:hover {
  background: var(--link-color) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.25);
}

.wellness-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0.6;
}

.wellness-stars i {
  color: var(--link-color);
  animation: twinkle 2s ease-in-out infinite;
}

.wellness-stars i:nth-child(1) {
  animation-delay: 0s;
}

.wellness-stars i:nth-child(2) {
  animation-delay: 0.5s;
}

.wellness-stars i:nth-child(3) {
  animation-delay: 1s;
}

@keyframes gentle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .error-icon {
    font-size: 3rem !important;
  }

  .error-buttons {
    flex-direction: column;
    align-items: center;
  }

  .error-btn-home,
  .error-btn-back {
    width: 200px;
    text-align: center;
  }

  .error-description {
    font-size: 1rem;
    padding: 0 20px;
  }
}
