* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --max-width: 1200px;
  --padding-x: 24px;
  --primary: #0a58ca;
  --accent: #ffb703;
  --dark: #0f172a;
}

body {
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 var(--padding-x);
}

section {
  padding: 96px 0;
}

.bg-light {
  background: #f7f7f7;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
}

h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin-top: 12px;
  border-radius: 2px;
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 40px;
}

.brand-text {
  font-size: 14px;
  line-height: 1.1;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
}

.mobile-menu a {
  padding: 16px;
  border-top: 1px solid #eee;
  text-decoration: none;
  color: #333;
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

/* Overlay gelap */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

/* SLIDE */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;                 
  align-items: center;           
  color: white;
  opacity: 0;
  transform: scale(1.05);        
  transition: 
    opacity 1s ease,
    transform 6s ease;           
}

/* SLIDE AKTIF */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);           
  z-index: 2;
}

/* ISI HERO */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: white;
  background: rgba(0,0,0,0.3);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }



/* PROFILE */
.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.profile-cards {
  display: grid;
  gap: 24px;
}

.profile-card {
  background: #f9f9f9;
  padding: 32px;
  border-radius: 16px;
  border-left: 5px solid #0a58ca;
}

.partner-slider {
  overflow: hidden;
  margin-top: 32px;
}

.partner-track {
  display: flex;
  gap: 24px;
  animation: partnerScroll 20s linear infinite;
}

.partner-card {
  min-width: 220px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
}

@keyframes partnerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* SERVICES */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}
.card,
.testimony-card,
.contact-card {
  border-top: 4px solid transparent;
}

.card:hover,
.testimony-card:hover,
.contact-card:hover {
  border-top-color: var(--primary);
}


/* TESTIMONY */
.testimony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.testimony-card {
  background: white;
  padding: 28px;
  border-radius: 14px;
}

/* GALLERY */
/* AUTO SLIDE GALLERY */
.gallery-wrapper {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 20px;
  animation: gallery-scroll 40s linear infinite;
}

.gallery-track img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* ANIMASI */
@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* PAUSE PAS HOVER (UX NICE TOUCH) */
.gallery-wrapper:hover .gallery-track {
  animation-play-state: paused;
}


.contact-card {
  background: #f9f9f9;
  padding: 32px;
  border-radius: 16px;
}

.contact-card.highlight {
  background: #0a58ca;
  color: white;
}

.contact-name {
  font-size: 22px;
  font-weight: 600;
}

.contact-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.contact-icons img {
  width: 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}


/* FLOATING WA */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 32px;
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }
  .gallery-track img {
    width: 220px;
    height: 160px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
