@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Green Hub Brand Colors */
  --primary-green: #22c55e;
  --primary-emerald: #059669;
  --accent-green: #10b981;
  --accent-lime: #84cc16;

  /* Semantic Colors */
  --bg-light: #f7fff7;
  --bg-dark: #0f1f0f;
  --text-dark: #1a1a1a;
  --text-muted: #555555;
  --white: #ffffff;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-emerald)
  );
  --gradient-soft: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.1),
    rgba(5, 150, 105, 0.1)
  );

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-round: 50%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

/* Typography Helpers */
.text-center {
  text-align: center;
}
.text-green {
  color: var(--primary-green);
}
.text-emerald {
  color: var(--primary-emerald);
}

.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navigation */
nav {
  padding: var(--space-sm) 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-emerald);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary-green);
}

/* Hero Section — Green themed */
.hero {
  height: 95vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent),
    radial-gradient(
      circle at bottom left,
      rgba(5, 150, 105, 0.06),
      transparent
    ),
    linear-gradient(
      to right,
      rgba(247, 255, 247, 0.98),
      rgba(247, 255, 247, 0.85)
    );
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: var(--gradient-primary);
  filter: blur(150px);
  opacity: 0.12;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 600px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Buttons — Green branded */
.btn {
  display: inline-block;
  padding: 1.1rem 2.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(34, 197, 94, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-emerald);
  border: 1px solid rgba(15, 12, 12, 0.2);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8f9fa;
  border-color: var(--primary-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Value / Pillar Cards — Green themed */
.value-card,
.pillar-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-card:hover,
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 197, 94, 0.25);
}

.pillar-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pillar-card h3 {
  color: var(--primary-emerald);
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.pillar-link {
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: var(--space-sm);
}

/* Search Bar */
.search-container {
  max-width: 600px;
  margin: var(--space-md) auto;
  position: relative;
  z-index: 10;
}

.search-input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.3),
    var(--shadow-lg);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-emerald);
  font-size: 1.2rem;
}

/* Accordion — Green themed */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  counter-reset: question-counter;
}

details.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

details.accordion-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 197, 94, 0.25);
}

summary.accordion-header {
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
  position: relative;
  padding-right: 3rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

summary.accordion-header::before {
  counter-increment: question-counter;
  content: "Q" counter(question-counter) ". ";
  color: var(--primary-green);
  font-weight: 800;
  margin-right: 0.5rem;
  min-width: 2.5rem;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

summary.accordion-header::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-green);
  transition: transform 0.3s ease;
  font-weight: 400;
}

details[open] summary.accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--primary-emerald);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: -0.5rem;
  padding-top: 1rem;
}

.tldr-box {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid var(--primary-green);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.tldr-label {
  font-weight: 800;
  color: var(--primary-green);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.3rem;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-nav {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidebar-nav h4 {
  color: var(--primary-emerald);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-links {
  list-style: none;
}
.sidebar-links li {
  margin-bottom: 0.5rem;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary-green);
  transform: translateX(5px);
}

/* Layouts */
.spoke-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
}

/* Heritage Section */
.heritage {
  background: var(--white);
  position: relative;
}

.heritage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.heritage-text h2 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.heritage-text h3 {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

/* Eco-branded info cards */
.eco-highlight {
  background: var(--gradient-soft);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.eco-highlight h3 {
  color: var(--primary-emerald);
}

.eco-stat {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  .heritage-split {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: var(--space-xl) 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .heritage-split {
    grid-template-columns: 1fr;
  }
  section {
    padding: var(--space-lg) 0;
  }
  .spoke-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    margin-bottom: var(--space-md);
  }
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(34, 197, 94, 0.1);
  color: var(--primary-emerald);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary-emerald);
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
}
