/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F4F8F4;
  color: #2d2d2d;
}

/* HEADER */
header {
  width: 100%;
  padding: 20px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F4F8F4;
  position: relative;
}

header img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

/* Basic nav styling */
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  list-style: none;
  white-space: nowrap;
}

header nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

header nav ul li a {
  text-decoration: none;
  font-size: 17px;
  color: #000000;
  font-weight: 300;
  transition: 0.2s;
}

header nav ul li a:hover {
  opacity: 0.7;
}

/* Dropdown hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
}

/* Dropdown items */
.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* HERO SECTION LAYOUT */
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.hero-container {
  width: 90%;
  height: 657px;
  max-width: 3000px;
  position: relative;
  border-radius: 30px;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2000px rgba(255,255,255,0.35);
}

.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/hero4.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4; /* adjust this value for image opacity */
  z-index: 0;
  pointer-events: none;
  border-radius: 30px;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  padding: 164.25px 20px 0;
}

.hero-text p {
  width: 70%;
  margin: 0 auto 30px auto;
  line-height: 1.5;
  font-size: 15px;
}

.hero-text button {
  background: #ffffff;
  padding: 10px 28px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  transition: 0.2s;
}

.hero-text button:hover {
  opacity: 0.8;
}

.cta-button {
  color: #000;
  text-decoration: none;
}

/* ABOUT SECTION LAYOUT */
.About {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #F4F8F4; /* soft eco-friendly background */
  padding: 70px 70px;
  gap: 80px;
}

/* LEFT COLUMN (TEXT) */
.About-Left {
  flex: 1.6;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 1000px;
}

.About-Left h1 {
  font-size: 32px;
  font-weight: 300;
  color: #111;
  margin: 0;
}

.About-Left p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  max-width: 640px;
}

/* RIGHT COLUMN (CARDS) */
.About-Right {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

/* CARD CONTAINER */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

/* CARD STYLE */
.card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 26px;
  background: #ffffff;
  border: 1px solid #dfe5da;     /* subtle green-grey border */
  border-radius: 20px;           /* rounded pill style */
  width: 432px;
}

/* ICON */
.card-icon img {
  width: 30px;
  height: 30px;
}

/* CARD TEXT BLOCK */
.card h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 400;
  color: #111;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}

/* SECTION BACKGROUND */
.Framework {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 0;
}

/* INNER CONTAINER */
.Framework-Container {
  width: 90%;
  max-width: 3000px;
  background: #d7e8cc;
  border-radius: 30px;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 30px;
  align-items: start;
}

/* TOP HEADER ROW (title + description) */
.Framework-Container h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 300;
  color: #000000;
  grid-column: 1;
}

.Framework-Container p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: #111;
  line-height: 1.45;
  grid-column: 2;
}

/* CARD WRAPPER */
.Framework-card {
  display: flex;
  gap: 22px;
  grid-column: 1 / -1; /* span both columns of the grid */
}

/* INDIVIDUAL CARD */
.Framework-card .card {
  flex: 1;
  background: #4CAF50; /* green card color from screenshot */
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
}

.Framework-card .card button {
  margin-top: 10px;
  color: #ffffff;
  background: #026915;
  padding: 10px 28px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  transition: 0.2s;
}

.Framework-card .card button:hover {
  opacity: 0.8;
}

.Framework-card .card .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 24px;
  background-color: #026915;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.Framework-card .card .btn:hover {
  background-color: #026915;
  transform: translateY(-2px);
}

.Framework-card .card .btn:active {
  transform: translateY(0);
}

/* CARD TEXT */
.card-text h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 400;
  color: #000;
}

.card-text p {
  margin: 0;
  font-size: 14px;
  color: #000;
  line-height: 1.45;
}

/* ===== Section Layout ===== */
/* ===== Section Layout ===== */
.Features {
  padding: 70px 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Top container */
.Features-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* Left content */
.Features-left {
  flex: 1;
}

.Features-left h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 18px;
  color: #111;
}

.Features-text p {
  font-size: 20px;
  font-weight: 300;
  color: #333;
  line-height: 1.5;
  max-width: 600px;
}

/* Right button */
.Features-right {
  display: flex;
  align-items: flex-start;
}

