/* ==========================================================
   STYLE WEBSITE AKUNTAN PRIBADI AKU
   Sesuai Referensi Desain:
   - Warna Utama: Sage Green (#498877 / #3d7264)
   - Warna Aksen: Warm Sand / Gold (#d59b3f / #c38b34)
   - Latar: Cream / Soft Ivory (#fcfaf6)
   - Teks: Slate Dark (#2c3e38)
   ========================================================== */

:root {
  --primary: #63a68d;
  --primary-dark: #376a5c;
  --primary-light: #5f9f8e;
  --secondary: #d59b3f;
  --secondary-dark: #b8822f;
  --secondary-light: #f4ebd9;
  --bg-light: #fcfaf6;
  --bg-white: #ffffff;
  --text-main: #2b3a35;
  --text-muted: #667570;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================== NAVBAR ================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 64px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.brand-logo {
  display: inline-block;
  position: relative;
  z-index: 1010;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 16px;
}

.brand-logo img {
  height: 100px;
  width: auto;
  border-radius: 4px;
  transition: transform 0.25s ease;
  display: block;
}

.brand-logo:hover img {
  transform: translateY(2px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  height: 100%;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  padding: 0 4px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  opacity: 0.92;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #ffffff;
  transition: var(--transition);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-cms-btn {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  color: var(--primary-dark);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  height: auto;
  align-self: center;
}

.nav-link.nav-cms-btn::after {
  display: none;
}

.nav-link.nav-cms-btn:hover {
  background: #f0f0f0;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.hamburger-svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: #ffffff;
  stroke-width: 1.6; /* Bisa diubah sesuka hati: 1, 1.2, 1.5, 2 dst */
  transition: var(--transition);
}

.hamburger-btn:hover .hamburger-svg {
  opacity: 0.85;
}

/* ================== HERO SECTION (SESUAI MOCKUP TERBARU) ================== */
.hero-section-new {
  position: relative;
  width: 100%;
}

.text-center {
  text-align: center;
}

/* 1. Bagian Atas: Background Cream Lembut & Video Carousel */
.hero-top-block {
  background-color: #f7f1e1; /* Warna cream hangat sesuai screenshot */
  padding: 60px 0 45px;
  position: relative;
  overflow: hidden;
}

.hero-new-title {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero-new-title span {
  display: block;
}

.hero-new-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: #3d4a44;
  margin-bottom: 22px;
}

.hero-title-divider {
  width: 55px;
  height: 4px;
  background-color: #c99338; /* Garis emas kecil di bawah tagline */
  margin: 0 auto 35px;
  border-radius: 2px;
}

/* MasterClass Style Video Carousel */
.video-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.video-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  justify-content: flex-start;
}

.video-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Kartu Video Individual (MasterClass Portrait Style) */
.video-carousel-item {
  flex: 0 0 calc(20% - 16px); /* show 5 items, peek for 5th */
  min-width: 220px;
  max-width: 280px;
  aspect-ratio: 9/13;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background-color: #2b3a35;
}

.video-carousel-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.video-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-carousel-item:hover img {
  transform: scale(1.06);
}

/* Overlay Play Button MasterClass */
.item-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: background 0.3s ease;
}

.play-circle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.video-carousel-item:hover .play-circle-btn {
  background: #ffffff;
  color: var(--secondary);
  transform: scale(1.12);
}

