/* ==========================================================================
   ZAMBIA YOUTH CLIMATE COUNCIL
   Main Website Theme
   ==========================================================================
   Organisation:
   Zambia Youth Climate Council (ZYCC)
   Under:
   Care for Nature Zambia

   Design direction:
   - Contemporary environmental organisation
   - Youth-led
   - Research and evidence focused
   - Policy / advocacy oriented
   - Professional enough for institutions and development partners
   - Energetic enough for young people
   ========================================================================== */


/* ==========================================================================
   1. FONTS
   ========================================================================== */

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


/* ==========================================================================
   2. ROOT VARIABLES
   ========================================================================== */

:root {

  /* Primary brand colours */
  --forest: #073B2A;
  --forest-dark: #04291E;
  --forest-deep: #021F17;

  --green: #0B6B4A;
  --green-light: #16845C;
  --green-bright: #2FA66F;

  /* Climate / nature accent */
  --lime: #B7D957;
  --lime-light: #D8EB8A;

  /* Gold accent */
  --gold: #D5A83A;
  --gold-light: #F1D98C;

  /* Backgrounds */
  --cream: #F5F7F0;
  --paper: #FFFFFF;
  --soft-green: #EAF3EA;
  --soft-lime: #F1F7DA;

  /* Text */
  --ink: #12231B;
  --ink-soft: #526159;
  --muted: #758079;
  --white: #FFFFFF;

  /* Borders */
  --line: #DDE5DD;
  --line-dark: #C8D4CA;

  /* Status colours */
  --danger: #A63D2D;
  --success: #287A4A;
  --warning: #A97918;
  --info: #286A8A;

  /* Shadows */
  --shadow-sm: 0 5px 20px rgba(7, 59, 42, 0.06);
  --shadow-md: 0 12px 35px rgba(7, 59, 42, 0.10);
  --shadow-lg: 0 25px 70px rgba(7, 59, 42, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Typography */
  --font-heading: 'Manrope', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  /* Layout */
  --container: 1180px;

}


/* ==========================================================================
   3. RESET
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;

  background: var(--cream);
  color: var(--ink);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--green);
  text-decoration: none;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

a:hover {
  color: var(--forest);
}

::selection {
  background: var(--lime);
  color: var(--forest-dark);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;

  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;

  color: var(--forest);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
  max-width: 72ch;
}

strong {
  font-weight: 700;
}


/* ==========================================================================
   5. GLOBAL CONTAINER
   ========================================================================== */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 1000;

  background: rgba(4, 41, 30, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .10);

  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.site-header .container {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* ==========================================================================
   7. BRAND / LOGO
   ========================================================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 13px;

  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  text-decoration: none;
}

.brand-logo img {
  width: 54px;
  height: 54px;

  display: block;

  object-fit: contain;
}

.brand-name {
  color: var(--white);

  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;

  max-width: 245px;
}

.brand-name:hover {
  color: var(--lime-light);
  text-decoration: none;
}


/* ==========================================================================
   8. NAVIGATION
   ========================================================================== */

nav.main-nav ul {
  display: flex;
  align-items: center;

  list-style: none;

  margin: 0;
  padding: 0;

  gap: 4px;
}

nav.main-nav a {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 42px;

  padding: 9px 14px;

  color: rgba(255,255,255,.84);

  border-radius: 9px;

  font-size: .9rem;
  font-weight: 600;
}

nav.main-nav a::after {
  content: "";

  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;

  height: 2px;

  background: var(--lime);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform .2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  transform: scaleX(1);
}


/* ==========================================================================
   9. MOBILE NAV TOGGLE
   ========================================================================== */

.nav-toggle {
  display: none;

  border: 0;
  background: transparent;
  color: #fff;

  font-size: 1.6rem;
}


/* ==========================================================================
   10. HERO — GENERAL
   ========================================================================== */

.hero {
  position: relative;

  padding: 95px 0 100px;

  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(47,166,111,.25),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--forest-deep),
      var(--forest)
    );

  color: var(--white);

  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.25fr .75fr;

  align-items: center;

  gap: 70px;
}

.hero h1 {
  color: #fff;
}

.hero p.lede {
  max-width: 680px;

  color: rgba(255,255,255,.86);

  font-size: 1.16rem;
  line-height: 1.75;
}

