* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .logo a:hover {
  color: #2d3748;
}


.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  display: flex;
}

.logo-container {
  width: 45px;
  margin-right: 8px;
  display: flex;
}

.logo-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-text {
  font-size: 1.75rem;
  margin-inline-start: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2d3748;
}

.join-btn {
  background: #2d3748;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.join-btn:hover {
  background: #1a202c;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 2px;
  background: #2d3748;
  margin: 3px 0;
  transition: 0.3s;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.bento-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.bento-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 2.5rem 0;
  background: white;
}

.hero-grid {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "main card1"
    "main card2";
}

.hero-main {
  grid-area: main;
  background: #f7fafc;
  border: 1px solid #e2e8f0;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
  line-height: 1.2;
}

.hero-main p {
  font-size: 1rem;
  color: #4a5568;
}

.hero-main .tagline {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.hero-main p {
  margin-bottom: 1.5rem;
}

.icon.rocket {
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.icon.rocket:hover {
  transform: translate(10px, -10px) scale(1.2);
  opacity: 0.8;
}

.icon.money{
  transition: transform 0.5s ease;
  cursor: pointer;
  transform-style: preserve-3d;
}

.icon.money:hover {
  animation: flutter 0.6s ease forwards;
}

@keyframes flutter {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(10deg); }
  50%  { transform: rotate(-10deg); }
  75%  { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

.cta-btn {
  background: #2d3748;
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  align-self: flex-start;
}

.cta-btn:hover {
  background: #1a202c;
  transform: translateY(-1px);
}

.hero-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-card:first-of-type {
  grid-area: card1;
}

.hero-card:last-of-type {
  grid-area: card2;
}

.icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.hero-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #2d3748;
}

.hero-card p {
  color: #718096;
  font-size: 0.9rem;
}

/* About Section */
.about {
  padding: 2.5rem 0;
  background: #f7fafc;
}

.about-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "about-main about-main"
    "consumers farmers"
    "community community";
}

.about-main {
  grid-area: about-main;
  background: white;
}

.about-main h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a202c;
  text-align: center;
}

.about-main p {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 1rem;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-main .img-container {
  margin: 2rem;
  width: calc(50% - 4rem);
}

.about-main img {
  width: 100%;
  object-fit: contain;
}

.about-main .text-container {
  width: 50%;
}

.about-main .slogan {
  font-weight: bold;
}

.for-consumers {
  grid-area: consumers;
}

.for-farmers {
  grid-area: farmers;
}

.community-impact {
  grid-area: community;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.emoji {
  font-size: 1.25rem;
}

.section-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
}

.bento-item p {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  padding: 2.5rem 0;
  background: white;
}

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

.contact-main h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.contact-main p {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.contact-btn {
  background: transparent;
  color: #2d3748;
  border: 2px solid #2d3748;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.contact-btn:hover {
  background: #2d3748;
  color: white;
  transform: translateY(-1px);
}

/* .join-card {
  background: #f7fafc;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.join-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.join-card p {
  color: #4a5568;
  margin-bottom: 1.25rem;
} */

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 1.5rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 0.75rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 912px) {
  .about-container {
    flex-direction: column-reverse;
  }

  .about-main .img-container {
    margin: 2rem auto;
    width: 75%;
  }

  .about-main .text-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: right 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .join-btn {
    margin-top: 1rem;
    width: 80%;
  }

  .cta-btn {
    align-self: center;
  }

  /* Hamburger Animation */
  .mobile-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "card1"
      "card2";
  }

  .hero-main {
    text-align: center;
    h1 {
      font-size: 1.9rem;
    }
  }

  .about {
    padding: 2rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "about-main"
      "consumers"
      "farmers"
      "community";
  }

  .contact {
    padding: 2rem 0;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .container {
    padding: 0 1rem;
  }

  .bento-item {
    padding: 1.25rem;
  }

  .bento-grid {
    gap: 0.75rem;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .hero-main h1 {
    font-size: 1.7rem;
  }

  .about-main h2,
  .contact-main h2 {
    font-size: 1.6rem;
  }

  .about-main .img-container {
    width: 100%;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }

  .bento-item {
    padding: 1rem;
  }
}
