/* Solusi Mengunci Screen Agar Selalu Proposional / Tidak Menggeser Kanan Kiri */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* CSS Tambahan untuk Memastikan Element Navigasi Rata Tengah Vertikal Sempurna */
#mainHeader nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
}
#mainHeader .header-logo-text {
  display: inline-block;
  vertical-align: middle;
}
#navMenu {
  display: flex !important;
  align-items: center !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navMenu li {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle;
}
#navMenu li a.nav-link {
  display: flex !important;
  align-items: center !important;
  height: 100%;
}
.lang-switcher-wrapper {
  display: inline-flex !important;
  align-items: center !important;
}
#navMenu li .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  align-self: center;
}

/* ==========================================================================
   DESAIN BARU: ESTETIKA & ANIMASI MOBILE MENU (PROFESIONAL & PREMIUM)
   ========================================================================== */
.menu-toggle {
  cursor: pointer;
  z-index: 1001;
  display: none;
  transition: transform 0.3s ease;
}
/* Efek Hover di Button Toggle */
.menu-toggle:hover {
  transform: scale(1.05);
}
/* SVG Icon Sembunyikan Inline Default Mobile Icon */
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-active .icon-burger { display: none; }
.menu-toggle.is-active .icon-close { display: block; }

/* Menambahkan Style Khusus Icon di Menu List Mobile */
.nav-link .nav-icon {
  display: none; /* Sembunyikan di Desktop */
  width: 20px;
  height: 20px;
  stroke: #1d93d2;
  stroke-width: 2;
  fill: none;
}

/* Style Awal untuk Teks Logo Mobile (Sembunyikan di Desktop) */
.mobile-logo-brand {
  display: none;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block !important;
  }

  /* Desain Brand Teks Gradasi di Atas Menu Mobile */
  .mobile-logo-brand {
    display: block !important;
    width: 100%;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.05s;
  }
  
  /* Efek Gradasi Biru ke Putih Premium */
  .mobile-logo-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    background: linear-gradient(135deg, #1d93d2 0%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Desain Overlay Full-Screen Glassmorphism modern */
  #navMenu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.96) !important; /* Premium Dark Slate dengan opacity */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Mulai dari atas agar scrollable jika menu banyak */
    align-items: flex-start !important; 
    padding: 100px 40px 40px 40px !important;
    box-sizing: border-box;
    z-index: 1000;
    overflow-y: auto; /* Antisipasi screen kecil agar bisa di-scroll menu-nya */
    
    /* State Awal (Hidden) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* State Aktif (Muncul dengan Animasi) */
  #navMenu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  #navMenu.is-open .mobile-logo-brand {
    opacity: 1;
    transform: translateY(0);
  }

  #navMenu li {
    display: block !important;
    width: 100%;
    margin: 0 0 14px 0 !important;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Staggered Animation Effect untuk Menu Items */
  #navMenu.is-open li {
    opacity: 1;
    transform: translateX(0);
  }
  #navMenu.is-open li:nth-child(1) { transition-delay: 0.12s; }
  #navMenu.is-open li:nth-child(2) { transition-delay: 0.16s; }
  #navMenu.is-open li:nth-child(3) { transition-delay: 0.20s; }
  #navMenu.is-open li:nth-child(4) { transition-delay: 0.24s; }
  #navMenu.is-open li:nth-child(5) { transition-delay: 0.28s; }
  #navMenu.is-open li:nth-child(6) { transition-delay: 0.32s; }
  #navMenu.is-open li:nth-child(7) { transition-delay: 0.36s; }
  #navMenu.is-open li:nth-child(8) { transition-delay: 0.40s; }
  #navMenu.is-open li:nth-child(9) { transition-delay: 0.44s; }
  #navMenu.is-open li:nth-child(10) { transition-delay: 0.48s; }

  /* Style Link Menu saat Mobile */
  #navMenu li a.nav-link {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #f8fafc !important;
    padding: 8px 0 !important;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex !important;
    align-items: center !important;
    gap: 14px !important; /* Jarak antara Icon & Teks */
    transition: color 0.3s ease, padding-left 0.3s ease !important;
  }

  /* Tampilkan Icon Menunya di Mobile */
  .nav-link .nav-icon {
    display: inline-block !important;
  }

  /* Efek Hover/Active Link Mobile */
  #navMenu li a.nav-link:hover {
    color: #1d93d2 !important;
    padding-left: 8px !important;
  }
  
  /* Penyesuaian Switcher Bahasa & Tombol CTA di Mobile */
  #navMenu li.lang-switcher-wrapper {
    margin-top: 15px !important;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex !important;
  }
  .lang-select {
    background: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    width: 120px;
  }
  #navMenu li .btn {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: linear-gradient(90deg, #1d93d2, #0288d1) !important;
    box-shadow: 0 4px 15px rgba(29, 147, 210, 0.3) !important;
  }
}