.hero-stat {
  padding: 35px;

  background: rgba(255,255,255,.08);

  border: 1px solid rgba(255,255,255,.18);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);

  backdrop-filter: blur(12px);
}

.hero-stat .big {
  display: block;

  margin-bottom: 12px;

  font-family: var(--font-heading);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;

  color: var(--lime);
}

.hero-stat .label {
  color: rgba(255,255,255,.82);
}


/* ==========================================================================
   11. ZYCC PHOTO HERO
   ========================================================================== */

.hero-banner {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;

  background-image: url('../../images/zycc-hero.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2,31,23,.96) 0%,
      rgba(4,41,30,.88) 32%,
      rgba(4,41,30,.55) 62%,
      rgba(4,41,30,.20) 100%
    );

  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

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

  gap: 70px;
}

.hero-text {
  max-width: 790px;
}

.hero-banner .eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 20px;

  color: var(--lime-light);

  font-size: .82rem;
  font-weight: 800;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-banner .eyebrow::before {
  content: "";

  width: 30px;
  height: 2px;

  background: var(--lime);
}

.hero-banner h1 {
  margin-bottom: 28px;

  color: #fff;

  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: .98;

  letter-spacing: -3px;
}

.hero-banner .lede {
  max-width: 680px;

  margin-bottom: 30px;

  color: rgba(255,255,255,.9);

  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-banner .hero-stat {
  width: 290px;
  min-width: 290px;

  padding: 34px;

  border-radius: var(--radius-lg);

  background: rgba(255,255,255,.11);

  border: 1px solid rgba(255,255,255,.22);

  box-shadow: 0 25px 70px rgba(0,0,0,.25);

  backdrop-filter: blur(16px);
}

.hero-banner .hero-stat .big {
  color: var(--lime);
}


/* ==========================================================================
   12. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 11px 22px;

  border: 1px solid transparent;
  border-radius: 9px;

  font-size: .92rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--forest-dark);

  box-shadow: 0 8px 25px rgba(183,217,87,.20);
}

.btn-primary:hover {
  background: var(--lime-light);
  color: var(--forest-dark);

  box-shadow: 0 12px 30px rgba(183,217,87,.30);
}

.btn-secondary {
  background: var(--green);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--green-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-sm {
  min-height: 36px;
  padding: 7px 14px;

  font-size: .82rem;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}


/* ==========================================================================
   13. SECTION SYSTEM
   ========================================================================== */

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--paper);
}

.section-soft {
  background: var(--soft-green);
}

.section-dark {
  background: var(--forest);
  color: #fff;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 45px;
}

.section-heading .eyebrow {
  display: block;

  margin-bottom: 10px;

  color: var(--green);

  font-size: .8rem;
  font-weight: 800;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-dark .section-heading h2,
.section-dark h2 {
  color: #fff;
}

.section-dark .section-heading .eyebrow {
  color: var(--lime);
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-dark .section-heading p {
  color: rgba(255,255,255,.75);
}


/* ==========================================================================
   14. GRIDS
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


/* ==========================================================================
   15. FEATURE CARDS
   ========================================================================== */

.feature {
  position: relative;

  padding: 28px;

  background: var(--paper);

  border: 1px solid var(--line);
  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.feature:hover {
  transform: translateY(-6px);

  border-color: rgba(11,107,74,.25);

  box-shadow: var(--shadow-md);
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  color: var(--ink-soft);
}

.feature-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 14px;

  background: var(--soft-green);

  color: var(--green);

  font-size: 1.3rem;
}


/* ==========================================================================
   16. ZYCC WORK CARDS
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.work-card {
  position: relative;

  min-height: 290px;

  padding: 30px;

  background: var(--paper);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.work-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 5px;
  height: 100%;

  background: var(--green);
}

.work-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.work-number {
  display: block;

  margin-bottom: 40px;

  color: var(--green);

  font-size: .8rem;
  font-weight: 800;

  letter-spacing: 2px;
}

.work-card h3 {
  margin-bottom: 12px;
}

.work-card p {
  color: var(--ink-soft);
}

.work-card .work-arrow {
  position: absolute;

  right: 25px;
  bottom: 23px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--soft-green);

  color: var(--green);

  font-weight: 800;
}


/* ==========================================================================
   17. IMPACT STRIP
   ========================================================================== */

.impact-strip {
  position: relative;

  background: var(--forest);

  color: #fff;

  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  padding: 35px 25px;

  border-right: 1px solid rgba(255,255,255,.12);
}

.impact-item:last-child {
  border-right: 0;
}

.impact-item .number {
  display: block;

  margin-bottom: 7px;

  color: var(--lime);

  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
}

.impact-item .label {
  color: rgba(255,255,255,.72);

  font-size: .9rem;
}


/* ==========================================================================
   18. ABOUT PAGE HERO
   ========================================================================== */

.about-hero {
  position: relative;

  min-height: 570px;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      100deg,
      rgba(2,31,23,.97),
      rgba(7,59,42,.82)
    ),
    url('../../images/zycc-about.jpeg');

  background-size: cover;
  background-position: center;

  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(183,217,87,.14),
      transparent 30%
    );
}

