/* ==============================
   GLOBAL RESET & BASE STYLES
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Enhanced color palette with CSS custom properties */
  --primary-green: #2C5F2D;
  --accent-orange: #F4A259;
  --accent-pink: #D75A9A;
  --light-cream: #F7F4EA;
  --pure-white: #FAFAFA;
  --dark-green-1: #183818;
  --dark-green-2: #21382E;
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glow-primary: rgba(244, 162, 89, 0.3);
  --glow-secondary: rgba(215, 90, 154, 0.2);
}

body {
  font-family: 'Helvetica', Georgia, serif;
  background-color: var(--light-cream);
  color: var(--primary-green);
  line-height: 1.6;
}

#app {
  margin: 0;
  width: 100%;
  height: 100%;
}

#loading {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
  display: none;
}

body.no-scroll {
    overflow: hidden;
}

/* ==============================
   HEADER
============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(120deg, rgba(17, 37, 17, 0.95) 0%, rgba(33, 56, 46, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--pure-white);
  padding: 1rem 2rem;
  flex-wrap: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo a:hover img {
  filter: none;
  transform: scale(1.05);
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--pure-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.logo a:hover {
  background: linear-gradient(120deg, var(--accent-orange), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move 3s infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==============================
   RESPONSIVE ADJUSTMENTS
============================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  header nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Menu Styling */
.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: var(--pure-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid transparent;
}

.menu a:hover {
  background: linear-gradient(135deg, var(--glass-white), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--glass-border);
  color: var(--accent-orange);
}

.menu > li:last-child > a {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
  color: var(--pure-white);
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(244, 162, 89, 0.4);
}

.menu > li:last-child > a:hover {
  color: #1a1a1a; /* Black text on hover */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(244, 162, 89, 0.6);
}

/* Dropdown Menu Styling - unchanged */
.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: rgba(17, 37, 17, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 1000;
  min-width: 200px;
}

.dropdown-menu li {
  padding: 0;
  white-space: nowrap;
}

.dropdown-menu a {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--pure-white);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, var(--glass-white), rgba(255, 255, 255, 0.05));
  color: var(--accent-orange);
  transform: translateX(5px);
}

.dropdown-menu li:last-child > a {
  background-color: transparent;
  font-weight: normal;
  color: var(--pure-white);
}

.dropdown-menu li:last-child > a:hover {
  background: linear-gradient(135deg, var(--glass-white), rgba(255, 255, 255, 0.05));
  color: var(--accent-orange);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger Button Styling - unchanged */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--pure-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
  header {
    flex-direction: row;
  }

  .logo {
    flex: 1;
    text-align: left;
  }

  .hamburger {
    display: flex;
    justify-content: flex-end;
  }

  .menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(17, 37, 17, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    text-align: center;
    gap: 0.5rem;
  }

  .menu.open {
    max-height: none;
    min-height: auto;
    overflow: visible;
    transition: all 0.3s ease;
  }

  .menu li {
    padding: 0.3rem 0;
    position: relative;
    text-align: center;
  }

  .menu li:last-child {
      margin-bottom: 0.5rem;
  }

  .menu a {
    margin: 0;
    padding: 0.5rem 1rem;
  }

  .dropdown > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
  }

  .dropdown > a::after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--pure-white);
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 37, 17, 0.98);
    backdrop-filter: blur(20px);
    text-align: center;
    padding: 0.5rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    padding: 0.1rem 0;
  }
}

/* ==============================
   FOOTER (Enhanced with glass effect)
============================== */
footer {
  text-align: center;
  background: linear-gradient(120deg, rgba(17, 37, 17, 0.95) 0%, rgba(33, 56, 46, 0.95) 100%);
  backdrop-filter: blur(20px);
  color: var(--pure-white);
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.menu-column {
  text-align: left;
}

.menu-column h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--accent-orange);
}

.menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-column ul li {
  margin-bottom: 0.5rem;
}

.menu-column ul li a {
  text-decoration: none;
  color: var(--pure-white);
  position: relative;
  transition: all 0.3s ease;
  padding: 0.2rem 0;
}

.menu-column ul li a:hover {
  color: var(--accent-orange);
  transform: translateX(5px);
}

.menu-column ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
  transition: width 0.3s ease;
}

.menu-column ul li a:hover::after {
  width: 100%;
}

.menu-column ul li a.cta-button-login {
  color: var(--accent-orange);
}

.menu-column ul li a.cta-button-login:hover {
  color: var(--pure-white);
}

.menu-column ul li a.cta-button-login::after {
  background-color: var(--pure-white);
}

.footer-row.third-row {
  border-top: 1px solid var(--glass-border);
  margin-top: 1rem;
  padding-top: 1rem;
}

.cta-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-column ul li {
  margin: 0;
}

.cta-button-apply,
.cta-button-login {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.cta-button-apply {
  color: var(--pure-white);
}

.cta-button-apply:hover {
  color: var(--accent-orange);
}

.cta-button-apply::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
  transition: width 0.3s ease;
}

.cta-button-apply:hover::after {
  width: 100%;
}

.copyright-column {
  text-align: center;
}

.copyright-column p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pure-white);
}