.Features-right button {
  background: #FFFFFF;
  border: 1px solid #C1C1C1;
  border-radius: 24px;
  padding: 10px 22px;
  cursor: pointer;
  transition: 0.25s ease;
}

.Features-right button a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.Features-right button:hover {
  background: #fafafa;
}

/* ===== Cards ===== */
.Features-card {
  width: 100%;
  max-width: 1300px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* Individual Card */
.Features-card .card {
  background: #FFFFFF;
  border: 1px solid #d6d6d6;
  border-radius: 20px;
  padding: 20px 24px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.45;
  flex: 1 1 calc(25% - 22px);
}

.Features-card .card h3 {
  font-size: 17px;
  font-weight: 400;
  color: #111;
}

.Features-card .card p {
  font-size: 15px;
  font-weight: 300;
}

/* Main Section Styling */
.impact {
  padding: 70px 70px;
}

/* Top Container Layout */
.impact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.impact-left h1 {
  font-size: 32px;
  font-weight: 300;
  margin: 0;
}

.impact-right {
  max-width: 420px;
}

.impact-text p {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

/* Cards Section */
.impact-card {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;        /* allow wrapping */
  gap: 22px;              /* spacing between cards */
  justify-content: space-between;
  margin-left: 5px;
  margin-right: 5px;
}

.impact-card .card {
  background: #FFFFFF;
  border: 1px solid #d6d6d6;
  border-radius: 20px;
  padding: 20px 24px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.45;
  flex: 0 1 calc(25% - 22px);  /* 4 cards per row */
  align-items: center;
  text-align: center;
}

.impact-card .card h3 {
  font-size: 17px;
  font-weight: 400;
  color: #111;
}

.impact-card .card p {
  align-items: center;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  color: #333;
}

/* ===== Impact Section 2 ===== */
.impact2 {
  text-align: left;
  padding: 70px 20px;
  border-radius: 20px;
  margin: 0px 50px;
  max-width: 1500px;
}

.impact2 h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #000;
}

.impact2 p {
  font-size: 20px;
  font-weight: 300;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.5;
}

.impact2 button {
  background: #FFFFFF;
  border: 1px solid #C1C1C1;
  border-radius: 24px;
  padding: 10px 22px;
  cursor: pointer;
  transition: 0.25s ease;
}

.impact2 button a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
}

.impact2 button:hover {
  background: #fafafa;
}

/* ===== Section Layout ===== */
.connecting {
  padding: 70px 70px;
  max-width: 1200px;
}

.connecting h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #000;
}

.connecting .main-text {
  font-size: 20px;
  font-weight: 300;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.5;
}

.email-input {
  width: 420px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.sub-text {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 15px;
}

.submit-btn {
  background-color: #4CAF50;
  color: black;
  border: none;
  border: 1px solid #C1C1C1;
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 168px;
  max-height: 52px;
}

.form-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Footer ===== */
footer {
  padding: 10px 70px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 3000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  max-width: 500px;
  margin-bottom: 45px;
}

.footer-left h1,
.footer-middle h1,
.footer-right h1 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 300;
}

.footer-left p {
  font-size: 14px;
  color: #2d2d2d;
  line-height: 1.6;
  max-width: 420px;
}

