/* ===================================================
   GOOGLE FONT
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================================
   RESET
=================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  background: #f8fafc;
  color: #333;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===================================================
   WARNA
=================================================== */

:root {
  --primary: #0c8a43;
  --secondary: #ff9800;
  --dark: #183153;
  --white: #ffffff;
  --gray: #666;
  --light: #f5f5f5;

  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ===================================================
   NAVBAR
=================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 8%;

  transition: 0.4s;
}

nav.sticky {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 140px;
  height: 120px;
  object-fit: contain;
}

.logo h2 {
  color: var(--primary);
  font-size: 24px;
}

.logo p {
  font-size: 13px;
  color: #777;
}

.menu {
  display: flex;
  gap: 35px;
}

.menu a {
  font-size: 16px;
  font-weight: 500;

  color: #333;

  transition: 0.3s;

  position: relative;
}

.menu a:hover {
  color: var(--primary);
}

.menu a::after {
  content: '';

  position: absolute;

  width: 0%;

  height: 3px;

  left: 0;

  bottom: -8px;

  background: var(--secondary);

  transition: 0.4s;

  border-radius: 20px;
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  font-size: 28px;

  cursor: pointer;
}

/* ===================================================
 HERO
=================================================== */

.hero {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 140px 8% 80px;

  min-height: 100vh;

  background: linear-gradient(135deg, #ffffff, #f2fff5);

  gap: 70px;
}

.hero-text {
  flex: 1;

  animation: fadeLeft 1s;
}

.hero-text h4 {
  color: var(--secondary);

  font-size: 20px;

  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 58px;

  line-height: 70px;

  margin-bottom: 20px;

  font-weight: 700;
}

.hero-text span {
  color: var(--primary);
}

.hero-text p {
  color: #666;

  line-height: 32px;

  margin-bottom: 35px;

  font-size: 17px;
}

/* BUTTON */

.hero-button {
  display: flex;

  gap: 20px;

  margin-bottom: 50px;
}

.btn {
  padding: 16px 35px;

  background: var(--primary);

  color: #fff;

  border-radius: 50px;

  font-weight: 600;

  transition: 0.4s;

  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-5px);

  background: #0aa550;
}

.btn2 {
  padding: 16px 35px;

  border: 2px solid var(--primary);

  color: var(--primary);

  border-radius: 50px;

  font-weight: 600;

  transition: 0.4s;
}

.btn2:hover {
  background: var(--primary);

  color: white;
}

/* HERO INFO */

.hero-info {
  display: flex;

  gap: 40px;
}

.hero-info h3 {
  font-size: 32px;

  color: var(--primary);
}

.hero-info p {
  margin-top: 5px;

  font-size: 14px;
}

/* HERO IMAGE */

.hero-image {
  flex: 1;

  animation: fadeRight 1s;
}

.hero-image img {
  border-radius: 30px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

  transition: 0.4s;
}

.hero-image img:hover {
  transform: scale(1.03);
}

/* ===================================================
 ABOUT
=================================================== */

.about {
  padding: 100px 8%;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 70px;

  align-items: center;

  background: #fff;
}

.about-image img {
  border-radius: 25px;
  width: 300px;

  box-shadow: var(--shadow);
}

.about-text h5 {
  color: var(--secondary);

  font-size: 18px;

  margin-bottom: 15px;
}

.about-text h2 {
  font-size: 42px;

  margin-bottom: 20px;

  color: #183153;
}

.about-text p {
  line-height: 32px;

  color: #666;

  margin-bottom: 20px;
}

.about-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin-top: 30px;
}

.about-list div {
  background: #f7f7f7;

  padding: 18px;

  border-radius: 12px;

  transition: 0.4s;
}

.about-list div:hover {
  background: var(--primary);

  color: #fff;

  transform: translateY(-5px);
}

.about-list i {
  color: var(--secondary);

  margin-right: 10px;
}

/* ===================================================
 FEATURE
=================================================== */

.feature {
  padding: 100px 8%;

  background: #f9fafb;

  text-align: center;
}

.feature h5 {
  color: var(--secondary);

  margin-bottom: 10px;

  font-size: 18px;
}