.socials-column ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.socials-column ul li a img {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.socials-column ul li a:hover img {
  transform: scale(1.2) rotate(5deg);
  filter: invert(1) drop-shadow(0 0 10px rgba(244, 162, 89, 0.5));
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-column {
    text-align: center;
  }

  .vertical-separator {
    display: none;
  }

  .socials-row ul {
    justify-content: center;
  }
}

/* ==============================
   SCROLL TO TOP BUTTON
============================== */
.scroll-to-top {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--accent-orange);
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  overflow: hidden;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  min-width: 60px;
  min-height: 60px;
  box-sizing: border-box;
}

.scroll-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    var(--accent-orange),
    var(--accent-pink)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
  z-index: -1;
}

.scroll-to-top::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    var(--accent-orange),
    var(--accent-pink),
    transparent,
    var(--accent-orange)
  );
  background-size: 300% 300%;
  border-radius: 50%;
  opacity: 0;
  z-index: -2;
  animation: subtle-glow 4s ease infinite;
  transition: opacity 0.4s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.1)
  );
  border: 1px solid rgba(244, 162, 89, 0.4);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(244, 162, 89, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #1a1a1a; /* Slightly lighter on hover for contrast against gradient */
}

.scroll-to-top:hover::before {
  opacity: 1;
}

.scroll-to-top:hover::after {
  opacity: 1;
}

.scroll-to-top:active {
  transform: translateY(-3px) scale(1.05);
}

.scroll-to-top:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
    left: 1rem;
    bottom: 1rem;
    font-size: 1.5rem;
    min-width: 50px;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    left: 0.75rem;
    bottom: 0.75rem;
    font-size: 1.3rem;
    min-width: 45px;
    min-height: 45px;
  }
}

@keyframes subtle-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==============================
   HERO SECTION (UNTOUCHED)
============================== */
#app {
  overflow: hidden;
  touch-action: pan-up;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

#app h1 {
  font-size: 3.75rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  #app h1 {
    font-size: 3rem;
  }
}

#app a {
  text-decoration: none;
  color: #fff;
  text-shadow: none;
}

#app canvas {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-lottie {
    position: absolute;
    top: 29%;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: auto;
    z-index: 2;
    filter: invert (1);
}
@media (max-width: 480px) {
  .hero-lottie {
    top: 27%;
    }
}

.animated-gradient-text {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(120deg, #85D3A4, #F4A259, #D75A9A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 15s infinite ease-in-out;
  text-align: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
    max-width: 99%;
  }
}

#dynamic-text-row, #static-text-row {
  text-align: center;
}
#dynamic-text {
  font-size: 1.7rem;
  font-family: 'Helvetica', Georgia, serif;
  color: var(--pure-white);
  transition: opacity 0.5s ease-in-out;
  white-space: nowrap;
}
.static-text {
  font-size: 1.7rem;
  font-family: 'Helvetica', Georgia, serif;
  color: var(--pure-white);
  white-space: nowrap;
}

#static-text-row .hero-static-text {
  line-height: 1.1;
  margin-top: -0.5rem;
}

#dynamic-text.fade-in { opacity: 1; }
#dynamic-text.fade-out { opacity: 0; }

#dynamic-text span {
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.5, 0, 0.5, 1);
}

.hero .cta {
  display: inline-block;
  padding: 1.2rem 2.25rem;
  background-color: var(--accent-pink);
  color: var(--pure-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero .cta:hover {
  transform: scale(1.1);
  background-color: var(--accent-pink);
}

/* ==============================
   MODERN GLASSY BUTTON DESIGN
============================== */
:root {
  --bg: hsl(221, 37%, 10%);
  --button-text: hsl(200, 60%, 12%);
  --button-surface: linear-gradient(120deg, var(--accent-orange), var(--accent-pink));
}

html {
  color-scheme: dark;
  font-family: system-ui;
  font-size: 1rem;
}

.glassy-button {
  --_surface: var(--button-surface);
  --_padding: 1rem 1.5rem;
  --_transition-speed: 400ms;
  --_hover-opacity: 0.4;
  --_pressed-opacity: 0.15;
  --_hover-blurriness: 5px;
  --_pressed-blurriness: 10px;
  --_frostiness: 0.3;
  --_hover-offset: 0.5rem;
  --_pressed-offset: 0.25rem;
  --_motion-factor: 0.1;

  outline: 0;
  cursor: pointer;
  font: inherit;
  color: var(--button-text);
  font-weight: 500;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background-color: transparent;
  position: relative;
  text-decoration: none;
  z-index: 10;
}

.glassy-button span {
  display: block;
  overflow: hidden;
  padding: var(--_padding);
  border-radius: inherit;
  background-color: hsl(0 0% 100% / 0);
  backdrop-filter: blur(0px);
  transition:
    background-color var(--_transition-speed),
    backdrop-filter var(--_transition-speed),
    color var(--_transition-speed),
    translate var(--_transition-speed);
  position: relative;
}

.glassy-button span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg ...%3E");
  opacity: 0;
  transition: opacity var(--_transition-speed);
}

.glassy-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--_surface);
  transition: scale var(--_transition-speed), translate var(--_transition-speed);
  animation: exit forwards var(--_transition-speed);
}

.glassy-button:hover span,
.glassy-button:focus-visible span {
  outline: 1px solid hsl(0 0% 100% / 0.7);
  background-color: hsl(0 0% 100% / var(--_hover-opacity));
  backdrop-filter: blur(var(--_hover-blurriness));
  translate: 0 calc(var(--_hover-offset) * -1);
  color: hsl(0, 0%, 0%);
}