/* Kustomisasi Pewarnaan Eksklusif Antar Section */
#intro { background-color: #ffffff !important; }
#about { background-color: #0f172a !important; } /* Dark Slate */
#portfolio { background-color: #f8fafc !important; } /* Soft Off-White */
#solutions { background-color: #1e293b !important; } /* Medium Dark Slate */
#pricing { background-color: #e0f2fe !important; } /* Elegant Light Blue Hint */
#why-website { background-color: #111827 !important; } /* Deep Dark */
#services { background-color: #1f2937 !important; } /* Charcoal Dark */
#latest-articles { background-color: #ffffff !important; } /* Pure Crisp White */
#faq { background-color: #f1f5f9 !important; } /* Slate Soft light */
#testimonials { background-color: #ffffff !important; }
#contact { background-color: #0b0f19 !important; }

/* Kustomisasi Estetika Kelas Industri untuk Section Artikel */
.premium-blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.premium-blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1d93d2, #0288d1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.premium-blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(29, 147, 210, 0.12) !important;
  border-color: rgba(29, 147, 210, 0.3) !important;
}
.premium-blog-card:hover::before {
  opacity: 1;
}
.premium-blog-card .blog-img-box img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-blog-card:hover .blog-img-box img {
  transform: scale(1.08);
}
.blog-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d93d2;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}
.premium-blog-card:hover .blog-read-more-btn {
  gap: 12px;
}