.about-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;
}

.about-hero-text {
  color: rgba(255,255,255,.88);

  font-size: 1.12rem;
}

.about-hero h1 {
  color: #fff;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 24px;

  padding: 9px 15px;

  background: rgba(255,255,255,.10);

  border: 1px solid rgba(255,255,255,.20);

  border-radius: 100px;

  color: #fff;

  font-size: .78rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1.4px;

  backdrop-filter: blur(10px);
}

.badge-number {
  color: var(--lime);
}


/* ==========================================================================
   19. INTRODUCTION SECTION
   ========================================================================== */

.intro-section {
  padding: 95px 0;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;

  gap: 80px;

  align-items: start;
}

.intro-heading h2 {
  margin-bottom: 15px;
}

.intro-heading .large {
  color: var(--green);

  font-size: 1.15rem;
  font-weight: 700;
}

.intro-content {
  color: var(--ink-soft);

  font-size: 1.05rem;
}

.intro-content strong {
  color: var(--forest);
}


/* ==========================================================================
   20. ENVIRONMENTORS SECTION
   ========================================================================== */

.environmentors-section {
  padding: 100px 0;

  background:
    linear-gradient(
      135deg,
      var(--forest),
      var(--forest-dark)
    );

  color: #fff;
}

.environmentors-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;

  align-items: center;

  gap: 80px;
}

.environmentors-content h2 {
  color: #fff;
}

.environmentors-content p {
  color: rgba(255,255,255,.75);
}

.environmentors-visual {
  min-height: 420px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-circle {
  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,.12);
}

.circle-one {
  width: 360px;
  height: 360px;
}

.circle-two {
  width: 250px;
  height: 250px;

  background: rgba(183,217,87,.08);
}

.environmentors-card {
  position: relative;
  z-index: 2;

  width: 290px;

  padding: 35px;

  background: rgba(255,255,255,.09);

  border: 1px solid rgba(255,255,255,.18);

  border-radius: var(--radius-lg);

  backdrop-filter: blur(15px);

  box-shadow: var(--shadow-lg);
}

.environmentors-card h3 {
  color: #fff;
}

.environmentors-card p {
  color: rgba(255,255,255,.75);
}

.mentor-points {
  display: grid;
  gap: 14px;

  margin-top: 28px;
}

.mentor-point {
  display: flex;
  align-items: flex-start;

  gap: 12px;

  color: rgba(255,255,255,.84);
}

.mentor-point::before {
  content: "✓";

  width: 22px;
  height: 22px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--lime);

  color: var(--forest);

  font-size: .75rem;
  font-weight: 800;
}


/* ==========================================================================
   21. CONSULTANCY SECTION
   ========================================================================== */

.consultancy-section {
  padding: 100px 0;
  background: var(--cream);
}

.consultancy-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.consultancy-item {
  display: flex;
  align-items: flex-start;

  gap: 17px;

  padding: 24px;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.consultancy-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.consultancy-item .icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: var(--soft-green);

  border-radius: 10px;

  color: var(--green);

  font-weight: 800;
}


/* ==========================================================================
   22. POLICY SECTION
   ========================================================================== */

.policy-section {
  padding: 100px 0;

  background: var(--soft-green);
}

.policy-grid {
  display: grid;

  grid-template-columns: 1.1fr .9fr;

  align-items: center;

  gap: 70px;
}