.glassy-button:hover span::before,
.glassy-button:focus-visible span::before {
  opacity: var(--_frostiness);
}

.glassy-button:hover::after,
.glassy-button:focus-visible::after {
  scale: 0.95;
  translate: 0 0.125rem;
  animation: enter forwards var(--_transition-speed);
}

.glassy-button:active span {
  backdrop-filter: blur(var(--_pressed-blurriness));
  background-color: hsl(0 0% 100% / var(--_pressed-opacity));
  translate: 0 calc(var(--_pressed-offset) * -1);
}

.glassy-button:active::after {
  scale: 0.875;
  translate: 0 0.25rem;
}

@keyframes enter {
  from { transform: translate(0, 0); }
  to {
    transform: translate(
      calc(var(--_x-motion) * var(--_motion-factor) * -1),
      calc(var(--_y-motion) * var(--_motion-factor) * -1)
    );
  }
}
@keyframes exit {
  from {
    transform: translate(
      calc(var(--_x-motion) * var(--_motion-factor) * -1),
      calc(var(--_y-motion) * var(--_motion-factor) * -1)
    );
  }
  to { transform: translate(0, 0); }
}

/* ==============================
   MODERN GLASSY FEATURES SECTION
============================== */
.features {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
  color: var(--primary-green);
  background: linear-gradient(135deg, var(--pure-white) 0%, var(--light-cream) 100%);
}

#features-animation {
  position: absolute;
  top: 20%;
  left: 43%;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  #features-animation {
    top: -20%;
    left: 65%;
    width: 50%;
    height: 50%;
  }
}

.features-content {
  position: relative;
  z-index: 1;
  color: var(--pure-white);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary-green);
}
.features p {
  margin-bottom: 1.75rem;
  font-family: 'Helvetica', Arial, sans-serif;
  color: var(--primary-green);
}

/* MODERN GLASSY FEATURE CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

.card {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
    rgba(244, 162, 89, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}

/* FORCE HOVER TRANSFORMS WITH HIGH SPECIFICITY */
.features .card:hover {
  transform: translateY(-15px) !important;
  transition: transform 0.3s ease !important;
}

.workflow .bento-item:hover {
  transform: translateY(-10px) !important;
  transition: transform 0.3s ease !important;
}

.services-list .service-card:hover {
  transform: translateY(-10px) !important;
  transition: transform 0.3s ease !important;
}

.secondary-page-list .secondary-page-card:hover {
  transform: translateY(-10px) !important;
  transition: transform 0.3s ease !important;
}

.faq-section .faq-card:hover {
  transform: translateY(-5px) !important;
  transition: transform 0.3s ease !important;
}

/* SMOOTH TRANSITION FOR DOWN CARDS SHADOW */
.secondary-page-card.down {
  background: linear-gradient(135deg,
      rgba(20, 20, 25, 0.7),
      rgba(15, 15, 20, 0.6)
  );
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pure-white);
  min-height: 400px;
  height: auto;
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.secondary-page-card.down:hover {
  transform: translateY(-10px) !important;
  transition: all 0.3s ease, transform 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
  top: -25%;
  left: -25%;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-green);
  position: relative;
  z-index: 2;
}

.card p {
  color: #6B7C93;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .card-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }
}

/* ==============================
   WORKFLOW / BENTO GRID
============================== */
.workflow {
  padding: 4rem 2rem;
  text-align: center;
  color: #FAFAFA;
  background: linear-gradient(120deg, #183818 0%, #21382E 100%);
  position: relative;
  overflow: hidden;
  z-index: 0; /* Lower z-index for the background */
}

#workflow-animation {
  position: absolute;
  top: 15%;
  left: -43%;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place behind the content */
  pointer-events: none; /* Prevent interaction */
}

@media (max-width: 768px) { /* For tablets and smaller devices */
  #workflow-animation {
    top: -20.5%;
    left: -9%;
    width: 50%;
    height: 50%;
  }
}

.workflow-content {
  position: relative;
  z-index: 1; /* Ensure content is above the animation */
  color: #FAFAFA;
  max-width: 1500px; /* Add a limit for large screens */
  margin: 0 auto; /* Center horizontally */
  padding: 0 1rem; /* Ensure spacing on smaller screens */
}


.workflow h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FAFAFA;
}

.bento-grid {
  display: grid;
  gap: 2rem; /* Adjust spacing between cards */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ensure responsiveness */
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.bento-item {
  height: 350px;
  width: 300px;
  background: linear-gradient(135deg, rgba(34, 34, 34, 0.8), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  text-align: center;
  color: #FAFAFA;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #F4A259, #D75A9A, #F4A259);
  background-size: 300% 300%;
  border-radius: 18px;
  opacity: 0;
  z-index: -1;
  animation: subtleGradientShift 8s ease infinite;
  transition: opacity 0.4s ease;
}

@keyframes subtleGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bento-item:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(244, 162, 89, 0.2);
  background: linear-gradient(135deg, rgba(240, 240, 240, 0.95), rgba(255, 255, 255, 0.9));
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 8px 15px rgba(244, 162, 89, 0.3));
}

.bento-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #F4A259;
  transition: color 0.4s ease;
}

