:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffffc7;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #111c27;
  --link-color: #ac8d63;
  --header-bg-color: #111c27;
  --font-family: "Times New Roman", Times, 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.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 1.1rem !important;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  font-family: "Story Script", sans-serif;
  font-weight: 600;
  font-style: normal;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
  font-family: "Sriracha", cursive;
  font-weight: 400;
  font-style: normal;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
.story-script-regular {
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.sriracha-regular {
  font-family: "Sriracha", cursive;
  font-weight: 400;
  font-style: normal;
}

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-links {
  background: linear-gradient(
    180deg,
    rgba(10, 18, 35, 0.92),
    rgba(10, 18, 35, 0.75)
  );
  border: 1px solid rgba(172, 141, 99, 0.25);
  border-radius: 18px;
  padding: 22px 11px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  width: 279px;
  margin-bottom: 15px;
}

.sidebar-links h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-links h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.15);
}

.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.sidebar-page-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;

  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* left accent bar */
.sidebar-page-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0%;
  background: #ac8d63;
  border-radius: 10px;
  transition: height 0.25s ease;
}

/* arrow icon */
.sidebar-page-list li a::after {
  content: "›";
  font-size: 1.2rem;
  opacity: 0.55;
  transform: translateX(-2px);
  transition: 0.25s ease;
}

/* hover effects */
.sidebar-page-list li a:hover {
  color: #fff;
  border-color: rgba(172, 141, 99, 0.45);
  background: rgba(172, 141, 99, 0.1);
  transform: translateX(4px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.sidebar-page-list li a:hover::before {
  height: 70%;
}

.sidebar-page-list li a:hover::after {
  opacity: 1;
  color: #ac8d63;
  transform: translateX(2px);
}

/* optional active link style */
.sidebar-page-list li a.active {
  color: #fff;
  background: rgba(172, 141, 99, 0.16);
  border-color: rgba(172, 141, 99, 0.6);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.sidebar-page-list li a.active::before {
  height: 80%;
}

.twitter-tweet {
  width: 279px !important;
}

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

.footer-modern {
  background:
    radial-gradient(
      1200px 500px at 20% -10%,
      rgba(172, 141, 99, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(10, 18, 35, 0.98), rgba(10, 18, 35, 0.92));
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(172, 141, 99, 0.24);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  inset: -40px -40px auto -40px;
  height: 140px;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(172, 141, 99, 0.22),
    transparent 60%
  );
  pointer-events: none;
  filter: blur(10px);
}

.footer-title {
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a,
.footer-copy a,
.footer-mini-link,
.newsletter-note a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-links a:hover,
.footer-copy a:hover,
.footer-mini-link:hover,
.newsletter-note a:hover {
  color: #ac8d63;
  text-decoration: underline;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-brand img {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

/* Social buttons */
.social-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(172, 141, 99, 0.22);
  color: rgba(255, 255, 255, 0.85);
  transition:
    transform 0.2s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(172, 141, 99, 0.14);
  border-color: rgba(172, 141, 99, 0.55);
  color: #ac8d63;
}

/* Newsletter card */
.newsletter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(172, 141, 99, 0.22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.newsletter-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(172, 141, 99, 0.18);
  border-color: rgba(172, 141, 99, 0.6);
}

/* Accent button */
.btn-accent {
  background: #ac8d63;
  border-color: #ac8d63;
  color: #0a1223;
  font-weight: 600;
}

.btn-accent:hover {
  background: #c3a071;
  border-color: #c3a071;
  color: #0a1223;
}

.newsletter-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.navbar {
  background-color: transparent !important;
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background: linear-gradient(
    180deg,
    rgba(10, 18, 35, 0.92),
    rgba(10, 18, 35, 0.78)
  ) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(172, 141, 99, 0.35);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(172, 141, 99, 0.08);

  transition: all 0.3s ease;
}

.hero-section {
  padding: 165px 0 50px;
  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: 100px 0 30px;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-family: "Sriracha", cursive;
  font-weight: 400;
  font-style: normal;
}

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

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

/* Headings */
.heading h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}

.heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  height: 70%;
  width: 4px;
  border-radius: 10px;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.12);
}

.heading p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #ffffffc7;
  margin-bottom: 14px;
}

/* Sub heading */
.sub-heading {
  margin-top: 28px;
}

.sub-heading h3 {
  font-size: 1.35rem;
  font-weight: 750;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2px;
}

.sub-heading h3::after {
  content: "";
  display: block;
  margin-top: 8px;
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, #ac8d63, transparent);
  opacity: 0.8;
}

.sub-heading p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}

