* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  flex-shrink: 0; 
}

.nav-logo h2 {
  color: #6366f1;
  font-weight: 600;
  font-size: 1.5rem; 
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #6366f1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section - Tidak ada animasi */
.hero {
  min-height: 10vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid rgba(255, 255, 255, 0.3);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

/* About Section */
.about {
  background: #f8fafc;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat h3 {
  font-size: 2.5rem;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  font-weight: 500;
}

/* Services Section */
.services {
  background: #f8fafc;
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 700;
}

/* E-book Intro */
.ebook-intro {
  margin-bottom: 2rem;
  text-align: left;
}

.greeting {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ebook-title {
  font-size: 1.3rem;
  color: #6366f1;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.subtitle {
  color: #f59e0b;
  font-weight: 500;
  font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
  margin-bottom: 2rem;
  text-align: left;
}

.benefits-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid #6366f1;
}

.benefit-number {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.benefit-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Pricing Section */
.pricing-section {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 2px dashed #e2e8f0;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.guarantee {
  color: #10b981;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* Skills Section */
.skills {
  background: #f8fafc;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.skill-icon i {
  font-size: 2rem;
  color: white;
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.skill-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Perbaiki skill-progress container */
.skill-progress {
  background: #e2e8f0;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

/* Progress bar dengan animasi yang lebih baik */
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer effect untuk progress bar */
.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShimmer 2s ease-in-out infinite;
}


@keyframes progressShimmer {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

/* Tambahkan label persentase */
.skill-percentage {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.skill-percentage span:first-child {
  color: #333;
  font-weight: 500;
}

.skill-percentage span:last-child {
  color: #6366f1;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  color: #666;
  line-height: 1.6;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: #6366f1;
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: #333;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Experience/Timeline Section */
.experience,
#pengalaman {
  background: white;
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

/* Garis vertikal timeline */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #6366f1, #8b5cf6, #a78bfa);
  border-radius: 3px;
}

/* Memperbaiki transisi timeline-item agar lebih smooth */
.timeline-item {
  position: relative;
  padding: 20px 30px;
  margin-bottom: 30px;
  background: #f8fafc;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  /* Menambahkan will-change untuk optimasi GPU dan transisi lebih smooth */
  will-change: transform, box-shadow;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover effect lebih halus dengan translateX lebih kecil dan scale subtle */
.timeline-item:hover {
  transform: translateX(8px) scale(1.01);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.18);
  border-color: #6366f1;
  background: #ffffff;
}

/* Bulatan kecil di timeline */
/* Menambahkan transisi pada bulatan */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #6366f1, 0 3px 10px rgba(99, 102, 241, 0.3);
  z-index: 1;
  /* Menggunakan cubic-bezier yang sama untuk konsistensi */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animasi bulatan saat hover */
.timeline-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px #6366f1, 0 5px 15px rgba(99, 102, 241, 0.5);
}

/* Garis horizontal penghubung ke kotak */
/* Menambahkan transisi pada garis horizontal */
.timeline-item::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 36px;
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
  border-radius: 2px;
  /* Menggunakan cubic-bezier yang sama */
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Garis horizontal memanjang saat hover */
.timeline-item:hover::after {
  width: 30px;
  background: linear-gradient(90deg, #6366f1, #ec4899);
}

/* Menambahkan transisi pada semua elemen konten agar tidak kaku */
.timeline-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 700;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Warna h3 berubah saat hover */
.timeline-item:hover h3 {
  color: #6366f1;
}

/* Menambahkan transisi pada h4 */
.timeline-item h4 {
  font-size: 1rem;
  color: #6366f1;
  margin-bottom: 0.3rem;
  font-weight: 600;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item:hover h4 {
  color: #8b5cf6;
}

/* Menambahkan transisi pada timeline-date */
.timeline-date {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-weight: 500;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item:hover .timeline-date {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Menambahkan transisi pada paragraph */
.timeline-item p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item:hover p {
  color: #4b5563;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.cta .btn {
  background: white;
  color: #667eea;
  position: relative;
  z-index: 1;
}

.cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
  background: #f8fafc;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #666;
}

.contact-item i {
  width: 20px;
  color: #6366f1;
  margin-right: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Enhanced Footer Styles */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 20px 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 1rem;
}

/* Fixing truncated footer-links section and adding remaining CSS */

.footer-social {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-social-link:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #374151, transparent);
    margin: 2rem 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #f3f4f6;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: #7c7eeb;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-meta .privacy-policy a {
    color: #aaaaaa; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}


.footer-meta .privacy-policy a:hover {
    color: #ffffff; 
    text-decoration: underline; 
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
  transform: translateY(-5px);
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero tidak mendapat animasi scroll */
.hero.animate-on-scroll,
#home.animate-on-scroll,
section.home.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
  min-height: 10vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.0rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item::before {
    left: -36px;
    width: 14px;
    height: 14px;
  }

  .timeline-item::after {
    left: -22px;
    width: 22px;
  }

  .timeline-item {
    padding: 15px 20px;
  }

  .timeline-item h3 {
    font-size: 1.1rem;
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {

  .hero {
  min-height: 10vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    top: -10px;
    padding-top: 30px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 415px) {

  .hero {
  min-height: 10vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    top: -10px;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* STYLE TOMBOL AUTENTIKASI (LOGIN/REGISTER)              


.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem; 
    margin-left: 1rem;
}


.btn-signup {
    text-decoration: none;
    color: #cbd5e1; 
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.btn-signup:hover {
    color: #8b5cf6; 
}


.btn-signin {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: #6366f1; 
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    overflow: hidden; 
    transition: box-shadow 0.3s ease;
}

.btn-signin:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); 
}


.signin-text {
    position: relative;
    z-index: 2;
}


.btn-signin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px; 
    height: 120px;
    background-color: #4338ca; 
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0); 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}


.btn-signin:hover::before {
    transform: translate(-50%, -50%) scale(2); 
} */


/* ====================  STYLE DARK MODE  ================ */
                       

/* 1. Style Tombol Toggle Modern */
.toggle-container {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.slider .icon-sun, .slider .icon-moon {
  width: 16px;
  height: 16px;
  z-index: 1;
  transition: 0.4s;
}

.slider .icon-sun {
  color: #f59e0b; 
}

.slider .icon-moon {
  color: #64748b; 
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  z-index: 2;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Aksi ketika input di-check (Dark Mode On) */
input:checked + .slider {
  background-color: #6366f1;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

input:checked + .slider .icon-moon {
  color: #f8fafc;
}

/* 2. Variabel & Perubahan Warna Dark Mode */
body.dark-mode {
  background-color: #0f172a; /* Warna background utama gelap */
  color: #f8fafc; /* Warna teks utama terang */
}

/* Navbar Dark Mode */
body.dark-mode .navbar {
  background: rgba(33, 42, 61, 0.98) !important; 
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid #1e293b; 
}

body.dark-mode .nav-logo h2,
body.dark-mode .nav-link {
  color: #f8fafc !important;
}

body.dark-mode .nav-link:hover {
  color: #a28adb !important;
}

body.dark-mode .bar {
  background: #f8fafc;
}

/* Background Section Dark Mode */
body.dark-mode .about, 
body.dark-mode .services, 
body.dark-mode .skills, 
body.dark-mode .contact,
body.dark-mode .experience, 
body.dark-mode #pengalaman,
body.dark-mode .testimonials {
  background-color: #0f172a;
}

/* Background Card & Box Dark Mode */
body.dark-mode .stat,
body.dark-mode .service-card,
body.dark-mode .skill-card,
body.dark-mode .testimonial-card,
body.dark-mode .timeline-item,
body.dark-mode .contact-form,
body.dark-mode .benefit-item {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Teks dan Heading Dark Mode */
body.dark-mode .section-title,
body.dark-mode .stat h3,
body.dark-mode .service-card h3,
body.dark-mode .skill-card h3,
body.dark-mode .timeline-item h3,
body.dark-mode .contact-info h3,
body.dark-mode .benefits-title,
body.dark-mode .skill-percentage span:first-child {
  color: #f8fafc;
}

body.dark-mode .about-text p,
body.dark-mode .stat p,
body.dark-mode .skill-card p,
body.dark-mode .timeline-item p,
body.dark-mode .contact-info p,
body.dark-mode .contact-item,
body.dark-mode .testimonial-text,
body.dark-mode .author-info p,
body.dark-mode .benefit-content p,
body.dark-mode .greeting {
  color: #cbd5e1;
}

/* Input Form Dark Mode */
body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background-color: #0f172a;
  color: #f8fafc;
  border-color: #334155;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
  border-color: #8b5cf6;
}

/* Responsif Hamburger Menu Dark Mode */
@media (max-width: 768px) {
  body.dark-mode .nav-menu {
    background-color: #0f172a;
    border-top: 1px solid #334155;
  }
  .toggle-container {
    justify-content: center;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}


/* FOTO GALERI */

       @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes zoomIn {
            from { opacity: 0; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1); }
        }
        
        .fade-in {
            animation: fadeIn 0.6s ease-out forwards;
        }
        
        .zoom-in {
            animation: zoomIn 0.3s ease-out forwards;
        }
        
        .gallery-item {
            opacity: 0;
            animation: fadeIn 0.6s ease-out forwards;
        }
        
        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.2s; }
        .gallery-item:nth-child(3) { animation-delay: 0.3s; }
        .gallery-item:nth-child(4) { animation-delay: 0.4s; }
        .gallery-item:nth-child(5) { animation-delay: 0.5s; }
        .gallery-item:nth-child(6) { animation-delay: 0.6s; }
        .gallery-item:nth-child(7) { animation-delay: 0.7s; }
        .gallery-item:nth-child(8) { animation-delay: 0.8s; }
        .gallery-item:nth-child(9) { animation-delay: 0.9s; }
        
        .image-overlay {
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
        }
        
        /* Custom scrollbar for modal */
        .custom-scrollbar::-webkit-scrollbar {
            width: 8px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.1);
            border-radius: 4px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 4px;
        }
        
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.5);
        }
