:root {
  --primary: #007ACC;
  --secondary: #002B7F;
  --accent: #FF6B00;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-blue: #e3f2fd;
  --gradient-primary: linear-gradient(135deg, #007ACC, #002B7F);
  --gradient-accent: linear-gradient(135deg, #FF6B00, #FF8C00);
  --shadow: 0 6px 18px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #000;
  background-color: #fff;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 40px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: linear-gradient(to bottom, #007ACC, #145cec);
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0 0 0 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  }

  nav a {
    margin: 0.75rem 0;
    font-size: 1rem;
  }

  nav.show {
    display: flex;
  }
}

header {
  position: sticky;
  top: 0;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header img {
  height: 60px;
  transition: var(--transition);
}

header img:hover {
  transform: scale(1.05);
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition);
}

header nav a:hover {
  color: #ffd700;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: var(--transition);
}

header nav a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(rgba(0, 42, 95, 0.7), rgba(0, 42, 95, 0.7)), url('../images/background.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, transparent 20%, var(--secondary) 150%);
  z-index: 0;
}

.hero h1,
.hero p,
.hero .cta-btns {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-btns {
  animation: fadeIn 1s ease 0.4s both;
}

.cta-btns button,
form button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin: 0.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-btns button:hover,
form button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 43, 127, 0.4);
}

.cta-btns button:active,
form button:active {
  transform: translateY(0);
}

.keunggulan {
  display: flex;
  justify-content: space-around;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.keunggulan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.keunggulan div {
  max-width: 250px;
  padding: 1.5rem;
  transition: var(--transition);
}

.keunggulan div:hover {
  transform: translateY(-10px);
}

.keunggulan div i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.keunggulan div p {
  font-size: 1.1rem;
  font-weight: 500;
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 1.5rem 0 1rem;
}

p, li {
  line-height: 1.8;
  font-size: 1.1rem;
}

.layanan, .galeri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.kartu {
  border: none;
  border-radius: 15px;
  padding: 2rem;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kartu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.kartu:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.kartu i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.kartu strong {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.galeri img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.galeri .kartu:hover img {
  transform: scale(1.05);
}

form {
  max-width: 700px;
  margin: 3rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

form input, form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2);
}

.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 2rem;
  margin: 4rem 0;
  border-radius: 15px;
}

.stat-item {
  padding: 1rem;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 1.2rem;
  font-weight: 500;
}

.testimonials {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  padding: 5rem 2rem;
  text-align: center;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 5rem;
  color: rgba(0, 122, 204, 0.1);
  font-family: Georgia, serif;
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent);
}

footer p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 0.5rem;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

#btnTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#btnTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 43, 127, 0.4);
}

#btnWA {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#btnWA:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.slider-klien {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 3rem auto;
  padding: 2rem 0;
}

.slider-klien-track {
  display: flex;
  width: max-content;
  animation: scrollKlien 30s linear infinite;
  gap: 3rem;
  align-items: center;
}

.slider-klien .klien-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 1rem;
}

.slider-klien .klien-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.7;
}

.slider-klien .klien-item img:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@keyframes scrollKlien {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

@media (max-width: 768px) {
  .keunggulan {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .layanan, .galeri {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 3rem 1rem;
  }
}