/* Global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #1f2937;
  background: #f9fafb;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1f2937;
}
.hero-logo-slider {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-slider img {
  position: absolute;
  width: 90%;
  max-width: 290px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-logo-slider img.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: white;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Desktop Nav */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.btn-primary {
  background: #f59e0b;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #d97706;
}

/* 🔹 Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  position: relative;
}

.burger div {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.4s;
}

/* 🔹 Animasi saat active */
.burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #4f46e5;
    flex-direction: column;
    width: 220px;
    text-align: right;
    padding: 1rem;
    display: none;
    border-bottom-left-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: flex;
  }
}


/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: linear-gradient(90deg, #e0e7ff, #fef3c7);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content img {
  max-width: 500px;
  border-radius: 12px;
}

/* Services */
/* ==== Services Section ==== */
.services {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #1e3a8a; /* Biru elegan */
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #6366f1, #22d3ee);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Card Container */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Card */
.card {
  background: white;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex: 1 1 280px;
  max-width: 320px;
  transition: 0.3s ease;
  border-top: 5px solid transparent;
}

.card:nth-child(1) {
  border-top-color: #6366f1; /* Ungu-Biru */
}
.card:nth-child(2) {
  border-top-color: #22c55e; /* Hijau */
}
.card:nth-child(3) {
  border-top-color: #f97316; /* Oranye */
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Hover Effects */
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* Portfolio */
.service-categories {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #6b7280;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column; /* Agar tombol bisa ditempatkan di bawah */
  justify-content: space-between; /* Biar jarak atas & bawah rapi */
  height: 350px; /* Samakan tinggi card */
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.category-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.category-card h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #1f2937;
}

.category-card p {
  font-size: 0.95rem;
  color: #6b7280;
  flex-grow: 1; /* Biar teks mengisi ruang di tengah */
}

.btn-category {
  margin-top: auto; /* Dorong tombol ke bawah */
  display: inline-block;
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-category:hover {
  background: linear-gradient(90deg, #4338ca, #4f46e5);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .category-card {
    height: auto; /* Mobile jangan fix height */
  }
}

/* Tombol CTA */
.btn-category {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-category:hover {
  background: linear-gradient(90deg, #4338ca, #4f46e5);
  transform: translateY(-3px);
}

/* Responsif */
@media (max-width: 768px) {
  .service-categories {
    padding: 60px 15px;
  }
  .category-card {
    padding: 20px 15px;
  }
}


/* Pricing */
.pricing {
  padding: 4rem 0;
  background: #eef2ff;
}

.pricing-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.price-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  transition: 0.3s;
  border: 2px solid transparent;
}

.price-card.featured {
  border-color: #4f46e5;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 1rem 0;
  color: #4f46e5;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.price-card li {
  margin: 0.5rem 0;
}

.price-card:hover {
  transform: translateY(-5px);
}

/* Contact */
.contact {
  padding: 4rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
