/* =========================
   RESET & BASE TYPOGRAPHY
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #222;
  line-height: 1.6;
}

/* HEADINGS */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* LINKS */
a {
  text-decoration: none;
}

/* IMAGES */
img {
  max-width: 100%;
  display: block;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HERO SECTION (HOMEPAGE)
========================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* HERO IMAGE / VIDEO */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* HERO CONTENT (FIXED) */
.hero-content {
  position: relative; /* WAJIB */
  z-index: 2; /* WAJIB */
  max-width: 700px;
  padding-left: 80px;
  padding-top: 180px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 28px 0;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 34px;
  opacity: 0.95;
}

/* CTA BUTTON */
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 15px;
  border-radius: 6px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
}

/* =========================
   PAGE HERO (INNER PAGES)
========================= */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 180px 20px 0;
  color: #ffffff;
}

.page-hero-content h1 {
  font-size: 46px;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 16px;
  max-width: 620px;
  opacity: 0.9;
}

/* =========================
   PAGE CONTENT
========================= */
.page-content {
  padding: 80px 0;
  background: #ffffff;
}

.content-main {
  max-width: 800px;
  margin: auto;
}

.content-main p {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 22px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #1f2738;
  color: #ffffff;
  padding-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

.footer-col h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col ul li a {
  font-size: 15px;
  line-height: 1.7;
  color: #d6d6d6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

/* SOCIAL ICONS */
.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: #f5b400;
  border-color: #f5b400;
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #cfcfcf;
}

/* =========================
   FOOTER – MOBILE FIX
========================= */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 30px;
  }

  .footer-container {
    grid-template-columns: 1fr; /* jadi 1 kolom */
    gap: 40px;
    text-align: center;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-col p,
  .footer-col ul li a {
    font-size: 12px;
    line-height: 1.7;
  }

  /* list center */
  .footer-col ul {
    text-align: center;
  }

  /* social icon center */
  .footer-social {
    justify-content: center;
    margin-top: 18px;
  }

  /* contact text center */
  .footer-col address,
  .footer-col span {
    display: block;
    text-align: center;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 18px 10px;
  }
}

/* =========================
   HEADER / NAVBAR
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: transparent;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.45); /* sedikit dinaikkan */
  backdrop-filter: blur(6px);
}

/* pastikan hero tidak naik layer */
.hero,
.page-hero,
.contact-hero {
  position: relative;
  z-index: 1;
}

/* =========================
   NAV CONTAINER
========================= */
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO
========================= */
.logo a {
  display: inline-block;
}

.logo img {
  height: 72px;
  width: auto;
}

/* =========================
   MAIN MENU
========================= */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;

  padding: 4px 0;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.85;
}

/* ACTIVE MENU */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #f5b400;
}

/* =========================
   APPOINTMENT BUTTON
========================= */
.btn-appointment {
  font-family: "Inter", sans-serif;
  background: #f5b400;
  color: #000;

  padding: 8px 18px;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-appointment:hover {
  background: #ffffff;
  color: #000;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .logo img {
    height: 64px;
  }

  .main-nav a {
    font-size: 15px;
  }
}

.logo img {
  height: 60px;
}

/* =========================
   PRACTICE AREA – SOLUTIONS
========================= */
.practice-solutions {
  padding: 90px 0;
  background: #f7f3eb;
}

.practice-solutions .center {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

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

.solutions-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solutions-grid li {
  font-size: 24px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.solutions-grid li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
}

/* =========================
   PRACTICE AREA – CTA
========================= */
.practice-cta {
  position: relative;
  padding: 90px 0;
  background-image: url("http://balilegals.id/wp-content/uploads/2026/02/footer-practice-scaled.webp"); /* ganti sesuai asset */
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.practice-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.practice-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
}

.practice-cta h2 {
  font-size: 48px;
  margin-bottom: 18px;
}

.practice-cta p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ABOUT US – SECTION 1
========================= */
.about-intro {
  padding: 80px 0;
  background: #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image img {
  width: 100%;
  border-radius: 8px;
}

.about-intro-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

/* =========================
   ABOUT US – SECTION 2
========================= */
.about-vision {
  padding: 80px 0;
  background: #f7f3eb;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-vision-text h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.about-vision-text h4 {
  font-size: 24px;
  margin: 18px 0 8px;
}

.about-vision-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.about-vision-image img {
  width: 100%;
  border-radius: 6px;
}

/* =========================
   ABOUT US – SECTION 3
========================= */
.about-why {
  padding: 50px 0;
  background: #fff;
}

.about-why .center {
  text-align: center;
  font-size: 46px;
  margin-bottom: 20px;
}

/* pastikan grid 3 kolom horizontal */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

/* pengaman container supaya cukup lebar */
.about-why .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* title diperbesar & ditebalkan */
.why-item h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: normal; /* cegah aneh di text */
}

