@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  scroll-behavior: smooth;
}


header {
  width: 100%;
  padding: 5px 10px;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background-color: rgba(255,255,255,0.85); /* lebih transparan */
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  margin-left: 30px;
  background-image: url('asset/logo1.png');
  width: 120px;
  height: 30px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(1.9); /* Perbesar logo */
  transform-origin: left center; /* Agar membesar ke kanan */
}

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

.nav-links a {
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0070f3;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 80px;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(0px) brightness(0.7);
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: white;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 12px 24px;
  background-color: #0070f3;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #005bd1;
}

.btn-secondary {
  padding: 12px 24px;
  border: 2px solid #0070f3;
  color: #0070f3;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e6f0ff;
}

.info-section {
  padding: 80px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 3s ease-out, transform 3s ease-out;
}

.info-section.visible {
  animation: fadeInUp 1.5s ease-out forwards;
}


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

.section-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.section-content p {
  font-size: 16px;
  color: #4a4a4a;
}

.footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #777;
}

section[id] {
  transition: 0.2s;
  scroll-margin-top: 100px;
}

.carousel {
  overflow: hidden;
  max-width: 1000px; /* Ganti sesuai kebutuhan, misalnya 400px, 500px, dst */
  margin: 20px auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.carousel-image {
  min-width: 100%;
  height: 500px; /* atau sesuai keinginan */
  object-fit: cover;
  object-position: top; /* Fokuskan tampilan pada bagian atas gambar */
  border-radius: 8px;
}

.btn-notepad {
  padding: 12px 24px;
  background-color: #22c55e;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, transform 0.25s, box-shadow 0.25s;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  margin-top: 40px;
}

.btn-notepad:hover {
  background-color: #16a34a;
  transform: scale(1.2);
  box-shadow: 0 6px 24px rgba(34,197,94,0.18);
}

.carousel-buttons {
  text-align: center;
  margin-top: 10px;
}

.carousel-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 14px;
  margin: 0 5px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
}

.carousel-btn:hover {
  background-color: #555;
}


.framework-logos {
  margin-top: 50px; /* Lebih banyak space dari paragraf */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; /* Lebih renggang antar logo */
  flex-wrap: wrap;
}

.framework-logos img {
  height: 80px; /* Logo diperbesar */
  max-height: 90px;
  transition: transform 0.3s ease;
}

.framework-logos img:hover {
  transform: scale(1.1);
}

.nav-toggle {
  display: none;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}

.contact-icons a img {
  width: 48px;
  height: 48px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.contact-icons a img:hover {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 4px 16px rgba(0,112,243,0.15);
  background: #f0f4ff;
}

@media (max-width: 480px) {
  .contact-icons {
    gap: 18px;
  }
  .contact-icons a img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) { 
  .nav-container {
    position: relative;
    padding: 12px 16px;
  }
  .logo {
    margin-left: 0;
    transform: scale(1.2);
    transition: transform 0.3s;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 32px;
    margin-left: auto;
    cursor: pointer;
    color: #0070f3;
    z-index: 201;
    transition: color 0.2s;
  }
  .nav-toggle:active,
  .nav-toggle:focus {
    color: #005bd1;
    outline: none;
  }
  .nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    display: none;
    padding: 12px 0;
    border-radius: 0 0 12px 12px;
    animation: dropdownFade 0.3s;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 18px;
    color: #2a2a2a;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links a:hover {
    background: #e6f0ff;
    color: #0070f3;
  }
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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