.item-video-title {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Navigasi Panah Carousel */
.carousel-nav-btn {
  position: absolute;
  top: 40%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  color: var(--primary-dark);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-btn:hover {
  background: transparent !important;
  color: var(--secondary) !important;
  transform: none !important;
}

.carousel-nav-btn.prev-btn {
  left: 6px;
}

.carousel-nav-btn.next-btn {
  right: 6px;
}

/* 2. Bagian Tengah: 2 Kolom Paragraf Penjelasan */
.hero-middle-block {
  background-color: #ffffff;
  padding: 55px 0 45px;
}

.hero-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.hero-col p {
  color: #4a5550;
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

.hero-col p:last-child {
  margin-bottom: 0;
}

/* 3. Bagian Bawah: Pita Hijau & Tombol Putih */
.hero-bottom-ribbon {
  background-color: var(--primary);
  padding: 24px 0;
}

.hero-white-cta-btn {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary-dark);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  padding: 12px 36px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-white-cta-btn:hover {
  background-color: #fcfaf6;
  color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

/* ================== SECTION TITLE ================== */
.section {
  padding: 70px 0;
}

#layanan,
#perpajakan {
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 45px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ================== LINGKUP PEKERJAAN ================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  align-items: start;
}

.service-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "description description";
  align-items: center;
  align-content: start;
  column-gap: 12px;
  row-gap: 24px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  transition: var(--transition);
}

.service-icon-wrap {
  grid-area: icon;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 50%;
  background-color: rgba(73, 136, 119, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.service-card h3 {
  grid-area: title;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-dark);
}

.service-card p {
  grid-area: description;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

/* ================== SEPUTAR PERPAJAKAN ================== */
.horizontal-carousel {
  width: 100%;
}

.horizontal-carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

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

.articles-wrapper {
  gap: 30px;
}

.article-card {
  flex: 0 0 55%;
  min-width: 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  scroll-snap-align: start;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
}

.article-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background-color: var(--secondary-light);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-date {
  font-size: 0.8rem;
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-readmore-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: var(--transition);
}

.article-readmore-btn:hover {
  color: var(--secondary-dark);
  gap: 10px;
}

.horizontal-carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 24px auto 0;
}

.horizontal-carousel-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 136, 119, 0.3);
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.horizontal-carousel-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #ffffff;
}

.horizontal-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.horizontal-carousel-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.horizontal-carousel-indicator {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(73, 136, 119, 0.2);
}

.horizontal-carousel-indicator span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: left 0.2s ease, width 0.2s ease;
}

/* ================== KONSULTASIKAN SEKARANG ================== */
.consultation-section {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 60px 0;
}

.consultation-section .section-title {
  color: #ffffff;
}

.consultation-section .section-title::after {
  display: none;
}

.consult-contacts-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-pill-btn {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  font-size: 0.95rem;
}

.contact-pill-btn:hover {
  background-color: var(--secondary-light);
  color: var(--primary-dark);
}

.contact-pill-btn i {
  color: var(--primary);
  font-size: 1.1rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  align-items: start;
}

