@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  background: #f9f9f9;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;  /* Gunakan min-height alih-alih height 100% */
  margin: 0;
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none; /* Sembunyikan scrollbar di browser berbasis WebKit */
}

header {
  position: fixed; /* Jarak dari atas, bisa disesuaikan */
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  padding: 10px 60px; /* Padding agar lebih rapi */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 30px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Bayangan untuk efek kedalaman */
  z-index: 100;
  transition: box-shadow 0.3s ease, top 0.3s ease; /* Transisi halus saat scroll */
}

header.scrolled {
  font-size: 1em;
  font-weight: bolder;
  width: 90%;
  padding: 10px 20px;
  margin-top: 20px;
  transition: all 0.3s ease-in-out; /* Transisi halus */
  justify-content: space-between;
}

/* Styling untuk logo */
.logo1 {
  font-size: 2em;
  color: #359381;
  pointer-events: none;
}

/* Styling untuk navigasi */
.navigation {
  display: flex;
}

.navigation a {
  text-decoration: none;
  color: #359381;
  padding: 8px 20px;
  border-radius: 20px;
  margin: 0 12px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
  background: #359381;
  color: white;
}

.parallax {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 108vh;
}

#text {
  position: absolute;
  font-size: 5em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.parallax img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  margin-top: -35px;
}

.pengenalan {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  padding: 0 20% 10%;
  margin-top: 0.25vh;
  gap: 50px;
}

.deskripsi {
  position: absolute;
  top: 15%;
  left: 1%;
  width: 100%;
  pointer-events: none;
  z-index: 50;
  transition: 0.6s ease; /* Smooth transition */
  text-shadow: 2px 2px 4px rgba(0,  0,  0,  .2);
  font-size: 1.5em;
  color: #fff;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo {
  width: 120px;
  height: auto;
  margin-right: 10px;
  background: linear-gradient(
    90deg,
    #fbc02d,
    #f57c00
  ); /* Gradien dari kuning ke oranye */
  padding: 5px 10px;
  border-radius: 60px;
  color: #fff;
}

.nama-aplikasi {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffffff;
}

.highlight {
  background: linear-gradient(
    90deg,
    #fbc02d,
    #f57c00
  ); /* Gradien dari kuning ke oranye */
  padding: 5px;
  border-radius: 5px;
  color: #fff;
}

.button {
  display: inline-block;
  margin-top: 2vh;
  padding: 10px 20px;
  background-color: #0f375b;
  color: #fff;
  font-size: 0.75em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  pointer-events: auto;
}

.button:hover {
  background-color: #b71c1c;
}

.gambar-handphone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 50;
}

.phone1 {
  position: absolute;
  top: 10%;
  right: -200px;
  width: 10%;
  pointer-events: none;
  transition: 0.25s ease; /* Transisi untuk animasi smooth */
  z-index: 50;
}

.phone2 {
  position: absolute;
  top: 14%;
  right: -200px; /* Posisi awal di luar layar sebelah kiri */
  width: 9%;
  pointer-events: none;
  transition: 0.5s ease; /* Transisi untuk animasi smooth */
  z-index: 40;
}

.phone3 {
  position: absolute;
  top: 14%;
  right: -200px; /* Posisi awal di luar layar sebelah kiri */
  width: 9%;
  pointer-events: none;
  transition: 0.5s ease; /* Transisi untuk animasi smooth */
  z-index: 40;
}

.phone4 {
  position: absolute;
  top: 17%;
  right: -200px; /* Posisi awal di luar layar sebelah kiri */
  width: 8%;
  pointer-events: none;
  transition: 0.6s ease; /* Transisi untuk animasi smooth */
  z-index: 30;
}

