/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #ffffff;
  --text: #1e293b;
  --primary: #1e3a8a;
  --accent: #f97316;
  --card-bg: #f8fafc;
  --header-bg: rgba(30, 58, 138, 0.95);
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --header-height: 70px;
}
body.dark-mode {
  --bg: #0f172a;
  --text: #e2e8f0;
  --card-bg: #1e293b;
  --header-bg: rgba(15, 23, 42, 0.95);
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: var(--primary);
}
a:hover {
  text-decoration: underline;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card-bg);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

/* Sticky Header */
.header-sticky {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  color: white;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: var(--shadow);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-sticky h2 {
  font-weight: 700;
  font-size: 1.3rem;
}
.header-sticky nav a {
  color: white;
  margin-left: 20px;
  font-weight: 600;
}
.header-sticky nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  text-align: center;
  padding: 0 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--primary);
}

/* Values & Commitments */
.values-grid, .commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}
.value-card, .commit-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.value-card.appear, .commit-item.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.service-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}
.service-card.appear {
  opacity: 1;
  transform: scale(1);
}
.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Contact */
.contact-info {
  text-align: center;
  margin: 20px 0;
}
.contact-info a {
  color: var(--accent);
}
.btn-wa {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: var(--shadow);
}
.btn-wa:hover {
  background: #128C7E;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  color: var(--text);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .header-sticky nav {
    display: none;
  }
  .section {
    padding: 60px 15px;
  }
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.header-sticky h2 {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
  color: white;
}
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay gelap agar teks tetap terbaca */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1, .hero p {
  color: white;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin: 0 auto 30px;
}