.bento-item:hover h3 {
  color: #1a1a1a;
}

.bento-item p {
  font-family: 'Helvetica', Georgia, serif;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #B0B0B0;
  margin-top: 0.5rem;
  transition: color 0.4s ease;
}

.bento-item:hover p {
  color: #333333;
}

.bento-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bento-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
    .bento-grid {
        justify-content: center; /* Center the cards horizontally */
        text-align: center; /* Center text within the grid items if applicable */
        padding: 0 1rem; /* Add padding for better spacing */
    }
}

@media (max-width: 480px) {
    .bento-grid {
        justify-content: center; /* Center the cards horizontally */
        text-align: center; /* Center text within the grid items if applicable */
        padding: 0 1rem; /* Add padding for better spacing */
    }
}


/* ==============================
   PARTNERS MAP SECTION (Enhanced)
============================== */
.partners-map-home {
  background: url('../img/testbloom.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: overlay;
  padding: 2rem 1rem;
  background-color: var(--light-cream);
  color: var(--primary-green);
}

.partners-map {
  background: url('../img/testbloom.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: overlay;
  padding: 2rem 1rem;
  background: linear-gradient(90deg, var(--dark-green-1) 0%, var(--dark-green-1) 45%, #ffffff 100%);
  color: #ffffff;
}

@media (max-width: 768px) {
  .partners-map {
    background: linear-gradient(180deg, var(--dark-green-1) 0%, var(--dark-green-1) 50%, #ffffff 100%);
  }
}

.partners-map-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.partners-left-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.headline-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.headline-with-icon h2 {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary-green);
  margin: 0;
}

.headline-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.partners-left-col p {
  font-family: 'Helvetica', Georgia, serif;
  color: #ffffff;
  line-height: 1.5;
}

.btn-view-partners {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
  color: var(--pure-white);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(244, 162, 89, 0.3);
  transition: all 0.3s ease;
}

.btn-view-partners:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(244, 162, 89, 0.5);
}

.partners-right-col {
  position: relative;
}

.map-container {
  position: relative;
  max-width: 100%;
  height: 400px;
  background: transparent;
  margin: 0 auto;
}

.partner-logo {
  position: absolute;
  width: 130px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.partner-logo-2 {
  position: absolute;
  width: 70px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.partner-logo-3 {
  position: absolute;
  width: 100px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.partner-logo:hover,
.partner-logo-2:hover,
.partner-logo-3:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 8px 25px rgba(244, 162, 89, 0.4));
}

.partner-logo.visible,
.partner-logo-2.visible,
.partner-logo-3.visible {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .partners-map-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .map-container {
    height: 300px;
  }

  .partner-logo,
  .partner-logo-2,
  .partner-logo-3 {
    width: 70px;
  }
}

/* ==============================
   MODERN GLASSY SERVICES PAGE
============================== */
.services-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(34, 75, 35, 0.95), rgba(34, 75, 35, 0.8));
    backdrop-filter: blur(20px);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-content h1 {
    font-size: 2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
}

.services-hero-content p {
    font-size: 1.2rem;
    font-family: 'Helvetica', Georgia, serif;
    line-height: 1.6;
}

.services-list {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, #5A7690 100%);
    color: var(--pure-white);
}

.services-list h2 {
    font-size: 2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 2rem;
}

/* Grid Layout for Service Cards */
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center; /* Center the grid horizontally */
}

/* Service Cards */
.service-card {
    position: relative;
    height: 350px;
    width: 300px;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.8), rgba(0, 0, 0, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
    color: #FAFAFA;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Gradient highlight on hover */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); /* Softer, more diffused shadow */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(34, 34, 34, 0.85)); /* Original darker tone */
}

.service-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    color: #F4A259;
    transition: all 0.4s ease;
}

.service-card:hover h3 {
    text-shadow: 0 0 8px rgba(244, 162, 89, 0.3); /* Subtle glow on the title */
}