/* icon styling */
.why-item h4 i {
  font-size: 22px;
  color: #1e3a8a;
  flex-shrink: 0;
}

/* text */
.why-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* responsive – mobile tetap rapi */
@media (max-width: 900px) {
  .about-why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about-intro-grid,
  .about-vision-grid {
    grid-template-columns: 1fr;
  }

  .about-why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   LEGAL TEAM
========================= */
.legal-team {
  padding: 80px 0;
  background: #fbf6e9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.team-card {
  border: 1px solid #e5b94a;
  padding: 30px;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.team-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.btn-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 22px;
  background: #e5b94a;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

/* =========================
   PRACTICE FRONT PAGE
========================= */
.practice-areas {
  padding: 40px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.practice-card {
  border: 1px solid #e5b94a;
  padding: 35px 30px;
  text-align: center;
}

.practice-icon {
  width: 48px;
  height: 48px;
  background: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.practice-icon i {
  color: #e5b94a;
  font-size: 22px;
}

.practice-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.practice-card ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.practice-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

/* =========================
   MOBILE FIX – STACK VERTICALLY
========================= */
@media (max-width: 768px) {
  /* Practice Areas */
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Legal Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .practice-card,
  .team-card {
    padding: 25px 20px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }
}

/* =========================
   MOBILE NEW
========================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-language {
  display: flex;
  align-items: center;
}

.main-nav {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #1f2738;
    padding: 90px 30px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 18px;
  }

  /* Logo tetap tengah */
  .logo {
    margin-left: 12px;
  }
}

.main-nav li {
  position: relative;
}

.main-nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1f2738;
  padding: 12px 0;
  display: none;
  min-width: 220px;
}

.main-nav li:hover > ul {
  display: block;
}

.main-nav li ul li a {
  padding: 10px 20px;
  display: block;
}

/* =========================
   HIDE AUTO GTRANSLATE
========================= */
.main-nav .gtranslate_wrapper,
.main-nav .gt_container,
.main-nav .gt_switcher {
  display: none !important;
}

/* =========================
   SUBMENU INDICATOR (BIGGER)
========================= */
.main-nav .menu-item-has-children > a::after {
  content: "▾";
  font-size: 16px; /* lebih besar */
  font-weight: 700;
  margin-left: 6px;
  display: inline-block;
  transform: translateY(-1px);
  color: #ffffff;
  transition: transform 0.2s ease;
}

/* rotate saat hover */
.main-nav .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: #f5b400;
}

/* =========================
   DROPDOWN MENU (DESKTOP)
========================= */
.main-nav ul li {
  position: relative;
}

.main-nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;

  background: #1f2738;
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.2s ease;
  z-index: 999;
}

.main-nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul li ul li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
}

.main-nav ul li ul li a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   Gtranslate 
========================= */
.nav-language select,
.nav-language .gt_switcher {
  height: 34px;
  border-radius: 6px;
}

/* =========================
   CUSTOM LANGUAGE DROPDOWN
========================= */
/* =========================
   LANGUAGE DROPDOWN – FINAL
========================= */

.custom-lang {
  position: relative;
}

/* tombol */
.lang-toggle {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  min-width: 210px;
  padding: 8px 0;
  background: #1f2a3d;
  border-radius: 6px;

  list-style: none;
  z-index: 99999;

  display: none;
}

/* hanya lewat class */
.lang-dropdown.is-open {
  display: block;
}

/* =========================
   CONTACT HERO
========================= */
.contact-hero {
  position: relative;
  height: 380px;
  background-image: url("../images/contact-hero.jpg"); /* ganti sesuai asset */
  background-size: cover;
  background-position: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  color: #fff;
}

