:root {
  --primary: #0d6efd;
  --secondary: #6c757d;
  --dark: #212529;
  --light: #f8f9fa;
  --accent: #ff6b00;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

.navbar {
  padding: 8px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.5rem;
}

.navbar-dark .navbar-brand {
  color: white;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('images/1.svg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  padding-top: 80px;
}

section {
  padding: 80px 0;
}

.section-title {
  position: relative;
  margin-bottom: 10px;
  text-align: center;
}
.line {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto;
}

.section-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto;
}

.bg-light {
  background-color: #f9f9f9 !important;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.value-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.client-logo {
  height: 80px;
  margin: 15px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 110, 253, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

/* .btn-primary {
        background-color: var(--primary);
        border-color: var(--primary);
        padding: 10px 25px;
        border-radius: 30px;
        font-weight: 500;
      }

      .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
      } */

footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.social-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--accent);
}

.contact-info {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #25d366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.back-to-top.active {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #128c7e;
}

/* Gaya untuk tombol utama */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-primary:hover:before {
  left: 100%;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Gaya untuk tombol outline */
.btn-outline-light {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-width: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-light:hover {
  color: var(--primary) !important;
  background-color: white;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Gaya untuk tombol WhatsApp mengambang */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

.back-to-top.active {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.6);
  animation: none;
}

/* Animasi untuk tombol WhatsApp */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Efrik kedalaman untuk tombol di hero section */
.hero .btn {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero .btn:hover {
  transform: translateY(-5px);
}
