:root{
  --navy:#0f172a;
  --yellow:#facc15;
  --yellow2:#eab308;

  --bg:#f4f6fb;
  --text:#0b1220;
  --muted:#64748b;

  --card:#ffffff;
  --border:#e5e7eb;

  --shadow:0 6px 16px rgba(0,0,0,0.08);
  --radius:14px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* =========================
   LAYOUT
========================= */
.container{
  max-width:1000px;
  margin:0 auto;
  padding:30px 16px 10px;
}

/* =========================
   NAVBAR
========================= */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 40px;
  background:var(--navy);
  color:#fff;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  text-decoration:none;
  color:inherit;
}
.brand:hover{ opacity:0.85; }

.brand-mark{ color:var(--yellow); font-size:20px; }
.brand-name{ font-size:20px; letter-spacing:.5px; }

.navlinks{
  display:flex;
  align-items:center;
  gap:32px;
  flex:1;
  justify-content:center;
  white-space:nowrap;
}

.navlinks a{
  color:rgba(255,255,255,0.85);
  text-decoration:none;
  font-size:16px;
  font-weight:400;
  padding-bottom:6px;
  position:relative;
  transition:all .25s ease;
}
.navlinks a:hover{ color:#ffffff; }

.navlinks a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:3px;
  background:var(--yellow);
  transition:width .25s ease;
}
.navlinks a:hover::after{ width:100%; }