.service-card p {
    font-family: 'Helvetica', Georgia, serif;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #B0B0B0;
    margin-top: 0.5rem;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Styling */
.services-list h2 {
    font-size: 2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    color: #2C5F2D;
}

/* Button Container */
.learn-more-btn {
    position: absolute; /* Fix the button at the bottom of the card */
    bottom: 20px; /* Distance from the bottom of the card */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the button in the card */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Default width for "+" */
    height: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FAFAFA;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

/* Hover Effect */
.learn-more-btn:hover {
    width: 150px; /* Expand width on hover */
    background: linear-gradient(135deg, #F4A259, #D75A9A);
    color: #FAFAFA;
    transform: translateX(-50%); /* Keep the button centered */
}

/* Default "+" Sign */
.learn-more-btn .default {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.2s ease 0.3s; /* Delay fade-out */
    z-index: 2;
}

/* Hover "Learn More" Text */
.learn-more-btn .hover-text {
    position: absolute;
    opacity: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease 0.2s; /* Delay for smoother fade-out */
    z-index: 2;
}

/* Hover States for Text */
.learn-more-btn:hover .default {
    opacity: 0; /* Fade out "+" on hover */
    transition: opacity 0.2s ease;
}

.learn-more-btn:hover .hover-text {
    opacity: 1; /* Fade in "Learn More" on hover */
}

/* Default State */
.learn-more-btn:not(:hover) .default {
    opacity: 1; /* Reset "+" visibility */
    transition: opacity 0.3s ease 0.3s; /* Quick fade-in */
}

.learn-more-btn:not(:hover) .hover-text {
    opacity: 0; /* Reset "Learn More" visibility */
    transition: opacity 0.1s ease; /* Fast fade-out */
}

/* Button Shadow */
.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.learn-more-btn:hover::before {
    opacity: 0;
    transform: scale(1.1);
}

/* Anchor Tag Styling for Button */
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for links */
}

/* Additional hover styles for link behavior */
.learn-more-btn:hover {
    text-decoration: none; /* Prevent underline on hover */
}

/* ==============================
   MODERN SECONDARY PAGES
============================== */
/* ==============================
   MODERNIZED SECONDARY PAGE HEROES
============================== */
.secondary-page-hero {
    height: 40vh;
    background: linear-gradient(135deg,
        rgba(34, 75, 34, 0.95) 0%,
        rgba(67, 107, 90, 0.9) 50%,
        rgba(34, 75, 34, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.secondary-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
        rgba(244, 162, 89, 0.1) 0%,
        transparent 70%
    );
    opacity: 0.8;
}

.secondary-page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(215, 90, 154, 0.05),
        transparent,
        rgba(244, 162, 89, 0.05),
        transparent
    );
    animation: slow-rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .secondary-page-hero {
        height: auto;
        padding: 5rem 2rem;
    }
}

.secondary-page-hero-about {
    height: 80vh;
    background: linear-gradient(135deg,
        rgba(34, 75, 34, 0.95) 0%,
        rgba(67, 107, 90, 0.9) 30%,
        rgba(44, 95, 45, 0.92) 70%,
        rgba(34, 75, 34, 0.95) 100%
    );
    backdrop-filter: blur(25px);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.secondary-page-hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(244, 162, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(215, 90, 154, 0.1) 0%, transparent 50%);
    opacity: 0.9;
}

.secondary-page-hero-about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 60%
    );
    animation: diagonal-sweep 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes diagonal-sweep {
    0% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(-100%) translateY(-100%); }
}

@media (max-width: 768px) {
    .secondary-page-hero-about {
        height: auto;
        padding: 5rem 2rem;
    }
}

/* ENHANCED HERO CONTAINER */
.secondary-page-hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .secondary-page-hero-container {
        flex-direction: row;
        text-align: left;
        padding: 3rem;
    }
}

/* ENHANCED HERO TEXT STYLING */
.hero-left h1 {
    font-size: 2.6rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
    background: linear-gradient(135deg,
        var(--accent-orange),
        var(--accent-pink)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-left p {
    font-size: 1.5rem;
    font-family: 'Helvetica', Georgia, serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-right p {
    font-size: 1.2rem;
    font-family: 'Helvetica', Georgia, serif;
    line-height: 1.6;
    color: rgba(230, 230, 230, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-left,
    .hero-right {
        flex: 1;
        padding: 1rem;
    }
}

.secondary-page-list {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-green-1) 0%, var(--dark-green-2) 100%);
    color: var(--pure-white);
}

.secondary-page-list.secondary-page-alt {
    position: relative;
    text-align: center;
    color: var(--primary-green);
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--light-cream) 100%);
    background-image: url('../img/testbloom.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    padding: 4rem 2rem;
}

.secondary-page-list.secondary-page-alt h2,
.secondary-page-list.secondary-page-alt > p {
    position: relative;
    z-index: 2;
    color: var(--primary-green);
}

/* MODERN SECONDARY PAGE CARDS */
.secondary-page-card {
    position: relative;
    min-height: 400px;
    height: auto;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.04)
    );
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1rem;
    text-align: center;
    color: var(--pure-white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    margin: 0 auto;
}

.secondary-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(244, 162, 89, 0.15),
        rgba(215, 90, 154, 0.08)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.secondary-page-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        var(--accent-orange),
        var(--accent-pink),
        transparent,
        var(--accent-orange)
    );
    background-size: 300% 300%;
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    animation: subtle-glow 4s ease infinite;
    transition: opacity 0.5s ease;
}

@keyframes subtle-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.secondary-page-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(244, 162, 89, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(244, 162, 89, 0.4);
}

.secondary-page-card:hover::before {
    opacity: 1;
}

.secondary-page-card:hover::after {
    opacity: 1;
}

/* DARK VARIANT FOR DOWN CARDS - FIXED SIZE */
.secondary-page-card.down {
    background: linear-gradient(135deg,
        rgba(20, 20, 25, 0.7),
        rgba(15, 15, 20, 0.6)
    );
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--pure-white);
    min-height: 400px;
    height: auto;
    width: 100%;
    max-width: 500px;
}

.secondary-page-card.down::before {
    background: linear-gradient(135deg,
        rgba(244, 162, 89, 0.05),
        rgba(215, 90, 154, 0.03)
    );
}

.secondary-page-card.down::after {
    background: linear-gradient(45deg,
        rgba(244, 162, 89, 0.3),
        rgba(215, 90, 154, 0.15),
        transparent,
        rgba(244, 162, 89, 0.2)
    );
}

.secondary-page-card.down h3 {
    color: var(--accent-orange);
}

.secondary-page-card.down p {
    color: #D0D0D0;
}