.feature h2 {
  font-size: 42px;

  margin-bottom: 60px;
}

.feature-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 35px;
}

.feature-card {
  background: #fff;

  padding: 40px;

  border-radius: 20px;

  box-shadow: var(--shadow);

  transition: 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 55px;

  color: var(--primary);

  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  line-height: 28px;

  color: #666;
}

/* ===================================================
   PRODUK
=================================================== */

.produk {
  padding: 100px 8%;
  background: #ffffff;
}

.judul {
  text-align: center;
  margin-bottom: 60px;
}

.judul h5 {
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 10px;
}

.judul h2 {
  font-size: 42px;
  color: var(--dark);
}

.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.card {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: var(--shadow);

  transition: 0.4s;

  position: relative;
}

.card:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  height: 250px;

  object-fit: cover;

  transition: 0.5s;
}

.card:hover img {
  transform: scale(1.08);
}

.card h3 {
  padding: 20px 20px 10px;

  font-size: 23px;
}

.card p {
  padding: 0 20px;

  color: #666;

  line-height: 28px;
}

.card h4 {
  padding: 20px;

  color: var(--primary);

  font-size: 26px;
}

.card button {
  margin: 0 20px 25px;

  width: calc(100% - 40px);

  border: none;

  background: var(--primary);

  color: #fff;

  padding: 15px;

  border-radius: 50px;

  font-size: 16px;

  cursor: pointer;

  transition: 0.3s;
}

.card button:hover {
  background: var(--secondary);
}

/* ===================================================
 GALERI
=================================================== */

.galeri {
  padding: 100px 8%;

  background: #f8fafc;
}

.galeri-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 20px;
}

.galeri-item {
  overflow: hidden;

  border-radius: 18px;

  box-shadow: var(--shadow);
}

.galeri-item img {
  transition: 0.5s;

  height: 250px;

  object-fit: cover;
}

.galeri-item:hover img {
  transform: scale(1.1);
}

/* ===================================================
 TESTIMONI
=================================================== */

.testimoni {
  padding: 100px 8%;

  background: #fff;
}

.testimoni-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;
}

.testi {
  background: #f8fafc;

  padding: 35px;

  border-radius: 20px;

  box-shadow: var(--shadow);

  transition: 0.4s;
}

.testi:hover {
  transform: translateY(-8px);
}

.testi img {
  width: 80px;

  height: 80px;

  border-radius: 50%;

  object-fit: cover;

  margin-bottom: 20px;
}

.testi h3 {
  margin-bottom: 10px;
}

.testi .bintang {
  color: gold;

  margin-bottom: 15px;
}

.testi p {
  color: #666;

  line-height: 28px;
}

/* ===================================================
 KONTAK
=================================================== */

.kontak {
  padding: 100px 8%;

  background: #f8fafc;
}

.kontak-container {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 50px;
}

.info {
  background: #fff;

  padding: 40px;

  border-radius: 20px;

  box-shadow: var(--shadow);
}

.info h3 {
  margin-bottom: 25px;
}

.info p {
  margin-bottom: 18px;

  color: #555;
}

.info i {
  color: var(--primary);

  margin-right: 12px;
}

iframe {
  width: 100%;

  height: 400px;

  border-radius: 20px;

  border: none;

  box-shadow: var(--shadow);
}

/* ===================================================
 FOOTER
=================================================== */

footer {
  background: #0f172a;

  color: #fff;

  padding: 60px 8% 30px;
}

.footer-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 40px;
}

.footer-container h3 {
  margin-bottom: 20px;
}

.footer-container p {
  line-height: 30px;

  color: #ddd;
}

.footer-container ul li {
  margin-bottom: 12px;
}

.footer-container ul li a {
  color: #ddd;

  transition: 0.3s;
}

.footer-container ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  margin-top: 40px;

  padding-top: 20px;

  text-align: center;

  color: #bbb;
}

/* ===================================================
 WHATSAPP FLOAT
=================================================== */

