:root {
  --primary: #2d3562;
  --primary-dark: #1e2547;
  --accent: #d4af37;
  --white: #ffffff;
  --light-gray: #d9d9d9;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--primary);
  background-color: #f8f9fa;
  overflow-x: hidden;
}

.logo-font {
  font-family: "Cinzel", serif;
  font-weight: 300;
  color: var(--accent);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  border: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-accent:hover {
  background-color: #c19d2f;
  color: var(--white);
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

.usp-card {
  transition: transform 0.3s;
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.usp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.usp-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.usp-icon i {
  font-size: 30px;
  color: var(--white);
}

/* .hero-section {
  background: linear-gradient(rgba(45, 53, 98, 0.9), rgba(30, 37, 71, 0.95)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  padding: 150px 0 100px;
  color: var(--white);
} */

/* Default desktop */
.navbar-brand img {
  width: 150px;
  height: 45px;
  object-fit: contain;
  display: block;
}

/* Handphone (<576px) */
@media (max-width: 575px) {
  .navbar-brand img {
    width: 100px; /* Turunkan lebar */
    height: 30px; /* Sesuaikan tinggi */
  }
}

/* Phablet (576px–767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .navbar-brand img {
    width: 120px;
    height: 36px;
  }
}

.hero-section {
  position: relative;
  background: linear-gradient(rgba(45, 53, 98, 0.9), rgba(30, 37, 71, 0.95)),
    url("https://images.unsplash.com/...");
  background-size: cover;
  background-position: center;
  padding: 150px 0 0;
  color: var(--white);
  overflow: hidden;
}

/* Logo kecil di tengah atas */
.hero-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Wrapper konten flex */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Kolom teks */
.hero-text {
  flex: 2 2 400px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .text-accent {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* Kolom gambar */
.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: flex-end;
}

.hero-image .banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* (Opsional) dekorasi kilau di sudut */
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-section::before {
  top: -50px;
  left: -50px;
}

.hero-section::after {
  bottom: -50px;
  right: -50px;
}

@media (min-width: 320px) {
  .hero-text h1 {
    font-size: 2rem;
    font-weight: 700;
  }
}

/* Responsive tweak */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 0;
    text-align: center;
  }
  .hero-content .d-flex {
    flex-direction: column;
    align-items: center;
  }
  .hero-text {
    max-width: 100%;
    margin-bottom: 2rem;
    font-size: smaller;
  }
  /* .hero-image {
    justify-content: center;
    overflow: hidden;
  } */

  .hero-image {
    width: 100% !important;
    padding-bottom: 0 !important;
    overflow: hidden; /* crop apa saja yang keluar */
  }

  .hero-image .banner-img {
    display: block;
    margin: 0 auto !important;
    margin-bottom: 0px; /* angkat sedikit gambarnya agar rapat */
    padding-bottom: 0 !important;
    height: auto;
    object-fit: cover;
  }

  .section-title::after {
    width: 60px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

.banner-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.testimonial-card {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s;
}

.footer a:hover {
  color: var(--accent);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.product-highlight {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  border-radius: 15px;
  overflow: hidden;
  color: var(--white);
}

.product-image {
  max-height: 400px;
  object-fit: contain;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.benefit-icon {
  flex: 0 0 40px;
  color: var(--accent);
  font-size: 24px;
  margin-right: 15px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 8px 15px !important;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.cta-section {
  background: linear-gradient(to right, #f9f9f9, #f0f0f0);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  background-color: var(--primary-dark);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-grid-item {
  display: flex;
  align-items: flex-start;
}

.certificate-badge {
  height: 60px;
  margin: 10px;
}