.contact-hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-hero p {
  max-width: 520px;
  font-size: 16px;
  opacity: 0.9;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  padding: 50px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* LEFT */
.contact-info h2,
.contact-form h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
}

.contact-list i {
  color: #f5b400;
  margin-top: 4px;
}

/* SOCIAL */
.contact-social {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.contact-social a {
  width: 36px;
  height: 36px;
  background: #f5b400;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MAP */
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 6px;
}

/* desktop bisa lebih tinggi */
@media (min-width: 900px) {
  .contact-map iframe {
    height: 280px;
  }
}

/* FORM */
.contact-form form {
  max-width: 100%;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.btn-submit {
  background: #f5b400;
  color: #000;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 34px;
  }
}

.contact-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  color: #fff;
}

/* =========================
   BUTTON HOVER EFFECT
========================= */
.btn-submit,
.btn-appointment,
.btn-team,
.btn-outline {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

/* hover */
.btn-submit:hover,
.btn-appointment:hover,
.btn-team:hover {
  background-color: #000; /* kontras elegan */
  color: #f5b400; /* gold brand */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* outline button (hero) */
.btn-outline:hover {
  background: #f5b400;
  color: #000;
  border-color: #f5b400;
}

/* =========================
   SOCIAL ICON HOVER
========================= */
.contact-social a,
.footer-social a {
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.contact-social a:hover,
.footer-social a:hover {
  background-color: #000;
  color: #f5b400;
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* =========================
   BLOG ARCHIVE
========================= */
.blog-archive {
  padding: 90px 0;
  background: #fff;
}

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

.blog-card {
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.blog-thumb img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.blog-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-title a {
  color: #111;
}

.blog-readmore {
  font-size: 14px;
  color: #1e3a8a;
}

/* pagination */
.blog-pagination {
  margin-top: 60px;
  text-align: center;
}

/* responsive */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BLOG SINGLE
========================= */
.blog-single {
  padding: 90px 0;
  background: #fff;
}

.blog-content {
  max-width: 820px;
  margin: auto;
}

.blog-single-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

.blog-single-thumb img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 35px;
}

.blog-single-body p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 22px;
  color: #333;
}

.blog-single-body h2,
.blog-single-body h3 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.blog-single-body ul {
  margin: 20px 0 30px 20px;
}

/* =========================
   BLOG ARCHIVE – GRID
========================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}
/* Thumbnail container */
.blog-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1; /* KUNCI: kotak */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
  background: #f2f2f2; /* fallback */
}

/* Image di dalamnya */
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop rapi */
  display: block;
  transition: transform 0.3s ease;
}

/* Hover effect halus */
.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}
.blog-title {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: 52px; /* jaga tinggi agar sejajar */
}

.blog-title a {
  color: #111;
}

.blog-readmore {
  margin-top: auto; /* dorong ke bawah */
  font-size: 14px;
  font-weight: 500;
  color: #1e3a8a;
}
.blog-pagination {
  margin-top: 70px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #f3f3f3;
  color: #111;
  font-size: 14px;
}

