:root{
  --bg:#f4f4f4;
  --card:#ffffff;
  --text:#111;
  --muted:#666;
  --brand:#d50000;
  --wa:#25d366;
  --dark:#222;
  --ring: rgba(213,0,0,.18);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* NAVBAR */
.navbar{
  position: sticky;
  top:0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 16px;
  background:var(--dark);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
}
.nav-logo{ height:44px; width:auto; }
.brand-title{ font-weight:800; letter-spacing:.2px; }
.brand-sub{ font-size:12px; color:rgba(255,255,255,.75); margin-top:2px; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap; /* 👈 ini penting */
}
}
.nav-links a{
  color:#fff;
  text-decoration:none;
  padding:8px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:14px;
  opacity:.95;
}
.nav-links a:hover{ background:rgba(255,255,255,.08); }
.nav-links a.active{ background:rgba(255,255,255,.14); }

/* HERO */
.hero{ margin:0; }
.hero-slider{
  position:relative;
  width:100%;
  height:min(520px, 68vh);
  overflow:hidden;
  background:#000;
}
.hero-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
  filter: brightness(.75);
}
.hero-slide.active{ display:block; }

.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:24px;
  color:#fff;
}
.hero-overlay h1{
  margin:0 0 10px;
  font-size: clamp(26px, 4.2vw, 44px);
  letter-spacing:.3px;
}
.hero-overlay p{
  margin:0 0 18px;
  max-width: 780px;
  color: rgba(255,255,255,.9);
  font-size: clamp(14px, 2.2vw, 18px);
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:14px;
}

.hero-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.badge{
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
}

/* SECTIONS */
.section{
  padding: 28px 16px 40px;
  max-width:1100px;
  margin: 0 auto;
}
.section.alt{
  background: linear-gradient(180deg, rgba(213,0,0,.05), transparent);
  border-top:1px solid rgba(0,0,0,.04);
  border-bottom:1px solid rgba(0,0,0,.04);
  max-width:none;
}
.section.alt .section-head{ max-width:1100px; margin:0 auto; padding: 0 16px; }
.section.alt .features{ max-width:1100px; margin:0 auto; padding: 0 16px; }

.section-head{
  text-align:center;
  margin-bottom:18px;
}
.section-head h2{
  margin:0 0 8px;
  font-size:24px;
}
.section-head p{
  margin:0;
  color:var(--muted);
}

.center{ text-align:center; margin-top:14px; }

/* GRID CARDS */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:16px;
  margin-top: 18px;
}
.card{
  background:var(--card);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}
.card img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.card-body{ padding:14px; }
.card-body h3{ margin:0 0 6px; }
.price{
  margin:0 0 10px;
  font-weight:800;
  color:var(--brand);
}

/* FEATURES */
.features{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
  margin-top: 18px;
}
.feature{
  background: var(--card);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.feature h3{ margin:0 0 6px; }
.feature p{ margin:0; color:var(--muted); }

/* BUTTONS */
.btn{
  display:inline-block;
  background:var(--wa);
  color:#fff;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
  border:0;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(37,211,102,.25);
}
.btn:hover{ filter:brightness(.97); }
.btn.big{ padding:14px 20px; font-size:16px; }
.btn.ghost{
  background: transparent;
  border:2px solid rgba(255,255,255,.75);
  box-shadow:none;
}
.section .btn.ghost{
  border-color: rgba(0,0,0,.12);
  color: var(--text);
}
.section .btn.ghost:hover{ background: rgba(0,0,0,.04); }

/* CALCULATOR */
.calc{
  background: var(--card);
  border-radius:14px;
  padding:18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.calc-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.calc label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
}
.calc input, .calc select{
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.14);
  outline:none;
}
.calc input:focus, .calc select:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 6px var(--ring);
}
.calc-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 14px;
}
.calc-result{
  margin-top: 16px;
  text-align:center;
  padding:14px;
  border-radius:12px;
  background: rgba(213,0,0,.04);
  border:1px solid rgba(213,0,0,.10);
}
.result-big{ font-size:18px; font-weight:900; }
.result-sub{ margin-top:6px; color:var(--muted); }

