html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f7f7f7;
  color: #1f1f1f;
}

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

.navbar {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 90px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fcbf24;
}

/* HERO SECTION */
.hero {
  background-color: #fff;
  padding: 80px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.hero .text {
  flex: 1;
  min-width: 280px;
}

.hero .text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #1f1f1f;
}

.hero .text h1 .highlight {
  color: #fcbf24;
}

.hero .text p {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.8;
}

.hero .text p .highlight-yellow {
  color: #fcbf24;
  font-weight: 600;
}

.hero .image img {
  max-width: 300px;
  height: auto;
}

/* Wave SVG */
.wave-divider svg,
.curve-divider svg {
  display: block;
  width: 100%;
  height: 80px;
  margin: 0;
}

.about-us {
  background: #fcbf24;
  padding: 80px 20px;
  color: #f1f6fc;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.about-image {
  flex: 1;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.about-image img {
  width: 100%;
  max-width: 400px;
}

.about-text {
  flex: 1;
  animation: slideInRight 1s ease forwards;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: left;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.about-text p.reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Animasi */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.about-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* UNIT USAHA */
.unit-usaha {
  background: #f1f6fc;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.unit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.unit-box {
  background: #fff;
  max-width: 320px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, border 0.3s, box-shadow 0.3s;
}

.unit-logo {
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.unit-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  flex-grow: 1;
}

.unit-box-link:hover .unit-box {
  outline: 2px solid #ffc107;
  border-radius: 8px;
  transition: 0.3s;
  text-decoration: none !important;
}

.unit-box-link,
.unit-box-link:hover,
.unit-box-link:focus,
.unit-box-link:active {
  text-decoration: none !important;
  outline: none;
}

.unit-box:hover {
  border-color: #ffc107;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.unit-box.show {
  opacity: 1;
  transform: translateY(0);
}

.yellow-wave {
  position: relative;
  height: 100px;
  width: 100%;
  margin-top: -1px;
}

.yellow-wave svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

/* FOOTER */
.footer {
  background-color: #1c273c;
  background-image: url('puzzle-bg.png');
  background-repeat: repeat;
  background-size: contain;
  color: #ffffff;
  padding: 60px 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  margin: 5px 0;
  color: #d3d3d3;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
  color: #ffc107;
}

.logo-footer {
  width: 100px;
  margin-bottom: 1px;
}

.btn-get-started {
  background-color: #e0e5ed;
  color: #1c273c;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

a.btn-get-started {
  text-decoration: none !important;
  color: #1c273c !important;
  border: none !important;
  outline: none !important;
}

a.btn-get-started:hover {
  color: #1c273c !important;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #c2c7d0;
  box-sizing: border-box;
}

.social-icons i {
  font-size: 18px;
  margin-left: 15px;
  cursor: pointer;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .navbar nav {
    display: none;
  }

  .logo {
    height: 60px;
  }

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

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

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

  .about-text h2,
  .about-text p {
    text-align: center;
  }

  .about-image img {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .unit-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .unit-box {
    width: 90%;
    min-height: auto;
    padding: 16px;
  }

  .unit-box p {
    font-size: 14px;
    text-align: center;
  }

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

  .footer-col {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }
}