/* Pagination Style untuk Artikel */
.articles-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
  position: relative;
  z-index: 3;
}
.articles-pagination button {
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.articles-pagination button.active {
  background-color: #1d93d2;
  color: #ffffff;
  border-color: #1d93d2;
  box-shadow: 0 4px 14px rgba(29, 147, 210, 0.3);
}
.articles-pagination button:hover:not(.active) {
  background-color: #f1f5f9;
  color: #1d93d2;
}

/* --- CSS KUSTOM UTK SECTION PORTOFOLIO --- */
.portfolio.section-light .section-title h2 { color: #111111 !important; }
.portfolio.section-light .section-title p { color: #666666 !important; }
.portfolio.section-light .section-title span { color: #0288d1 !important; }

.portfolio.section-light::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 136, 209, 0.12) 0%, rgba(2, 136, 209, 0.03) 70%, transparent 100%);
  border-radius: 50%;
  top: 120px; 
  right: -150px;
  z-index: 1;
  pointer-events: none;
}

.portfolio.section-light::after {
  content: "";
  position: absolute;
  top: 160px; 
  left: -60px;
  width: 380px;
  height: 450px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400' fill='%230288d1'><line x1='40' y1='120' x2='120' y2='70' stroke='%230288d1' stroke-width='4'/><line x1='40' y1='120' x2='110' y2='190' stroke='%230288d1' stroke-width='4'/><line x1='120' y1='70' x2='220' y2='110' stroke='%230288d1' stroke-width='4'/><line x1='110' y1='190' x2='220' y2='110' stroke='%230288d1' stroke-width='4'/><line x1='110' y1='190' x2='80' y2='290' stroke='%230288d1' stroke-width='4'/><line x1='80' y1='290' x2='180' y2='340' stroke='%230288d1' stroke-width='4'/><line x1='220' y1='110' x2='180' y2='230' stroke='%230288d1' stroke-width='4'/><line x1='110' y1='190' x2='180' y2='230' stroke='%230288d1' stroke-width='4'/><line x1='180' y1='230' x2='180' y2='340' stroke='%230288d1' stroke-width='4'/><line x1='180' y1='230' x2='260' y2='280' stroke='%230288d1' stroke-width='4'/><circle cx='40' cy='120' r='10'/><circle cx='120' cy='70' r='15'/><circle cx='110' cy='190' r='18'/><circle cx='80' cy='290' r='12'/><circle cx='220' cy='110' r='22'/><circle cx='180' cy='230' r='14'/><circle cx='180' cy='340' r='20'/><circle cx='260' cy='280' r='9'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.portfolio.section-light .container { position: relative; z-index: 2; }

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px;
  border-radius: 50px;
  border: 1px solid #eef2f5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin: 0 auto 40px auto;
}

.portfolio.section-light .filter-btn {
  background: rgba(255, 255, 255, 0);
  color: #64748b;
  border: none;
  padding: 10px 28px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio.section-light .filter-btn .btn-text { transition: color 0.35s ease; }

.portfolio.section-light .filter-btn.active {
  background-color: #1d93d2;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(29, 147, 210, 0.3);
}

.portfolio.section-light .filter-btn.active .btn-text { color: #ffffff; }
.portfolio.section-light .filter-btn:not(.active):hover { background-color: #f1f5f9; color: #1d93d2; }

.portfolio-img-wrapper { position: relative; overflow: hidden; border-radius: 8px; }
.portfolio-img-wrapper img { transition: transform 0.4s ease; width: 100%; display: block; }
.portfolio-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 147, 210, 0.8);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.portfolio-img-wrapper::after {
  content: "Go Online";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid #ffffff;
  padding: 8px 20px;
  border-radius: 4px;
  opacity: 0;
  z-index: 3;
  transition: all 0.3s ease;
  pointer-events: none;
}
.portfolio-item:hover .portfolio-img-wrapper::before { opacity: 1; }
.portfolio-item:hover .portfolio-img-wrapper::after { opacity: 1; transform: translate(-50%, -50%); }
.portfolio-item:hover .portfolio-img-wrapper img { transform: scale(1.05); }
.portfolio-badge-pill { z-index: 4; }

/* --- CSS KUSTOM UTK SECTION SERVICES --- */
:root {
  --primary-accent: #3b82f6; 
  --primary-glow: rgba(59, 130, 246, 0.15);
  --bg-card: rgba(30, 41, 59, 0.45); 
  --border-card: rgba(255, 255, 255, 0.06);
  --text-muted: #94a3b8;
}

.services.section-dark {
  background-color: #0b111e; 
  padding: 100px 0;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  position: relative; 
  overflow: hidden;
}

.bg-decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.circle-left {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.circle-right {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
}

.bg-decor-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 800'%3E%3Cpath d='M-100,200 Q300,50 720,400 T1540,500' fill='none' stroke='%233b82f6' stroke-width='1.5'/%3E%3Cpath d='M-100,250 Q320,100 720,450 T1540,550' fill='none' stroke='%233b82f6' stroke-width='1' stroke-dasharray='5 5'/%3E%3Cpath d='M-50,600 Q400,300 800,700 T1600,400' fill='none' stroke='%231e40af' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2; 
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  color: #f8fafc;
  max-width: 700px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 50px -10px var(--primary-glow);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.icon-box {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  transition: all 0.4s ease;
}

.service-card:hover .icon-box {
  background: var(--primary-accent);
  color: #ffffff;
  transform: scale(1.05);
}

.icon-box svg {
  width: 28px;
  height: 28px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .service-card {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
  }
  
  .bg-decor-circle {
    filter: blur(80px); 
  }
}

/* --- CSS SWAL POPUP DI HALAMAN BAWAH --- */
.premium-swal-popup {
  border-radius: 16px !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
  padding: 30px !important;
}
.premium-swal-button {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}