/* ABOUT/CONTACT BOX */
.about-box, .contact-box{
  background: var(--card);
  border-radius:14px;
  padding:18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.note{
  margin-top:14px;
  padding:12px;
  border-radius:12px;
  background: rgba(0,0,0,.04);
  color: var(--muted);
}

/* FOOTER */
.footer{
  background:#111;
  color:#fff;
  padding: 22px 16px;
  margin-top: 24px;
}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer-title{ font-weight:900; }
.footer-sub{ color:rgba(255,255,255,.7); margin-top:4px; font-size:13px; }
.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links a{
  color:#fff;
  text-decoration:none;
  opacity:.9;
}
.footer-links a:hover{ opacity:1; }
.copyright{
  text-align:center;
  margin-top: 12px;
  color:rgba(255,255,255,.7);
  font-size:13px;
}

/* WHATSAPP FLOAT */
.wa-float{
  position:fixed;
  right:16px;
  bottom:16px;
  background: var(--wa);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  padding:14px 16px;
  border-radius:999px;
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  z-index:60;
}

/* MOBILE */
@media (max-width: 520px){
  .nav-logo{ height:38px; }
  .brand-sub{ display:none; }
  .hero-slider{ height: 58vh; }
  .card img{ height: 160px; }
}

.variant-box {
  margin: 10px 0;
}

.variant-box summary {
  cursor: pointer;
  font-weight: bold;
  color: #d50000;
  margin-bottom: 8px;
}

.variant-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.variant-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
}

.variant-list span {
  font-weight: bold;
}

/* ===== tools ===== */
.muted { color:#666; }
.tools{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin: 16px 0 18px;
}
.filter{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}
.chip.active{
  border-color:#d50000;
  box-shadow:0 0 0 6px rgba(213,0,0,.10);
}
.search{
  min-width: 260px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.14);
  outline:none;
}
.search:focus{
  border-color:#d50000;
  box-shadow:0 0 0 6px rgba(213,0,0,.10);
}