/* SUBTLE GRADIENT FOR GRID CARDS - MINIMAL MOVEMENT, PINK DOMINANT */
.secondary-page-grid .secondary-page-card::after,
.secondary-page-grid-2 .secondary-page-card::after,
.secondary-page-grid-3 .secondary-page-card::after,
.secondary-page-grid-4 .secondary-page-card::after {
    background: linear-gradient(45deg,
        rgba(215, 90, 154, 0.3),
        rgba(244, 162, 89, 0.15),
        rgba(215, 90, 154, 0.25)
    );
    background-size: 200% 200%;
    animation: subtle-pink-glow 8s ease-in-out infinite;
}

@keyframes subtle-pink-glow {
    0% { background-position: 20% 50%; }
    50% { background-position: 80% 50%; }
    100% { background-position: 20% 50%; }
}

.secondary-page-grid .secondary-page-card:hover::after,
.secondary-page-grid-2 .secondary-page-card:hover::after,
.secondary-page-grid-3 .secondary-page-card:hover::after,
.secondary-page-grid-4 .secondary-page-card:hover::after {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .secondary-page-card {
        height: auto;
        min-height: 0;
    }
}

.secondary-page-card.label {
    height: 300px;
    width: 600px;
}

.secondary-page-card.smaller {
    min-height: 300px;
}

.secondary-page-card.smaller img {
    margin-top: 25px;
}

.secondary-page-card.label img {
    margin-top: 25px;
}

.secondary-page-card.down img {
    margin-top: 25px;
}

.secondary-page-card.distribution img {
    margin-top: 25px;
}

@media (max-width: 768px) {
    .secondary-page-card.label,
    .secondary-page-card.protection,
    .secondary-page-card.smaller {
        height: auto;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .secondary-page-card.label,
    .secondary-page-card.protection,
    .secondary-page-card.smaller {
        height: auto;
        width: 100%;
    }
}

.secondary-page-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
    color: var(--accent-orange);
    position: relative;
    z-index: 2;
}

.secondary-page-card p {
    font-family: 'Helvetica', Georgia, serif;
    line-height: 1.6;
    font-size: 1rem;
    color: #E0E0E0;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.secondary-page-list h2 {
    font-size: 2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 2rem;
}

.secondary-page-list p {
    font-family: 'Helvetica', Georgia, serif;
    margin-bottom: 2rem;
}

.secondary-page-grid-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.secondary-page-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1500px;
    align-items: center;
}

.secondary-page-grid-2 {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1500px;
    align-items: center;
}

.secondary-page-grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1500px;
    align-items: center;
    justify-content: center;
}

.secondary-page-grid-3 > * {
    flex: 0 1 calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
}

.secondary-page-grid-2.small {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    align-items: center;
}

.secondary-page-grid-4 {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1500px;
    align-items: center;
}

.secondary-page-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 20px rgba(244, 162, 89, 0));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.secondary-page-card:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 30px rgba(244, 162, 89, 0.5));
}

.secondary-page-cta {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--pure-white) 100%);
  background-image: url('../img/testbloom.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: overlay;
}

.secondary-page-cta .glassy-button {
  color: #FFFFFF;
}

.secondary-page-cta h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent-orange);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .secondary-page-grid, .secondary-page-grid-4, .secondary-page-grid-2, .secondary-page-grid-2.small, .secondary-page-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .secondary-page-grid-3 {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
    }

    .secondary-page-grid-3 > * {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .secondary-page-hero {
        padding: 3rem 1rem;
    }

    .secondary-page-hero-content h1 {
        font-size: 1.8rem;
    }

    .secondary-page-hero-content p {
        font-size: 1.1rem;
    }

    .secondary-page-cta {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .secondary-page-grid {
        padding: 0.5rem;
    }
}

.two-column-grid-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* GLASSY FEATURE CARDS */
.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(215, 90, 154, 0.1),
        rgba(215, 90, 154, 0.05)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.15)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(215, 90, 154, 0.4);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(244, 162, 89, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 8px rgba(215, 90, 154, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.feature-card:hover img {
    filter: drop-shadow(0 4px 12px rgba(215, 90, 154, 0.5));
    transform: scale(1.15);
}

.feature-card p {
    font-size: 1rem;
    color: #2a2a2a;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.feature-card a {
    color: #D75A9A;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.feature-card a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D75A9A, transparent);
    transition: width 0.3s ease;
}

.feature-card a:hover {
    color: #c44d85;
    text-shadow: 0 0 8px rgba(215, 90, 154, 0.3);
}

.feature-card a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .two-column-grid-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .column {
        flex: none;
        width: 100%;
    }

    .column h3 {
        font-size: 1.25rem;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        text-align: center;
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.15)
        );
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .feature-card img {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .feature-card:hover {
        transform: translateY(-3px) scale(1.02);
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.2)
        );
        backdrop-filter: blur(18px);
        border: 1px solid rgba(215, 90, 154, 0.3);
        box-shadow:
            0 12px 25px rgba(0, 0, 0, 0.12),
            0 0 15px rgba(215, 90, 154, 0.15);
    }
}

/* ==============================
   MODERN FAQ PAGE STYLING
============================== */
.faq-section {
  font-family: 'Helvetica', Arial, sans-serif;
  color: var(--pure-white);
  padding: 2rem;
  background: linear-gradient(135deg, #1B3D1F 0%, var(--dark-green-2) 100%);
}

.faq-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--pure-white);
}

