* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {

    position: relative;
}
html, body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

body {
  background: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

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

.hero {
  background: linear-gradient(to right, #0099f7, #00c6ff);
  color: #fff;
  text-align: center;
  padding: 20px 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

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

.hero img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.btn-primary {
  background: #fff;
  color: #0099f7;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.features {
  padding: 60px 20px;
  background: #fff;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-box {
  flex: 1;
  min-width: 260px;
  background: #eef3f8;
  padding: 20px;
  border-radius: 8px;
}

.app-screenshot {
  padding: 40px 20px;
  text-align: center;
}

.app-screenshot img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about {
  background: #f0f2f5;
  padding: 60px 20px;
}

footer {
    position: relative;
    width: 100%;
  background: #1877F2;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  z-index: 10;
  margin-top:30px;
}

footer a {
  color: #ccc;
  text-decoration: underline;
}

a:visited {
  color: green;
  text-decoration: none;
}

footer a:visited {
    color: white;
}

a:hover {
  color: white;
  background-color: transparent;
  text-decoration: none;
}

a:active {
  color: yellow;
  background-color: transparent;
  text-decoration: none;
}

.carousel-container {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.carousel-slide {
  display: flex;
  animation: slide 15s infinite ease-in-out;
}

.carousel-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 10px;
}
@keyframes slide {
  0%, 30% {
    transform: translateX(0%);
  }
  33%, 63% {
    transform: translateX(-100%);
  }
  66%, 96% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0%);
  }
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

input, textarea, select {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}


button {
    width: 100%;
  padding: 12px 20px;
  background-color: #0099f7;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007acc;
}

button:focus {
  outline: none;
}

@media screen and (max-width: 600px) {
  .container {
    padding: 20px;
  }
  h1 {
    font-size: 24px;
  }
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo {
  height: 36px;
  margin-right: 10px;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.nav-link {
text-decoration: none;
}
.nav-area .nav-link {
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  
}

.nav-area .nav-link:hover {
  color: #0056b3;
}

/* Tambahan: agar konten tidak tertutup header */
body {
  padding-top: 60px; /* match header height */
}