/* Base theme */
:root{
  --green:#1d6b2a;
  --green-800:#145b31;
  --bg:#f8f9f8;
  --text:#1f2937;
  --muted:#6b7280;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.12);
}
*{box-sizing:border-box}
body{margin:0;font-family:'Poppins',sans-serif;background:var(--bg);color:var(--text)}
.container{max-width:1120px;margin:auto;padding:20px 20px}
a{text-decoration:none;color:inherit}
.btn{padding:10px 16px;border-radius:50px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;border:1px solid transparent;cursor:pointer}
.btn-solid{background:var(--green);color:#fff}
.btn-link{background:none;color:var(--green)}
.btn-ghost{background:#fff;border:1px solid #d1d5db}
.btn.full{width:100%}

/* Header */
.site-header{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06);position:sticky;top:0;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px}
.brand .logo svg{width:36px;height:36px}
.brand-text{font-weight:700;color:var(--green-800)}
.menu{display:flex;gap:20px}
.actions{display:flex;gap:10px}
.actions .signup:hover{ color:#ffffff;}
.hamburger{display:none;background:none;border:none;font-size:24px}

.nav a:hover {
    color: #1d6b2a;
}

/* Mobile menu with overlay and slide-in */
.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:.25s;z-index:95}
.mobile-overlay.show{opacity:1;pointer-events:auto}
.mobile-menu{position:fixed;inset:0 0 0 auto;width:min(86%,360px);background:#fff;transform:translateX(100%);transition:transform .3s ease;z-index:100;display:flex;flex-direction:column;padding:18px 18px 30px;gap:14px;box-shadow:var(--shadow); overflow: auto;}
.mobile-menu.show{transform:translateX(0)}
.mobile-menu .close-menu{align-self:flex-end;font-size:28px;background:none;border:none}
.mobile-menu a{font-size:18px;color:#111;padding:8px 0  ;}
.mobile-menu hr{border:none;border-top:1px solid #eee;margin:8px 0}

.mobile-menu a:hover {
    color: #1d6b2a;
}

/* Hero */
.hero{position:relative;min-height:70vh;display:flex;align-items:center;text-align:center}
.hero-bg{position:absolute;inset:0;background:url('../../images/hero.webp') center/cover no-repeat;z-index:-1;filter:saturate(1.05)}
.hero-title{font-size:42px;color:#fff;text-shadow:0 3px 10px rgba(0,0,0,.55)}
.hero-sub{color:#fff;margin-top:6px;text-shadow:0 2px 6px rgba(0,0,0,.5)}
.cta{display:flex;gap:10px;justify-content:center;margin-top:20px}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.about-card{background:var(--green);color:#fff;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px}
.about-card img{border-radius:12px;object-fit:cover;height:250px}
.about-points{background:#fff;padding:20px;border-radius:16px;box-shadow:var(--shadow)}
.about-points h3{margin-top:0;color:var(--green-800)}

/* Plans */
.plans{background:var(--green-800);color:#fff;padding:40px 0}
.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:26px}
.plan{background:#fff;color:#111;padding:18px;border-radius:16px;text-align:center}
.plan-icon{font-size:32px}
.track{background:#0e3d24;padding:20px;border-radius:16px;text-align:center}
.track-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.track-form input{padding:10px 14px;border-radius:50px;border:1px solid #ccc;min-width:240px}

/* Footer */

.footer {
  background-color: #0e1d12;
  color: #d4e7d1;
  font-family: 'Segoe UI', sans-serif;
  padding: 50px 20px 30px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer-logo {
  max-width: 250px;
}
.footer-logo img {
  width: -webkit-fill-available;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #a3c3a1;
}

.footer-menus {
  display: flex;
  flex: 1;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.menu-column h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ffffff;
}

.menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-column ul li {
  margin-bottom: 8px;
}

.menu-column ul li a {
  color: #d4e7d1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.menu-column ul li a:hover {
  color: #8afc7c;
}

.footer-bottom {
  border-top: 1px solid #1a2e1e;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8aa28b;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  margin-bottom: 10px;
}

.social-icons a {
  background-color: #2d3f33;
  color: #d4e7d1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  margin: 0 8px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: #94f594;
  transform: scale(1.1);
  color: #0e1d12;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-menus {
    flex-direction: column;
    align-items: center;
  }

  .menu-column {
    margin-bottom: 20px;
  }
}


/* Modals with icons & animation */
.modal{position:fixed;inset:0;display:none;place-items:center;background:rgba(0,0,0,.6);backdrop-filter:blur(2px);z-index:200;animation:fadeIn .25s ease forwards}
.modal.show{display:grid}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.modal-panel{background:#fff;padding:26px;border-radius:18px;position:relative;width:min(420px,92%);box-shadow:var(--shadow)}
.animate-up{animation:slideUp .28s ease both}
@keyframes slideUp{from{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:1}}
.modal-header{text-align:center;margin-bottom:14px}
.modal-header h2{margin:0;font-size:24px;color:var(--green-800)}
.modal-header .muted{font-size:14px;color:var(--muted);margin-top:4px}
.modal-close{position:absolute;right:14px;top:14px;background:none;border:none;font-size:22px;cursor:pointer}

/* Input with icon */
.input{position:relative}
.input .icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:16px;opacity:.7}
.input input{width:100%;padding:12px 14px 12px 40px;border-radius:12px;border:1px solid #d1d5db;font-size:15px;transition:.2s}
.input input:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 2px rgba(29,107,42,.18)}

.form{display:flex;flex-direction:column;gap:12px}
.form-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:2px}
.form-actions.stack{flex-wrap:wrap}
.swap{text-align:center;font-size:14px;color:#4b5563;margin-top:8px}
.link{color:var(--green);font-size:14px}

/* Responsive */
@media(max-width:960px){
  .menu,.actions{display:none}
  .hamburger{display:block}
  .about-grid{grid-template-columns:1fr}
  .plans-grid{grid-template-columns:1fr 1fr}
  .hero-title{font-size:32px}
}
@media(max-width:600px){
  .plans-grid{grid-template-columns:1fr}
  .hero-title{font-size:26px}
}


.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-detail .icon {
  font-size: 20px;
  color: var(--green);
  min-width: 24px;
  text-align: center;
}
.contact-detail .info {
  font-size: 15px;
  line-height: 1.5;
}


    .subtitle {
      color: var(--muted);
      font-size: 1.1rem;
      margin-bottom: 40px;
    }
    .challenges {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin-bottom: 50px;
    }
    .challenge-card {
      background: #fff;
      border-radius: 16px;
      padding: 24px;
      box-shadow: var(--shadow);
      text-align: left;
      border-left: 6px solid var(--green);
    }
    .challenge-card h3 {
      margin-top: 0;
      color: var(--green-800);
      font-size: 1.25rem;
    }
    .challenge-card p {
      color: var(--text);
      font-size: 0.95rem;
    }
    .rewards {
      background: #e5ffe9;
      border-radius: 16px;
      padding: 30px;
      margin-top: 30px;
    }
    .rewards h2 {
      margin-top: 0;
      color: var(--green-800);
    }
    .rewards-list {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 20px;
    }
    .badge {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: var(--shadow);
      min-width: 180px;
    }
    .badge img {
      height: 50px;
      margin-bottom: 10px;
    }
    .badge h4 {
      margin: 0;
      color: var(--green);
    }

    .feed-intro {
      text-align: center;
      max-width: 700px;
      margin: auto;
      margin-bottom: 40px;
    }
    .feed-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }
    .feed-card {
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform .2s ease;
    }
    .feed-card:hover {
      transform: translateY(-3px);
    }
    .feed-tag {
      background: var(--green);
      color: #fff;
      display: inline-block;
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 12px;
      margin-bottom: 10px;
    }
    .feed-title {
      font-size: 18px;
      font-weight: 600;
      color: var(--green-800);
      margin: 6px 0;
    }
    .feed-snippet {
      font-size: 14px;
      color: #374151;
      line-height: 1.5;
      margin-bottom: 12px;
    }
    .feed-readmore {
      font-size: 14px;
      color: var(--green);
      text-decoration: underline;
      margin-top: auto;
      cursor: pointer;
    }
    .feedback-section {
      background: var(--bg);
    }
    .feedback-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .feedback-header h1 {
      color: var(--green-800);
      font-size: 32px;
    }
    .feedback-form {
      max-width: 640px;
      margin: auto;
      background: #fff;
      padding: 30px;
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    .feedback-form .input {
      margin-bottom: 16px;
    }
    .feedback-form textarea {
      width: 100%;
      padding: 14px;
      border: 1px solid #d1d5db;
      border-radius: 12px;
      font-size: 15px;
      resize: vertical;
      min-height: 120px;
    }
    .feedback-form textarea:focus {
      border-color: var(--green);
      outline: none;
      box-shadow: 0 0 0 2px rgba(29,107,42,.2);
    }
    .top-stories {
      margin-top: 60px;
    }
    .story {
      background: #fff;
      padding: 20px;
      margin-bottom: 20px;
      border-left: 6px solid var(--green);
      border-radius: 12px;
      box-shadow: var(--shadow);
    }
    .story h3 {
      margin: 0;
      color: var(--green);
    }
    .story p {
      margin-top: 6px;
      color: var(--text);
      font-size: 15px;
    }

    .leaderboard-section {
      background: var(--bg);
    }
    .leaderboard-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .leaderboard-header h1 {
      font-size: 32px;
      color: var(--green-800);
    }
    .leaderboard-header p {
      color: var(--muted);
    }

    .responsive-table{
      width: 100%;
      overflow: overlay;
    }

    .leaderboard-table {
      max-width: 800px;
      margin: auto;
      background: #fff;
      border-radius: 16px;
      box-shadow: var(--shadow);
      overflow: hidden;
      border-collapse: collapse;
    }
    .leaderboard-table th, .leaderboard-table td {
      padding: 14px 20px;
      text-align: left;
    }
    .leaderboard-table thead {
      background: var(--green-800);
      color: #fff;
    }
    .leaderboard-table tbody tr:nth-child(even) {
      background: #f1f5f9;
    }
    .leaderboard-table tbody tr:hover {
      background: #e5f8eb;
    }
    .badge {
      background: gold;
      color: #000;
      padding: 4px 10px;
      font-weight: 600;
      border-radius: 20px;
      font-size: 13px;
    }

    .award-announcement {
      margin-top: 50px;
      background: var(--green-800);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      border-radius: 16px;
    }
    .award-announcement h2 {
      font-size: 26px;
      margin: 0 0 10px;
    }
    .award-announcement p {
      max-width: 600px;
      margin: auto;
    }
    .award-announcement img {
      width: 60px;
      margin-top: 14px;
    }

    @media(max-width:600px) {
      .leaderboard-table th, .leaderboard-table td {
        padding: 10px;
        font-size: 14px;
      }
    }

    .map-header {
      text-align: center;
      max-width: 720px;
      margin: auto;
      margin-bottom: 30px;
    }

    .map-header h1 {
      color: var(--green-800);
      margin-bottom: 10px;
    }

    .map-search {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin: 20px auto;
      flex-wrap: wrap;
    }

    .map-search input {
      padding: 12px 14px;
      border-radius: 50px;
      border: 1px solid #ccc;
      min-width: 260px;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin-top: 40px;
    }

    .stat-card {
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      box-shadow: var(--shadow);
      text-align: center;
    }

    .stat-card h3 {
      color: var(--green-800);
      margin-bottom: 6px;
    }

    .map-canvas {
      height: 420px;
      width: 100%;
      background: url('assets/india-map-placeholder.jpg') center/contain no-repeat;
      background-color: #f0f0f0;
      border-radius: 16px;
      box-shadow: var(--shadow);
      margin: 0 auto;
      max-width: 1000px;
    }

    .note {
      text-align: center;
      margin-top: 14px;
      font-size: 14px;
      color: #6b7280;
    }

    .cta-banner {
      margin-top: 60px;
      background: var(--green-800);
      color: white;
      padding: 30px 20px;
      border-radius: 20px;
      text-align: center;
    }

    .cta-banner h2 {
      margin-bottom: 10px;
    }

    @media (max-width: 600px) {
      .map-search input {
        width: 100%;
      }
    }
    .audio-player {
      background: #e5ffe9;
      border: 2px solid var(--green);
      border-radius: 20px;
      padding: 24px 40px;
      box-shadow: var(--shadow);
      max-width: 520px;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .audio-player audio {
      width: 100%;
      outline-offset: 4px;
      border-radius: 12px;
    }
    .audio-description {
      font-size: 1rem;
      color: var(--green-800);
      font-weight: 600;
      text-align: center;
    }
    footer.site-footer {
      background: #0b2a18;
      color: #cbd5e1;
      text-align: center;
      padding: 16px 0;
      margin-top: auto;
      font-size: 14px;
    }
    @media (max-width: 600px) {
      h1 {
        font-size: 2rem;
      }
      .audio-player {
        padding: 20px 24px;
      }
    }

    .refer-section {
      background: var(--bg);
    }
    .refer-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .refer-header h1 {
      font-size: 32px;
      color: var(--green-800);
    }
    .refer-header p {
      color: var(--muted);
    }

    .refer-box {
      max-width: 720px;
      margin: auto;
      background: #fff;
      border-radius: 18px;
      padding: 30px;
      box-shadow: var(--shadow);
    }

    .refer-box h2 {
      font-size: 22px;
      margin-bottom: 10px;
      color: var(--green);
    }

    .refer-list {
      list-style: none;
      padding-left: 0;
      margin: 0 0 20px;
    }

    .refer-list li {
      padding: 10px 0;
      border-bottom: 1px solid #eee;
      font-size: 16px;
    }

    .refer-benefit {
      background: #e6f4e9;
      padding: 16px;
      border-left: 4px solid var(--green);
      border-radius: 10px;
      font-size: 15px;
      margin-top: 20px;
    }

    .refer-form {
      margin-top: 30px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .refer-form input {
      padding: 12px;
      border-radius: 10px;
      border: 1px solid #ccc;
    }

    .refer-form button {
      background: var(--green);
      color: #fff;
      padding: 12px;
      border-radius: 30px;
      font-weight: 600;
      border: none;
      cursor: pointer;
    }

    @media(max-width:600px){
      .refer-header h1 {
        font-size: 26px;
      }
    }
    .news-section {
      background: var(--bg);
    }
    .news-header {
      text-align: center;
      margin-bottom: 30px;
    }
    .news-header h1 {
      color: var(--green-800);
      font-size: 32px;
    }
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .news-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: var(--shadow);
      overflow: hidden;
      transition: transform 0.2s;
    }
    .news-card:hover {
      transform: translateY(-4px);
    }
    .news-card img,
    .news-card video {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    .news-content {
      padding: 16px;
    }
    .news-content h3 {
      margin: 0;
      font-size: 18px;
      color: var(--green);
    }
    .news-content p {
      font-size: 14px;
      color: var(--muted);
      margin-top: 6px;
    }
    .hero-spotlight {
      background: var(--green-800);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
      margin-top: 40px;
      border-radius: 16px;
    }
    .hero-spotlight h2 {
      margin: 0;
      font-size: 26px;
    }
    .hero-spotlight p {
      margin: 10px auto;
      max-width: 600px;
    }
    .btn-outline {
      background: none;
      border: 2px solid #fff;
      color: #fff;
      padding: 10px 20px;
      border-radius: 50px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
    }
    .policy-section {
      margin-bottom: 30px;
    }
    .policy-section h2 {
      font-size: 20px;
      color: var(--green-800);
      margin-bottom: 8px;
    }
    .policy-section p {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text);
    }

    .track-form {
      max-width: 500px;
      margin: 0 auto 40px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .track-form input {
      flex: 1;
      padding: 12px 14px;
      border-radius: 50px;
      border: 1px solid #ccc;
      min-width: 240px;
    }
    .result-box {
      max-width: 700px;
      margin: 0 auto;
      background: #fff;
      padding: 24px;
      border-radius: 16px;
      box-shadow: var(--shadow);
    }
    .result-box h3 {
      margin-top: 0;
      color: var(--green-800);
    }
    .result-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .result-grid img {
      width: 100%;
      border-radius: 12px;
      object-fit: cover;
      max-height: 180px;
    }
    .tree-info {
      display: flex;
      flex-direction: column;
      gap: 0px;
    }
    .tree-info span {
      font-weight: 500;
    }
    @media (max-width: 600px) {
      .result-grid {
        grid-template-columns: 1fr;
      }
    }
    .terms-section {
      margin-bottom: 30px;
    }
    .terms-section h2 {
      font-size: 20px;
      color: var(--green-800);
      margin-bottom: 10px;
    }
    .terms-section p {
      font-size: 15px;
      line-height: 1.6;
      color: var(--text);
    }
    .terms-section ul {
      padding-left: 20px;
      margin: 10px 0;
    }
    .terms-section ul li {
      margin-bottom: 8px;
    }
    .tree-day {
      background: var(--bg);
    }
    .tree-day-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .tree-day-header h1 {
      font-size: 32px;
      color: var(--green-800);
    }
    .tree-card {
      max-width: 720px;
      margin: auto;
      background: #fff;
      border-radius: 18px;
      padding: 30px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .tree-card img {
      max-height: 280px;
      width: 100%;
      object-fit: cover;
      border-radius: 14px;
    }
    .tree-name {
      font-size: 26px;
      font-weight: 600;
      color: var(--green);
    }
    .tree-benefits {
      color: var(--text);
      font-size: 16px;
      line-height: 1.6;
    }
    .tip-box {
      background: #e6f4e9;
      padding: 14px;
      border-left: 4px solid var(--green);
      border-radius: 10px;
      font-size: 15px;
      color: #2f3e2d;
    }
    @media (max-width: 600px) {
      .tree-name { font-size: 22px; }
      .tree-benefits { font-size: 15px; }
    }


  .services-section {
    color: #d4e7d1;
    text-align: center;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .service-box {
    background-color: #1b2e22;
    border: 1px solid #2c4633;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-box h3 {
    color: #94f594;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .service-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #cde4c8;
  }

  .service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }


  .tree-pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination-list {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #1b2e22;
  border-radius: 6px;
  overflow: hidden;
}

.pagination-list li {
  padding: 10px 15px;
  font-size: 14px;
  color: #d4e7d1;
  border-right: 1px solid #2f4f39;
}

.pagination-list li:last-child {
  border-right: none;
}

.pagination-list li a {
  color: #aefca5;
  text-decoration: none;
  transition: color 0.3s;
}

.pagination-list li a:hover {
  color: #ffffff;
}

.pagination-list li.active {
  background-color: #aefca5;
  color: #0f1e12;
  font-weight: bold;
}

.pagination-list li.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.custom-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(2px);
    }

    .modal-content {
      background-color: #1b2e22;
      color: #d4e7d1;
      margin: 10% auto;
      padding: 30px;
      border-radius: 10px;
      max-width: 600px;
      position: relative;
      box-shadow: 0 0 15px #00000055;
    }

    .modal-content h2 {
      color: #aefca5;
      margin-bottom: 15px;
    }

    .modal-content p {
      font-size: 15px;
      line-height: 1.6;
      color: #cde4c8;
    }

    .close-modal {
      position: absolute;
      top: 12px; right: 20px;
      font-size: 24px;
      color: #aefca5;
      cursor: pointer;
      font-weight: bold;
    }

    .btn.btn-outline {
      background: transparent;
      border: 2px solid #aefca5;
      color: #aefca5;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn.btn-outline:hover {
      background: #aefca5;
      color: #0f1e12;
    }

.modal-box {
  background-color: #1b2e22;
  padding: 30px 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  color: #d4e7d1;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.3s ease-out;
}

.modal-box h2 {
  margin-top: 0;
  color: #aefca5;
  font-size: 22px;
  text-align: center;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-box input[type="text"],
.modal-box input[type="email"],
.modal-box textarea {
  background-color: #0f1e12;
  border: 1px solid #3a5541;
  padding: 10px;
  color: #d4e7d1;
  border-radius: 6px;
  width: 100%;
  font-size: 14px;
}

.modal-box textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
}

.modal-submit-btn {
  background-color: #aefca5;
  color: #0f1e12;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  width: 100%;
  font-size: 15px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-submit-btn:hover {
  background-color: #8cd88b;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #aefca5;
  cursor: pointer;
}

/* Animation */
@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 30, 18, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-loader .spinner {
  border: 6px solid #3a5541;
  border-top: 6px solid #aefca5;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.tracking-note {
  background-color: #1b2e22;
  border-left: 4px solid #aefca5;
  padding: 15px 20px;
  border-radius: 8px;
  color: #d4e7d1;
  font-size: 14.5px;
  line-height: 1.6;
}


.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(15, 30, 18, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background-color: #1b2e22e3;
  color: #d4e7d1;
  padding: 30px 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
  animation: fadeInUp 0.3s ease-out;
}

.modal-box h2 {
  margin-top: 0;
  color: #aefca5;
}

.modal-submit-btn {
  background-color: #aefca5;
  color: #0f1e12;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.modal-submit-btn:hover {
  background-color: #8cd88b;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  color: #aefca5;
  background: none;
  border: none;
  cursor: pointer;
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


.my-account {
  padding: 40px 0;
}

.account-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.account-sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.account-sidebar h3 {
  margin-top: 0;
  color: var(--green-800);
}

.account-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-sidebar li {
  margin: 12px 0;
}

.account-sidebar a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--green-800);
  font-weight: 500;
  transition: background 0.2s;
}

.account-sidebar a:hover,
.account-sidebar a.active {
  background: var(--green-800);
  color: #fff;
}

.account-content {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.account-section {
  display: none;
}

.account-section:target,
.account-section:first-of-type {
  display: block;
}

/* Table styling */
.table-wrapper {
  overflow-x: auto;
}

.tree-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.tree-table th,
.tree-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.tree-table th {
  background: var(--green-800);
  color: white;
  font-weight: 600;
}

.status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

.status.planted {
  background: #d1fae5;
  color: #065f46;
}

.status.pending {
  background: #fef3c7;
  color: #92400e;
}



.avatar {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #1d6b2a;
  cursor: pointer;
}


.account-main {
  flex: 1;
  min-width: 300px;
}

.profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.profile-card h2 {
  margin: 8px 0 4px;
  font-size: 22px;
  color: #1f2937;
}

.profile-card .email {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

.profile-card .details {
  text-align: left;
  margin: 0 auto;
  max-width: 400px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  padding-left: 0;
}

.profile-card .details li {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-green {
  background: #1d6b2a;
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 1px solid #ccc;
  color: #111;
}

.inline-form {
  display: inline;
}

/* Responsive */
@media(max-width: 768px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .account-sidebar ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .account-sidebar a {
    padding: 8px 12px;
  }
}


/* Language Switcher Container */
.lang-switcher-wrapper {
  position: relative;
  display: inline-block;
  z-index: 100;
  font-family: 'Poppins', sans-serif;
}

/* Button */
.lang-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  padding: 10px 14px;
  border:unset;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1E5631;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.lang-button:hover {
  background-color: #117a22a6; /* Tree Man lighter green */
  color: white;
  box-shadow: 0 6px 15px rgba(30, 86, 49, 0.4);
}

/* Flag and caret */
.lang-button img {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 1px solid #1E5631;
}

.lang-code {
  font-weight: 700;
}

.lang-caret {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #1E5631;
  transition: stroke 0.2s;
}

.lang-button:hover .lang-caret {
  stroke: white;
}

@media (max-width: 768px) {
  .brand {
    margin-left: 30px;
  }
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(30, 86, 49, 0.3);
  margin-top: 8px;
  padding: 8px 0;
  min-width: 200px;
  display: none;
  font-size: 15px;
  font-weight: 500;
  color: #2D2D2D;
  user-select: none;
  list-style-type: none;
}

/* Show class added by JS */
.lang-dropdown.show {
  display: block;
}

/* Language items */
.lang-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #2D2D2D;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  position: relative;
}

.lang-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 14px;
  border: 1px solid #2D7A2D;
  transition: border-color 0.25s;
}

.lang-item:hover {
  background-color: #DAF0DA; /* very light green background */
  color: #1E5631;
}

.lang-item:hover img {
  border-color: #1E5631;
}

/* Active Language */
.lang-item.active {
  background-color: #DAF0DA;
  font-weight: 700;
  color: #1E5631;
}

.lang-item.active img {
  border-color: #1E5631;
}

/* Checkmark */
.lang-item .checkmark {
  margin-left: auto;
  color: #1E5631;
  font-weight: 900;
  font-size: 18px;
  line-height: 0;
  user-select: none;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

.table-responsive table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px; /* ensures table has a scroll bar on small screens */
}

.table-responsive th,
.table-responsive td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Optional: Make table look stacked on very small screens */
@media (max-width: 600px) {
    .table-responsive table {
        min-width: unset;
    }
    .table-responsive thead {
        display: block;
    }
    .table-responsive tr {
        display: grid;
        margin-bottom: 10px;
        border-bottom: 2px solid #ccc;
    }
    .table-responsive td {
        display: flex;
        justify-content: start;
        padding: 8px;
        border: none;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    .table-responsive td::before {
        content: attr(data-label);
        font-weight: bold;
        flex-shrink: 0;
        margin-right: 10px;
    }
}