@charset "utf-8";

/* =====================================
   VARIABLE & RESET ASAS
===================================== */

:root {
  --bg-body: #020617;
  --bg-section-dark: #020617;
  --bg-section-light: #f3f4f6;
  --bg-section-orange: #f97316;
  --text-main: #0b1120;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-soft: rgba(249, 115, 22, 0.16);
  --card-dark: #020617;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
}

/* =====================================
   BUTTON UTAMA
===================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--primary);
  color: #111827;
  box-shadow: 0 12px 30px rgba(248, 113, 22, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(248, 113, 22, 0.6);
}

.btn-lg {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
}

/* Client login special */
.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn.btn-client {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.btn.btn-client:hover {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.7);
}

/* =====================================
   HEADER
===================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 44px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.18s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.2rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================
   HERO – layout utama depan
=========================== */

.hero {
  position: relative;
  min-height: 520px;
  background: #020617;
  color: #f9fafb;
  overflow: hidden;
}

/* Background slider (app.js akan tukar image) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 7s ease;
}

/* Efek gelap–cerah di tengah */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center,
      rgba(15, 23, 42, 0.0) 0%,
      rgba(15, 23, 42, 0.15) 35%,
      rgba(15, 23, 42, 0.75) 72%,
      rgba(15, 23, 42, 0.92) 100%);
  mix-blend-mode: multiply;
}

/* Kandungan hero */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

/* Kotak gambar Rizal – tanpa background, hanya drop shadow pada gambar */
.hero-photo-box {
  position: relative;
  justify-self: center;
  background: transparent;      /* tiada warna langsung */
  border-radius: 1.8rem;
  padding: 0;                   /* buang padding supaya tak nampak kotak */
  box-shadow: none;             /* shadow hanya pada gambar, bukan kotak */
}

.hero-photo-box img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 1.4rem;
  background: transparent;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.9)); /* kekalkan shadow pada gambar */
}



/* Kad maklumat pantas sebelah kanan */
.hero-info {
  position: relative;
  background: rgba(15, 23, 42, 0.86);
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;        /* bagi lebar tetap supaya kemas */
}

/* Butang dalam kad maklumat pantas – patah baris, penuh lebar card */
.hero-info .btn {
  width: 100%;
  box-sizing: border-box;
  white-space: normal;     /* override nowrap global */
  text-align: left;
  justify-content: flex-start;
  line-height: 1.3;
}

.hero-left *,
.hero-title,
.hero-tagline,
.hero-desc {
  text-shadow: 0 4px 8px rgba(0,0,0,0.85);
}
.hero-left * {
  text-shadow:
    0 2px 4px rgba(0,0,0,1),
    0 6px 18px rgba(0,0,0,0.95),
    0 12px 32px rgba(0,0,0,0.9);
}

/* Buang shadow pada butang hero */
.hero .btn-primary {
    box-shadow: none !important;
}

.hero .btn-primary:hover {
    box-shadow: none !important;
    transform: none !important;
}
/* HERO CTA – buang shadow dan jarakkan butang */
.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;            /* jarak antara dua butang */
}

/* Semua button dalam hero-actions tiada shadow */
.hero-actions .btn-primary,
.hero-actions .btn-primary:hover {
  box-shadow: none !important;   /* override shadow global */
  transform: none !important;    /* elak efek terangkat bila hover */
}



.mini-quote-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  background: rgba(15, 23, 42, 0.9);
}

.mini-quote-text {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.mini-quote-meta {
  grid-column: 2 / -1;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Tag pill di bawah hero */
.hero-tags {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: -0.6rem auto 1.8rem;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Responsive hero */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-photo-box {
    order: 2;
    margin-top: 1.5rem;
  }

  .hero-info {
    order: 3;
  }

  .hero-tags {
    margin-top: 0.5rem;
  }
}




/* =====================================
   SECTIONS UMUM
===================================== */

.section {
  padding: 60px 0;
}

.section-dark {
  background: #020617;
  color: #e5e7eb;
}

.section-light {
  background: #f3f4f6;
  color: #0b1120;
}

.section-orange {
  background: #0b1120;
  color: #f9fafb;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background tile Vigor untuk section Perkhidmatan sahaja */
#perkhidmatan.section-dark {
  position: relative;
  background: #020617 url("img/bgvigor.png") repeat;
  background-size: 220px auto; /* boleh kecil/besarkan ikut sedap mata */
}

/* Overlay gelap supaya text lebih jelas di atas tile */
#perkhidmatan.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0);
  pointer-events: none;
}

/* Naikkan isi section di atas overlay */
#perkhidmatan .section-inner {
  position: relative;
  z-index: 1;
}

