/* ——— Basic reset + Poppins ——— */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f7fc;
  color: #333;
  box-sizing: border-box;
}

/* ——— Navbar ——— */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e3a8a, #10b981);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.navbar .nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  opacity: 0.7;
}

/* ——— Hamburger toggle (bars) ——— */
.nav-toggle {
  display: none;       /* hidden on desktop */
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 28px;
  height: 3px;
  background: #28a745;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ——— Animate into “X” ——— */
.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ——— Mobile styles ≤768px ——— */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;    /* now valid for gap */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    max-height: 400px; /* enough to show all items */
  }
  .nav-links li {
    margin: 1rem 0;
  }
  .nav-links li a {
    display: block;
    padding: 1rem;
    width: 100%;
    text-align: center;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }
  .nav-links li a.active,
  .nav-links li a:hover {
    background: #f5f8fa;
  }
}

/* ——— Global Headings & Text ——— */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* ——— Hero Section ——— */
.hero {
  background: linear-gradient(135deg, #28a745, #007bff);
  color: white;
  text-align: center;
  padding: 120px 20px;
  animation: fadeIn 1.5s ease-out;
}

/* ——— Sections ——— */
.section-light, .section-white {
  padding: 80px 20px;
  text-align: center;
}

.section-light {
  background: #f5f8fa;
}

.section-white {
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* ——— Features Boxes ——— */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.feature-box {
  background: linear-gradient(135deg, #ffffff, #e0f7fa);
  padding: 40px 30px;
  border-radius: 25px 5px 25px 5px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.4s, box-shadow 0.4s;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  border: 2px solid #28a745;
}

.feature-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ——— Buttons ——— */
.cta-button {
  background: #ffffff;
  color: #28a745;
  padding: 15px 35px;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 25px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  background: #007bff;
  color: #ffffff;
  transform: scale(1.08);
}

/* ——— Custom Lists ——— */
ul.custom-list {
  list-style: none;
  text-align: left;
  max-width: 800px;
  margin: auto;
  padding: 0;
}

ul.custom-list li {
  font-size: 18px;
  margin: 15px 0;
  position: relative;
  padding-left: 30px;
  opacity: 0;
  animation: fadeInUpList 1s forwards;
}

ul.custom-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #28a745;
}

/* ——— Tokenomics Chart ——— */
.tokenomics-chart {
  max-width: 600px;
  margin: 40px auto;
}

/* ——— Forms (ICO, Contact) ——— */
.form-card-stylish {
  background: linear-gradient(135deg, #f5fff5, #e6f7ff);
  border: 2px solid #28a745;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.contact-form-stylish .form-group {
  margin-bottom: 25px;
}

.contact-form-stylish input,
.contact-form-stylish select,
.contact-form-stylish textarea {
  width: 100%;
  padding: 15px;
  font-size: 17px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.contact-form-stylish input:focus,
.contact-form-stylish select:focus,
.contact-form-stylish textarea:focus {
  border-color: #28a745;
  box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
}

.form-button {
  text-align: center;
  margin-top: 30px;
}

.form-button .cta-button {
  font-size: 18px;
  padding: 14px 40px;
}

/* ——— Roadmap Section ——— */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* fixed */
  gap: 30px;
  margin-top: 50px;
  padding: 0 15px;
  box-sizing: border-box;
}

.roadmap-item {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.roadmap-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.roadmap-item h3 {
  color: #28a745;
  margin-top: 0;
}

.roadmap-item p {
  color: #555;
  margin-bottom: 0;
}

/* ——— Animations ——— */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeInUpList {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ——— Footer ——— */
.footer {
  background: #222;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-text {
  font-size: 14px;
}

.footer-social a {
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-social img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-social a:hover {
  transform: scale(1.2);
}

/* ─── Logo in brand green everywhere ─── */
.navbar .logo a {
  color: #28a745 !important;
}

/* ─── Active/hovered menu items in green ─── */
.navbar .nav-links li a.active,
.navbar .nav-links li a:hover {
  color: #28a745 !important;
  opacity: 1;    /* ensure full strength */
}

/* ─── Mobile menu links — keep them dark except the active one ─── */
@media (max-width: 768px) {
  .nav-links li a {
    color: #333 !important;
  }
  .nav-links li a.active {
    color: #28a745 !important;
  }
}

/* ─── Brand logo in green ─── */
.navbar .logo a {
  color: #28a745 !important;
}

/* ─── Desktop menu links ─── */
.navbar .nav-links li a {
  color: #000 !important;     /* black so it reads on your blue/green gradient */
  font-weight: 500;
}
.navbar .nav-links li a.active,
.navbar .nav-links li a:hover {
  color: #28a745 !important;  /* active & hover in brand green */
}

/* ─── Mobile menu tweaks ─── */
@media (max-width: 768px) {
  /* ensure menu can grow tall enough for *all* items */
  .nav-links.open {
    max-height: 600px !important;
  }
  /* tighten up the vertical spacing between items */
  .nav-links li {
    margin: 0.5rem 0 !important;
  }
  /* make each link fill the width so you can tap it easily */
  .nav-links li a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    color: #000 !important;
  }
  .nav-links li a.active {
    color: #28a745 !important;
  }
}
/* ─── Footer Css ─── */
.footer {
  background: #222;
  padding: 20px;
  color: #fff;
  text-align: center;
}

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

.footer-text {
  margin-bottom: 10px;
}

.footer-social a {
  margin: 0 10px;
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #1da1f2; /* Twitter blue, or change as needed */
}