.navlinks a.active{ color:#ffffff; }
.navlinks a.active::after{ width:100%; }

.badge{
  margin-left:8px;
  background:var(--yellow);
  color:#111;
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

/* =========================
   NAV ACTIONS
========================= */
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:2px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  height:40px;
}

.btn-primary{ background:var(--yellow); color:#111; }
.btn-primary:hover{ background:var(--yellow2); }

.btn-outline{
  background:transparent;
  border-color:var(--yellow);
  color:var(--yellow);
}
.btn-outline:hover{ background:rgba(250,204,21,0.12); }

.btn-secondary{
  background:#e2e8f0;
  color:#0f172a;
}
.btn-secondary:hover{ background:#cbd5e1; }

.btn-danger{
  background:#ef4444;
  color:#fff;
}
.btn-danger:hover{ background:#dc2626; }

.btn[disabled]{ opacity:.45; cursor:not-allowed; }

/* Extra buttons for admin bookings */
.btn-approve{
  background:#16a34a;
  color:#fff;
}
.btn-approve:hover{ background:#15803d; }

.btn-reject{
  background:#ef4444;
  color:#fff;
}
.btn-reject:hover{ background:#dc2626; }

/* =========================
   CARD
========================= */
.card{
  background:var(--card);
  padding:20px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:20px;
  overflow:visible;
}

/* =========================
   ALERTS
========================= */
.alert{
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
  margin:10px 0 14px;
}
.alert-success{
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.25);
  color:#166534;
}
.alert-error{
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.25);
  color:#7f1d1d;
}

/* Admin info alert */
.alert-info{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfeff;
  border-left: 6px solid #06b6d4;
  color: #0f172a;
}
.muted{ color:#94a3b8; font-weight:700; }

/* =========================
   TOOLBAR / SEARCH
========================= */
.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:14px 0 14px;
  flex-wrap:wrap;
}

.searchbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.field{
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.14);
  font-weight:800;
  background:#fff;
}
.field:focus{
  outline:none;
  border-color:rgba(15,23,42,.35);
  box-shadow:0 0 0 3px rgba(15,23,42,.08);
}

/* =========================
   TABLE WRAP (GENERAL)
   Default: desktop ok tanpa pecah
========================= */
.table-wrap{
  max-width:100%;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  overflow-x:auto;     /* allow scroll if needed */
  overflow-y:visible;
}

/* =========================
   MANAGE USERS TABLE (DEFAULT TABLE)
   (Ini untuk table yang guna .table-wrap table biasa)
========================= */
.table-wrap table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:760px;       /* supaya columns tak sempit sangat */
  table-layout:auto;     /* penting: elak fixed/ellipsis */
}

.table-wrap thead th{
  text-align:left;
  font-weight:900;
  font-size:13px;
  letter-spacing:.2px;
  color:rgba(15,23,42,.75);
  background:rgba(15,23,42,.03);
  padding:14px 16px;
  border-bottom:1px solid rgba(15,23,42,.10);
  white-space:nowrap;
}

.table-wrap tbody td{
  padding:16px;
  vertical-align:top;
  border-bottom:1px solid rgba(15,23,42,.08);
  white-space:normal;      /* allow wrap */
  overflow:visible;        /* no ellipsis */
  text-overflow:clip;
}

.table-wrap tbody tr:hover{ background:rgba(15,23,42,.02); }
.table-wrap tbody tr:last-child td{ border-bottom:none; }

/* =========================
   USER CELL (Manage Users)
========================= */
.user-main{
  font-weight:950;
  font-size:16px;
  line-height:1.2;
  color:rgba(15,23,42,.95);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  white-space: normal;
}

.user-sub{
  margin-top:6px;
  font-size:12px;
  font-weight:800;
  color:rgba(15,23,42,.55);
  line-height:1.45;
  white-space: normal;
}

.org-text{
  font-weight:900;
  color:rgba(15,23,42,.9);
  line-height:1.25;
  white-space: normal;
}

/* =========================
   ACTIONS (Manage Users)
========================= */
.actions-row{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  align-items:stretch;
}
.actions-row form{ margin:0 !important; }

.select-sm{
  height:40px;
  width:100%;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.14);
  font-weight:900;
  background:#fff;
}
.select-sm:focus{
  outline:none;
  border-color:rgba(15,23,42,.35);
  box-shadow:0 0 0 3px rgba(15,23,42,.08);
}
.actions-row .btn{ width:100%; }

/* =========================
   TAGS / PILLS (Manage Users)
========================= */
.self-tag{
  font-size:12px;
  font-weight:950;
  padding:3px 10px;
  border-radius:999px;
  background:rgba(59,130,246,.12);
  color:rgba(29,78,216,.95);
  border:1px solid rgba(59,130,246,.25);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:950;
  font-size:12px;
  border:1px solid rgba(15,23,42,.10);
  white-space: nowrap;
}
.pill-admin{ background:rgba(245,158,11,.12); color:rgba(146,64,14,.98); border-color:rgba(245,158,11,.25); }
.pill-user{ background:rgba(100,116,139,.12); color:rgba(51,65,85,.98); border-color:rgba(100,116,139,.25); }
.pill-active{ background:rgba(34,197,94,.12); color:rgba(22,101,52,.98); border-color:rgba(34,197,94,.25); }
.pill-inactive{ background:rgba(239,68,68,.12); color:rgba(127,29,29,.98); border-color:rgba(239,68,68,.25); }

.note-small{
  margin-top:10px;
  font-size:12px;
  font-weight:800;
  color:rgba(15,23,42,.55);
  white-space: normal;
}

/* =========================
   ADMIN BOOKINGS (nice-table)
   (ini table yang kau guna dalam admin_bookings.php)
========================= */
.nice-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:0;           /* jangan paksa lebar */
  table-layout:auto;     /* penting: full text boleh keluar */
  background:#fff;
  border-radius:14px;
  overflow:hidden;
}

.nice-table thead th{
  background:#f7f8fc;
  color:#0b1b3a;
  font-weight:800;
  text-align:left;
  padding:14px 14px;
  font-size:14px;
  border-bottom:1px solid #e8eaf2;
  white-space:nowrap;
}

.nice-table tbody td{
  padding:12px 14px;
  font-size:14px;
  color:#111827;
  border-bottom:1px solid #eef0f6;
  vertical-align:middle;
  white-space:normal;     /* facility boleh wrap */
  overflow:visible;       /* no ellipsis */
  text-overflow:clip;
}

