/*
 * Wizarus Travel - Custom Responsive Stylesheet
 * Author: Antigravity Agentic Assistant
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- Design System --- */
:root {
  --primary: #02263C;
  --primary-light: #0b3c5c;
  --primary-dark: #011624;
  --accent: #C5A880;
  --accent-hover: #b09166;
  --accent-glow: rgba(197, 168, 128, 0.3);
  --accent-light: rgba(197, 168, 128, 0.1);
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #E2E8F0;
  --text-white: #FFFFFF;
  --success: #10B981;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(2, 38, 60, 0.08), 0 8px 16px -6px rgba(2, 38, 60, 0.05);
  --shadow-lg: 0 20px 40px -15px rgba(2, 38, 60, 0.15), 0 12px 20px -8px rgba(2, 38, 60, 0.08);
  --shadow-glow: 0 0 25px rgba(197, 168, 128, 0.25);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input {
  font-family: inherit;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

.text-center { text-align: center; }
.text-gold { color: var(--accent); }

/* Section Headers */
.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Topbar Info --- */
.topbar {
  background-color: var(--primary-dark);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.topbar-item:hover {
  color: var(--accent);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.topbar-address {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .topbar-links {
    justify-content: center;
    gap: 15px;
  }
}

/* --- Navigation Header --- */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  padding: 8px 0;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .logo img {
    height: 40px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 24px;
    visibility: hidden;
  }

  .nav-menu.active {
    right: 0;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 20px;
  }

  /* Hamburger transform when menu active */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --- Hero Carousel Section --- */
.hero-slider {
  position: relative;
  height: 600px;
  background-color: var(--primary-dark);
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
  }
}

.slide-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  width: 50%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.05);
}



/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-white);
  z-index: 10;
}

.slider-control:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.slider-control svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

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

@media (max-width: 576px) {
  .slider-control {
    width: 40px;
    height: 40px;
  }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
}

