/* ====================================================================
   MAHESWARI DIGITAL - MODERN RESPONSIVE STYLESHEET
   Stack: Pure CSS3 with CSS Variables & Glassmorphism
   Theme: Navy Deep & Warm Amber/Gold (Dark & Light Mode Support)
   ==================================================================== */

/* --- CSS Variables & Theming --- */
:root {
  /* Default: Dark Theme (Navy & Gold Luxury) */
  --bg-primary: #070D18;
  --bg-secondary: #0B1426;
  --bg-surface: #0F1D38;
  --bg-card: rgba(15, 29, 56, 0.7);
  --bg-card-hover: rgba(22, 42, 80, 0.85);
  --bg-glass: rgba(11, 20, 38, 0.75);
  --bg-input: rgba(15, 29, 56, 0.9);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #070D18;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-prominent: rgba(245, 158, 11, 0.4);

  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  --accent-gold-dark: #D97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.22);
  --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
  --navy-gradient: linear-gradient(180deg, #070D18 0%, #0B1426 100%);

  --wa-green: #25D366;
  --wa-green-hover: #1EBE5D;
  --wa-glow: rgba(37, 211, 102, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 10px 30px var(--accent-gold-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --header-height: 76px;
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EDF2F7;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-input: #FFFFFF;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-prominent: rgba(217, 119, 6, 0.4);

  --accent-gold: #D97706;
  --accent-gold-light: #F59E0B;
  --accent-gold-dark: #B45309;
  --accent-gold-glow: rgba(217, 119, 6, 0.18);
  --accent-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 60%, #B45309 100%);
  --navy-gradient: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus styles for Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* --- Typography & Global Layout --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-spacing {
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-prominent);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.badge-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.highlight-gold {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0A192F;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.4);
  color: #000000;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa-green);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--wa-glow);
}

.btn-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

/* --- Section 1: Sticky Navbar --- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.navbar-wrapper.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #0A192F;
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

.nav-brand-text {
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: rotate(15deg);
}

.theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-icon-sun {
  display: block;
}
[data-theme="light"] .theme-icon-moon {
  display: none;
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.mobile-nav-drawer.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .nav-actions .btn-sm {
    display: none;
  }
  .nav-brand-text {
    font-size: 1.1rem;
  }
}

/* --- Section 2: Hero Section --- */
.hero-section {
  position: relative;
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 60vw, 750px);
  height: clamp(300px, 60vw, 550px);
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 680px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  transition: transform var(--transition-fast);
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-prominent);
}

.stat-value {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
}

/* --- Section 3: Layanan --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-prominent);
  box-shadow: var(--shadow-gold);
}

.service-card.is-popular {
  border-color: var(--accent-gold);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-gradient);
  color: #0A192F;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-prominent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.service-badge-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-benefits-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.benefit-check-icon {
  flex-shrink: 0;
  color: var(--accent-gold);
  margin-top: 2px;
}

/* --- Section 4: Portofolio --- */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: #0A192F;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-gold-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 680px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-prominent);
  box-shadow: var(--shadow-lg);
}

.project-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B1426;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-thumb {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-prominent);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.project-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.project-summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.project-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: auto;
}

/* --- Section 5: Video Showcase --- */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 860px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-prominent);
  box-shadow: var(--shadow-md);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #0A192F;
  overflow: hidden;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.video-thumb-container:hover .video-poster-img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #0A192F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
  transition: transform var(--transition-bounce);
}

.video-thumb-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

.video-duration-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.video-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.video-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Section 6: Galeri Foto (Masonry / Grid) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 580px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-prominent);
  box-shadow: var(--shadow-md);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 13, 24, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

/* --- Section 7: Testimoni Carousel --- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.testimonial-quote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 26px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
}

.author-details {
  text-align: left;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.author-project-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 2px;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  background: var(--accent-gradient);
  color: #0A192F;
  border-color: transparent;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--accent-gold);
}

/* WhatsApp Chat Proof Tabs */
.wa-proofs-container {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.wa-proofs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 24px auto 0;
}

@media (min-width: 680px) {
  .wa-proofs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wa-proof-card {
  background: #0B141A;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

/* --- Section 8: Proses Kerja --- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-prominent);
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-timeline {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
}

.process-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Section 9: Tentang Kami & Pendiri --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

.about-text-col p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-values-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-prominent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-value-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-value-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.founder-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.founder-card:hover {
  border-color: var(--border-prominent);
}

.founder-avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 6px 20px var(--accent-gold-glow);
}

.founder-name {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.founder-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.founder-strengths {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.founder-strength-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

/* --- Section 10: Kontak & Form Otomatis --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-prominent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.channel-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.channel-val a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Section 11: Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 56px;
  padding-bottom: 30px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 680px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand-desc {
  line-height: 1.6;
  margin-top: 12px;
  max-width: 380px;
}

.footer-col-title {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* --- Floating WhatsApp Button --- */
.floating-wa-btn {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(20px, env(safe-area-inset-right));
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--wa-green);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px var(--wa-glow);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

.wa-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 0.9; }
}

/* --- Modal & Lightbox Components --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.is-open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: #0A192F;
}

/* Lightbox Specific */
.lightbox-window {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 900px;
  text-align: center;
}

.lightbox-img-wrapper {
  position: relative;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 20, 38, 0.8);
  border: 1px solid var(--border-medium);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #0A192F;
}

.lightbox-prev { left: -24px; }
.lightbox-next { right: -24px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

.lightbox-caption {
  margin-top: 14px;
  color: #F8FAFC;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox-counter {
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-top: 4px;
}

/* Scroll Animations (IntersectionObserver) */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