.faq-hero p {
  font-size: 1.2rem;
  color: var(--accent-orange);
}

.faq-search {
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-search input {
  width: 80%;
  max-width: 500px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--accent-orange);
  border-radius: 12px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  color: var(--pure-white);
  transition: all 0.3s ease;
}

.faq-search input::placeholder {
  color: #B0B0B0;
}

.faq-search input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(244, 162, 89, 0.3);
  outline: none;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.08)
  );
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.faq-category {
  flex: 0 1 calc(33.333% - 1rem);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(15px);
  color: var(--pure-white);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .faq-categories {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .faq-category {
    flex: 1 1 calc(50% - 1rem);
    text-align: center;
    padding: 0.5rem;
  }

  @media (max-width: 480px) {
    .faq-category {
      flex: 1 1 100%;
    }
  }
}

.faq-category img {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  transition: filter 0.3s ease;
}

/* Selected category with black text and icon */
.faq-category:hover,
.faq-category.active {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
  color: #1a1a1a; /* Black text for better readability */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 162, 89, 0.4);
}

.faq-category:hover img,
.faq-category.active img {
  filter: brightness(0); /* Black icons for better readability */
}

.faq-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
  );
  margin: 1.5rem 0;
  border: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MODERN GLASSY FAQ CARDS */
.faq-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(244, 162, 89, 0.1),
      rgba(215, 90, 154, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

/* FAQ cards hover and open states */
.faq-section .faq-card:hover,
.faq-section .faq-card.open {
  transform: translateY(-5px) !important;
  transition: transform 0.3s ease !important;
  background: rgba(34, 34, 34, 1);
  box-shadow: 0 0 10px 4px rgba(244, 162, 89, 0.8);
}

.faq-card:hover::before,
.faq-card.open::before {
  opacity: 1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--pure-white);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--accent-orange);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(244, 162, 89, 0.3));
}

.faq-card.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #E6E6E6;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style-type: none;
  color: #E6E6E6;
}

.faq-answer ul li {
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  position: relative;
}

.faq-answer ul li::before {
  content: '▸';
  color: var(--accent-orange);
  margin-right: 0.5rem;
}

.faq-card.open .faq-answer {
  max-height: 200px;
}

.faq-contact {
  text-align: center;
  margin-top: 2rem;
}

.faq-contact p {
  font-size: 1.2rem;
  color: var(--pure-white);
}

.faq-contact a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-contact a:hover {
  color: var(--accent-pink);
  text-shadow: 0 0 10px rgba(244, 162, 89, 0.5);
}

.faq-contact-section {
  max-width: 600px;
  justify-content: center;
  margin: 0 auto;
}

