@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

:root {
  --poppins: "Poppins", sans-serif;
  --lato: "Lato", sans-serif;

  --light: #f9f9f9;
  --blue: #3c91e6;
  --light-blue: #cfe8ff;
  --grey: #eee;
  --dark-grey: #aaaaaa;
  --dark: #342e37;
  --red: #db504a;
  --yellow: #fcba2d;
  --light-yellow: #fff2c6;
  --orange: #fd7238;
  --light-orange: #ffe0d3;
  --green: #1f674a;
  --light-green: #398166;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--grey);
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 1.5em;
  margin: 0.5em;
  font-family: var(--lato);
  /* animation: fadeInFromLeft 1.5s ease-in-out; */
}

header .logo {
  height: auto;
}

.logo img {
  width: 50%;
  max-width: 150px;
  height: auto;
  cursor: pointer;
}

/* Navigation Bar */
.navbar {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul.navbar .nav a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

nav ul.navbar .nav a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

nav ul.navbar .nav a:active {
  transform: scale(0.96);
}

nav ul.navbar .nav a.active {
  color: #ffffff;
  background-color: var(--green);
  box-shadow: 0 2px 8px rgba(31, 103, 74, 0.4);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}

.burger div {
  width: 25px;
  height: 2.5px;
  background-color: #ffffff;
  margin: 3px 0;
  border-radius: 3px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.3s ease;
  transform-origin: center;
}

.background {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  color: #fff;
  border-radius: 1.5em;
  margin: 0.5em;
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  background: #0f172a;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.case {
  position: relative;
  z-index: 2;
  margin: 3rem;
  background-color: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  padding: 2rem 2.25rem;
  border-radius: 16px;
  font-family: var(--poppins);
  color: white;
  max-width: 620px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.case-header {
  margin-bottom: 10px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.case h1 {
  font-family: var(--lato);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.case p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-top: 10px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--poppins);
  color: #ffffff;
  background-color: var(--green);
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background-color: #164e37;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--poppins);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.definition {
  padding: 2rem;
  margin: 0.5em;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  border-radius: 1.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  gap: 2rem;
}

.explain {
  padding: 1rem;
  border-radius: 10px;
  max-width: 90%;
  margin-left: 6.6rem;
  margin-bottom: 2rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInFromBottom 1.5s ease-in-out;
}

.explain h2 {
  margin-top: 0;
  text-align: center;
  font-family: var(--lato);
  font-weight: bold;
}

.explain p {
  text-align: center;
  font-family: var(--poppins);
  font-size: 1.2em;
}

.cycle {
  display: flex;
  gap: 2rem;
}

.cards {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 20px;
  opacity: 0; /* Mulai dengan tidak terlihat */
  animation: fadeInUp 1s ease-in-out forwards;
}

.cards:nth-child(1) {
  animation-delay: 0.1s; /* Penundaan animasi untuk kartu pertama */
}

.cards:nth-child(2) {
  animation-delay: 0.3s; /* Penundaan animasi untuk kartu kedua */
}

.cards:nth-child(3) {
  animation-delay: 0.5s; /* Penundaan animasi untuk kartu ketiga */
}

/* Tambahkan lebih banyak penundaan animasi untuk kartu tambahan */
.cards:nth-child(4) {
  animation-delay: 0.7s;
}

.cards:nth-child(5) {
  animation-delay: 0.9s;
}

.cards span {
  display: flex;
  justify-content: center;
}

.cards p {
  font-family: var(--poppins);
}

.cards h3 {
  font-family: var(--lato);
}

footer {
  height: 40px;
  background: var(--dark);
  text-align: center;
  font-family: var(--poppins);
  width: 100%;
  /* position: fixed; */
  padding: 10px;
  color: var(--grey);
}

/* Member Section Container Card */
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f9f9f9;
  padding: 2.5rem 2rem;
  border-radius: 1.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0.5em;
}

.member-header {
  margin-bottom: 24px;
}

.member-header h2 {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--lato);
  color: #1e293b;
  margin-bottom: 6px;
}

.member-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  font-family: var(--poppins);
}

.wrapper {
  max-width: 1500px;
  width: 100%;
  position: relative;
}

.wrapper i {
  top: 50%;
  height: 48px;
  width: 48px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 48px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  transition: all 0.2s ease;
  z-index: 10;
  color: #334155;
}

.wrapper i:hover {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.95);
}

.wrapper i:first-child {
  left: -20px;
}

.wrapper i:last-child {
  right: -20px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 4) - 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  border-radius: 12px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 4px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel .card {
  scroll-snap-align: start;
  list-style: none;
  background: #ffffff;
  cursor: pointer;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.carousel .card .img {
  background: var(--green);
  height: 120px;
  width: 120px;
  border-radius: 50%;
  margin-bottom: 16px;
  overflow: hidden;
  border: 3px solid var(--light-green);
}

.card .img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.carousel .card h2 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px 0;
  color: #1e293b;
  font-family: var(--poppins);
}

.carousel .card span {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
  font-family: var(--poppins);
}

