body {
            
            font-family: 'Segoe UI', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #eef2f1;
            color: #333;
        }
        /* replace your existing header rule with: */
header {
  background: transparent;
  color: white;       /* keep your text white */
  padding: 30px;      /* or move this padding to .header-border if you prefer */
  text-align: center;
}

header h1 {
  margin-top: -18px;   /* move text up */
}
        
        header h1 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 3em;
        letter-spacing: 0.5px;
        color: #f4f7f6; /* deep green for contrast */
        margin-bottom: 5px;
    }
        /* Glass nav over hero */
/* Header container (keeps your background + border style) */
.header-border {
  border: 3px solid #2d6a4f;
  border-radius: 12px;
  background-image: url('images/greenleaves4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #1b4332;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  padding: 30px 0 40px; /* removed side padding for tighter layout */
  margin: 20px auto;
  width: 85%;
  text-align: center;
  color: white;
}

/* Inner nav glass bar inside header */
.nav-glass {
  display: inline-flex;              /* centers the nav in the header */
  justify-content: center;
  gap: 28px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);

  margin-top: 24px;                  /* space below “Carbon Credit Brokers” */
  padding: 12px 24px;
  border-radius: 14px;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Nav links */
.nav-glass a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0.95;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-glass a:hover {
  opacity: 1;
}

/* Fancy underline animation */
.nav-glass a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #8fd3a9, #2d6a4f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav-glass a:hover::after {
  transform: scaleX(1);
}

/* Remove the old nav gap under header */
nav {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .nav-glass {
    gap: 16px;
    padding: 10px 14px;
    width: 94%;
    margin: 10px auto 14px;
  }
  nav a { font-weight: 600; }
}
        .hero {
            position: relative;
            text-align: center;
            padding: 100px 20px;
            background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e');
            background-size: cover;
            background-position: center;
            color: white;
        }
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
        }
        .hero h1, .hero p {
            position: relative;
            z-index: 2;
        }
        .container {
            max-width: 1100px;
            margin: auto;
            padding: 40px 20px;
        }
        h1, h2 {
            color: #2d6a4f;
        }
        .info-section {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        .info-box {
            flex: 1;
            min-width: 280px;
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .info-box:hover {
            transform: translateY(-5px);
        }
        .info-box img {
            max-width: 100%;
            border-radius: 8px;
        }
        form {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            max-width: 600px;
            margin: 40px auto;
        }
        label {
            display: block;
            margin-top: 15px;
            font-weight: 600;
        }
        input, textarea {
            width: 100%;
            padding: 12px;
            margin-top: 8px;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
        button {
            background-color: #2d6a4f;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 6px;
            margin-top: 20px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        button:hover {
            background-color: #1b4332;
        }
        footer {
            background-color: #1b4332;
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 60px;
        }
        .ccg-logo {
    width: 160px;             /* Larger for better presence */
    height: auto;
    display: block;
    margin: 0 auto -50px auto; /* Closer to text but centered */
    transform: translateY(-5px); /* Nudges it slightly upward for better balance */
    
}
header p {
    margin-bottom: -30px;       /* Reduces space below the text */
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    color: #2d6a4f;

    
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2d6a4f;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #1b4332;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
html {
    scroll-behavior: smooth;
}

.container h2 {
    margin-top: 50px;
    color: #1b4332;
    text-align: left;
}

.container p {
    line-height: 1.6;
    font-size: 1.05em;
    color: #333;
}

.info-border {
    border: 3px solid #2d6a4f;   /* Matches your site’s green */
    border-radius: 12px;         /* Rounded corners */
    padding: 20px 30px 30px 30px;  /* Space inside the box */
    margin: 30px 0;              /* Space above and below */
    background-color: #f8faf9;   /* Light, clean background for contrast */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* subtle depth */
}

.info-border h2:first-of-type {
    margin-top: 0; /* removes extra space at the very top */
}
.header-border {
  border: 3px solid #2d6a4f;
  border-radius: 12px;
  background-image: url('images/greenleaves4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional, makes it stay still while scrolling */
  background-color: #1b4332;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  padding: 30px;
  margin: 20px auto;
  width: 85%;
}

/* ---------- Accordion styles ---------- */
.info-accordion {
  padding: 18px; /* a bit tighter because items add padding too */
  background: #f8faf9;
}

.acc-item + .acc-item {
  border-top: 1px dashed rgba(45,106,79,0.25);
  margin-top: 8px;
  padding-top: 8px;
}

.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-align: left;
}

.acc-header:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  border-color: rgba(45,106,79,0.45);
}

.acc-title {
  font-weight: 700;
  color: #1b4332;
  font-size: 1.05rem;
}

.acc-icon {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  transform-origin: center;
  color: #2d6a4f;
}

.acc-header[aria-expanded="true"] .acc-icon {
  transform: rotate(180deg);
}

.acc-content {
  overflow: hidden;
  max-height: 0;                 /* animated open/close */
  transition: max-height 0.35s ease, padding 0.25s ease, opacity 0.25s ease;
  padding: 0 10px;
  opacity: 0;
}

.acc-header[aria-expanded="true"] + .acc-content {
  padding: 12px 10px 4px 10px;
  opacity: 1;
}

/* Improve paragraph readability inside the accordion */
.acc-content p {
  margin: 0 0 8px 0;
  line-height: 1.65;
  color: #2b2b2b;
}

/* ---------- On-scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
  .acc-content {
    transition: none;
    max-height: none;
    opacity: 1;
    padding: 12px 10px 4px 10px;
  }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* =========================
   Modern Animated Hero Header
   ========================= */
.hero-header {
  position: relative;
  min-height: 20vh;              /* nice presence without being huge */
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

/* Background image with gentle pan */
.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(27,67,50,0.55), rgba(45,106,79,0.55)), /* overlay */
    url('images/greenleaves4.jpg'); /* your existing header image */
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  z-index: 0;
  animation: hero-pan 22s ease-in-out infinite alternate;
}

@keyframes hero-pan {
  0%   { background-position: 50% 50%; }
  100% { background-position: 53% 47%; }
}

/* Soft animated particles — subtle dots drifting up */
.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 6px at 20% 110%, rgba(255,255,255,0.14) 40%, transparent 41%),
    radial-gradient(circle 5px at 60% 120%, rgba(255,255,255,0.12) 40%, transparent 41%),
    radial-gradient(circle 7px at 85% 115%, rgba(255,255,255,0.10) 40%, transparent 41%),
    radial-gradient(circle 4px at 35% 130%, rgba(255,255,255,0.10) 40%, transparent 41%);
  background-repeat: no-repeat;
  z-index: 1;
  animation: particles-rise 18s linear infinite;
  opacity: 0.7;
}

@keyframes particles-rise {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-60px); }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 0 0 18px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  color: #e8f3ee;
}