/* ===========================
   PASUKAN HARTANAH – BACKGROUND OREN
=========================== */

#pasukan.section-orange {
  position: relative;
  background: var(--primary); /* oren f97316 */
  color: #0b1120;
}

/* Gelapkan sikit supaya tak terlalu terang */
#pasukan.section-orange::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

#pasukan .section-inner {
  position: relative;
  z-index: 2;
}

/* Card dan text dalam section pasukan perlu terang */
#pasukan .focus-panel,
#pasukan .team-rizal img,
#pasukan .team-text,
#pasukan .team-list li {
  color: #0b1120 !important;
}

#pasukan h2,
#pasukan .section-subtitle {
  color: #fff !important;
}


.section h2 {
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0 0 1.4rem;
}

.section-subtitle.small {
  font-size: 0.8rem;
}

/* Grid kad perkhidmatan dan proses */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card-btn,
.service-card,
.step-card {
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.9rem 1rem;
  color: #f9fafb;
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.info-card-btn h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.info-card-btn p {
  margin: 0;
  color: #cbd5f5;
}

.info-card-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95);
}

/* Step number */
.step-card {
  position: relative;
  padding-top: 1.2rem;
}

.step-number {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.4);
}

/* Responsif grid */
@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================
   TESTIMONI + AKTIVITI – background bgvigor
===================================== */

#testimoni.section-light,
#testimoni,
.section-testimoni {
  position: relative;
  background: #020617 url("img/bgvigor.png") repeat;
  background-size: 260px auto; /* boleh adjust 200–320px ikut sedap mata */
  color: #e5e7eb;
}

/* Letakkan overlay gelap supaya text lebih jelas */
#testimoni::before,
.section-testimoni::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72); /* overlay gelap */
  pointer-events: none;
}

#testimoni .section-inner {
  position: relative;
  z-index: 2;
}

/* Layout kiri/kanan */
.testimoni-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

/* Kotak testimoni hitam */
.testi-box {
  margin-top: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.testi-text {
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}

.testi-meta {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin: 0;
}

/* =============================
   Gambar Aktiviti Hartanah
============================= */

/* ACTIVITI GRID – rapatkan card dan kecilkan jarak */
.activity-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;          /* lebih rapat */
  justify-items: center;
  align-items: start;
  margin-top: 0.6rem;
  padding: 0 0.2rem;    /* rapat kiri kanan */
}

/* Kotak gambar – bagi lebih kemas */
.activity-gallery img {
  width: 100%;
  height: 90px;         /* rapat tetapi maintain cantik */
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
  background: #000;
}

/* Tajuk bawah gambar – rapatkan line height */
.activity-gallery + p,
.activity-gallery + div,
.activity-gallery + span {
  margin-top: 0.4rem !important;
  line-height: 1.25 !important;
}

/* Responsif */
@media (max-width: 768px) {
  .activity-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .activity-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-gallery img {
    height: 80px;
  }
}


.activity-gallery img {
  width: 100%;
  height: 110px; /* lebih besar & sekata */
  object-fit: cover;
  border-radius: 0.85rem;
  padding: 3px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.activity-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}


/* =====================================
   FOKUS KAWASAN
===================================== */

.kawasan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.kawasan-panel {
  background: #020617;
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.lokasi-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.85rem;
}

.lokasi-list li + li {
  margin-top: 0.2rem;
}

.kawasan-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.kawasan-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0.6rem;
}

/* =====================================
   TOOL HARTANAH
===================================== */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  background: #020617;
  color: #e5e7eb;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.tool-card h3 {
  font-size: 0.95rem;
  margin: 0.4rem 0 0.4rem;
}

.tool-card p {
  margin: 0;
  color: #cbd5f5;
}

.tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

.tool-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #4b5563;
}

/* =====================================
   PASUKAN SECTION
===================================== */

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.team-text {
  font-size: 0.9rem;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
}

.team-list li {
  margin-bottom: 0.35rem;
}

