:root {
  --primary-color: #0d2442;
  /* Navy Blue */
  --secondary-color: #f8f9fa;
  --accent-color: #c5a059;
  /* Gold Accent - sesuai logo */
  --accent-light: #d4b06a;
  --text-dark: #333;
  --text-light: #fff;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  pointer-events: none;
}

/* Navbar Custom - dengan gradient putih ke navy */
.navbar {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 60%);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.navbar.scrolled {
  background: linear-gradient(135deg, #f5f5f5 0%, var(--primary-color) 50%);
  padding: 0.6rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* Logo styling */
.navbar-brand img {
  height: 35px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 30px;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-brand,
.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-light) !important;
}

/* Button di navbar */
.navbar .btn-outline-light {
  border-color: var(--text-light);
  color: var(--text-light) !important;
}

.navbar .btn-outline-light:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(13, 36, 66, 0.85), rgba(13, 36, 66, 0.9)),
    url("../img/bagunan.avif");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #163a5c 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  z-index: 100;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-color);
  font-weight: 700;
}

/* About Section */
#about {
  position: relative;
  z-index: 100;
}

/* Card Section */
.card-company {
  background: white;
  border: none;
  border-bottom: 5px solid var(--accent-color);
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-company:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--accent-light);
}

.icon-box {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.card-company:hover .icon-img {
  transform: scale(1.1);
}

/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #163a5c 50%, var(--accent-color) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  z-index: 100;
}

/* Footer */
footer {
  background-color: #08172b;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  position: relative;
  z-index: 100;
}

footer h5 {
  color: var(--accent-color);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {

  /* Navbar Mobile */
  .navbar-collapse {
    background: linear-gradient(180deg, var(--primary-color) 0%, #163a5c 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    height: auto;
    min-height: 70vh;
    padding: 100px 0 50px 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stat-item {
    margin-bottom: 2rem;
  }

  .card-company {
    padding: 2rem !important;
  }

  section {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }
}