/* --- Infinite Text Ticker --- */
.ticker-wrap {
  width: 100%;
  background-color: var(--primary);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-animation 25s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 40px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-item img {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(320deg);
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Features Section ("Kenapa Harus Wizarus?") --- */
.features-section {
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-card {
  background-color: var(--primary-dark);
  color: var(--text-white);
  border-radius: var(--border-radius-md);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(197, 168, 128, 0.15);
  border-color: rgba(197, 168, 128, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.85;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-white);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0.85;
}

/* --- Documentation / Gallery Section --- */
.gallery-section {
  background-image: url('images/bg_pattern.png');
  background-repeat: repeat;
  background-size: 400px auto;
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(249, 250, 251, 0.95);
  z-index: 1;
}

.gallery-section .container {
  position: relative;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 38, 60, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-2 {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item-3 {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item-4 {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item-1 {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item-3 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item-4 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* --- Legalitas Section --- */
.legalitas-section {
  background-color: var(--bg-white);
}

.legalitas-wrapper {
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 168, 128, 0.2);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .legalitas-wrapper {
    padding: 30px 20px;
  }
}

.legalitas-desc {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.legalitas-desc h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

.legalitas-desc p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.legalitas-desc mark {
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 992px) {
  .doc-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.doc-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.doc-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.doc-card-content {
  flex: 1;
}

.doc-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.doc-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.doc-img-container {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  position: relative;
  background-color: #ffffff;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.doc-img-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.doc-img-container::before {
  content: 'Lihat Dokumen';
  position: absolute;
  inset: 0;
  background-color: rgba(2, 38, 60, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.doc-card:hover .doc-img-container img {
  transform: scale(1.05);
}

.doc-card:hover .doc-img-container::before {
  opacity: 1;
}

/* --- Program Keberangkatan Section --- */
.program-section {
  background-color: var(--bg-light);
}

.program-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.program-track {
  display: flex;
  width: 300%; /* 3 slides */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-slide {
  width: 33.333%; /* 1/3 of the track = 100% of the container */
  flex-shrink: 0;
  padding: 10px 5px;
}

.program-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
  position: relative;
}

@media (max-width: 768px) {
  .program-wrapper {
    padding: 30px 20px;
  }
}

.program-header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .program-header {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

.program-visual {
  flex: 1;
  max-width: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  margin: 0 auto;
}

.program-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.program-visual img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .program-visual {
    height: 380px;
    width: 100%;
  }
}

.program-info {
  flex: 1.2;
}

.program-badge {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--accent);
}

.program-info h3 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.program-info p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.program-price {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.program-price strong {
  font-size: 1.85rem;
  color: var(--accent);
  font-weight: 800;
}

.program-dp {
  font-size: 0.85rem;
  color: var(--primary);
  background-color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 40px;
  font-weight: 700;
  border: 1px solid var(--accent);
  text-transform: uppercase;
}

/* Program Features Grid */
.program-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .program-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.prog-feat-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  transition: var(--transition);
  text-align: center;
}

.prog-feat-card:hover {
  background-color: var(--bg-white);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.prog-feat-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--accent);
}

.prog-feat-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.prog-feat-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.prog-feat-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Center CTA button inside each program section */
.program-cta-btn-wrap {
  text-align: center;
  margin-top: 10px;
}

.program-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 16px 48px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid var(--primary);
}

.program-cta-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.program-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Program Tabs */
.program-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  width: 100%;
}

.program-tabs {
  display: inline-flex;
  background-color: rgba(2, 38, 60, 0.05);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(2, 38, 60, 0.1);
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.program-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.program-tab-btn {
  background: none;
  border: none;
  outline: none;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-width: 160px;
}

.program-tab-btn .tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.program-tab-btn .tab-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
  transition: var(--transition);
}

.program-tab-btn.active {
  background-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.program-tab-btn.active .tab-title {
  color: var(--text-white);
}

.program-tab-btn.active .tab-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.program-tab-btn:hover:not(.active) {
  background-color: rgba(2, 38, 60, 0.08);
}

/* Program Slider Dots */
.program-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.prog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(2, 38, 60, 0.2);
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.prog-dot.active {
  background-color: var(--accent);
  width: 24px;
  border-radius: 10px;
}

.prog-dot:hover:not(.active) {
  background-color: rgba(2, 38, 60, 0.4);
}

@media (max-width: 768px) {
  .program-tabs {
    border-radius: 12px;
    width: 100%;
    gap: 0;
  }
  .program-tab-btn {
    flex: 1;
    padding: 10px 12px;
    min-width: auto;
    border-radius: 8px;
  }
  .program-tab-btn.active {
    border-radius: 8px;
  }
  .program-tab-btn .tab-title {
    font-size: 0.85rem;
  }
  .program-tab-btn .tab-subtitle {
    font-size: 0.65rem;
  }
}

/* Navigation Controls for Program Slider */
.prog-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  border: 1px solid var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--accent);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.prog-slider-control:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.prog-slider-control svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.prog-slider-prev {
  left: -25px;
}

.prog-slider-next {
  right: -25px;
}

/* Shift navigation buttons inward on smaller screens */
@media (max-width: 1320px) {
  .prog-slider-prev {
    left: 20px;
  }
  .prog-slider-next {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .prog-slider-control {
    display: none;
  }
}

/* --- Premium CTA Banner Section --- */
.cta-premium-banner {
  background-color: #02263C;
  position: relative;
  border-radius: 28px; /* rounded card as in reference */
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Islamic pattern background overlay */
.cta-premium-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bg_pattern.png');
  background-repeat: repeat;
  background-position: center;
  background-size: 320px auto;
  opacity: 0.15; /* Subtle overlay as shown in reference */
  pointer-events: none;
  z-index: 1;
}

.cta-premium-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-white);
  position: relative;
  z-index: 2;
  max-width: 800px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.cta-premium-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  background-color: #FFFFFF;
  color: #02263C;
  padding: 14px 50px;
  border-radius: 50px; /* Pill shaped button as in reference */
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 200px;
}

.cta-premium-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  background-color: var(--accent);
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .cta-premium-banner {
    padding: 40px 20px;
    border-radius: 20px;
    gap: 20px;
  }
  .cta-premium-btn {
    width: 100%;
    min-width: unset;
    padding: 12px 20px;
  }
}

/* --- Upgrades & Add-ons Section --- */
.upgrades-section {
  background-color: var(--bg-white);
}

.upgrades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .upgrades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .upgrades-grid {
    grid-template-columns: 1fr;
  }
}

.upgrade-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.upgrade-icon-wrap {
  width: 70px;
  height: 70px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-sm);
  color: var(--accent);
}

.upgrade-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.upgrade-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  flex-grow: 0;
}

.upgrade-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* --- Other Packages Section ("Penawaran Wizarus Lainnya") --- */
.other-packages-section {
  background-color: var(--bg-light);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

.package-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.package-img {
  height: 160px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

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

.package-card:hover .package-img img {
  transform: scale(1.05);
}

.package-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.package-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.package-cta {
  display: block;
  text-align: center;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 20px;
}

.package-card:hover .package-cta {
  background-color: var(--accent);
  color: var(--primary-dark);
}



/* --- Footer --- */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 576px) {
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Floating Actions --- */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: var(--text-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.floating-wa:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Document Modal / Popups */
.doc-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(2, 38, 60, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.doc-modal.active {
  display: flex;
}

.doc-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #ffffff;
}

.doc-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.doc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary);
  border: none;
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
}

.doc-modal-close:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}
