 :root {
      --primary: #1e5631;
      --primary-dark: #143d22;
      --primary-light: #e8f3ec;
      --gold: #eab308;
      --gold-dark: #ca8a04;
      --blue: #1d4ed8;
      --purple: #6d28d9;
      --text-main: #1e293b;
      --text-muted: #475569;
      --bg-light: #f8fafc;
      --white: #ffffff;
      --border: #e2e8f0;
      --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
      --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.14);
      --radius-md: 12px;
      --radius-lg: 18px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.6;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .brand-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .container {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ================= HEADER & NAVBAR ================= */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 900;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 76px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .brand-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .brand-subtitle {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #f1f5f9;
      padding: 6px;
      border-radius: 999px;
    }

    .nav-link {
      border: none;
      background: transparent;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--text-muted);
      padding: 9px 18px;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .nav-link:hover {
      color: var(--primary);
      background: rgba(30, 86, 49, 0.08);
    }

    .nav-link.active {
      background: var(--primary);
      color: var(--white);
      box-shadow: 0 4px 10px rgba(30, 86, 49, 0.25);
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 42px;
      height: 42px;
      background: var(--primary-light);
      border: 1px solid rgba(30, 86, 49, 0.2);
      border-radius: 10px;
      padding: 9px;
      cursor: pointer;
    }

    .nav-toggle span {
      display: block;
      width: 100%;
      height: 2.5px;
      background: var(--primary);
      border-radius: 2px;
      transition: 0.3s;
    }

    /* ================= HERO SLIDER ================= */
    .hero-slider-section {
      position: relative;
      width: 100%;
    }

    .hero-slider {
      position: relative;
      height: 500px;
      overflow: hidden;
      background: var(--primary-dark);
    }

    .hero-slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.7s ease, visibility 0.7s ease;
      display: flex;
      align-items: center;
    }

    .hero-slide.active {
      opacity: 1;
      visibility: visible;
    }

    .slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(95deg, rgba(16, 48, 27, 0.9) 0%, rgba(30, 86, 49, 0.72) 55%, rgba(15, 23, 42, 0.45) 100%);
    }

    .slide-content {
      position: relative;
      z-index: 2;
      color: var(--white);
      max-width: 760px;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(234, 179, 8, 0.2);
      border: 1px solid var(--gold);
      color: #fde047;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 5px 14px;
      border-radius: 999px;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }

    .hero-title {
      font-size: clamp(1.85rem, 4vw, 2.9rem);
      font-weight: 800;
      line-height: 1.18;
      margin-bottom: 16px;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }

    .hero-desc {
      font-size: 1.08rem;
      color: #e2e8f0;
      max-width: 600px;
      margin-bottom: 26px;
    }

    .hero-cta-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn-hero-primary {
      background: var(--gold);
      color: #14281d;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 13px 24px;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
    }

    .btn-hero-primary:hover {
      background: #facc15;
      transform: translateY(-2px);
    }

    .btn-hero-outline {
      background: rgba(255, 255, 255, 0.12);
      color: var(--white);
      border: 1.5px solid rgba(255, 255, 255, 0.65);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 13px 24px;
      border-radius: 999px;
      cursor: pointer;
      backdrop-filter: blur(4px);
      transition: 0.2s;
    }

    .btn-hero-outline:hover {
      background: rgba(255, 255, 255, 0.24);
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 5;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(15, 23, 42, 0.45);
      color: var(--white);
      font-size: 1.1rem;
      cursor: pointer;
      transition: 0.2s;
    }

    .slider-arrow:hover {
      background: var(--primary);
      border-color: var(--gold);
    }

    .slider-arrow.prev { left: 18px; }
    .slider-arrow.next { right: 18px; }

    .slider-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      display: flex;
      gap: 8px;
    }

    .slider-dot {
      width: 11px;
      height: 11px;
      border-radius: 999px;
      border: none;
      background: rgba(255, 255, 255, 0.45);
      cursor: pointer;
      transition: all 0.3s;
    }

    .slider-dot.active {
      width: 30px;
      background: var(--gold);
    }

    /* ================= QUICK ACCESS SECTION ================= */
    .quick-access {
      padding: 72px 0 84px;
    }

    .section-header {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 48px;
    }

    .section-tag {
      display: inline-block;
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 700;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 6px 14px;
      border-radius: 999px;
      margin-bottom: 12px;
    }

    .section-heading {
      font-size: clamp(1.75rem, 3vw, 2.3rem);
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 12px;
    }

    .section-sub {
      color: var(--text-muted);
      font-size: 1.02rem;
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
      gap: 24px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .card-icon {
      width: 60px;
      height: 60px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
    }

    .card-subtitle {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 4px;
    }

    .card-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
    }

    .card-desc {
      font-size: 0.94rem;
      color: var(--text-muted);
      margin-bottom: 22px;
      flex-grow: 1;
    }

    .card-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      border: none;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      transition: 0.2s;
    }

    /* Card Color Variants */
    .card-blue::before { background: var(--blue); }
    .card-blue .card-icon { background: #eff6ff; color: var(--blue); }
    .card-blue .card-subtitle { color: var(--blue); }
    .card-blue .card-btn { background: #eff6ff; color: var(--blue); }
    .card-blue .card-btn:hover { background: var(--blue); color: var(--white); }

    .card-green::before { background: var(--primary); }
    .card-green .card-icon { background: var(--primary-light); color: var(--primary); }
    .card-green .card-subtitle { color: var(--primary); }
    .card-green .card-btn { background: var(--primary-light); color: var(--primary); }
    .card-green .card-btn:hover { background: var(--primary); color: var(--white); }

    .card-teal::before { background: #0f766e; }
    .card-teal .card-icon { background: #f0fdfa; color: #0f766e; }
    .card-teal .card-subtitle { color: #0f766e; }
    .card-teal .card-btn { background: #f0fdfa; color: #0f766e; }
    .card-teal .card-btn:hover { background: #0f766e; color: var(--white); }

    .card-purple::before { background: var(--purple); }
    .card-purple .card-icon { background: #f5f3ff; color: var(--purple); }
    .card-purple .card-subtitle { color: var(--purple); }
    .card-purple .card-btn { background: #f5f3ff; color: var(--purple); }
    .card-purple .card-btn:hover { background: var(--purple); color: var(--white); }

    .card-gold::before { background: var(--gold-dark); }
    .card-gold .card-icon { background: #fefce8; color: var(--gold-dark); }
    .card-gold .card-subtitle { color: var(--gold-dark); }
    .card-gold .card-btn { background: #fefce8; color: #a16207; }
    .card-gold .card-btn:hover { background: var(--gold-dark); color: var(--white); }

    /* ================= FOOTER ================= */
    .site-footer {
      background: var(--primary-dark);
      color: #e2e8f0;
    }

    .footer-main {
      padding: 52px 0 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 32px;
    }

    .footer-col h3 {
      color: var(--gold);
      font-size: 1.2rem;
      margin-bottom: 14px;
    }

    .footer-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 10px;
      font-size: 0.95rem;
      color: #cbd5e1;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      padding: 18px 0;
      font-size: 0.88rem;
      color: #94a3b8;
    }

    .footer-bottom-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px;
    }

    /* ================= MODAL SYSTEM ================= */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(4px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      overflow-y: auto;
    }

    .modal-backdrop.open {
      display: flex;
      animation: fadeIn 0.22s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-box {
      background: var(--white);
      width: 100%;
      max-width: 680px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
    }

    .modal-header {
      background: var(--primary);
      color: var(--white);
      padding: 20px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .modal-header h3 {
      font-size: 1.22rem;
      font-weight: 700;
    }

    .modal-close {
      background: rgba(255, 255, 255, 0.16);
      border: none;
      color: var(--white);
      width: 34px;
      height: 34px;
      border-radius: 50%;
      font-size: 1.25rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-close:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .modal-body {
      padding: 24px;
      overflow-y: auto;
    }

    /* Form Controls */
    .form-group {
      margin-bottom: 16px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .form-label {
      display: block;
      font-size: 0.88rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text-main);
    }

    .form-control {
      width: 100%;
      padding: 11px 14px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-family: inherit;
      font-size: 0.95rem;
      transition: border-color 0.2s;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
    }

    .btn-submit {
      width: 100%;
      padding: 13px;
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: 10px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.98rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-submit:hover {
      background: var(--primary-dark);
    }

    /* KTA Digital Card Preview */
    .kta-card {
      background: linear-gradient(135deg, #1e5631 0%, #11381f 100%);
      color: var(--white);
      border-radius: 16px;
      padding: 22px;
      border: 2px solid var(--gold);
      box-shadow: var(--shadow-md);
      margin-top: 18px;
      position: relative;
    }

    .kta-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 12px;
      margin-bottom: 16px;
    }

    .kta-badge-active {
      background: #22c55e;
      color: #052e16;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 999px;
    }

    .kta-grid {
      display: grid;
      grid-template-columns: 82px 1fr;
      gap: 16px;
      align-items: center;
    }

    .kta-avatar {
      width: 82px;
      height: 96px;
      background: rgba(255, 255, 255, 0.15);
      border: 1.5px solid var(--gold);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .kta-info p {
      font-size: 0.88rem;
      margin-bottom: 4px;
      color: #e2e8f0;
    }

    .kta-info strong {
      color: var(--white);
    }

    /* Tabs in Modal */
    .tab-bar {
      display: flex;
      gap: 8px;
      margin-bottom: 18px;
      border-bottom: 1px solid var(--border);
      padding-bottom: 10px;
    }

    .tab-btn {
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      background: #f1f5f9;
      font-weight: 600;
      font-size: 0.88rem;
      cursor: pointer;
      color: var(--text-muted);
    }

    .tab-btn.active {
      background: var(--primary);
      color: var(--white);
    }

    .info-box {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-left: 4px solid var(--primary);
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 12px;
    }

    .info-box h4 {
      font-size: 1rem;
      color: var(--primary);
      margin-bottom: 4px;
    }

    .info-box p {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
      margin-top: 12px;
    }

    .gallery-item {
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #fff;
    }

    .gallery-item img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      display: block;
    }

    .gallery-item span {
      display: block;
      padding: 8px 10px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-main);
    }

    .status-pill {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .status-lunas { background: #dcfce7; color: #166534; }
    .status-tunggakan { background: #fef3c7; color: #92400e; }

    /* ================= RESPONSIVE ================= */
    @media (max-width: 768px) {
      .nav-toggle {
        display: flex;
      }

      .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        border-radius: 0;
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        display: none;
      }

      .main-nav.open {
        display: flex;
      }

      .nav-link {
        text-align: left;
        border-radius: 10px;
      }

      .hero-slider {
        height: 460px;
      }

      .form-row {
        grid-template-columns: 1fr;
      }
    }