.blog-pagination .current {
  background: #f5b400;
  color: #000;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================
   HERO MOBILE CENTER FIX
========================= */
@media (max-width: 768px) {
  .hero {
    justify-content: center; /* center horizontal */
    text-align: center;
    font-size: 34px; /* dari 40px → lebih rapi */
    line-height: 1.18;
  }

  .hero-content {
    padding: 90px 10px;
    max-width: 100%;
  }

  .hero-content h1,
  .hero-content p {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-outline {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   PAGE HERO – MOBILE FIX
========================= */
@media (max-width: 768px) {
  .page-hero {
    height: 60vh; /* lebih fleksibel */
    min-height: 380px; /* aman untuk teks */
  }

  .page-hero-content {
    padding-top: 110px; /* TURUN DARI 180px */
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .page-hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-hero-content p {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   SOLUTIONS – CLEAN ICON LIST
========================= */

.practice-solutions .center {
  font-size: 34px; /* sesuai request */
}

.solutions-list {
  list-style: none !important; /* MATIKAN BULLET */
  padding: 0;
  margin: 0;
}

.solutions-list li {
  list-style: none !important;
  font-size: 18px; /* sesuai request */
  line-height: 1.9;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding-left: 0; /* ❌ hapus bekas bullet */
  position: static; /* ❌ matikan pseudo */
}

/* PASTIKAN TIDAK ADA TITIK */
.solutions-list li::before {
  content: none !important;
}

/* ICON */
.solutions-list i {
  color: #000;
  font-size: 18px;
  flex-shrink: 0;
}

/* =========================
   APPOINTMENT SECTION
========================= */
.appointment-section {
  padding: 90px 0;
  background: #fff;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* IMAGE */
.appointment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* FORM WRAP */
.appointment-form-wrap h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* FORM */
.appointment-form .form-group {
  margin-bottom: 18px;
}

.appointment-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

/* INPUT STYLE – abu-abu tipis */
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;

  background: #f5f6f7; /* abu-abu tipis */
  border: 1px solid #e1e1e1; /* garis halus */
  border-radius: 6px;

  transition: all 0.2s ease;
}

/* FOCUS */
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #f5b400;
  box-shadow: 0 0 0 2px rgba(245, 180, 0, 0.15);
}

.appointment-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* SUBMIT BUTTON */
.btn-submit {
  margin-top: 10px;
  padding: 12px 28px;
  background: #f5b400;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-submit:hover {
  background: #000;
  color: #f5b400;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* HARDEN HEADER LAYER */
.site-header {
  isolation: isolate;
}

/* MOBILE MENU HARUS DI ATAS */
@media (max-width: 768px) {
  .main-nav {
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #1f2738;
    transition: left 0.3s ease;
    z-index: 1001;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 1002;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;

    background: #1f2738;
    padding: 90px 30px;

    display: block; /* ⬅️ PENTING */
    transition: left 0.3s ease;
    z-index: 1001;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 18px;
  }
}

/* =========================
   APPOINTMENT SECTION
========================= */

.appointment-section {
    padding: 80px 0;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.appointment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* FORM */
.appointment-form-wrap h2 {
    margin-bottom: 30px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .appointment-image {
        height: 10vh; /* 🔥 10% tinggi layar */
        overflow: hidden;
        border-radius: 12px;
    }

    .appointment-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

}


/* =========================
   404 HEADER BLACK ONLY
========================= */
body.error404 header {
  background: #000 !important;
  position: relative;
}

/* kalau header kamu transparent sebelumnya */
body.error404 .site-header {
  background: #000 !important;
}

/* =========================
   404 SECTION SPACING
========================= */
.custom-404 {
  padding: 50px 20px 50px;
  background: #111;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* =========================
   404 TYPO
========================= */
.custom-404 h1 {
  font-size: 110px;
  margin: 0;
  color: #c5a15b;
}

.custom-404 h2 {
  margin-bottom: 15px;
}

.custom-404 p {
  max-width: 500px;
  margin: 0 auto 30px;
  opacity: 0.8;
}


/* =========================
   MOBILE SUBMENU FIX
========================= */
@media (max-width: 768px) {
  /* Reset dropdown position */
  .main-nav ul li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 15px;
    background: transparent;
  }

  /* Show when active */
  .main-nav ul li.open > ul {
    display: block;
  }

  /* Remove desktop hover effect */
  .main-nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
/* =========================
   HIDE LOGO ON MOBILE
========================= */
@media (max-width: 768px) {
  .logo {
    display: none;
  }
}

/* =========================
   STRONG GREEN PULSE
========================= */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: #25d366;
  color: #fff;

  padding: 12px 18px;
  border-radius: 50px;

  font-size: 15px;
  font-weight: 500;

  z-index: 99999;
  animation: wa-strong-pulse 1.8s infinite;
}

@keyframes wa-strong-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* mobile adjust */
@media (max-width: 768px) {
  .floating-wa {
    padding: 10px 16px;
    font-size: 14px;
  }
}


.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:15px;
font-size:14px;
}

.wpcf7-submit{
background:#25D366;
color:#fff;
border:none;
padding:14px 30px;
font-weight:600;
cursor:pointer;
}

.wpcf7-submit:hover{
background:#128C7E ;
}
