:root {
  --primary: #e4252b;
  --primary-dark: #E85A24;
  --secondary: #0F172A;
  --accent: #E85A24;
  --bg-body: #FAFBFC;
  --bg-card: #FFFFFF;
  --bg-muted: #F1F5F9;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* Layout Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 7rem 0; } }

/* Components */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background-color: var(--primary-dark); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) { .header-inner { height: 80px; } }

.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; text-decoration: none; display: flex; align-items: center; }
.logo span:first-child { color: var(--primary); }
.logo span:last-child { color: var(--text-main); margin-left: 0.25rem; }
@media (min-width: 640px) { .logo { font-size: 1.5rem; } }

.desktop-nav { display: none; }
@media (min-width: 1024px) { .desktop-nav { display: flex; align-items: center; gap: 0.25rem; } }

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover { 
  color: var(--primary); 
}

/* Style untuk menu yang aktif */
.nav-link.active {
  background-color: var(--primary);
  color: white;
}

.mobile-menu-btn { display: block; padding: 0.5rem; background: none; border: none; cursor: pointer; color: var(--text-main); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu { display: none; padding: 1rem; border-top: 1px solid var(--border-color); background: white; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border-color); }
.mobile-menu a:hover { color: var(--primary); }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.8) 100%); }

.hero-content { position: relative; color: white; padding: 8rem 0; }
.hero-badge { display: inline-block; background: var(--primary); padding: 0.375rem 1rem; border-radius: 0.125rem; margin-bottom: 1.5rem; }
.hero-badge span { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }

.hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 768px) { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }

.hero p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 48rem; }
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* Section Styling */
.section-title { font-size: 2rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.section-title-accent { color: var(--primary); }
.section-divider { width: 4rem; height: 0.25rem; background: var(--primary); border-radius: 999px; margin-bottom: 2rem; }

/* Grid Layouts */
.grid-2 { display: grid; gap: 3rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; } }

.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: 0.5rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.icon-box {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: background 0.3s, color 0.3s;
}
.card:hover .icon-box { background: var(--primary); color: white; }

/* Image Container */
.img-container { position: relative; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.img-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-container::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--primary); }

/* Lists */
.custom-list { list-style: none; }
.custom-list li { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--text-muted); }
.custom-list li::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }


/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--text-main); }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1); }

/* Footer */
footer { background: var(--secondary); color: white; padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.footer-title span { color: var(--primary); }
.footer-link { display: block; color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-link:hover { color: var(--primary); }

/* Toast */
.toast-container { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 9999; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.toast {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Service Card Progress Effect */
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    transparent
  );
  transition: left 0.6s ease;
}

.service-card:hover::after {
  left: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
}

.logo-img {
  display: flex;
  align-items: center;
}

.logo-img img {
  height: 42px;     /* tinggi ideal untuk navbar */
  width: auto;
  object-fit: contain;
  display: block;
}

.logo .hidden-sm {
  color: var(--text-main);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .logo-img img {
    height: 34px;
  }
}

header {
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
}

/* 2 Column Layout */
.projects-wrapper {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.projects-wrapper .project-card {
  flex: 1;
}

/* Project Card */
/* Card */
.project-card {
  background: #e4252b;
  color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden; /* supaya gambar ikut rounded */
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Image */
.project-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.project-content {
  padding: 2rem;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* List */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  display: flex;
  align-items: flex-start;   /* bukan center */
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.6;          /* kontrol tinggi teks */
  color: rgba(255,255,255,0.95);
}

/* Bullet */
.custom-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  margin-top: 8px;           /* ini kunci sejajarnya */
  flex-shrink: 0;
}

.custom-list2 {
  padding: 0;
  margin: 0;
}

.custom-list2 li {
  display: flex;
  align-items: flex-start;   /* bukan center */
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.6;          /* kontrol tinggi teks */
  color: #64748B;
}

/* Bullet */
.custom-list2 li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #e4252b;
  border-radius: 50%;
  margin-top: 8px;           /* ini kunci sejajarnya */
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .projects-wrapper {
    flex-direction: column;
  }
}

/* White Card Style */
.white-card {
  background: #ffffff;
  color: #111111;
  border-radius: 0.75rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  margin-top: 1.5rem; /* bisa 3rem / 5rem sesuai selera */
}

.white-card h3 {
  color: #111111;
}

.white-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Red Bullet Version */
.red-bullet li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #222;
}

.red-bullet li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #e4252b;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.map-wrapper {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}