.policy-content p {
  color: var(--ink-soft);
}

.policy-quote {
  position: relative;

  padding: 42px;

  background: var(--forest);

  border-radius: var(--radius-lg);

  color: #fff;

  box-shadow: var(--shadow-lg);
}

.quote-mark {
  margin-bottom: 15px;

  color: var(--lime);

  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: .6;
}

.policy-quote p {
  color: rgba(255,255,255,.88);

  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
}


/* ==========================================================================
   23. DIGITAL RESEARCH PLATFORM
   ========================================================================== */

.platform-section {
  padding: 100px 0;

  background: var(--paper);
}

.platform-box {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  padding: 60px;

  background:
    linear-gradient(
      135deg,
      var(--forest),
      var(--green)
    );

  border-radius: var(--radius-xl);

  color: #fff;

  overflow: hidden;
}

.platform-content h2 {
  color: #fff;
}

.platform-content p {
  color: rgba(255,255,255,.78);
}

.platform-features {
  display: grid;
  gap: 13px;

  margin-top: 28px;
}

.platform-feature {
  display: flex;
  align-items: center;

  gap: 12px;

  color: rgba(255,255,255,.9);
}

.platform-feature::before {
  content: "→";

  color: var(--lime);
  font-weight: 800;
}

.platform-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-window {
  width: 100%;
  max-width: 440px;

  padding: 20px;

  background: rgba(255,255,255,.10);

  border: 1px solid rgba(255,255,255,.18);

  border-radius: 18px;

  box-shadow: var(--shadow-lg);

  backdrop-filter: blur(10px);
}

.window-top {
  display: flex;
  align-items: center;

  gap: 7px;

  margin-bottom: 20px;
}

.window-top span {
  width: 9px;
  height: 9px;

  display: block;

  border-radius: 50%;

  background: rgba(255,255,255,.45);
}

.window-content {
  padding: 22px;

  background: rgba(255,255,255,.07);

  border-radius: 12px;
}

.window-line {
  height: 10px;

  margin-bottom: 10px;

  border-radius: 100px;

  background: rgba(255,255,255,.16);
}

.window-line.short {
  width: 55%;
}

.window-line.medium {
  width: 75%;
}

.window-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;

  margin-top: 22px;
}

.window-grid div {
  height: 70px;

  background: rgba(183,217,87,.12);

  border: 1px solid rgba(183,217,87,.16);

  border-radius: 10px;
}


/* ==========================================================================
   24. FINAL CTA
   ========================================================================== */

.about-final-cta {
  position: relative;

  padding: 100px 0;

  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(183,217,87,.15),
      transparent 30%
    ),
    var(--forest-dark);

  text-align: center;

  color: #fff;
}

.about-final-cta h2 {
  max-width: 800px;

  margin: 0 auto 18px;

  color: #fff;
}

.about-final-cta p {
  max-width: 650px;

  margin: 0 auto 30px;

  color: rgba(255,255,255,.75);
}


/* ==========================================================================
   25. GENERAL CARDS
   ========================================================================== */

.card {
  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  padding: 28px;
}


/* ==========================================================================
   26. FORMS
   ========================================================================== */

.form-panel {
  width: 100%;
  max-width: 560px;

  margin: 50px auto;

  padding: 38px;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}

label {
  display: block;

  margin: 17px 0 7px;

  color: var(--forest);

  font-size: .88rem;
  font-weight: 700;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=date],
input[type=tel],
input[type=url],
select,
textarea {
  width: 100%;

  padding: 12px 14px;

  background: #fff;

  border: 1px solid var(--line-dark);

  border-radius: 9px;

  color: var(--ink);

  font-family: var(--font-body);
  font-size: .95rem;

  outline: none;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);

  box-shadow: 0 0 0 4px rgba(11,107,74,.10);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.help-text {
  margin-top: 5px;

  color: var(--muted);

  font-size: .82rem;
}

.form-error,
.form-success {
  padding: 12px 15px;

  margin-bottom: 15px;

  border-radius: 9px;

  font-size: .9rem;
}

.form-error {
  background: #FBEAE7;
  border: 1px solid #E3B4AA;
  color: #823526;
}

