:root {
  --primary: #003870;
  --secondary: #0056b3;
  --accent: #c00411;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: white;
  padding: 0px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  /* nempel saat di-scroll */
  top: 0;
  /* posisinya di paling atas */
  z-index: 1000;
  /* biar tetap di atas konten lain */
}

.logo {
  color: var(--primary);
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  padding: 50px 5%;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #f8f9fa 50%, #e9f2fb 50%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 500px;
}

.hero-image img {
  position: absolute;
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image .img-1 {
  top: 0;
  left: 0;
  z-index: 2;
}

.hero-image .img-2 {
  top: 50px;
  left: 50px;
  z-index: 1;
  opacity: 0.8;
}

/* Stats Section */
.stats {
  padding: 80px 5%;
  background: white;
  text-align: center;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: #555;
}

/* Features Section */
.features {
  padding: 100px 5%;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  background: #e9f2fb;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 100px 5%;
  background: white;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 300px;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.service-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link i {
  transition: transform 0.3s;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Testimonials */
.testimonials {
  padding: 100px 5%;
  background: #f8f9fa;
}

.swiper {
  width: 100%;
  max-width: 1000px;
  padding: 30px 0 50px;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 20px;
}

.testimonial-content {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--dark);
  margin-bottom: 5px;
}

.author-info p {
  color: #777;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  padding: 100px 5%;
  background: var(--primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    no-repeat center center;
  background-size: cover;
  opacity: 0.1;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
}

.btn-transparent {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-transparent:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-col p {
  color: #bbb;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
}

.footer-links i {
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    background: #f8f9fa;
    padding-top: 120px;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    height: auto;
    margin: 0 auto;
  }

  .hero-image img {
    position: static;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.whatsapp-fab:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}