/* Benefits block */
.sleep-benefits {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 1px solid rgba(172, 141, 99, 0.25);
}

/* Benefit titles */
.sleep-benefits h4 {
  font-size: 1.15rem;
  font-weight: 750;
  margin-top: 22px;
  margin-bottom: 10px;
  color: #fff;
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.2px;
}

.sleep-benefits h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.12);
}

/* Benefit paragraphs */
.sleep-benefits p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

/* Small modern touch: highlight the last paragraph */
.sleep-benefits p:last-child {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(172, 141, 99, 0.22);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

/* Smoothness */
.sleep-section h2,
.sleep-section h3,
.sleep-section h4,
.sleep-section p {
  transition: 0.25s ease;
}

/* Optional: small hover glow on benefit headings */
.sleep-benefits h4:hover {
  color: #ac8d63;
}
.title {
  margin-bottom: 28px;
  padding: 10px 0;
}

.title h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.6rem);
  font-weight: 850;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

/* Accent underline */
.title h2::after {
  content: "";
  display: block;
  margin: 12px auto 0;
  height: 3px;
  width: 85px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #ac8d63, transparent);
  opacity: 0.9;
}

/* Paragraph styling */
.title p {
  font-size: 1.03rem;
  line-height: 1.85;
  margin: 0 auto 14px;
}

/* Make the second paragraph feel like a callout */
.title p:last-child {
  margin-top: 18px;
  font-weight: 600;
}

/* Optional: slight text glow for premium look */
.title h2 {
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.box {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(172, 141, 99, 0.22);
  background: rgba(
    255,
    255,
    255,
    0.03
  ); /* subtle glass, not solid background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* top accent line */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #ac8d63, transparent);
  opacity: 0.7;
}

/* hover effect */
.box:hover {
  transform: translateY(-4px);
  border-color: rgba(172, 141, 99, 0.5);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

/* heading */
.box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 16px;
}

/* small accent dot */
.box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.12);
}

/* text */
.box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
}
.stage {
  align-items: center;
  gap: 10px;

  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  padding: 8px 14px;
  border-radius: 999px;

  color: #ac8d63;
  border: 1px solid rgba(172, 141, 99, 0.45);
  background: rgba(172, 141, 99, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* small glowing dot */
.stage::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.15);
}
.cist-bg {
  padding: 40px 21px;
  border-radius: 22px;

  background:
    radial-gradient(
      900px 400px at 15% 0%,
      rgba(172, 141, 99, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(10, 18, 35, 0.92), rgba(10, 18, 35, 0.78));

  border: 1px solid rgba(172, 141, 99, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);

  position: relative;
  overflow: hidden;
}

/* soft top glow line */
.cist-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #ac8d63, transparent);
  opacity: 0.7;
}

/* Heading */
.cist-bg h2 {
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  font-weight: 850;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}

.cist-bg h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  height: 70%;
  width: 4px;
  border-radius: 10px;
  background: #ac8d63;
  box-shadow: 0 0 0 6px rgba(172, 141, 99, 0.14);
}

/* Paragraphs */
.cist-bg p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

/* Highlight the last 3 paragraphs slightly */
.cist-bg p:nth-child(n + 3) {
  padding-left: 14px;
  border-left: 1px solid rgba(172, 141, 99, 0.25);
}

/* Optional: smooth hover */
.cist-bg:hover {
  border-color: rgba(172, 141, 99, 0.38);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
  transition: 0.3s ease;
}
.rounded-5 {
  border-radius: 17px;
}