/* CTA button */
.hero-cta {
  display: inline-block;
  background: linear-gradient(145deg, #2d6a4f, #1b4332);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28);
  background: linear-gradient(145deg, #3a805c, #1b4332);
}

/* optional brand mark if you enable it */
.brand-mark {
  width: clamp(70px, 12vw, 110px);
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}

/* Bottom wave */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  z-index: 2;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
  .particles  { animation: none; }
}

/* Keep your sticky nav visible above hero */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
}

.hero-content h1,
.hero-content p,
.hero-content a {
  color: #ffffff !important;   /* force pure white for all text */
  text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* keep readability */
}

/* === About / Showcase === */
.about-showcase {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 20px;
  background:
    radial-gradient(1200px 400px at 10% 10%, rgba(141, 211, 169, 0.12), transparent 60%),
    radial-gradient(1200px 400px at 90% 90%, rgba(45, 106, 79, 0.10), transparent 60%),
    #eef2f1;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.about-copy h2 {
  color: #1b4332;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 10px 0;
}
.about-copy p {
  color: #2b2b2b;
  line-height: 1.65;
  margin: 0 0 16px 0;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
}
.about-points li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  color: #2b2b2b;
}
.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2d6a4f;
  font-weight: 800;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 8px 0;
}
.stat {
  background: #ffffff;
  border: 1px solid rgba(45,106,79,0.18);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.stat .value {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: #1b4332;
}
.stat .unit {
  margin-left: 6px;
  font-weight: 800;
  color: #1b4332;
}
.stat .label {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #2d6a4f;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.badge {
  background: #e8f3ee;
  color: #1b4332;
  border: 1px solid rgba(27,67,50,0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Visual stack */
.about-visual { position: relative; }
.image-stack {
  position: relative;
  min-height: 360px;
}
.image-stack .img {
  width: 78%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.card {
  background: #fff;
  border: 1px solid rgba(45,106,79,0.18);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* layered positions + subtle float */
.float-a {
  position: absolute;
  left: 0;
  top: 0;
  animation: floatA 12s ease-in-out infinite;
}
.float-b {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(8%);
  animation: floatB 13s ease-in-out infinite;
}
@keyframes floatA { 
  0%,100% { transform: translateY(0) rotate(-0.4deg); }
  50%     { transform: translateY(-8px) rotate(0.4deg); }
}
@keyframes floatB { 
  0%,100% { transform: translateY(8%) rotate(0.4deg); }
  50%     { transform: translateY(0) rotate(-0.3deg); }
}

/* Reveal (you already use .reveal/.visible, this matches it) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 940px) {
  .about-inner { grid-template-columns: 1fr; }
  .image-stack { min-height: 280px; }
  .image-stack .img { width: 82%; }
  .float-b { transform: translateY(4%); }
}

.hero-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.5), transparent);
  border-radius: 1px;
}

form {
  border: 3px solid #2d6a4f; /* your theme green */
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 18px rgba(45, 106, 79, 0.15); /* soft green glow */
  background: white;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

form:hover {
  box-shadow: 0 10px 25px rgba(45, 106, 79, 0.25);
  transform: translateY(-2px);
}

form {
  border: 3px solid #2d6a4f;
  border-radius: 16px;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(145deg, #95d5b2, #2d6a4f) border-box;
  box-shadow: 0 6px 18px rgba(45,106,79,0.15);
  padding: 40px 30px;
  margin: 60px auto;
  max-width: 650px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

form:hover {
  box-shadow: 0 10px 28px rgba(45,106,79,0.25);
  transform: translateY(-3px);
}

/* Centered form title */
.form-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  color: #1b4332;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  border-bottom: 2px solid #2d6a4f;
  display: inline-block;
  padding-bottom: 5px;
}

/* === Modern Feature Grid === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 28px 0 14px 0;
}

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 260px;
  background: #0f1f19;
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
  isolation: isolate; /* keep overlay within card */
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(0,0,0,0.24);
}

.feature-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
  transition: transform .8s ease;
}

.feature-card:hover .feature-media { transform: scale(1.07); }

.feature-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(143,211,169,0.20), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 85%);
  z-index: 1;
}

.feature-body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 16px 16px 18px 16px;
  display: grid;
  align-content: end;
  height: 100%;
  gap: 6px;
}

.feature-body h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 1.1rem;
}