.branch-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "address address"
    "map map";
  align-items: center;
  align-content: start;
  gap: 16px;
  background: #ffffff;
  color: var(--text-main);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.branch-icon {
  grid-area: icon;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.branch-card h4 {
  grid-area: title;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.branch-card p {
  grid-area: address;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.branch-map-link {
  grid-area: map;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.branch-map-link:hover {
  text-decoration: underline;
}

/* ================== AKTIVITAS KAMI ================== */
.activity-gallery {
  display: flex;
  gap: 20px;
}

.activity-item {
  flex: 0 0 calc((100% - 40px) / 3);
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  scroll-snap-align: start;
}

.activity-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-item:hover img {
  transform: scale(1.08);
}

.activity-item--no-caption {
  cursor: default;
}

.activity-item--no-caption:hover img {
  transform: none;
}

.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45, 94, 81, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.activity-item:hover .activity-overlay {
  opacity: 1;
}

.activity-overlay span {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ================== LIST KLIEN ================== */
.clients-section {
  background-color: var(--bg-white);
  padding: 40px 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.clients-slider {
  display: flex;
  align-items: stretch;
}

.client-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(44px, auto));
  align-content: start;
  gap: 12px;
  scroll-snap-align: start;
}

.client-badge {
  min-width: 0;
  background: var(--bg-light);
  border: none;
  color: var(--primary-dark);
  font-weight: 400;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ================== ULASAN PENGUNJUNG ================== */
.reviews-carousel:not(.is-scrollable) .reviews-grid {
  display: grid;
  overflow: visible;
  flex-wrap: initial;
  scroll-snap-type: none;
}

.reviews-carousel:not(.is-scrollable) .horizontal-carousel-controls {
  display: none;
}

.reviews-carousel.is-scrollable .reviews-grid {
  margin-bottom: 0;
}

.reviews-carousel.is-scrollable .horizontal-carousel-controls {
  margin-bottom: 50px;
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.reviews-carousel.is-scrollable .review-card {
  flex: 0 0 calc((100% - 48px) / 3);
}

.review-card {
  background: #fdf6ec;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}

.stars {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-comment {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.reviewer-name {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.review-submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.review-submit-btn:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

/* Formulir Ulasan */
.review-form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(73, 136, 119, 0.2);
}

.review-form-card h3 {
  text-align: center;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cccccc;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(73, 136, 119, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.star-rating-select {
  display: flex;
  gap: 8px;
  font-size: 1.6rem;
  color: #d1d5db;
  cursor: pointer;
  margin-bottom: 10px;
}

.star-rating-select i:hover,
.star-rating-select i.selected {
  color: var(--secondary);
}

/* ================== FOOTER ================== */
.site-footer {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 45px 0 25px;
  text-align: center;
  border-top: 5px solid var(--secondary-dark);
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.footer-branches-text {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 0.88rem;
  opacity: 0.95;
  line-height: 1.8;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

/* ================== FLOATING WHATSAPP BUTTON ================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.floating-whatsapp i {
  font-size: 1.5rem;
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

/* ================== MODAL POPUP VIDEO & ARTIKEL ================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
  animation: modalFadeIn 0.3s ease;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #888888;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #000000;
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-top: 16px;
}

.modal-video-wrapper iframe,
.modal-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ================== RESPONSIVE MOBILE STYLES ================== */
@media (max-width: 991px) {
  .hero-columns-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-carousel-item {
    flex: 0 0 calc(45% - 10px);
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .reviews-carousel.is-scrollable .review-card {
    flex-basis: 88%;
  }

  #btn-email {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  #btn-email i {
    flex: 0 0 auto;
  }

  #btn-email span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #clients-container .client-badge {
    padding: 8px 4px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  #clients-container .client-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(44px, auto);
  }

  #clients-container .client-badge span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #articles-container .article-card {
    flex-basis: 88%;
  }

  #activities-container .activity-item {
    flex-basis: 82%;
  }

  .hero-new-title {
    font-size: 1.55rem;
  }

  .hero-new-tagline {
    font-size: 0.9rem;
  }

  .video-carousel-wrapper {
    padding: 0 10px;
  }

  .video-carousel-item {
    flex: 0 0 75%;
    max-width: 250px;
  }

  .carousel-nav-btn {
    display: none; /* di mobile swipe alami */
  }

  .hero-columns-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-col p {
    text-align: left;
    font-size: 0.92rem;
  }

  .site-header {
    height: 56px;
  }

  .brand-logo img {
    height: 72px;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 24px 30px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-md);
    text-align: right;
    align-items: flex-end;
  }

  .nav-menu li {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .nav-link {
    height: auto;
    padding: 8px 0;
    width: auto;
    display: inline-block;
    text-align: right;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .floating-whatsapp span {
    display: none; /* Hanya tampil icon di mobile agar hemat tempat */
  }

  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }
}

/* Override carousel item shadows and hover scaling */
.video-carousel-item {
  box-shadow: none !important;
}

.video-carousel-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------- */
/* Carousel navigation buttons: make them icon‑only (no circle bg) */
.carousel-nav-btn {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.carousel-nav-btn:hover {
  background: transparent !important;
  transform: none !important;
}

/* --------------------------------------------------------------- */
/* Hint that more videos exist: make the 5th carousel item semi‑transparent */
.video-carousel-item:nth-child(5) {
  opacity: 1 !important;
}

/* --------------------------------------------------------------- */
/* Ensure nav button hover only changes color (secondary) */
.carousel-nav-btn {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.carousel-nav-btn:hover {
  background: transparent !important;
  color: var(--secondary) !important;
  transform: none !important;
}

/* Remove opacity hint for 5th video item – show it fully */
.video-carousel-item:nth-child(5) {
  opacity: 1 !important;
}

/* Keep carousel items without shadow and without zoom on hover */
.video-carousel-item {
  box-shadow: none !important;
}

.video-carousel-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------- */

/* --------------------------------------------------------------- */
/* Apply hero title font to all h2 headings */
 h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
 }
/* --------------------------------------------------------------- */