/* Modern Data Table Styling */
.table-view-wrapper {
  max-width: 1600px;
  margin: 0 auto 40px auto;
  padding: 24px;
  font-family: var(--poppins);
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 18px 24px;
  border-radius: 12px 12px 0 0;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.table-title-group h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-title-group h2 .bx {
  color: #1f674a;
}

.table-title-group p {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

.table-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 320px;
  max-width: 100%;
}

.search-box .bx-search {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 9px 36px 9px 36px;
  font-size: 0.88rem;
  font-family: var(--poppins);
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  background: #ffffff;
  border-color: #1f674a;
  box-shadow: 0 0 0 3px rgba(31, 103, 74, 0.15);
}

.btn-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-clear:hover {
  color: #dc2626;
}

.rows-select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
}

.rows-select-group select {
  padding: 8px 12px;
  font-size: 0.85rem;
  font-family: var(--poppins);
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.rows-select-group select:focus {
  border-color: #1f674a;
}

/* Horizontal Scroll Container */
.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Data Table Grid */
#Superstore-table {
  width: 100%;
  min-width: 1500px;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
  margin: 0;
  cursor: default;
}

#Superstore-table thead th {
  position: sticky;
  top: 0;
  background-color: #1f674a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid #144733;
  z-index: 10;
}

#Superstore-table thead th.col-num {
  text-align: right;
}

#Superstore-table thead th.col-status {
  text-align: center;
}

#Superstore-table tbody tr {
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

#Superstore-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

#Superstore-table tbody tr:hover {
  background-color: #f1f5f9;
}

#Superstore-table tbody td {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
  vertical-align: middle;
}

#Superstore-table tbody td.col-prod-name {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#Superstore-table tbody td.col-num {
  text-align: right;
}

#Superstore-table tbody td.col-status {
  text-align: center;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
}

.font-medium {
  font-weight: 500;
}

.text-positive {
  color: #059669 !important;
}

.text-negative {
  color: #dc2626 !important;
}

/* Badges */
.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-normal {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-outlier {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.cat-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #f1f5f9;
  color: #334155;
}

.cat-furniture {
  background: #fef3c7;
  color: #92400e;
}

.cat-office-supplies {
  background: #e0f2fe;
  color: #0369a1;
}

.cat-technology {
  background: #ede9fe;
  color: #6d28d9;
}

.table-empty-state {
  text-align: center !important;
  padding: 48px 16px !important;
  color: #64748b;
  font-size: 0.95rem;
}

.table-empty-state .bx {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
}

/* Pagination Bar */
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 0 0 12px 12px;
  border: 1px solid #e2e8f0;
  border-top: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pagination-info {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--poppins);
  color: #334155;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-page:hover:not(:disabled) {
  background-color: #1f674a;
  border-color: #1f674a;
  color: #ffffff;
}

.btn-page:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-jump-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #475569;
  margin: 0 6px;
}

.page-jump-container input {
  width: 60px;
  padding: 6px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--poppins);
  color: #1e293b;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
}

.page-jump-container input:focus {
  border-color: #1f674a;
  background: #ffffff;
}

.hidden {
  display: none !important;
}

/* Dashboard Looker Studio Styling */
#dashboard {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  font-family: var(--poppins);
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.dashboard-title-group h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.dashboard-title-group h2 .bx {
  color: #1f674a;
}

.dashboard-title-group p {
  font-size: 0.85rem;
  color: #64748b;
}

.dashboard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 20px;
}

.badge-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Looker Studio Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  align-items: end;
  gap: 16px;
  background: #ffffff;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-item label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-item label .bx {
  color: #1f674a;
  font-size: 1rem;
}

.filter-item select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: var(--poppins);
  color: #1e293b;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.filter-item select:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.filter-item select:focus {
  border-color: #1f674a;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(31, 103, 74, 0.15);
}

.filter-actions {
  display: flex;
  align-items: center;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--poppins);
  color: #475569;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset:hover {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fef2f2;
}

.btn-reset:active {
  transform: scale(0.97);
}

/* Scorecards / Box Info */
#dashboard .box-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  margin-bottom: 24px;
  cursor: default;
}

#dashboard .box-info li {
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  grid-gap: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#dashboard .box-info li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

#dashboard .box-info li .bx {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#dashboard .box-info li:nth-child(1) .bx {
  background: #e0f2fe;
  color: #0284c7;
}

#dashboard .box-info li:nth-child(2) .bx {
  background: #fef3c7;
  color: #d97706;
}

#dashboard .box-info li:nth-child(3) .bx {
  background: #d1fae5;
  color: #059669;
}

#dashboard .box-info li:nth-child(4) .bx {
  background: #ede9fe;
  color: #7c3aed;
}

#dashboard .box-info li:nth-child(5) .bx {
  background: #fee2e2;
  color: #dc2626;
}

#dashboard .box-info li .text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

#dashboard .box-info li .text p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

/* Charts Grid */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  grid-gap: 20px;
  padding-top: 0;
  width: 100%;
  cursor: default;
}

.chart-container {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s ease;
}

.chart-container:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}

.chart-container.full-width {
  grid-column: 1 / -1;
}

