/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #009a67;
}

nav a {
  margin: 0 12px;
  font-size: 15px;
  color: #444;
  transition: 0.3s;
}

nav a:hover {
  color: #009a67;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== Hero Slider ===== */
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero-slider .swiper-slide {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;
  animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #009a67;
  color: #fff;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #007f56;
}

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

/* ===== SERVICES ===== */
.services {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

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

.services h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #009a67;
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item i {
  font-size: 48px;
  color: #009a67;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-item:hover i {
  color: #007f56;
}

.service-item h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ===== ACHIEVEMENTS ===== */
.achievements {
  background: #00a57a;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.ach-item h3 {
  font-size: 2.8rem;
  margin-bottom: 5px;
}

/* ===== NEWS ===== */
.news {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

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

.news h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #009a67;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-item {
  background: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-item h4 {
  font-size: 1.2rem;
  color: #333;
  margin: 15px 20px 10px;
}

.news-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 20px 25px;
}

/* ===== KOLOABORASI KAMI ===== */
.partners {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.partners h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #009a67;
}

.partnersSwiper {
  width: 100%;
  padding: 10px 0;
}

.partners .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners .swiper-slide img {
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partners .swiper-slide img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}


/* ===== CROWDFUNDING ===== */
.crowdfunding {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

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

.crowdfunding h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #009a67;
}

.crowd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.crowd-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.crowd-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.crowd-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.crowd-item h4 {
  font-size: 1.2rem;
  color: #333;
  margin: 20px 20px 10px;
}

.progress-bar {
  background: #e5e5e5;
  border-radius: 10px;
  margin: 10px 20px;
  height: 10px;
  overflow: hidden;
}

.progress {
  background: linear-gradient(90deg, #009a67, #00c087);
  height: 100%;
  width: 0;
  border-radius: 10px;
  transition: width 1.2s ease-in-out;
}

.crowd-item p {
  color: #555;
  font-size: 0.95rem;
  margin: 10px 20px 25px;
}

.btn-cta {
  display: inline-block;
  background: #009a67;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  margin: 0 20px 25px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #00b67a;
  box-shadow: 0 4px 10px rgba(0, 154, 103, 0.3);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
}

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

.footer ul li a {
  color: #ccc;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #009a67;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    text-align: center;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .partners .swiper-slide img {
    max-width: 100px;
  }
}

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

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 30px 20px;
  }

  .service-item i {
    font-size: 40px;
  }

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

  .news-item img {
    height: 180px;
  }

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

  .crowd-item img {
    height: 200px;
  }
}
