@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Variables for easy theme control */
:root {
  --bg-gradient-start: #e6f0f0; /* pastel mint light */
  --bg-gradient-end: #cde8e8;
  --text-color: #344a45;
  --accent-color: #a1d5c9; /* mint */
  --accent-dark: #6ea79c;
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-border: #98cfc5;
  --shadow: rgba(0, 0, 0, 0.05);
  --link-color: #4f9e8e;
  --link-hover: #2f7b6f;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-color);
  line-height: 1.6;
  padding: 0 5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: relative;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;           /* Make header background stretch full viewport width */
  background-color: var(--header-bg);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1.5px solid var(--header-border);
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 1000;
  transition: background-color 0.3s ease;
  padding: 0; /* keep no padding here */
  margin-left: calc(-50vw + 50%); /* shift left so it aligns with viewport edges */
  margin-right: calc(-50vw + 50%);
}

/* Inner container to center content and pad inside header */
.header-inner {
  max-width: 1200px; /* site max width */
  margin: 0 auto;
  padding: 1.5rem 3rem; /* horizontal spacing */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
  user-select: none;
}

/* Navigation */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 6px 4px;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-dark);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-dark);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger .bar {
  width: 28px;
  height: 3px;
  background-color: var(--accent-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem;
  border-radius: 20px;
  margin: 2rem 0;
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 40px rgba(161, 213, 201, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-text {
  flex: 1 1 100%;
  max-width: 100%;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  text-shadow: 0 0 8px rgba(110, 167, 156, 0.7);
}

.hero p {
  font-size: 1.2rem;
  color: #456a61;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-button {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.9rem 2.5rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(161, 213, 201, 0.5);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--accent-dark);
  color: #f0f8f5;
  box-shadow: 0 6px 25px rgba(110, 167, 156, 0.7);
  transform: scale(1.05);
  outline: none;
}

/* Content Blocks Base */
.content-block {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 3rem 2.5rem;
  margin: 2rem 0;
  border: 1.5px solid transparent;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(161, 213, 201, 0.15);
  transition: box-shadow 0.5s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  z-index: 1;
  color: var(--text-color);
}

.content-block.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Unify About section colors with Initiatives */
.about {
  background: rgba(255, 255, 255, 0.55); /* same as content-block */
  color: #447066; /* same text color as initiatives */
  border-color: var(--accent-color);
  box-shadow:
    0 0 30px 4px rgba(161, 213, 201, 0.4),
    0 0 50px 15px rgba(161, 213, 201, 0.2);
  border-radius: 20px; /* same border radius as content-block */
  padding: 2.5rem 2.5rem 3rem 2.5rem; /* match content-block padding */
}

.about h2 {
  color: #447066; /* match initiatives h2 */
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 8px;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about p {
  color: #5b7f75; /* same as initiatives p */
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.about blockquote {
  font-style: normal; /* no italic */
  color: #5b7f75; /* same as initiatives li */
  font-size: 1.1rem;
  padding-left: 28px;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  border-left: none; /* no blockquote border */
  background: transparent; /* no bubble */
  border-radius: 0;
  line-height: 1.5;
}



/* Initiatives */
.initiatives {
  border-color: var(--accent-color);
  box-shadow:
    0 0 30px 4px rgba(161, 213, 201, 0.4),
    0 0 50px 15px rgba(161, 213, 201, 0.2);
  color: #447066;
}

.initiatives h2 {
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 8px;
  font-size: 2rem;
}

.initiatives ul {
  margin-top: 1rem;
  list-style: none;
  padding-left: 0;
}

.initiatives ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #5b7f75;
}

.initiatives ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
  color: var(--accent-dark);
}

/* New Initiatives Button */
.initiatives-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: #2f4f48;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(161, 213, 201, 0.5);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin-top: 1.5rem;
}

.initiatives-button:hover,
.initiatives-button:focus {
  background-color: var(--accent-dark);
  color: #e1edea;
  box-shadow: 0 6px 25px rgba(110, 167, 156, 0.7);
  transform: scale(1.05);
  outline: none;
}

/* Research Section */
.research {
  border-color: #88b7cc;
  box-shadow:
    0 0 30px 4px rgba(136, 183, 204, 0.4),
    0 0 50px 15px rgba(136, 183, 204, 0.15);
  color: #406d8f;
  font-style: normal;
}

.research h2 {
  border-bottom: 3px solid #88b7cc;
  padding-bottom: 8px;
  font-size: 2rem;
  color: #406d8f;
}

/* Stories Section */
.stories {
  border-color: #ec9797;
  box-shadow:
    0 0 30px 4px rgba(236, 151, 151, 0.3),
    0 0 50px 15px rgba(236, 151, 151, 0.1);
  color: #a75252;
  font-style: normal;
}

.stories h2 {
  border-bottom: 3px solid #ec9797;
  padding-bottom: 8px;
  font-size: 2rem;
  color: #a75252;
}

/* Section Heading Icons */
.icon-green {
  color: var(--accent-dark);
  margin-right: 0.6rem;
}

.icon-blue {
  color: #5599cc;
  margin-right: 0.6rem;
}

.icon-red {
  color: #cc5555;
  margin-right: 0.6rem;
}

/* Content text */
.content-block p,
.content-block ul,
.content-block li {
  font-size: 1.05rem;
  line-height: 1.5;
  color: inherit;
}

/* Footer */
.footer {
  text-align: center;
  margin: 3rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(52, 74, 69, 0.15);
  color: var(--text-color);
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-nav {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;  /* MADE FONT BOLDER */
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--link-hover);
  outline: none;
}

/* Footer icons */
.footer-nav i {
  font-size: 1.2rem;
}

/* Floating Orbs */
.orb {
  position: fixed;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(40px);
  animation: floatOrb infinite linear;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
}

.orb1 {
  background: radial-gradient(circle, rgba(161, 213, 201, 0.2), transparent 70%);
  top: 20vh;
  left: -100px;
  animation-duration: 18s;
}

.orb2 {
  background: radial-gradient(circle, rgba(136, 183, 204, 0.15), transparent 70%);
  bottom: 10vh;
  right: -130px;
  animation-duration: 20s;
}

.orb3 {
  background: radial-gradient(circle, rgba(236, 151, 151, 0.1), transparent 70%);
  top: 50vh;
  right: 15vw;
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-50px) translateX(50px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    /* header remains full width */
  }

  .header-inner {
    padding: 1rem 1.5rem;
  }

  nav ul {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 72px;
    right: -100vw;
    width: 200px;
    height: calc(100vh - 72px);
    padding-top: 1.5rem;
    gap: 1rem;
    border-radius: 10px 0 0 10px;
    transition: right 0.3s ease;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.open {
    right: 0;
  }

  nav ul li {
    margin: 0;
  }

  nav a {
    font-size: 1.25rem;
    color: var(--accent-dark);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding: 3rem 1rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .content-block {
    padding: 1.8rem 1.5rem 2.5rem 1.5rem;
  }
}