.chart-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.chart-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.chart-header .chart-desc {
  font-size: 0.78rem;
  color: #94a3b8;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
}

canvas {
  width: 100% !important;
  height: 100% !important;
}
/* ==========================================================================
   MOBILE & TABLET RESPONSIVE MEDIA QUERIES (<= 768px ONLY)
   Desktop & Laptop (> 768px) remain 100% full-sized and standard.
   ========================================================================== */
@media (max-width: 768px) {
  /* Header & Navigation */
  header {
    padding: 0.75rem 1.25rem;
    position: relative;
  }

  .burger {
    display: flex;
    z-index: 101;
  }

  .burger.toggle .line1 {
    transform: translateY(8.5px) rotate(45deg);
    background-color: #ffffff;
  }
  .burger.toggle .line2 {
    opacity: 0;
    transform: scaleX(0);
  }
  .burger.toggle .line3 {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: #ffffff;
  }

  .navbar {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background-color: var(--dark);
    flex-direction: column;
    padding: 16px;
    border-radius: 14px;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }

  .navbar.nav-active {
    display: flex;
  }

  .navbar .nav {
    width: 100%;
    text-align: center;
  }

  nav ul.navbar .nav a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  nav ul.navbar .nav a:hover,
  nav ul.navbar .nav a:active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: scale(0.98);
  }

  nav ul.navbar .nav a.active {
    background-color: var(--green) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(31, 103, 74, 0.45);
    font-weight: 700;
  }

  /* Hero Section */
  .background {
    min-height: auto;
    margin: 10px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
  }

  .hero-bg-img {
    position: relative;
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .case {
    position: relative;
    margin: -24px 10px 12px 10px;
    max-width: calc(100% - 20px);
    padding: 1.35rem 1.15rem;
    border-radius: 14px;
    background-color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .case h1 {
    font-size: 1.25rem;
  }

  .case p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-top: 8px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 0.85rem;
  }

  /* CRISP-DM Cycle */
  .definition {
    padding: 1.25rem 0.75rem;
    margin: 10px;
    gap: 1rem;
    border-radius: 16px;
  }

  .explain {
    margin: 0 auto;
    max-width: 100%;
    padding: 0.75rem 0.5rem;
    text-align: center;
  }

  .explain h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .explain p {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .cycle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  }

  .cycle .cards img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .cycle .cards h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .cycle .cards h3 span {
    display: inline-block;
    font-size: 0.72rem;
    margin-bottom: 2px;
    background: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .cycle .cards p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #475569;
  }

  /* Member Carousel */
  .member {
    padding: 1.5rem 1rem;
    margin: 10px;
    border-radius: 16px;
  }

  .member-header h2 {
    font-size: 1.35rem;
  }

  .member-subtitle {
    font-size: 0.82rem;
  }

  .wrapper .carousel {
    grid-auto-columns: 100%;
  }

  .wrapper i#left {
    left: -8px;
  }

  .wrapper i#right {
    right: -8px;
  }

  /* Looker Studio Dashboard */
  #dashboard {
    padding: 12px 8px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    gap: 12px;
  }

  .btn-reset {
    width: 100%;
    justify-content: center;
  }

  #dashboard .box-info {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #dashboard .box-info li {
    padding: 14px 16px;
  }

  #dashboard .box-info li .bx {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  #dashboard .box-info li .text h3 {
    font-size: 1.15rem;
  }

  .container {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .canvas-wrapper {
    height: 280px;
  }

  /* Table Toolbar & Pagination */
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  .search-box {
    width: 100%;
  }

  .table-pagination {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    width: 100%;
  }

  .btn-page {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .page-jump-container {
    gap: 4px;
    font-size: 0.78rem;
    margin: 0 2px;
  }

  .page-jump-container input {
    width: 46px;
    padding: 5px 4px;
    font-size: 0.78rem;
  }
}

/* Mobile Screens (< 500px down to 320px/340px) */
@media (max-width: 500px) {
  #dashboard .box-info {
    grid-template-columns: 1fr;
  }

  .table-view-wrapper {
    padding: 10px 6px;
    margin: 10px auto;
  }

  .table-pagination {
    padding: 10px 4px;
    gap: 8px;
  }

  .pagination-info {
    font-size: 0.75rem;
    text-align: center;
  }

  .pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .btn-page {
    padding: 6px 7px;
    font-size: 0.72rem;
  }

  .btn-page .btn-text {
    display: none;
  }

  .page-jump-container {
    gap: 2px;
    font-size: 0.72rem;
    margin: 0 1px;
  }

  .page-jump-container input {
    width: 38px;
    padding: 4px 2px;
    font-size: 0.72rem;
  }
}

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%); /* Menggeser elemen ke atas */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Mengembalikan elemen ke posisi semula */
  }
}

@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes fadeInFromBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes complexAnimation {
  from {
    opacity: 0;
    transform: translateX(100%) translateY(20px) scale(0.8); /* Mulai dari kanan, sedikit ke bawah, dan lebih kecil */
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1); /* Kembali ke posisi semula, ukuran normal */
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(100px); /* Mulai dari bawah */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Kembali ke posisi semula */
  }
}