.footer-middle {
  flex: 1;
  max-width: 300px;
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.footer-middle a {
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
}

.footer-middle a:hover {
  color: #4CAF50;
  opacity: 0.9;
}

.footer-right {
  flex: 1;
  max-width: 300px;
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.footer-right a {
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
}

.footer-right a:hover {
  color: #4CAF50;
  opacity: 0.9;
}

.footer-bottom {
  max-width: 2000px;
  margin: 18px auto 0;
  padding: 18px 60px;
  text-align: center;
  color: #2d2d2d;
  font-size: 14px;
}

.community-hero {
  padding: 70px 70px 70px 70px;
}

.community-hero .container {
  max-width: 3000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

/* LEFT SECTION */
.community-hero .left {
  width: 65%;
}

.community-hero .left h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  line-height: 1.2;
}

.community-hero .left p {
  font-size: 20px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* STATS CARDS */
.community-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.community-hero-cards .card {
  background: white;
  border: 1px solid #d6e0d3;
  border-radius: 30px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.community-hero-cards .card p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

/* BUTTON */
.join-btn {
  grid-column: span 2;
  padding: 14px;
  border-radius: 30px;
  border: 1px solid #c5c5c5;
  background: #4CAF50;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  max-width: 300px;
}

.join-btn a {
  text-decoration: none;
  color: inherit;
}

/* RIGHT SECTION IMAGES */
.community-hero .right {
  width: 48%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 15px;
}

.community-hero .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.community-hero .right .img-large {
  grid-column: span 2;
  height: 260px;
}

.community-hero .right .img-small-1 {
  grid-column: span 1;
  height: 150px;
}

.community-hero .right .img-small-2 {
  grid-column: span 1;
  height: 150px;
}

.community-hero .right .img-small-3 {
  grid-column: span 2;
  height: 150px;
}

.movement {
  padding: 70px 80px;
  background: #f7faf6;
  text-align: left;
}

.movement h1 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 300;
  color: #1a1a1a;
}

.movement .green {
  color: #2d7a2d;
}

.movement p {
  max-width: 3000px;
  margin: 0 auto 40px auto;
  font-size: 20px;
  line-height: 1.6;
}

.movement-card {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;        /* allow wrapping */
  gap: 50px;              /* spacing between cards */
  justify-content: space-between;
  margin-left: 0px;
  margin-right: 0px;
}

.movement-card .card {
  background: #FFFFFF;
  border: 1px solid #C1C1C1;
  border-radius: 20px;
  padding: 20px 24px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.45;
  flex: 0 1 calc(33.3% - 33.3px);  /* 3 cards per row */
  align-items: flex-start;
}

.movement-card .card h3 {
  font-size: 20px;
  font-weight: 400;
}

.movement-card .card ul {
  padding-left: 18px;
  margin: 0;
}

.movement-card .card ul li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.Tools {
  padding: 70px 80px;
  text-align: left;
}

.Tools h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 10px;
}

.Tools p {
  font-size: 20px;
  margin-bottom: 35px;
}

.tools-card {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;        /* allow wrapping */
  gap: 20px;              /* spacing between cards */
  justify-content: space-between;
  margin-left: 0px;
  margin-right: 0px;
}

.tools-card .card {
  background: #FFFFFF;
  border: 1px solid #C1C1C1;
  border-radius: 20px;
  padding: 20px 24px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.45;
  flex: 0 1 calc(25% - 25px);  /* 3 cards per row */
  align-items: flex-start;
}

.tools-card .card p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}

/* ===== Values Section ===== */
.values {
  padding: 70px 70px;
  text-align: left;
}

.values h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.values > p:first-of-type {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 1500px;
}

.values h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 35px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.values p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Styling for bullet points with checkmarks and X's */
.values p br {
  content: '';
}

/* Style text after checkmarks and X's */
.values p {
  white-space: normal;
  word-wrap: break-word;
}

/* Add some styling to the list items for better readability */
.values h3:first-letter {
  text-transform: uppercase;
}

.join {
  padding: 70px 70px;
}

.join h1 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 300;
}

.join p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Grid Layout */
.join-cards {
  margin-top: 30px;
  display: flex;
  flex-wrap: nowrap;        /* allow wrapping */
  gap: 20px;              /* spacing between cards */
  justify-content: space-between;
  margin-left: 0px;
  margin-right: 0px;
}

/* Remove default link styling */
.join-cards a {
  text-decoration: none;
  color: inherit;
}

/* Card Styling */
.join-cards .card {
  background: #ffffff;
  border: 1px solid #C1C1C1;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  position: relative;
  min-height: 140px;
}

/* Left icon container */
.join-cards .card .left {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.join-cards .card .left img {
  width: 30px;
  height: 30px;
}

/* Text content */
.join-cards .card .right {
  padding-left: 12px;
  padding-right: 10px;
  flex: 1;
}

.join-cards .card .right p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #222;
}

/* Bottom right arrow */
.join-cards .card .right-bottom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.New {
  padding: 70px 70px;
  max-width: 1300px;
}

.New h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #000;
}

.New .main-text {
  font-size: 20px;
  font-weight: 300;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.5;
}

#newForm {
  display: flex;
  flex-direction: column;
}

.name-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.place-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.thoughts-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.achieve-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.work-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.sub-text {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 15px;
}

