:root {
  --primary-color: #3b82f6;
  --secondary-color: #1d4ed8;
  --dark-color: #111827;
  --darker-color: #0f172a;
  --light-color: ##111827cc;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --accent-color: #60a5fa;
  --transition: 0.4s ease-in-out;
}

/* Global Styles */
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: var(--dark-color);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  transition: opacity var(--transition);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Transparent Effect on Scroll */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.8); /* Semi-transparent overlay */
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

body.scrolled::after {
  opacity: 1;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--darker-color), var(--dark-color));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-primary);
  transition: opacity var(--transition);
}

header h1 {
  font-size: 3.5rem;
  text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color);
}

/* Override Bootstrap Navbar */
.navbar {
  background-color: var(--dark-color) !important; /* Warna body */
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: 0.75rem 2rem;
  transition: all var(--transition);
}

.navbar.scrolled {
  background-color: var(
    --dark-color
  ) !important; /* Tetap menggunakan warna body saat di-scroll */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: color var(--transition);
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
}

/* Animasi untuk navbar saat scroll */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.animate {
  animation: fadeInDown 0.5s ease-out;
}

/* Sections */
section {
  padding: 5rem 2rem;
  transition: opacity var(--transition);
}

/* Hamburger Menu Toggle Animation */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1040; /* Ensure it stays above the sidebar */
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  display: inline-block;
  width: 24px;
  height: 18px;
}

.navbar-toggler-icon span {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  left: 0;
  transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.navbar-toggler-icon span:nth-child(1) {
  top: 0;
}
.navbar-toggler-icon span:nth-child(2) {
  top: 8px;
}
.navbar-toggler-icon span:nth-child(3) {
  bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 0;
    margin: 0 0.75rem;
    position: relative;
    transition: color var(--transition);
  }

  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition);
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }
}

/* Side Drawer Menu for Mobile */
@media (max-width: 991.98px) {
  /* Container styling */
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -50%; /* Start off-screen */
    width: 50%; /* Take up 50% of the screen width */
    height: 100vh;
    padding: 2rem 1.5rem;
    background-color: #0c1830e8;
    backdrop-filter: blur(10px); /* Add blur effect to background */
    z-index: 1030;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.17, 0.67, 0.24, 0.99);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  }

  /* Overlay that appears behind the sidebar */
  .navbar-collapse::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  /* Slide in animation when menu is shown */
  .navbar-collapse.show {
    right: 0;
  }

  /* Show overlay when menu is open */
  .navbar-collapse.show::before {
    opacity: 1;
    visibility: visible;
  }

  /* When collapsing, slide out to the right */
  .navbar-collapse.collapsing {
    height: 100vh !important;
    right: -50%;
    transition: right 0.4s cubic-bezier(0.17, 0.67, 0.24, 0.99);
  }

  /* Mobile nav items styling */
  .navbar-nav {
    margin-top: 2rem;
  }

  .navbar-nav .nav-item {
    opacity: 0;
    transform: translateX(30px);
    margin: 0.75rem 0;
  }

  /* Logo or branding at the top of the sidebar */
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Nav item animations when menu opens */
  .navbar-collapse.show .nav-item {
    animation: slideInRight 0.5s forwards;
  }

  /* Staggered animation for each nav item */
  .navbar-collapse.show .nav-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  .navbar-collapse.show .nav-item:nth-child(2) {
    animation-delay: 0.15s;
  }
  .navbar-collapse.show .nav-item:nth-child(3) {
    animation-delay: 0.2s;
  }
  .navbar-collapse.show .nav-item:nth-child(4) {
    animation-delay: 0.25s;
  }
  .navbar-collapse.show .nav-item:nth-child(5) {
    animation-delay: 0.3s;
  }
  .navbar-collapse.show .nav-item:nth-child(6) {
    animation-delay: 0.35s;
  }
  .navbar-collapse.show .nav-item:nth-child(7) {
    animation-delay: 0.4s;
  }
  .navbar-collapse.show .nav-item:nth-child(8) {
    animation-delay: 0.45s;
  }

  @keyframes slideInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Style the nav links */
  .navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    border-radius: 0.375rem;
    transition: all var(--transition);
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.75rem;
  }

  .navbar-nav .nav-link i {
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--primary-color);
  }

  /* Close button inside sidebar */
  .sidebar-close {
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: -0.5rem;
    transition: color var(--transition);
  }

  .sidebar-close:hover {
    color: var(--primary-color);
  }
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--primary-color);
}