.team-rizal img {
  width: 220px;
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

.team-photo-main {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
}

.team-photo-main img {
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

/* =====================================
   ARTICLE ROTATOR DI HOMEPAGE
   (dikunci pada #artikel-home sahaja)
===================================== */

#artikel-home.section-article-home {
  position: relative;
  overflow: hidden;
  padding-top: 1rem;
}

#artikel-home .article-rotator {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 1.75rem;
}

#artikel-home .article-card {
  position: absolute;
  max-width: 720px;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1rem;
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.35s ease;
}

#artikel-home .article-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75);
}

#artikel-home .article-card.is-flashing {
  animation: artikelFlash 1.4s ease-out;
}

@keyframes artikelFlash {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.8); }
  50% { box-shadow: 0 0 0 16px rgba(255, 122, 0, 0); }
  100% { box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75); }
}

#artikel-home .article-cover {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #020617;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#artikel-home .article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#artikel-home .article-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

#artikel-home .article-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.05);
  border: 1px solid rgba(248, 250, 252, 0.1);
  color: #f97316;
}

#artikel-home .article-title {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
}

#artikel-home .article-cta {
  font-size: 0.9rem;
  color: #f97316;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

#artikel-home .article-cta::after {
  content: "›";
  font-size: 1.15rem;
}

/* Dot navigasi */
#artikel-home .article-rotator-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

#artikel-home .article-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #4b5563;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#artikel-home .article-dot.is-active {
  width: 20px;
  background: #f97316;
  transform: translateY(-1px);
}

#artikel-home .article-cta-all {
  margin-top: 1.75rem;
  text-align: center;
}

/* Responsif article card di homepage */
@media (max-width: 768px) {
  #artikel-home .article-card {
    position: relative;
    grid-template-columns: 1fr;
  }

  #artikel-home .article-cover {
    max-height: 180px;
  }
}

/* =====================================
   FOOTER
===================================== */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2.5rem 0 1.8rem;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.footer-brand-row {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-logo {
  width: 42px;
  height: auto;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-text {
  font-size: 0.83rem;
  margin-top: 0.7rem;
}

.footer-heading {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin: 0 0 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.footer-links li + li {
  margin-top: 0.25rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-agent {
  margin-bottom: 0.4rem;
}

.footer-contact-lines p {
  margin: 0.1rem 0;
  font-size: 0.8rem;
}

.footer-wa {
  margin-top: 0.6rem;
  font-size: 0.8rem;
}

.footer-small-note {
  font-size: 0.78rem;
  margin-top: 0.5rem;
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  margin-top: 2rem;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.78rem;
}

.footer-disclaimer {
  margin: 0 0 0.25rem;
}

.footer-meta {
  margin: 0;
}

.footer-meta a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--primary);
}

/* Responsif footer dan layout lain */
@media (max-width: 960px) {
  .testimoni-layout,
  .focus-grid,
  .tool-grid,
  .team-layout,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   MODAL POPUP – INFO PERKHIDMATAN / PROSES
========================================= */

.modal {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 9999;
  display: none !important;        /* <-- TAMBAH !important */
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none !important;        /* <-- TAMBAH !important */
}

/* Bila JS buang class .hidden */
.modal:not(.hidden) {
  display: flex !important;        /* <-- TAMBAH !important */
}


.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78); /* overlay gelap */
}

/* Kotak popup */
.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #020617;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  /* jangan letak top:... atau margin-top di sini */
}

.modal-dialog h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.modal-dialog p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.modal-close:hover {
  background: #111827;
}

.modal-cta {
  margin-top: 0.25rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 640px) {
  .modal-dialog {
    margin: 0 1rem;
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

/* === HERO ACTIONS FINAL FIX === */
.hero-actions {
  margin-top: 1.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.7rem !important;
}

/* Buang shadow untuk semua butang di hero */
.hero-actions .btn-primary,
.hero-actions .btn-primary:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Pastikan text boleh wrap jika perlu */
.hero-actions .btn {
  white-space: normal !important;
}

/* Override terakhir: buang shadow untuk dua butang hero sahaja */
.hero .hero-actions .btn-primary,
.hero .hero-actions .btn-primary:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* BUTANG HERO – TIADA SHADOW */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--primary);
  color: #111827;
  box-shadow: none;              /* flat, tiada glow */
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-hero:hover {
  background: var(--primary-dark);
  box-shadow: none;
  transform: none;
}

/* Susunan butang hero – jarak antara dua butang */
.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

/* BUTANG HERO TANPA SHADOW */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--primary);
  color: #111827;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-hero:hover {
  background: var(--primary-dark);
  box-shadow: none;
  transform: none;
}