/* ===== selected bar ===== */
.selected-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  margin-bottom: 18px;
}
.selected-title{ font-weight:900; }
.selected-sub{ color:#666; margin-top:4px; font-size:14px; }
.selected-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* ===== variant list upgrade ===== */
.variant-box { margin: 10px 0; }
.variant-box summary{
  cursor:pointer;
  font-weight:900;
  color:#d50000;
  margin-bottom:8px;
}
.variant-list{
  list-style:none;
  padding:0;
  margin:10px 0;
}
.variant-item{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap:10px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px dashed #ddd;
  font-size:14px;
}
.variant-item span{ font-weight:900; }
.variant-item.picked{
  background: rgba(213,0,0,.05);
  border-radius:10px;
  padding-left:10px;
  padding-right:10px;
}
.mini{
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  padding:6px 10px;
  border-radius:10px;
  cursor:pointer;
  font-weight:800;
}
.mini:hover{ background: rgba(0,0,0,.04); }

/* ===== modal calculator ===== */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:999;
}
.modal.show{ display:block; }
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.modal-card{
  position:relative;
  width:min(720px, 92vw);
  margin: 60px auto;
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}
.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.modal-title{ font-weight:900; font-size:18px; }
.modal-sub{ color:#666; margin-top:4px; font-size:13px; }
.x{
  border:0;
  background: rgba(0,0,0,.06);
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.calc-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.calc-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:800;
}
.calc-grid input, .calc-grid select{
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.14);
  outline:none;
}
.calc-grid input:focus, .calc-grid select:focus{
  border-color:#d50000;
  box-shadow:0 0 0 6px rgba(213,0,0,.10);
}
.calc-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}
.calc-result{
  margin-top:14px;
  padding:12px;
  border-radius:12px;
  background: rgba(213,0,0,.04);
  border:1px solid rgba(213,0,0,.10);
  text-align:center;
}
.result-big{ font-weight:900; font-size:18px; }
.result-sub{ margin-top:6px; color:#666; }
.result-note{ margin-top:8px; color:#666; font-size:12px; }

/* ===== WhatsApp float (kalau belum ada) ===== */
.wa-float{
  position:fixed;
  right:16px;
  bottom:16px;
  background:#25d366;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  padding:14px 16px;
  border-radius:999px;
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  z-index:60;
}

.hero-simple {
  background: #d50000;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.home-calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.home-calc label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.home-calc input,
.home-calc select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.result-box {
  background: #fff;
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.result-box .amount {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0;
}

.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home-calc {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
}

.result-box {
  background: #fff;
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.amount {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* ===== TOP SALES HOME ===== */
.top-sales {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.top-sales h2 {
  margin-bottom: 6px;
}

.top-sales p {
  color: #666;
  margin-bottom: 20px;
}

.top-sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.top-sales-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transition: transform .3s ease;
}

.top-sales-grid img:hover {
  transform: scale(1.05);
}

/* ===== STAFF SECTION ===== */
.staff-section {
  background: #f7f7f7;
  padding: 40px 20px;
  text-align: center;
}

.staff-section h2 {
  margin-bottom: 6px;
}

.staff-section p {
  color: #666;
  margin-bottom: 20px;
}

.staff-section img {
  max-width: 1000px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* ===== DELIVERY / TESTIMONI ===== */
.delivery-section {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.delivery-section h2 {
  margin-bottom: 6px;
}

.delivery-section p {
  color: #666;
  margin-bottom: 25px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 25px;
}

.delivery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: transform .3s ease;
  cursor: pointer;
}

.delivery-grid img:hover {
  transform: scale(1.05);
}


/* =========================
   LOAN CALCULATOR UPGRADE
   (DESIGN ONLY - SAFE)
========================= */

/* box utama calculator */
.loan-box {
  background: linear-gradient(180deg, #ffffff, #f9f9f9);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  animation: fadeInUp .4s ease;
}

/* tajuk */
.loan-box h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 6px;
}

/* info model */
#modelInfo {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

/* label */
.loan-box label {
  font-size: 14px;
  margin-top: 12px;
  color: #333;
}

/* input & select */
.loan-box input,
.loan-box select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: all .2s ease;
}

.loan-box input:focus,
.loan-box select:focus {
  border-color: #d50000;
  box-shadow: 0 0 0 6px rgba(213,0,0,.12);
  outline: none;
}

/* butang kira */
.loan-box button {
  margin-top: 18px;
  padding: 14px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #d50000, #ff3b3b);
  box-shadow: 0 10px 22px rgba(213,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.loan-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(213,0,0,.5);
}

/* hasil ansuran */
#ansuranText {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  color: #d50000;
}

/* whatsapp button dalam calculator */
.btn-whatsapp {
  margin-top: 16px;
  font-size: 15px;
  padding: 14px;
  border-radius: 30px;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
}

/* animasi */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* mobile tweak */
@media (max-width: 480px) {
  .loan-box {
    padding: 20px;
  }

  #ansuranText {
    font-size: 18px;
  }
}

.viewer-section{
  text-align:center;
  padding:40px 20px;
  background:#fff;
}
.viewer{
  max-width:900px;
  margin:0 auto 20px;
}
.viewer img{
  width:100%;
  border-radius:16px;
  box-shadow:0 14px 30px rgba(0,0,0,.25);
  touch-action:pan-y;
}
.btn-whatsapp{
  display:block;
  margin-top:15px;
  background:#25d366;
  color:#fff;
  padding:14px;
  border-radius:30px;
  text-align:center;
  font-weight:bold;
  text-decoration:none;
}
/* =========================
   WHATSAPP INTRO POPUP FIX
========================= */
.wa-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* ... wa-popup-card, wa-btn, wa-close, popIn ... */

/* =========================
   CALCULATOR - CAR IMAGE SIZE
========================= */
.car-preview img {
  width: 280px;        /* saiz desktop */
  max-width: 200%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* Mobile */
@media (max-width: 480px) {
  .car-preview img {
    width: 140px;
  }
}

/* =========================
   CALCULATOR IMAGE ANIMATION
========================= */
.car-preview img {
  transition: opacity .35s ease, transform .35s ease;
}

.car-preview img.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.car-preview img.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   PROMO TICKER (MARQUEE)
========================= */
.promo-ticker {
  margin: 12px auto 0;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, #d50000, #ff3b3b);
  border-radius: 30px;
  padding: 15px 0;
  max-width: 560px;
}

.promo-track {
  display: inline-block;
  padding-left: 100%;
  animation: promoMove 18s linear infinite;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

@keyframes promoMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ===== MULTI ANSURAN ===== */
.result-multi{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
  margin-top:20px;
}

.ansuran-box{
  background:#fff;
  border-radius:14px;
  padding:16px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  border:2px solid #eee;
}

.ansuran-box h4{
  margin:0 0 6px;
  font-size:15px;
}

.ansuran-box .price{
  font-size:22px;
  font-weight:900;
  color:#d50000;
}

.ansuran-box.best{
  border-color:#25d366;
  background:#f1fff6;
}

.ansuran-box.best::after{
  content:"PALING JIMAT";
  display:block;
  margin-top:8px;
  font-size:12px;
  font-weight:900;
  color:#25d366;
}
/* =========================
   MODEL CARD ANIMATION
========================= */

.model-card {
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* image zoom sikit */
.model-card img {
  transition: transform 0.35s ease;
}

.model-card:hover img {
  transform: scale(1.05);
}

/* mobile touch feedback */
.model-card:active {
  transform: scale(0.98);
}

/* =========================
   PROFILE INTRO HOME
========================= */

.profile-intro {
  background: #f7f7f7;
  padding: 50px 20px;
}

.profile-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.profile-card img {
  width: 100%;
  max-width: 200px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0,0,0,.25);
}

.profile-info h2 {
  margin: 0 0 6px;
}

.profile-title {
  font-weight: bold;
  color: #d50000;
  margin-bottom: 12px;
}

.profile-desc {
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
}

.profile-btn {
  display: inline-block;
}

/* MOBILE */
@media (max-width: 768px) {
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-card img {
    margin: 0 auto;
  }
}

/* =========================
   TOP SALES BADGE
========================= */
.top-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d50000, #ff3b3b);
  color: #fff;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(213,0,0,.45);
}

/* =========================
   RATING STAR
========================= */
.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.rating span {
  font-size: 18px;
  animation: starPop .6s ease forwards;
}

.rating-text {
  font-size: 13px;
  color: #555;
  margin-left: 6px;
}

/* =========================
   FADE IN ANIMATION
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s ease forwards;
  animation-delay: .3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes starPop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   VERIFIED BADGE
========================= */
.verified-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #1da1f2;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(29,161,242,.5);
  animation: verifiedPop .6s ease forwards;
}

@keyframes verifiedPop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {

    /* =========================
   PROFILE PICTURE FIX
========================= */
.profile-pic{
  width: 120px;          /* saiz selamat */
  height: 120px;
  object-fit: cover;     /* tak herot */
  border-radius: 50%;    /* bulat */
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  display: block;
  margin: 0 auto 12px;   /* center */
}

/* Mobile kecilkan sikit */
@media (max-width: 480px){
  .profile-pic{
    width: 90px;
    height: 90px;
  }
}

    transform: scale(1);


/* =========================
   PROFILE IMAGE FORCE FIX
   (JANGAN PADAM)
========================= */
img.profile-pic{
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto 12px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.25) !important;
}

/* Mobile */
@media (max-width: 480px){
  img.profile-pic{
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
  }
}

    
    opacity: 1;
  }
}

/* =========================
   WHATSAPP POPUP FINAL FIX
========================= */

.wa-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.wa-popup-card{
  background: #fff;
  width: 90%;
  max-width: 320px;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  animation: popIn .25s ease;
}

/* 🔥 FIX UTAMA GAMBAR */
.wa-popup-card img.wa-profile{
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  max-height: 90px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto 10px !important;
}

.wa-close{
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

@keyframes popIn{
  from{ transform: scale(.9); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}

/* =========================
   NAVBAR FINAL FIX (ALL DEVICE)
========================= */
.navbar .nav-links a,
.navbar .nav-links a:visited,
.navbar .nav-links a:hover,
.navbar .nav-links a:active,
.navbar .nav-links a:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* buang highlight biru mobile */
.navbar .nav-links a {
  -webkit-tap-highlight-color: transparent;
}