/* ==============================
   POLICY PAGE BODY OVERRIDE
============================== */
/* Target policy pages specifically by checking for .policy-container */
body:has(.policy-container),
body .policy-container {
  background: linear-gradient(120deg, #0a170a 0%, #15241d 100%);
  scroll-behavior: smooth;
}

/* Alternative for browsers that don't support :has() */
.policy-page-body {
  background: linear-gradient(120deg, #0a170a 0%, #15241d 100%) !important;
  scroll-behavior: smooth;
}

/* ==============================
   MAIN POLICY CONTAINER
============================== */
.policy-container {
  font-family: 'Helvetica', Georgia, serif;
  padding: 2rem 1rem;
  min-height: 100vh;
  position: relative;
}

.policy-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.policy-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%,
    rgba(244, 162, 89, 0.05) 0%,
    transparent 50%),
    radial-gradient(circle at 80% 80%,
    rgba(215, 90, 154, 0.05) 0%,
    transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.policy-wrapper > * {
  position: relative;
  z-index: 1;
}

/* ==============================
   POLICY HEADER
============================== */
.policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-header h1 {
  font-size: 3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #F4A259, #D75A9A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.policy-intro {
  text-align: left;
  margin-top: 2rem;
  margin-left: 1rem;
}

.policy-intro p {
  font-size: 1.1rem;
  color: #e3e3e3;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ==============================
   TABLE OF CONTENTS
============================== */
.policy-toc {
  background: linear-gradient(135deg,
    rgba(244, 162, 89, 0.08),
    rgba(215, 90, 154, 0.04)
  );
  border: 1px solid rgba(244, 162, 89, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-toc h2 {
  font-size: 1.5rem;
  color: #F4A259;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.toc-list li {
  position: relative;
  padding-left: 2rem;
}

.toc-list li::before {
  content: counter(list-counter);
  counter-increment: list-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #F4A259, #D75A9A);
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(244, 162, 89, 0.3);
}

.toc-list {
  counter-reset: list-counter;
}

.toc-list a {
  color: #e3e3e3;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  border-radius: 8px;
  padding-left: 0.5rem;
}

.toc-list a:hover {
  color: #F4A259;
  background: rgba(244, 162, 89, 0.1);
  transform: translateX(5px);
  padding-left: 1rem;
}

/* ==============================
   POLICY CONTENT
============================== */
.policy-content {
  margin-bottom: 3rem;
}

.policy-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px; /* Offset for sticky header */
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(244, 162, 89, 0.3);
  position: relative;
}

.policy-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #F4A259, #D75A9A);
  border-radius: 2px;
}

.policy-section h3 {
  font-size: 1.5rem;
  color: #f5f5f5;
  margin: 2rem 0 1rem 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

.policy-section p {
  font-size: 1.1rem;
  color: #e3e3e3;
  line-height: 1.7;
  margin: 1rem 0;
}

.policy-section ul {
  color: #e3e3e3;
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.policy-section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.policy-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: #F4A259;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Sub-lists */
.sub-list {
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.sub-list li::before {
  content: '◦';
  color: #D75A9A;
}

/* Links */
.policy-section a,
.policy-intro a {
  color: #F4A259;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.policy-section a:hover,
.policy-intro a:hover {
  color: #D75A9A;
  text-shadow: 0 0 8px rgba(244, 162, 89, 0.3);
}

/* ==============================
   POLICY HIGHLIGHTS
============================== */
.policy-highlight {
  background: linear-gradient(135deg,
    rgba(244, 162, 89, 0.12),
    rgba(215, 90, 154, 0.08)
  );
  border-left: 4px solid #F4A259;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(244, 162, 89, 0.1);
}

.policy-highlight::before {
  content: '!';
  position: absolute;
  top: -8px;
  left: -8px;
  background: #F4A259;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(244, 162, 89, 0.4);
}

.policy-highlight p {
  margin: 0;
  color: #f0f0f0;
  font-weight: 500;
}

/* Green Information Variant */
.policy-info {
  background: linear-gradient(135deg,
    rgba(44, 95, 45, 0.15),
    rgba(24, 56, 24, 0.10)
  );
  border-left: 4px solid #2C5F2D;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(44, 95, 45, 0.15);
}

.policy-info::before {
  content: 'i';
  position: absolute;
  top: -8px;
  left: -8px;
  background: #2C5F2D;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  font-style: normal;
  box-shadow: 0 2px 8px rgba(44, 95, 45, 0.4);
}

.policy-info p {
  margin: 0;
  color: #e8f5e8;
  font-weight: 500;
}

/* ==============================
   CONTACT SECTION
============================== */
.policy-contact {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.policy-contact h2 {
  font-size: 1.8rem;
  color: #F4A259;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.policy-contact p {
  font-size: 1.1rem;
  color: #e3e3e3;
  margin-bottom: 1.5rem;
}

.policy-contact address {
  font-style: normal;
  color: #e0e0e0;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* Contact Email Styling */
.policy-contact .contact-email {
  color: #F4A259;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 1.5rem;
}

.policy-contact .contact-email:hover {
  color: #D75A9A;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(244, 162, 89, 0.3);
}

/* Company Name Styling */
.policy-contact .company-name {
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* Address Styling */
.policy-contact .company-address {
  color: #c0c0c0;
  font-size: 0.9rem;
  line-height: 1.6;
  display: block;
}



/* ==============================
   RESPONSIVE DESIGN
============================== */
@media (max-width: 768px) {
  .policy-container {
    padding: 1rem 0.5rem;
  }

  .policy-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .policy-header h1 {
    font-size: 2.2rem;
  }

  .policy-section h2 {
    font-size: 1.6rem;
  }

  .policy-section h3 {
    font-size: 1.3rem;
  }

  .policy-section p,
  .policy-section ul li {
    font-size: 1rem;
  }

  .policy-toc {
    padding: 1.5rem;
  }

  .toc-list {
    gap: 0.5rem;
  }

  .toc-list li {
    padding-left: 1.8rem;
  }

  .toc-list li::before {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
  }

  .policy-contact {
    padding: 1.5rem;
  }

  .policy-highlight {
    padding: 1rem;
  }

  .policy-info {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .policy-header h1 {
    font-size: 1.8rem;
  }

  .policy-section h2 {
    font-size: 1.4rem;
  }

  .policy-section h3 {
    font-size: 1.2rem;
  }

  .policy-wrapper {
    padding: 1rem;
  }

  .policy-toc {
    padding: 1rem;
  }

  .policy-contact {
    padding: 1rem;
  }
}

/* ==============================
   PRINT STYLES
============================== */
@media print {
  body {
    background: white;
    color: black;
  }

  .policy-wrapper {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
  }

  .policy-header h1 {
    color: black;
    background: none;
    -webkit-text-fill-color: initial;
  }

  .policy-section h2,
  .policy-section h3 {
    color: black;
  }

  .policy-section p,
  .policy-section ul li {
    color: black;
  }

  .policy-highlight {
    background: #f0f0f0;
    border-left: 4px solid #666;
  }

  .policy-info {
    background: #f5f5f5;
    border-left: 4px solid #333;
  }

  .policy-contact {
    background: #f9f9f9;
    border: 1px solid #ddd;
  }

  .toc-list a {
    color: black;
  }

  .policy-section a {
    color: #0066cc;
  }
}

/* ==============================
   ACCESSIBILITY ENHANCEMENTS
============================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.toc-list a:focus,
.policy-section a:focus,
.policy-contact a:focus {
  outline: 2px solid #F4A259;
  outline-offset: 2px;
  background: rgba(244, 162, 89, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .policy-wrapper {
    border: 2px solid #fff;
  }

  .policy-section h2::after {
    background: #fff;
  }

  .policy-highlight {
    border-left: 6px solid #F4A259;
  }

  .policy-info {
    border-left: 6px solid #2C5F2D;
  }
}