.phone5 {
  position: absolute;
  top: 17%;
  right: -200px; /* Posisi awal di luar layar sebelah kiri */
  width: 8%;
  pointer-events: none;
  transition: 0.6s ease; /* Transisi untuk animasi smooth */
  z-index: 30;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  align-items: center;
  min-height: 85vh;
  margin: auto;
  background: linear-gradient(to bottom, #8EDBD1, #f9f9f9);
  position: relative;
}

.logo-section {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 10;
  transition: 0.6s ease;
  position: absolute;
  left: 1%;
  pointer-events: none;
  top: 0;
}

.logo-img img {
  width: 450px;
  height: auto;
  transition: transform 0.5s ease;
}

.content-section {
  flex: 1;
  padding: 20px;
  z-index: 5;
  transition: 0.6s ease;
  position: absolute;
  top: 0;
  right: 1%;
  width: 35%;
  pointer-events: none;
  text-align: justify;
}

.title {
  font-size: 2em;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.container h2 {
  font-size: 2em;
  color: #359381;
  margin-bottom: 10px;
}

.container p {
  font-size: 1em;
  color: #000000;
  font-weight: 400;
}

.feature-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* Pastikan semua elemen berada di tengah */
  justify-content: center;
  max-width: 100%;
  height: auto;
}

.feature-container.bg-1 {
  background-image: url("bg-3.png");
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
  height: 56.25vh;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.feature-container.bg-2 {
  background-image: url("bg-4.png");
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
  height: 56.25vh;
  margin-right: -8%;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.feature-title {
  font-size: 5em;
  font-weight: bold;
  text-align: center; /* Pastikan judul berada di tengah */
  margin-bottom: 30px;
  color: #000;
}

.feature-container {
  display: flex;
  justify-content: center; /* Pastikan elemen berada di tengah secara horizontal */
  align-items: center; /* Pastikan elemen rata tengah secara vertikal */
  flex-wrap: nowrap; /* Hindari elemen menumpuk, tapi jika mau responsif ubah ke "wrap" */
  width: 100%; /* Pastikan mengambil lebar penuh */
  margin-left: 1%;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center; /* Elemen gambar tetap di tengah */
  flex: 1; /* Memberi proporsi ruang yang sama */
  max-width: 300px; /* Batasi ukuran gambar */
}

.feature-image img {
  width: 100%;
  max-width: 150px; /* Batas maksimal ukuran gambar */
  height: auto;
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Konten tetap rata tengah */
  flex: 2; /* Beri proporsi ruang lebih untuk konten dibanding gambar */
  max-width: 600px; /* Batasi lebar konten */
}

.feature-label {
  display: inline-block;
  background-color: #359381;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  max-width: fit-content;
}

.feature-heading {
  font-size: 24px;
  color: #000;
  margin-top: 10px;
  margin-bottom: 20px;
  max-width: 75%;
}

.feature-list {
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
  color: #555;
}

.feature-list li {
  margin-bottom: 10px;
}

/* Prototype Section */
.prototype-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 82vh;
  padding: 20px;
  background-image: url("bg-5.png"); /* Ganti dengan path gambar Anda */
  background-size: cover; /* Pastikan gambar menutupi seluruh area */
  background-position: center; /* Gambar berada di tengah */
  background-repeat: no-repeat; /* Mencegah pengulangan gambar */
  margin-bottom: 0;
}

/* Prototype Container */
.prototype-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
}

/* Prototype Images */
.prototype-images {
  display: flex;
  align-items: center; /* Untuk memastikan gambar tetap sejajar secara vertikal */
}

.prototype-images img {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prototype-images img:first-child {
  transform: translateY(5px) scale(0.9); /* Naik sedikit dan perkecil */
  margin-right: -75px; /* Tumpang tindih ke kanan */
  z-index: 1; /* Di belakang */
}

.prototype-images img:nth-child(2) {
  z-index: 2; /* Di depan */
}

/* Hover Animation for Images */
.prototype-images img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Prototype Content */
.prototype-content {
  max-width: 500px;
  text-align: left;
}

.prototype-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: black;
  animation: fadeIn 5s ease-in-out infinite;
}

.prototype-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 600;
  animation: slideIn 5s linear infinite;
}

.documentation-link {
  font-weight: bold;
  color: #359351;
  text-decoration: none;
  transition: color 0.3s ease;
}

.documentation-link:hover {
  color: #216d3d;
}

/* Try Now Button */
.try-now-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f68026;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.try-now-button:hover {
  background-color: #e55a0b;
  transform: translateY(-3px);
}

/* Keyframes Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* Section Styling */
.concept-video {
  text-align: center;
  padding: 20px;
  min-height: 80vh;
  background-image: url("bg-6.png"); /* Ganti dengan path gambar Anda */
  background-size: fit; /* Pastikan gambar menutupi seluruh area */
  background-position: center; /* Gambar berada di tengah */
  background-repeat: repeat-x;
}

.concept-video h2 {
  font-size: 2rem;
  color: black; /* Warna teks utama */
  margin-bottom: 10px; /* Spasi kecil untuk mengatur jarak dengan "Concept Video" */
  font-weight: 700;
}

/* Floating Title Styling */
.floating-title {
  transform: translateY(20px);
  z-index: 2;
  top: 50%;
  left: 50%;
  z-index: 2;
  pointer-events: none; /* Agar tidak mengganggu interaksi pada video */
}