.whatsapp {
  position: fixed;

  bottom: 25px;

  right: 25px;

  width: 65px;

  height: 65px;

  border-radius: 50%;

  background: #25d366;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 32px;

  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  transition: 0.4s;

  z-index: 999;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* ===================================================
 ANIMASI
=================================================== */

@keyframes fadeLeft {
  from {
    opacity: 0;

    transform: translateX(-60px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;

    transform: translateX(60px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.hidden {
  opacity: 0;

  transform: translateY(60px);

  transition: 1s;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

/* ===================================================
 RESPONSIVE
=================================================== */

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;

    text-align: center;
  }

  .hero-button {
    justify-content: center;
  }

  .hero-info {
    justify-content: center;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .kontak-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .menu {
    position: absolute;

    top: 80px;

    left: 0;

    width: 100%;

    background: #ffffff;

    flex-direction: column;

    align-items: center;

    gap: 25px;

    padding: 30px 0;

    display: none;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;

    cursor: pointer;

    font-size: 28px;
  }

  .menu li {
    width: 100%;

    text-align: center;
  }

  .hero h1 {
    font-size: 42px;

    line-height: 52px;
  }

  .hero {
    padding-top: 120px;
  }

  .about h2,
  .feature h2,
  .judul h2 {
    font-size: 32px;
  }

  .hero-info {
    flex-direction: column;

    gap: 20px;
  }

  .produk-container,
  .feature-container,
  .galeri-container,
  .testimoni-container {
    grid-template-columns: 1fr;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 70px;
    height: auto;
  }

  .logo h2 {
    font-size: 18px;
  }

  .logo p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 25px 60px;
  }

  .about,
  .feature,
  .produk,
  .galeri,
  .testimoni,
  .kontak {
    padding: 70px 25px;
  }

  .btn,
  .btn2 {
    width: 100%;

    text-align: center;
  }

  .hero-button {
    flex-direction: column;
  }

  .logo h2 {
    font-size: 20px;
  }
}

/* ===================================================
   SCROLLBAR
=================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0c8a43, #ff9800);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0c8a43;
}

/* ===================================================
 SECTION TITLE
=================================================== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--dark);
}

.section-title p {
  margin-top: 15px;
  color: #666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 30px;
}

/* ===================================================
 CARD HOVER EFFECT
=================================================== */

.card,
.feature-card,
.testi,
.info {
  transition: 0.4s;
}

.card:hover,
.feature-card:hover,
.testi:hover,
.info:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ===================================================
 IMAGE OVERLAY
=================================================== */

.overlay {
  position: relative;

  overflow: hidden;
}

.overlay::before {
  content: '';

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.35);

  opacity: 0;

  transition: 0.4s;
}

.overlay:hover::before {
  opacity: 1;
}

/* ===================================================
 SOCIAL ICON
=================================================== */

.social {
  display: flex;

  gap: 15px;

  margin-top: 20px;
}

.social a {
  width: 45px;

  height: 45px;

  border-radius: 50%;

  background: white;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--primary);

  box-shadow: var(--shadow);

  transition: 0.4s;
}

.social a:hover {
  background: var(--primary);

  color: white;
}

/* ===================================================
 BADGE
=================================================== */

.badge {
  position: absolute;

  top: 20px;

  left: 20px;

  background: #ff9800;

  color: white;

  padding: 8px 15px;

  border-radius: 30px;

  font-size: 13px;

  font-weight: 600;
}

/* ===================================================
 BUTTON HOVER
=================================================== */

button,
.btn {
  position: relative;

  overflow: hidden;
}

button::before,
.btn::before {
  content: '';

  position: absolute;

  width: 0;

  height: 100%;

  left: 0;

  top: 0;

  background: rgba(255, 255, 255, 0.2);

  transition: 0.4s;
}

button:hover::before,
.btn:hover::before {
  width: 100%;
}

/* ===================================================
 LOADING ANIMATION
=================================================== */

.loading {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* ===================================================
 FLOATING ANIMATION
=================================================== */

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ===================================================
 GRADIENT TEXT
=================================================== */

.gradient {
  background: linear-gradient(90deg, #0c8a43, #ff9800);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

/* ===================================================
 SHADOW UTILITIES
=================================================== */

.shadow {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.rounded {
  border-radius: 25px;
}

.text-center {
  text-align: center;
}

/* ===================================================
 GAP
=================================================== */

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}
