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

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --light: #f9fafb;
  --dark: #1f2937;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;

  --green-light: #d1fae5;
  --green-medium: #a7f3d0;
  --green-dark: #047857;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 15px;
  color: var(--dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--green-dark));
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(182deg, #ffffff 30%, #d6ffe3 100%);
}

.floating-icon {
  position: absolute;
  width: 90px;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
  z-index: 2;
}

.icon-1 {
  top: -5%;
  left: 10%;
  animation-delay: 0s;
}

.icon-2 {
  top: 40%;
  right: 0px;
  animation-delay: 2s;
}

.icon-3 {
  bottom: -5%;
  left: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 768px) {
  .floating-icon {
    display: none;
  }
}

.hero-wave-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: auto;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  background: linear-gradient(137deg, #225b4b 0%, #1befa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--green-dark));
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  position: relative;
}

.image-container {
  position: relative;
  display: inline-block;
}

.hero-main-image {
  width: 100%;
  max-width: 550px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  border: 8px solid white;
}

.image-decoration {
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  border-radius: var(--radius);
  opacity: 0.1;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--primary);
  font-size: 20px;
  text-decoration: none;
}

@keyframes bounce {
  0%,100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
}

.section-title.section-1 {
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 4px auto 48px;
  line-height: 1.6;
}

.about {
  background: white;
  position: relative;
  padding: 100px 0px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  flex: 2;
  text-align: justify;
}

.about-text p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-icon {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-icon i {
  font-size: 6rem;
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.8;
}

.benefits {
  background-color: #edfbf1;
  margin-bottom: 80px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--green-dark);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

.quotes {
  background: white;
}

.quote-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 62px;
  margin-top: 40px;
}

.quote {
  background: linear-gradient(135deg, #f0fdf4 0%, var(--green-light) 100%);
  padding: 32px 24px 56px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.quote.show:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-left: 4px solid var(--accent);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.quote-icon-top {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 56px;
  height: 56px;
  z-index: 3;
  opacity: 1;
}

.quote-icon-bottom {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 56px;
  height: 56px;
  z-index: 3;
  opacity: 1;
}

.quote-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.quote-text {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.quote-author {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-weight: 600;
  color: var(--green-dark);
  text-align: left;
  font-size: 0.9rem;
  z-index: 2;
}

/* Team Section */
.team-carousel-wrapper {
  position: relative;
  margin-top: 60px;
  z-index: 2;
}

.team-carousel {
  display: flex;
  gap: 28px;
  padding: 40px 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  z-index: 1;
}

/* Base card */
.team-card {
  flex: 0 0 calc(20% - 22px); /* 5 cards */
  background: white;
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.5;
  transform: scale(0.88) translateY(10px);
  filter: blur(1px);
  height: 220px;
}

/* Image */
.team-card img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Text */
.team-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.team-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== ACTIVE CARD ===== */
.team-card.active {
  opacity: 1;
  transform: scale(1.2) translateY(-8px);
  filter: blur(0);
  z-index: 3;
  height: 250px;
}

.team-card.active img {
  width: 120px;
  height: 120px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 5;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Keep buttons INSIDE container */
.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }

  .team-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .team-card {
    scroll-snap-align: center;
  }
}


/* Responsive */
@media (max-width: 1024px) {
  .team-card {
    flex: 0 0 40%;
  }
}

@media (max-width: 768px) {
  .team-carousel-wrapper {
    margin-top: 40px;
  }

  .team-carousel {
    padding: 30px 10px;
    gap: 16px;
  }

  .team-card {
    flex: 0 0 65%;
    padding: 20px 16px;
    height: auto;
    min-height: 200px;
  }

  .team-card img {
    width: 70px;
    height: 70px;
  }

  .team-card h3 {
    font-size: 0.95rem;
  }

  .team-card.active {
    transform: scale(1.08) translateY(-8px);
    height: auto;
  }

  .team-card.active img {
    width: 100px;
    height: 100px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .team {
    padding: 60px 0 150px 0;
    height: auto;
  }

  .team-carousel-wrapper {
    margin-top: 30px;
  }

  .team-carousel {
    padding: 20px 5px;
    gap: 12px;
  }

  .team-card {
    flex: 0 0 80%;
    padding: 16px 12px;
    height: auto;
    min-height: 180px;
    border-radius: 16px;
  }

  .team-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .team-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .team-card p {
    font-size: 0.8rem;
  }

  .team-card.active {
    transform: scale(1.05) translateY(-6px);
    height: auto;
  }

  .team-card.active img {
    width: 85px;
    height: 85px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: 45%;
  }

  .carousel-btn.prev {
    left: -40px;
  }

  .carousel-btn.next {
    right: -40px;
  }
}

.team {
  position: relative;
  background-color: #fff;
  padding: 80px 0 200px 0;
  height: 600px;
}

.team-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.team h2,
.team .team-list,
.section-title {
  position: relative;
  z-index: 2;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
  z-index: 3;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--green-light);
  z-index: 3;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.member-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.member-info {
  flex: 1;
}

.member-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.member-nim {
  color: var(--gray);
  font-size: 0.9rem;
}

footer {
  background: linear-gradient(135deg, var(--dark) 0%, #343a40 100%);
  color: white;
  padding: 30px 0 20px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #adb5bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tagline {
  font-size: 1.1rem;
  color: #adb5bd;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-social a,
.footer-social a:hover,
.footer-social a:focus,
.footer-social a:active {
  text-decoration: none !important;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  color: #6c757d;
  font-size: 0.95rem;
  margin-top: 30px;
}

.content-section {
  padding: 20px 20px;
  max-width: 820px;
  margin: auto;
  line-height: 1.9;
  background-color: white;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.content-section p {
  margin-bottom: 20px;
  color: #444;
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-icon i {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .naofyar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 70px 20px 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(209, 250, 229, 0.05) 100%);
  }

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

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 10px 24px;
    font-size: 13px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 36px;
  }

  .card-container,
  .quote-cards {
    grid-template-columns: 1fr;
  }

  .card,
  .quote {
    padding: 24px 20px;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .member-avatar {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

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

  .section-title {
    font-size: 1.5rem;
  }

  .hero-image img {
    max-width: 100%;
  }

  .footer-logo {
    font-size: 26px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--green-dark));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#scrollToTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

@media (max-width: 768px) {
  #scrollToTop {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
  }
}