.skill-box {
  background: var(--darker-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.skill-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

/* Footer */
footer {
  background: var(--darker-color);
  color: var(--text-primary);
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

/* Transparent Effect on Scroll */
body.scrolled header {
  opacity: 0.8;
}

body.scrolled .navbar {
  opacity: 0.9;
}

body.scrolled section {
  opacity: 0.9;
}

section.bg-light {
  background-color: var(--light-color) !important;
}

section.bg-dark {
  background-color: var(--darker-color) !important;
}

.section-title {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  font-size: 2.5rem;
  animation: halo 1s ease-in-out infinite alternate;
  font-weight: 600;
  text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

@keyframes halo {
  0% {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
  }
  100% {
    text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Skill Box */
.skill-box {
  background: var(--darker-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 25px;
  padding: 1rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.4s ease;
  animation: fadeInSkills 0.8s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.skill-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.6s ease-in-out;
}

.skill-box:hover::before {
  left: 100%;
}

.skill-box.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInSkills {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.skill-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.skill-icon:hover {
  transform: rotate(15deg) scale(1.1);
}

.skill-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.skill-box:hover h3 {
  color: var(--primary-color);
}

.skill-box p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Projects and Testimonials */
.project-card,
.testimonial-card {
  background: var(--darker-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  padding: 2rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition);
  animation: fadeInProjects 1s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.project-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.5s ease-in-out;
}

.project-card:hover::before,
.testimonial-card:hover::before {
  left: 100%;
}

.project-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

@keyframes fadeInProjects {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Form */
.form-control {
  background-color: var(--dark-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  background-color: var(--dark-color);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Button Base Styles */
.btn {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  color: white;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease-in-out;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

/* Outline Primary Button */
.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Outline Light Button */
.btn-outline-light {
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: var(--text-primary);
  color: var(--darker-color);
  transform: translateY(-3px);
}

/* Icon Styling */
.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1) translateY(-2px);
}
/* Footer */
footer {
  background: var(--darker-color);
  color: var(--text-primary);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.5s ease-in-out;
}

footer:hover::before {
  left: 100%;
}

footer .footer-logo {
  font-weight: bold;
  font-size: 2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

footer .footer-logo img {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 10px;
}

footer .footer-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

footer .social-links a {
  color: var(--text-primary);
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

footer .social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #111827cc, transparent);
  transition: left 0.5s ease-in-out;
}

footer .social-links a:hover::before {
  left: 100%;
}

footer .social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

footer .footer-bottom {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.testimonial-card {
  background: var(--darker-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.img-small {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
/* Hero Section */
header .btn-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

header .btn {
  position: relative;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

header .btn-primary {
  background: transparent; /* Menghilangkan background */
  border: 2px solid var(--primary-color); /* Menambahkan border */
  color: var(--primary-color); /* Mengubah warna teks */
  box-shadow: none; /* Menghilangkan shadow */
}

header .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.5s ease;
  z-index: -1;
}

header .btn-primary:hover::before {
  left: 100%;
}

header .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

header .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

header .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* Icons */
header .btn i {
  margin-right: 8px;
  background: linear-gradient(45deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

header .btn:hover i {
  transform: scale(1.2) rotate(10deg);
}
/* Icons */
header .btn i {
  margin-right: 8px;
  background: linear-gradient(45deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

header .btn:hover i {
  transform: scale(1.2) rotate(10deg);
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-text {
  font-size: 0.9rem;
  color: var(--primary-color, #3b82f6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
  0% {
    opacity: 0.8;
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color);
  }
}

.scroll-arrow-container svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
  animation: scrollAnimation 1.8s infinite ease-in-out;
}

@keyframes scrollAnimation {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }
}

/* Hover Effect */
.scroll-indicator:hover .scroll-text {
  animation: textGlowHover 1s infinite alternate;
}

@keyframes textGlowHover {
  0% {
    opacity: 1;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
  }
}

.scroll-indicator:hover svg {
  animation: scrollAnimationHover 1.5s infinite ease-in-out;
}

@keyframes scrollAnimationHover {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(15px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive and Mobile Visibility */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-text {
    font-size: 0.8rem;
  }

  .scroll-arrow-container svg {
    width: 20px;
    height: 20px;
  }
}

/* Scroll Hide Logic */
body.scrolled .scroll-indicator {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
}
/* About Section */
#about {
  background: var(--dark-color);
  color: var(--text-primary);
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--primary-color);
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-color);
}

.social-links .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-3px);
}

/* Animations */
.animate__animated {
  animation-duration: 1s;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-title {
  font-size: 3.5rem;
  text-align: center;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3),
    0 0 20px rgba(59, 130, 246, 0.2);
  animation: float 4s ease-in-out infinite;
  will-change: transform; /* Optimasi performa animasi */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.name-highlight {
  color: var(--primary-color);
  font-weight: bold;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    rgba(96, 165, 250, 0.8)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite alternate; /* Animasi lebih smooth */
  will-change: opacity, text-shadow; /* Optimasi performa animasi */
}

@keyframes textGlow {
  0% {
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.2),
      0 0 10px rgba(59, 130, 246, 0.1);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3),
      0 0 20px rgba(59, 130, 246, 0.2);
  }
}

.floating-action-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.floating-action-btn .btn {
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-action-btn .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* QR Code and Digital Card Section */
.qr-container {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  width: fit-content;
}

.digital-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.digital-card:hover {
  transform: translateY(-5px);
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(135deg, #212457 0%, #212248 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  padding: 20px;
  background: rgba(33, 34, 72, 0.9);
  color: white;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content.right {
  text-align: right;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: #5fb7da;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  color: #5fb7da;
  font-style: italic;
}

/* Service Cards */
.service-card {
  background: rgba(33, 34, 72, 0.9);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-features {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.service-features li {
  margin-bottom: 8px;
}

/* Media Queries for Responsive Timeline */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0%;
  }

  .timeline-content.right {
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    left: 21px;
    right: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
}

.live-chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5fb7da 0%, #212248 100%);
  color: white;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
}

.chat-container {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 320px;
  height: 400px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 15px;
  background: linear-gradient(135deg, #5fb7da 0%, #212248 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.chat-body {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f5f5f5;
}

.chat-message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  position: relative;
}

.chat-message p {
  margin: 0;
}

.chat-time {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  opacity: 0.7;
}

.chat-message.received {
  background-color: #e2e2e2;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.chat-message.sent {
  background: linear-gradient(135deg, #5fb7da 0%, #212248 100%);
  color: white;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
  margin-left: auto;
}

.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e2e2e2;
}

.chat-input input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  border-radius: 20px;
  background-color: #f5f5f5;
  margin-right: 10px;
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5fb7da 0%, #212248 100%);
  color: white;
  border: none;
  cursor: pointer;
}