.form-success {
  background: #E8F5EA;
  border: 1px solid #BBD9BF;
  color: #25653B;
}

fieldset {
  margin: 0 0 20px;

  padding: 20px;

  border: 1px solid var(--line);

  border-radius: var(--radius);
}

legend {
  padding: 0 7px;

  color: var(--forest);

  font-weight: 700;
}


/* ==========================================================================
   27. DASHBOARD / RESEARCH PORTAL
   ========================================================================== */

.app-shell {
  display: flex;

  min-height: calc(100vh - 82px);
}

.app-sidebar {
  width: 250px;

  flex-shrink: 0;

  padding: 28px 0;

  background: var(--forest);

  color: #fff;
}

.app-sidebar .role-tag {
  display: block;

  padding: 0 22px 18px;

  color: var(--lime);

  font-size: .7rem;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.app-sidebar a {
  display: flex;
  align-items: center;

  min-height: 44px;

  padding: 10px 22px;

  color: rgba(255,255,255,.75);

  font-size: .9rem;
  font-weight: 600;

  border-left: 3px solid transparent;
}

.app-sidebar a:hover,
.app-sidebar a.active {
  color: #fff;

  background: rgba(255,255,255,.08);

  border-left-color: var(--lime);

  text-decoration: none;
}

.app-main {
  flex: 1;

  padding: 35px;

  background: var(--cream);

  min-width: 0;
}

.app-main h1 {
  font-size: 1.9rem;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 28px;
}


/* ==========================================================================
   28. DASHBOARD STATS
   ========================================================================== */

.stat-grid {
  display: grid;

  grid-template-columns: repeat(
    auto-fit,
    minmax(180px, 1fr)
  );

  gap: 18px;

  margin-bottom: 30px;
}

.stat-card {
  padding: 22px;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);
}

.stat-card .n {
  display: block;

  margin-bottom: 5px;

  color: var(--forest);

  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
}

.stat-card .label {
  color: var(--ink-soft);

  font-size: .84rem;
}


/* ==========================================================================
   29. TABLES
   ========================================================================== */

.table-wrap {
  overflow-x: auto;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: #fff;

  box-shadow: var(--shadow-sm);
}

table.data-table {
  width: 100%;

  border-collapse: collapse;

  background: #fff;
}

table.data-table th,
table.data-table td {
  padding: 13px 15px;

  text-align: left;

  border-bottom: 1px solid var(--line);

  font-size: .88rem;
}

table.data-table th {
  background: var(--soft-green);

  color: var(--forest);

  font-weight: 700;
}

table.data-table tr:hover td {
  background: #F7FAF6;
}

table.data-table tr:last-child td {
  border-bottom: 0;
}


/* ==========================================================================
   30. BADGES
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;

  padding: 4px 10px;

  border-radius: 100px;

  font-size: .72rem;
  font-weight: 700;
}

.badge-green {
  background: var(--soft-green);
  color: var(--forest);
}

.badge-gold {
  background: #F8EBC8;
  color: #795B16;
}

.badge-red {
  background: #F7DDD8;
  color: #823526;
}

.badge-grey {
  background: #E9EDE9;
  color: var(--ink-soft);
}


/* ==========================================================================
   31. TAG PILLS
   ========================================================================== */

.tag-pill {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  padding: 5px 11px;

  margin: 3px 4px 3px 0;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: 100px;

  color: var(--ink-soft);

  font-size: .76rem;
}


/* ==========================================================================
   32. FOOTER
   ========================================================================== */