.feature-body p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  color: #eef6f2;
}

.chip {
  margin-top: 6px;
  align-self: start;
  display: inline-block;
  background: rgba(232,243,238,0.12);
  color: #cfe9dc;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2px;
}

/* Entrance animation (uses your .reveal pattern) */
.feature-grid.reveal { opacity: 0; transform: translateY(12px); }
.feature-grid.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .6s, transform .6s; }
.delay-a { transition-delay: .08s; }
.delay-b { transition-delay: .16s; }
.delay-c { transition-delay: .24s; }

/* Move feature card text upward */
.feature-body {
  align-content: start;           /* move text higher inside the card */
  padding: 40px 28px 24px 28px;   /* reduce bottom padding slightly */
}

.feature-card {
  min-height: 280px;              /* optional: slightly taller card */
}

.feature-body {
  transition: transform 0.4s ease, padding 0.4s ease;
}

.feature-card:hover .feature-body {
  transform: translateY(-8px);
}

/* Smooth scroll + offset if you have a sticky header */
#purchase { scroll-margin-top: 120px; }
html { scroll-behavior: smooth; }

/* Thank you card styling */
.thankyou-card {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2rem;
  border: 2px solid #2e7d32;         /* deep green border */
  border-radius: 16px;
  background: #f0fff4;               /* soft green tint */
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  text-align: left;
}
.thankyou-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.6rem;
}
.thankyou-card p {
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

/* Button style (reuse yours if you already have one) */
.btn-primary {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #2e7d32;
  background: #2e7d32;
  color: #fff;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(46,125,50,.25); }
.btn-primary:active { transform: translateY(0); opacity: .9; }