/* Susunan butang dalam hero */
.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

/* =============================
   Gambar Aktiviti Hartanah
   ============================= */

.activity-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Setiap item isi penuh 1 kolum */
.activity-gallery .activity-item {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Gambar besar dan penuh lebar */
.activity-gallery .activity-item img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Caption overlay di bawah gambar */
.activity-gallery .activity-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #f9fafb;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4),
    transparent
  );
}

/* Mobile: susun 2 kolum, gambar sedikit kecil */
@media (max-width: 768px) {
  .activity-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .activity-gallery .activity-item img {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .activity-gallery {
    grid-template-columns: 1fr;
  }

  .activity-gallery .activity-item img {
    height: 140px;
  }
}

/* =====================================
   PAPARAN HARTANAH – gambar besar & rapat
===================================== */

.prop-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem !important;
  margin-top: 0.9rem !important;
  padding: 0 !important;
}

.prop-gallery figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);
}

.prop-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .prop-gallery {
    gap: 0.5rem !important;
  }

  .prop-gallery img {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .prop-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prop-gallery img {
    height: 110px;
  }
}

/* =====================================================
   BACKGROUND VIGOR UNTUK 
   "Cara kami uruskan jual beli dan sewa"
   dan 
   "Fokus utama di Johor dan seluruh Malaysia"
   ===================================================== */

/* Section PROSES – Cara kami uruskan jual beli & sewa */
#proses.section-dark,
#proses {
  position: relative;
  background: #020617 url("img/bgvigor.png") repeat !important;
  background-size: 260px auto !important;
  color: #e5e7eb !important;
}

#proses::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72); /* overlay gelap sama Testimoni */
  pointer-events: none;
}

#proses .section-inner {
  position: relative;
  z-index: 2;
}


/* Section FOKUS – Fokus utama di Johor dan seluruh Malaysia */
#fokus.section-dark,
#fokus {
  position: relative;
  background: #020617 url("img/bgvigor.png") repeat !important;
  background-size: 260px auto !important;
  color: #e5e7eb !important;
}

#fokus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72); /* overlay sama Testimoni */
  pointer-events: none;
}

#fokus .section-inner {
  position: relative;
  z-index: 2;
}

/* ARTIKEL TIPS HARTANAH – FIX OVERLAP + DARK BLUE BG */
.section-article-home {
    background: #0b162c; /* biru gelap */
    padding-top: 80px;   /* tambah ruang supaya tak overlap tajuk */
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-article-home h2,
.section-article-home .section-subtitle {
    color: #e6ecff; /* teks putih kebiruan supaya lebih clear */
}

.section-article-home .article-card {
    background: #162447;   /* kad artikel lebih gelap */
    border: 1px solid rgba(255,255,255,0.08);
}

.section-article-home .article-card .article-title,
.section-article-home .article-card .article-excerpt,
.section-article-home .article-card .article-label {
    color: #ffffff;
}

.section-article-home .article-dot {
    background: rgba(255,255,255,0.3);
}

.section-article-home .article-dot.is-active {
    background: #ffffff;
}

/* TOOL HARTANAH – DARK BLUE VERSION */
.section-light.tool-section,
#tool.section-light,
section#tool {
    background: #0b162c !important;      /* Biru gelap */
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Tajuk & subtitle */
#tool h2,
#tool .section-subtitle {
    color: #e6ecff !important;    /* Putih kebiruan */
}

/* Kad-kad tool */
.tool-grid .tool-card {
    background: #162447 !important;   /* Navy gelap */
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
}

.tool-grid .tool-card h3,
.tool-grid .tool-card p,
.tool-grid .tool-card .tool-cta {
    color: #ffffff !important;
}

.tool-grid .tool-card i {
    color: #ffffff !important;
}

/* Hover effect */
.tool-grid .tool-card:hover {
    background: #1e2f5a !important;
    transform: translateY(-4px);
    transition: 0.2s ease;
}

/* ARTICLE ROTATOR DI HOMEPAGE */
#artikel-home.section-article-home {
  position: relative;
  overflow: hidden;
  padding-top: 1rem;
}

/* TAMBAH min-height SUPAYA TAK OVERLAP TAJUK */
#artikel-home .article-rotator {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 2rem;
  min-height: 260px; /* atau 280px kalau masih rapat */
}