.site-footer {
  margin-top: 0;

  padding: 55px 0 30px;

  background:
    linear-gradient(
      135deg,
      var(--forest-dark),
      var(--forest)
    );

  color: rgba(255,255,255,.70);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: wrap;

  gap: 25px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-brand {
  color: #fff;

  font-family: var(--font-heading);
  font-weight: 800;
}


/* ==========================================================================
   33. UTILITY CLASSES
   ========================================================================== */

.text-muted {
  color: var(--ink-soft);
}

.text-white {
  color: #fff;
}

.text-green {
  color: var(--green);
}

.text-lime {
  color: var(--lime);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

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

.text-center {
  text-align: center;
}

.max-width {
  max-width: 760px;
}


/* ==========================================================================
   34. SIMPLE REVEAL ANIMATION
   ========================================================================== */

@keyframes zyccFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text,
.hero-stat,
.work-card,
.feature {
  animation: zyccFadeUp .65s ease both;
}


/* ==========================================================================
   35. LARGE TABLET
   ========================================================================== */

@media (max-width: 1000px) {

  .hero-content {
    gap: 40px;
  }

  .hero-banner .hero-stat {
    width: 250px;
    min-width: 250px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .environmentors-grid,
  .policy-grid,
  .platform-box {
    gap: 45px;
  }

}


/* ==========================================================================
   36. TABLET
   ========================================================================== */

@media (max-width: 860px) {

  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .site-header .container {
    min-height: 72px;
  }

  .brand-logo,
  .brand-logo img {
    width: 48px;
    height: 48px;
  }

  nav.main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav.main-nav a {
    padding: 8px 10px;
  }

  .hero .container {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .hero-banner {
    min-height: 720px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner .hero-stat {
    width: 100%;
    max-width: 440px;
    min-width: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .environmentors-grid,
  .policy-grid,
  .platform-box {
    grid-template-columns: 1fr;
  }

  .environmentors-visual {
    min-height: 350px;
    order: -1;
  }

  .platform-visual {
    margin-top: 10px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-item:nth-child(2) {
    border-right: 0;
  }

  .impact-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .app-shell {
    flex-direction: column;
  }

  .app-sidebar {
    width: 100%;
  }

}


/* ==========================================================================
   37. MOBILE
   ========================================================================== */

@media (max-width: 600px) {

  .container {
    width: min(var(--container), calc(100% - 30px));
  }

  .site-header .container {
    min-height: 68px;

    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo,
  .brand-logo img {
    width: 43px;
    height: 43px;
  }

  .brand-name {
    max-width: 180px;

    font-size: .84rem;
  }

  nav.main-nav ul {
    gap: 2px;
  }

  nav.main-nav a {
    min-height: 34px;

    padding: 6px 8px;

    font-size: .76rem;
  }

  nav.main-nav a::after {
    display: none;
  }

  .hero {
    padding: 65px 0 70px;
  }

  .hero-banner {
    min-height: 760px;

    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2,31,23,.92) 0%,
        rgba(2,31,23,.82) 55%,
        rgba(2,31,23,.94) 100%
      );
  }

  .hero-banner h1 {
    margin-bottom: 22px;

    font-size: 2.85rem;

    letter-spacing: -1.5px;
  }

  .hero-banner .lede {
    font-size: 1rem;
  }

  .hero-banner .hero-stat {
    padding: 25px;
  }

  .hero-banner .hero-stat .big {
    font-size: 2.5rem;
  }

  .section {
    padding: 65px 0;
  }

  .intro-section,
  .consultancy-section,
  .policy-section,
  .platform-section,
  .environmentors-section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 250px;
  }

  .grid-2,
  .grid-4,
  .consultancy-list {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-item {
    padding: 25px 18px;
  }

  .impact-item .number {
    font-size: 1.8rem;
  }

  .about-hero {
    min-height: 580px;
  }

  .about-hero h1 {
    font-size: 2.8rem;
  }

  .environmentors-visual {
    min-height: 300px;
  }

  .circle-one {
    width: 280px;
    height: 280px;
  }

  .circle-two {
    width: 190px;
    height: 190px;
  }

  .environmentors-card {
    width: 250px;
    padding: 27px;
  }

  .policy-quote {
    padding: 30px;
  }

  .policy-quote p {
    font-size: 1.12rem;
  }

  .platform-box {
    padding: 32px 22px;

    border-radius: 22px;
  }

  .platform-window {
    padding: 14px;
  }

  .form-panel {
    padding: 25px;

    margin: 30px auto;
  }

  .app-main {
    padding: 22px 16px;
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* ==========================================================================
   38. VERY SMALL MOBILE
   ========================================================================== */

@media (max-width: 420px) {

  .brand-name {
    max-width: 150px;

    font-size: .78rem;
  }

  nav.main-nav a {
    padding: 5px 6px;
    font-size: .7rem;
  }

  .hero-banner h1 {
    font-size: 2.45rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .impact-item:last-child {
    border-bottom: 0;
  }

}


/* ==========================================================================
   39. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