.nice-table tbody tr:nth-child(even){ background:#fbfcff; }
.nice-table tbody tr:hover{ background:#f3f6ff; }

.action-cell{ white-space:nowrap; }
.action-form{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Column helpers untuk admin_bookings.php */
.col-facility{ min-width:260px; }
.col-date{ min-width:130px; white-space:nowrap; }
.col-time{ min-width:180px; white-space:nowrap; }

/* date/time numeric align */
.nice-table .col-date,
.nice-table .col-time{
  font-variant-numeric: tabular-nums;
}

/* ===== Status pill (Admin Bookings) ===== */
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  border:1px solid transparent;
  white-space:nowrap;
}
.status-pill::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  display:inline-block;
}

.status-pill.pending{
  background:#fff7ed;
  color:#9a3412;
  border-color:#fed7aa;
}
.status-pill.pending::before{ background:#f59e0b; }

.status-pill.approved{
  background:#ecfdf5;
  color:#065f46;
  border-color:#a7f3d0;
}
.status-pill.approved::before{ background:#10b981; }

.status-pill.rejected{
  background:#fef2f2;
  color:#991b1b;
  border-color:#fecaca;
}
.status-pill.rejected::before{ background:#ef4444; }

/* =========================
   FOOTER
========================= */
.footer{
  text-align:center;
  color:rgba(15,23,42,.55);
  font-weight:800;
  padding:10px 0 24px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 860px){
  .navbar{ padding:14px 20px; }
}

@media (max-width: 720px){
  .navbar{ flex-wrap:wrap; gap:12px; }
  .navlinks{ flex-wrap:wrap; justify-content:flex-start; gap:20px; }
}

/* =========================
   HERO SECTION CENTER FIX
========================= */
.hero{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  text-align:center;
}

.hero-inner{
  max-width:800px;
  width:100%;
  margin:0 auto;
}

.hero-kicker{
  font-weight:900;
  letter-spacing:1px;
  color:var(--muted);
  margin-bottom:8px;
}

.hero-title{
  font-size:72px;
  font-weight:900;
  margin:0 0 12px;
  letter-spacing:-1px;
}

.hero-subtitle{
  font-size:18px;
  font-weight:700;
  color:var(--muted);
  margin:6px 0;
}

.hero-cta{
  margin-top:28px;
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.hero-note{
  margin-top:16px;
  font-weight:700;
  color:var(--muted);
}

/* =========================
   AUTH (Login/Register)
========================= */
.auth-card{
  max-width:560px;
  margin:48px auto;
  padding:28px;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(2, 8, 23, 0.08);
}

.auth-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 6px;
}

.auth-subtitle{
  margin:0 0 18px;
  color:#64748b;
  font-weight:700;
}

.form-row{ margin-bottom:14px; }

.form-row label{
  display:block;
  font-weight:800;
  margin-bottom:6px;
}

.input{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
  background:#fff;
}

.input:focus{
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.notice{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff7ed;
  border-left:6px solid #f59e0b;
  font-weight:800;
}

.auth-links{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  font-weight:800;
}

.auth-links a{
  color:#0f172a;
  text-decoration:underline;
  text-underline-offset:3px;
}

.auth-divider{
  color:#cbd5e1;
  font-weight:900;
}


/* Admin bookings: Date & Time stack + audit line */
.dt-date{ font-weight:900; }
.dt-time{ margin-top:4px; color:#64748b; font-weight:800; font-size:12px; white-space:nowrap; }

.audit-info{
  margin-top:6px;
  font-size:12px;
  color:#64748b;
  font-weight:800;
  white-space:normal;
}

/* 5 columns tuning */
.nice-table .col-user{ min-width:200px; }
.nice-table .col-facility{ min-width:260px; white-space:normal; }
.nice-table .col-datetime{ min-width:190px; }
.nice-table .col-action{ min-width:170px; white-space:nowrap; }
 

/* ======================================================
   🔥 SPORTIVA – HOMEPAGE ADD-ON (SAFE VERSION)
   Tambah sahaja. Tidak override style sedia ada.
====================================================== */

/* =========================
   1️⃣ STATS BAR
========================= */
.stats-bar{
  max-width: 820px;
  margin: 30px auto 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
  
}

.stat-item{
  flex: 1;
  text-align: center;
}

.stat-num{
  font-size: 30px;
  font-weight: 800;
  color: #0b1a33; /* navy tone */
  line-height: 1.1;
}

.stat-label{
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 6px;
}

/* =========================
   2️⃣ FACILITIES SECTION
========================= */
.section{
  padding: 70px 20px;
  text-align: center;
}

.section-title{
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b1a33;
}

.section-desc{
  font-size: 15px;
  color: #6b7280;
  max-width: 600px;
  margin
}

/* =========================
   2️⃣ image homepage
========================= */
/* =========================
   HERO BACKGROUND (CLEAN)
========================= */
.hero{
  position: relative;
  min-height: 90vh;

  /* ⚠ tukar nama file ikut file sebenar */
  background: url('image/astaka.png') center/cover no-repeat;

  /* jangan bagi putih override */
  background-color: transparent !important;
}

/* overlay lembut (optional) */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.25)
  );
}


/* pastikan content atas overlay */
.hero-inner{
  position: relative;
  z-index: 2;
}

/* =========================
   HERO TEXT READABILITY FIX
   (override minimal)
========================= */

/* jadikan semua teks hero putih supaya jelas atas gambar */
.hero-kicker,
.hero-subtitle,
.hero-note{
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* tajuk besar lebih solid */
.hero-kicker{
  font-size: 16px;       /* sebelum ni tak set, tambah */
  letter-spacing: 2px;
}

.hero-title{
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  font-size: 92px;       /* naikkan dari 72px → 92px */
  line-height: 1.05;
}

/* button outline: bagi background sikit supaya tulisan jelas */
.hero .btn-outline{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.85);
  color: #ffffff;
}

/* hover lebih jelas */
.hero .btn-outline:hover{
  background: rgba(255,255,255,0.28);
  border-color: #ffffff;
}

.hero{
  padding: 50px 20px 120px;   /* tambah padding bawah supaya ada ruang untuk overlap */
}

/* =========================
   AVAILABLE FACILITIES (Cards) - FIX
========================= */
.facilities{
  padding: 80px 20px 60px;
}

.facilities-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.facilities-title{
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 22px;
  color: var(--text);
  text-align: left;
}

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

.facility-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(2,8,23,0.10);
  border: 1px solid rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.facility-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(2,8,23,0.14);
}

.facility-img{
  height: 170px;
  background: #e5e7eb;
  overflow: hidden;
}

.facility-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-body{
  padding: 18px 18px 20px;
}

.facility-name{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 950;
  color: var(--text);
}

.facility-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(15,23,42,.70);
  margin-bottom: 14px;
}

.facility-status{
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.facility-status.available{
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  color: #166534;
}

.facility-status.unavailable{
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  color: #7f1d1d;
}

.facility-btn{
  width: 100%;
  height: 44px;
  border-radius: 12px;
}

/* responsive */
@media (max-width: 980px){
  .facilities-grid{ grid-template-columns: 1fr 1fr; }
  .facilities-title{ text-align:center; }
}
@media (max-width: 620px){
  .facilities-grid{ grid-template-columns: 1fr; }
}


/* =========================================
   WHY USE SPORTIVA – IMPROVED UI
   (Tambah sahaja, jangan replace CSS lama)
========================================= */

.why-section{
  padding: 90px 20px;
  background: linear-gradient(to bottom, #f8fafc, #eef2f7);
}

.why-title{
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 60px;
  color: #0f172a;
}

.why-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.why-card{
  background: linear-gradient(145deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.35s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.why-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* Header row: icon + title sebaris */
.why-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.why-header i{
  font-size: 26px;
  color: var(--yellow);
  flex-shrink: 0;
}

.why-header h3{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.why-card h3{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.why-card p{
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ===== FIX: icon align nicely with title (2-line) ===== */

.why-header{
  display:flex;
  align-items:flex-start;   /* penting: align ikut baris pertama */
  gap:14px;
  margin-bottom:14px;
}

.why-ico{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(250,204,21,0.14);  /* kuning lembut */
  border: 1px solid rgba(250,204,21,0.25);
  flex-shrink:0;
  margin-top:2px;           /* adjust sikit supaya ngam dgn text */
}

.why-ico i{
  font-size:22px;
  color: var(--yellow);
  line-height:1;
}

.why-header h3{
  margin:0;
  font-size:20px;
  font-weight:800;
  line-height:1.2;          /* bagi tajuk 2 baris nampak kemas */
}

/* ======================================================
   HOW IT WORKS – SPORTIVA
   (Tambah sahaja di bawah)
====================================================== */

.how-section{
  padding: 90px 20px 60px;
  background: transparent; /* ikut flow page */
}

.how-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.how-title{
  font-size: 30px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 40px;
  text-align: left;
}

/* Grid */
.how-grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: start;
}

/* Dotted line belakang icon */
.how-grid::before{
  content:"";
  position:absolute;
  top: 34px;               /* sejajar tengah bulatan */
  left: 30px;
  right: 30px;
  border-top: 3px dotted rgba(15,23,42,0.18);
  z-index: 0;
}

/* Step */
.how-step{
  text-align: center;
  position: relative;
  z-index: 1; /* supaya atas dotted line */
}

/* Bulatan icon */
.how-dot{
  width: 70px;
  height: 70px;
  border-radius: 999px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(2,8,23,0.10);
  border: 1px solid rgba(15,23,42,0.10);
  position: relative;
}

/* Icon style */
.how-dot i{
  font-size: 26px;
  color: var(--navy);
}

/* Small yellow badge (macam tick kecil dalam gambar) */
.how-dot::after{
  content:"";
  position:absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--yellow);
  border: 2px solid #fff;
  bottom: 10px;
  right: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Nombor */
.how-num{
  font-weight: 900;
  color: var(--yellow2);
  margin-bottom: 6px;
}

/* Tajuk step */
.how-name{
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Description */
.how-desc{
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  font-weight: 700;
  max-width: 170px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 980px){
  .how-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .how-grid::before{
    display:none; /* bila 2 column, line tak sesuai */
  }
}

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

/* ============================= */
/* HOW IT WORKS SECTION */
/* ============================= */

.how-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

/* Background Image */
.how-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("image/astaka.png") center/cover no-repeat;
    opacity: 0.45;   /* control transparency */
    filter: blur(2px);
    transform: scale(1.05);
    z-index:0;
}

/* White Overlay Gradient */
.how-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.65)
  );
    z-index: 1;
}

/* Content above overlay */
how-section .container,
.how-section .how-inner{
  position:relative;
  z-index:2;
}

.how-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #0f172a;
}

/* =========================
   FORCE FULL WIDTH SECTION
========================= */

.how-section{
  width: 100vw;                     /* full screen width */
  margin-left: calc(50% - 50vw);    /* tarik keluar dari container */
  position: relative;
}

/* =========================
   FORCE FULL WIDTH SECTION
========================= */
.why-section{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}

/* =========================
   FORCE FULL WIDTH - FACILITIES
========================= */
.facilities{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  padding: 80px 0; /* adjust ikut sedap mata */
}


/* =========================
   MAIN FOOTER
========================= */

.main-footer{
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 60px 10%;
}

.footer-inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-col h4{
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col p,
.footer-col a{
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.footer-col a:hover{
  color: #facc15;
}

.footer-btn{
  margin-top: 15px;
}

.footer-bottom{
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.main-footer{
  background: var(--navy);
  color: rgba(255,255,255,.86);
  padding: 60px 0 0;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.2fr;
  gap: 40px;
}

.footer-col h3,
.footer-col h4{
  color:#fff;
  margin: 0 0 12px;
}

.footer-col p{ margin: 10px 0; line-height: 1.55; }

.footer-col ul{ list-style:none; padding:0; margin:0; }
.footer-col li{ margin: 10px 0; }
.footer-col a{ color: rgba(255,255,255,.8); text-decoration:none; }
.footer-col a:hover{ color:#fff; text-decoration:underline; }

.footer-btn{
  display:inline-block;
  margin-top: 14px;
  background: var(--yellow);
  color:#111;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration:none;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  text-align:center;
  padding: 18px 12px;
  color: rgba(255,255,255,.55);
  font-weight: 800;
}

.main-footer{
  background: var(--navy);
  color: rgba(255,255,255,.86);

  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