.submit-btn-1 {
  background-color: #4CAF50;
  color: black;
  border: none;
  border: 1px solid #C1C1C1;
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 168px;
  max-height: 52px;
  margin-top: 5px;
}

.form-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.join-section {
  width: 100%;
  max-width: 3000px;
  padding: 70px 70px;
}

.join-section h1 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 300;
}

.join-section p {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 300;
}

.calendar-container {
  width: 1300px;
  height: 731px;
  border: 1px solid #C1C1C1;
  border-radius: 20px;
  overflow: hidden;
}

.calendar-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.event-buttons {
    display: flex;
    gap: 15px;
    justify-content: left;
    margin-bottom: 10px;
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
    background-color: #2c6e49;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.secondary {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #C1C1C1;
}

.event-buttons-1 {
    display: flex;
    gap: 15px;
    justify-content: left;
    margin-bottom: 10px;
}

.btn1 {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
    background-color: #ffffff;
    color: #000;
    border: 1px solid #C1C1C1;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn1.secondary {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
    background-color: #2c6e49;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

#newForm1 {
  display: flex;
  flex-direction: column;
}

.name1-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.place1-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.event-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.type-input {
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.description-input{
  width: 1300px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
  max-width: 3000px;
}

.sub-text {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 15px;
}

.submit-btn-2 {
  background-color: #4CAF50;
  color: black;
  border: none;
  border: 1px solid #C1C1C1;
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 168px;
  max-height: 52px;
  margin-top: 5px;
}

.form-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.movement-cards {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;        /* allow wrapping */
  gap: 50px;              /* spacing between cards */
  justify-content: space-between;
  margin-left: 0px;
  margin-right: 0px;
}

.movement-cards .card {
  background: #FFFFFF;
  border: 1px solid #C1C1C1;
  border-radius: 20px;
  padding: 20px 24px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.45;
  flex: 0 1 calc(50% - 50px);  /* 3 cards per row */
  align-items: flex-start;
}

.movement-cards .card h3 {
  font-size: 20px;
  font-weight: 600;
}

.movement-cards .card ul {
  padding-left: 18px;
  margin: 0;
}

.movement-cards .card ul li {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Main Section Styling */
.Tips {
  padding: 70px 70px;
  text-align: left;
}

/* Main Heading */
.Tips h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* Subheadings */
.Tips h3 {
  font-size: 20px;
  margin-bottom: 5px;
  line-height: 1.6;
  max-width: 1500px;
}

/* Paragraph Content */
.Tips p {
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
}

/* Bold Numbers */
.Tips p strong {
  font-size: 16px;
  display: inline-block;
  margin-top: 12px;
}

/* Add spacing between sections visually */
.Tips h3:not(:first-of-type) {
    padding-top: 30px;
}

.Voice {
  padding: 70px 70px;
  text-align: left;
}

.Voice h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.Voice p {
  font-size: 20px;
  white-space: normal;
  word-wrap: break-word;
}

.habit-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.habit-hero-container {
  width: 90%;
  height: 657px;
  max-width: 3000px;
  position: relative;
  border-radius: 30px;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2000px rgba(255,255,255,0.35);
}

.habit-hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/Habit_Tracker.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4; /* adjust this value for image opacity */
  z-index: 0;
  pointer-events: none;
  border-radius: 30px;
}

.habit-hero-text {
  position: relative;
  z-index: 1;
}

.habit-hero-text h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  padding: 164.25px 20px 0;
}

.habit-hero-text p {
  width: 70%;
  margin: 0 auto 30px auto;
  line-height: 1.5;
  font-size: 15px;
}

.habit-hero-text button {
  background: #ffffff;
  padding: 10px 28px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  transition: 0.2s;
}

.habit-hero-text button:hover {
  opacity: 0.8;
}

.cta-button {
  color: #000;
  text-decoration: none;
}

.ecoscore-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.ecoscore-hero-container {
  width: 90%;
  height: 657px;
  max-width: 3000px;
  position: relative;
  border-radius: 30px;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2000px rgba(255,255,255,0.35);
}

.ecoscore-hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/Eco_Score.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4; /* adjust this value for image opacity */
  z-index: 0;
  pointer-events: none;
  border-radius: 30px;
}