.floating-title span {
  font-size: 3rem;
  font-weight: 700;
  color: black; /* Warna oranye untuk teks */
  background-image: linear-gradient(135deg, #ffe8cc, #f57a00); /* Gradien dari krem ke oranye */
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Bayangan lebih gelap dan tegas */
  display: inline-block;
  border: 2.5px solid white; /* Border tipis warna putih */
}

/* Video Container Styling */
.video-container {
  z-index: 1;
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px; /* Sudut melengkung */
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Bayangan pada video */
}

.video-container iframe {
  width: 100%;
  height: 400px;
  border: none; /* Menghilangkan border default */
}

.design-process {
  padding: 20px;
  text-align: center;
  background: linear-gradient(to bottom, #b6dbd5, #f9f9f9);
}

.design-process .header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: black;
}

.design-process .header p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: black;
  font-weight: 600;
}

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

.cards-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 250px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  animation: float 3s infinite ease-in-out;
}

.card h3 {
  font-size: 1.2rem;
  color: #4a2e00;
  margin-bottom: 15px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Floating Animation for Images */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  margin: 5px;
  padding: 12px 20px;
  background-color: #359351;
  color: #fff;
  text-decoration: none;
  border-radius: 18px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
}

/* Button Hover Animation */
.btn:hover {
  background-color: #0b6827;
  transform: translateY(-3px);
}

.ending-section {
  padding: 50px 20px;
  background-image: url("ending.png"); /* Ganti dengan path gambar Anda */
  background-size: 100% auto; /* Sesuaikan lebar dengan layar, tinggi menyesuaikan */
  background-position: center; /* Gambar berada di tengah */
  background-repeat: no-repeat; /* Hindari pengulangan gambar */
  height: 53.2vh; /* Tetapkan tinggi agar sesuai dengan proporsi gambar */
  margin-bottom: 0;
}

.team-section {
  padding: 50px 20px;
  background-image: url("bg-7.png"); /* Ganti dengan path gambar Anda */
  min-height: 123vh;
  background-size: fit; /* Pastikan gambar menutupi seluruh area */
  background-position: center; /* Gambar berada di tengah */
  background-repeat: repeat-x; /* Mencegah pengulangan gambar */
  margin-bottom: 0;
  animation: fadeIn 1.5s ease-in; /* Efek fade-in untuk seluruh section */
}

.team-section h1 {
  font-size: 2.5em;
  color: black;
  margin-bottom: 30px;
  text-align: center;
}

/* Animasi fade-in untuk seluruh halaman */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Team Container */
.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Team Row */
.team-row {
  display: flex;
  justify-content: center;
  gap: 135px;
}

/* Team Member */
.team-member {
  width: 200px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards; /* Animasi fadeInUp */
  animation-delay: 0.3s;
}

/* Efek animasi fadeInUp */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efek hover pada foto tim */
.team-member:hover .member-photo {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Efek hover pada nama tim */
.team-member:hover h3 {
  color: #359351; /* Mengubah warna teks saat hover */
  transition: color 0.3s ease;
}

/* Menambahkan delay secara otomatis pada anggota tim di setiap baris */
.team-row .team-member:nth-child(1) {
  animation-delay: 0.3s; /* Delay untuk anggota pertama */
}

.team-row .team-member:nth-child(2) {
  animation-delay: 0.6s; /* Delay untuk anggota kedua */
}

.team-row .team-member:nth-child(3) {
  animation-delay: 0.9s; /* Delay untuk anggota ketiga */
}

/* Highlight the nickname with a custom style */
.highlight {
  font-weight: bold;
  color: white; /* Dark color for the nickname */
  font-style: italic; /* Optional: Make it italic */
}

.team-member p {
  margin: 2px 0;
  font-size: 0.9em;
  color: #666;
}

/* Efek parallax untuk latar belakang */
.team-section {
  background-attachment: fixed; /* Membuat gambar latar belakang tetap saat di-scroll */
  background-size: cover;
  background-position: center;
  min-height: 123vh;
}

/* Adjust layout for staggered effect */
.team-row:nth-child(2) .team-member {
  margin-top: -100px;
}


footer {
  background-color: #1a1a1a; /* Warna latar belakang gelap yang sleek */
  color: #fff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

footer .footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

footer h3, footer h4 {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 18px;
}

footer ul {
  list-style: none;
  padding: 0;
}

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

footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer ul li a:hover {
  color: #ff6347; /* Warna hover yang mencolok, bisa disesuaikan */
  text-decoration: none;
  transform: translateX(5px); /* Efek geser ringan saat hover */
}


footer hr {
  border-color: #444;
  margin: 30px 0;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

footer .footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

footer .footer-bottom p {
  margin: 0;
}

footer .footer-bottom a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a[href^="mailto:"] {
  color: #359351; /* Warna teks untuk email */
  text-decoration: none; /* Hilangkan garis bawah */
}

footer a[href^="mailto:"]:hover {
  color: #ff6347; /* Warna hover */
  text-decoration: underline;
}

footer .footer-bottom a:hover {
  color: #ff6347; /* Warna hover untuk footer-bottom link */
}