.ecoscore-hero-text {
  position: relative;
  z-index: 1;
}

.ecoscore-hero-text h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  padding: 164.25px 20px 0;
}

.ecoscore-hero-text p {
  width: 70%;
  margin: 0 auto 30px auto;
  line-height: 1.5;
  font-size: 15px;
}

.ecoscore-hero-text button {
  background: #ffffff;
  padding: 10px 28px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  transition: 0.2s;
}

.ecoscore-hero-text button:hover {
  opacity: 0.8;
}

.cta-button {
  color: #000;
  text-decoration: none;
}

/* ============================= */
/* TABLET RESPONSIVE (≤1024px) */
/* ============================= */

@media (max-width: 1024px) {

  header {
    padding: 20px 30px;
  }

  header nav {
    position: static;
    transform: none;
  }

  header nav ul {
    gap: 18px;
  }

  /* HERO */
  .hero-container,
  .habit-hero-container,
  .ecoscore-hero-container {
    height: auto;
    padding: 80px 20px;
  }

  .hero-text p,
  .habit-hero-text p,
  .ecoscore-hero-text p {
    width: 90%;
  }

  /* ABOUT */
  .About {
    flex-direction: column;
    padding: 60px 30px;
  }

  .About-Left {
    width: 100%;
  }

  .About-Right {
    width: 100%;
  }

  .card {
    width: 100%;
  }

  /* FRAMEWORK */
  .Framework-Container {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }

  .Framework-Container h1,
  .Framework-Container p {
    grid-column: auto;
  }

  .Framework-card {
    flex-direction: column;
  }

  /* FEATURES */
  .Features-container {
    flex-direction: column;
    gap: 20px;
  }

  .Features-text p {
    margin-right: 0;
  }

  .Features-card .card {
    flex: 0 1 calc(50% - 22px);
  }

  /* IMPACT */
  .impact-container {
    flex-direction: column;
    gap: 20px;
  }

  .impact-card .card {
    flex: 0 1 calc(50% - 22px);
  }

  /* COMMUNITY HERO */
  .community-hero .container {
    flex-direction: column;
  }

  .community-hero .left,
  .community-hero .right {
    width: 100%;
  }

  /* TOOLS */
  .tools-card .card {
    flex: 0 1 calc(50% - 20px);
  }

  /* MOVEMENT */
  .movement-card .card {
    flex: 0 1 calc(50% - 20px);
  }

  /* JOIN */
  .join-cards {
    flex-wrap: wrap;
  }

  .join-cards .card {
    width: 48%;
  }

  /* FORMS */
  .name-input,
  .place-input,
  .thoughts-input,
  .achieve-input,
  .work-input,
  .name1-input,
  .place1-input,
  .event-input,
  .type-input,
  .description-input {
    width: 100%;
  }

  .calendar-container {
    width: 100%;
    height: 500px;
  }

}


/* ============================= */
/* MOBILE RESPONSIVE (≤768px) */
/* ============================= */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 10px;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* HERO TEXT */
  .hero-text h1,
  .habit-hero-text h1,
  .ecoscore-hero-text h1 {
    font-size: 26px;
    padding-top: 80px;
  }

  .hero-text p,
  .habit-hero-text p,
  .ecoscore-hero-text p {
    font-size: 14px;
  }

  /* SECTION PADDING */
  .About,
  .Framework,
  .Features,
  .impact,
  .movement,
  .Tools,
  .values,
  .join,
  .Tips,
  .Voice {
    padding: 50px 20px;
  }

  /* FEATURES CARDS */
  .Features-card {
    margin-left: 0;
    margin-right: 0;
  }

  .Features-card .card {
    flex: 1 1 100%;
  }

  /* IMPACT CARDS */
  .impact-card .card {
    flex: 1 1 100%;
  }

  /* TOOLS */
  .tools-card .card {
    flex: 1 1 100%;
  }

  /* MOVEMENT */
  .movement-card .card {
    flex: 1 1 100%;
  }

  /* COMMUNITY CARDS */
  .community-hero-cards {
    grid-template-columns: 1fr;
  }

  /* JOIN */
  .join-cards .card {
    width: 100%;
  }

  /* EMAIL INPUT */
  .email-input {
    width: 100%;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    padding: 15px 20px;
  }

}