/* Majime Mandiri J — Compiled Theme Styles v1.0.0 */
/* This file is generated from the mockup design */

:root {
  --red: #C41E3A;
  --red-dark: #A01830;
  --red-light: #E8394F;
  --navy: #1B2A4A;
  --navy-light: #2A3F6A;
  --navy-dark: #0F1A30;
  --gold: #D4A853;
  --gold-light: #E8C677;
  --gold-dark: #B8913F;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F3F4F6;
  --gray: #9CA3AF;
  --dark-gray: #4B5563;
  --text: #1F2937;
  --text-light: #6B7280;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-red,
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover,
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.35);
}

.btn-secondary {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 24px;
  background: var(--off-white);
  color: var(--navy);
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.25);
}

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


/* ============================================
   NAVBAR (Redesigned — Clean & Modern)
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Push navbar below WordPress admin bar */
body.admin-bar .navbar {
  top: 32px;
}

body.admin-bar .hero-content {
  padding-top: 152px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }

  body.admin-bar .hero-content {
    padding-top: 146px;
  }
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #C41E3A, #A01830);
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
  transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  transition: color 0.3s ease;
  line-height: 1.1;
}

.nav-logo-text strong span {
  color: var(--red-light);
}

.navbar.scrolled .nav-logo-text strong {
  color: var(--navy);
}

.nav-logo-text small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo-text small {
  color: rgba(27,42,74,0.4);
}

/* Desktop Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 50%;
  left: 25%;
}

.nav-link.active {
  color: #fff;
}

.navbar.scrolled .nav-link {
  color: rgba(27,42,74,0.7);
}

.navbar.scrolled .nav-link:hover {
  color: var(--navy);
  background: rgba(27,42,74,0.06);
}

.navbar.scrolled .nav-link.active {
  color: var(--navy);
}

.navbar.scrolled .nav-link:hover::after,
.navbar.scrolled .nav-link.active::after {
  background: var(--red);
}

/* --- Dropdown Menu --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-dropdown-trigger svg {
  transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--light-gray);
}

.dropdown-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-dropdown-menu a:hover .dropdown-icon {
  background: rgba(196, 30, 58, 0.08);
}

.nav-dropdown-menu strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-dropdown-menu small {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 1px;
  display: block;
}

/* --- Nav Right Actions --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Pill */
.nav-lang {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: border-color 0.3s ease;
}

.navbar.scrolled .nav-lang {
  border-color: rgba(27,42,74,0.12);
}

.nav-lang .lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.5);
  font-family: inherit;
  text-decoration: none;
  line-height: 1.4;
}

.navbar.scrolled .nav-lang .lang-btn {
  color: rgba(27,42,74,0.4);
}

.nav-lang .lang-btn:hover {
  color: rgba(255,255,255,0.8);
}

.navbar.scrolled .nav-lang .lang-btn:hover {
  color: rgba(27,42,74,0.7);
}

.nav-lang .lang-active {
  background: var(--red);
  color: #fff !important;
}

.nav-lang .lang-active:hover {
  color: #fff !important;
}

/* Hide Polylang's default switcher if it appears anywhere */
.lang-item, .pll-switcher, .pll-parent-menu-item {
  display: none !important;
}

/* Nav CTA */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(196,30,58,0.3);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,30,58,0.45);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-toggle:hover {
  background: rgba(27,42,74,0.06);
}


/* ── Mobile Overlay ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  pointer-events: auto;
  opacity: 1;
  display: block;
}

.mobile-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(15,26,48,0.6);
  backdrop-filter: blur(4px);
}

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-overlay.open .mobile-panel {
  transform: translateX(0);
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #F3F4F6;
}

.mobile-panel-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: #F3F4F6;
  cursor: pointer;
  color: #6B7280;
  transition: all 0.2s ease;
  font-size: 1.3rem;
}

.mobile-panel-close:hover {
  background: #E5E7EB;
  color: #1B2A4A;
}

/* Mobile Nav List */
.mobile-nav-list {
  flex: 1;
  padding: 8px 0;
  overflow-y: auto;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #1B2A4A;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

.mobile-nav-item:hover {
  background: #F8F9FB;
  padding-left: 28px;
}

.mobile-nav-item svg {
  width: 16px;
  height: 16px;
  stroke: #9CA3AF;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

/* Mobile Accordion for Program */
.mobile-nav-accordion {
  overflow: hidden;
}

.mobile-nav-accordion.open .mobile-nav-parent svg {
  transform: rotate(180deg);
}

.mobile-nav-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #F8F9FB;
}

.mobile-nav-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4B5563;
  transition: all 0.2s ease;
}

.mobile-nav-sub span {
  font-size: 1.1rem;
}

.mobile-nav-sub:hover {
  color: var(--red);
  background: #F0F1F4;
  padding-left: 44px;
}

.mobile-panel-footer {
  padding: 20px 24px;
  border-top: 1px solid #F3F4F6;
  margin-top: auto;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-lang-row .mobile-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid #E5E7EB;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6B7280;
  font-family: inherit;
  text-decoration: none;
}

.mobile-lang-row .mobile-lang-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.mobile-lang-row .mobile-lang-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.mobile-lang-row .mobile-lang-active:hover {
  background: var(--navy);
  color: #fff;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(196,30,58,0.3);
  font-family: inherit;
}

.mobile-cta-btn:hover {
  background: var(--red-dark);
  color: #fff;
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 74, 0.92) 0%,
    rgba(27, 42, 74, 0.78) 40%,
    rgba(196, 30, 58, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-btns,
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

/* Sakura Petals */
.sakura-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(ellipse at center, #FFB7C5, #FF9FB5);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: sakura-fall linear infinite;
}

.petal:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.petal:nth-child(2) { left: 20%; animation-duration: 15s; animation-delay: 2s; }
.petal:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 4s; }
.petal:nth-child(4) { left: 50%; animation-duration: 14s; animation-delay: 1s; }
.petal:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 3s; }
.petal:nth-child(6) { left: 80%; animation-duration: 16s; animation-delay: 5s; }
.petal:nth-child(7) { left: 90%; animation-duration: 13s; animation-delay: 2.5s; }
.petal:nth-child(8) { left: 45%; animation-duration: 18s; animation-delay: 6s; }

@keyframes sakura-fall {
  0% {
    opacity: 0;
    transform: translate(0, -20px) rotate(0deg) scale(0.8);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(80px, 100vh) rotate(720deg) scale(0.3);
  }
}


/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
  padding: 100px 0;
  background: var(--off-white);
}

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

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.program-card.featured {
  border: 2px solid var(--gold);
}

.program-card.featured:hover {
  border-color: var(--gold-light);
}

.program-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-badge.red {
  background: var(--red);
  color: var(--white);
}

.program-badge.blue {
  background: var(--navy);
  color: var(--white);
}

.program-img,
.program-image {
  height: 220px;
  overflow: hidden;
}

.program-img img,
.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.program-card:hover .program-img img,
.program-card:hover .program-image img {
  transform: scale(1.08);
}

.program-body,
.program-content {
  padding: 28px;
}

.program-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
}

.program-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.program-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.program-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--light-gray);
  color: var(--navy);
}

.program-btn {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  border: 2px solid var(--red);
  transition: var(--transition);
}

.program-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -80px;
  filter: blur(60px);
}

.stats::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(212, 168, 83, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
  filter: blur(50px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}


/* ============================================
   PROCESS / JALUR KE JEPANG
   ============================================ */
.process {
  padding: 100px 0;
  background: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--navy));
  border-radius: 2px;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-circle {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.step-circle.navy { border-color: var(--navy); }
.step-circle.gold { border-color: var(--gold); }

.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num.navy { background: var(--navy); }
.step-num.gold { background: var(--gold); }

.step-emoji {
  font-size: 2rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ============================================
   GALLERY SECTION (NEW)
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--light-gray);
}

/* Gallery Filter Tabs */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter,
.filter-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid #E5E7EB;
  background: var(--white);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-light);
  font-family: var(--font-main);
}

.gallery-filter:hover,
.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.gallery-filter.active,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Gallery Grid (Masonry-like) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item:hover {
  box-shadow: var(--shadow-xl);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 26, 48, 0.85) 0%,
    rgba(15, 26, 48, 0.1) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

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

.gallery-overlay-content h4,
.gallery-overlay .gallery-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-overlay-content p,
.gallery-overlay .gallery-excerpt {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.gallery-cta {
  margin-top: 40px;
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  text-align: center;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.gallery-lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 16px;
  font-weight: 500;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.about-img-wrapper {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid var(--gold);
  border-radius: 28px;
  z-index: -1;
}

.about-img-frame img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -16px;
  right: 32px;
  background: var(--red);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  font-size: 0.95rem;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-checklist { margin-bottom: 32px; }

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.about-checklist .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-checklist .check-icon svg {
  width: 14px;
  height: 14px;
  fill: #16A34A;
}


/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.testi-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testi-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testi-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--red);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testi-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.testi-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--off-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: rgba(15, 26, 48, 0.06);
}

.faq-item.active {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  gap: 20px;
  user-select: none;
  transition: color 0.25s ease;
  line-height: 1.5;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.faq-question:hover .faq-icon {
  background: rgba(196, 30, 58, 0.08);
  color: var(--red);
}

.faq-item.active .faq-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 28px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--light-gray);
}

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

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-detail h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--navy);
  transform: translateY(-3px);
}

.social-btn:hover svg {
  fill: var(--white);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--dark-gray);
  transition: var(--transition);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.35);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo span {
  color: var(--red-light);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}


/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: wa-bounce 2s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─────────────────────────────────────────────
   Custom Map (Leaflet)
   ───────────────────────────────────────────── */
.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 3px solid var(--white);
}

.contact-map-wrapper {
  position: relative;
}

.contact-map-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-50, #f8f9fa), transparent);
  z-index: 999;
  pointer-events: none;
}

.contact-map-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--gray-50, #f8f9fa), transparent);
  z-index: 999;
  pointer-events: none;
}

#mj-custom-map {
  width: 100%;
  height: 450px;
  display: block;
  border-radius: var(--radius-lg);
}

/* Override Leaflet controls style */
.contact-map .leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.contact-map .leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 20px !important;
  color: var(--dark, #1a1a2e) !important;
  background: var(--white) !important;
  border-bottom: 1px solid #eee !important;
  transition: all 0.2s ease;
}

.contact-map .leaflet-control-zoom a:hover {
  background: var(--primary, #c0392b) !important;
  color: var(--white) !important;
}

.contact-map .leaflet-control-zoom a:last-child {
  border-bottom: none !important;
}

/* Custom marker */
.mj-map-marker {
  position: relative;
}

.mj-map-marker-pin {
  width: 48px;
  height: 48px;
  background: var(--primary, #c0392b);
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.5);
  animation: mj-marker-bounce 0.6s ease-out;
}

.mj-map-marker-pin::after {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transform: rotate(45deg);
}

.mj-map-marker-shadow {
  width: 30px;
  height: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  margin: 4px auto 0;
  filter: blur(3px);
}

@keyframes mj-marker-bounce {
  0% { transform: rotate(-45deg) translateY(-20px); opacity: 0; }
  60% { transform: rotate(-45deg) translateY(4px); }
  100% { transform: rotate(-45deg) translateY(0); opacity: 1; }
}

/* Custom popup */
.mj-map-popup .leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
  overflow: hidden;
}

.mj-map-popup .leaflet-popup-content {
  margin: 0 !important;
  min-width: 260px;
}

.mj-map-popup .leaflet-popup-tip-container {
  display: none;
}

.mj-map-popup .leaflet-popup-close-button {
  top: 8px !important;
  right: 10px !important;
  font-size: 20px !important;
  color: #666 !important;
  z-index: 10;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 28px !important;
}

.mj-map-popup .leaflet-popup-close-button:hover {
  background: var(--primary, #c0392b) !important;
  color: var(--white) !important;
}

.mj-popup-content {
  padding: 0;
}

.mj-popup-header {
  background: linear-gradient(135deg, var(--primary, #c0392b), var(--primary-dark, #922b21));
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
}

.mj-popup-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mj-popup-header p {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.mj-popup-body {
  padding: 16px 20px;
  background: var(--white);
}

.mj-popup-body .mj-popup-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.mj-popup-body .mj-popup-row:last-child {
  margin-bottom: 0;
}

.mj-popup-row svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--primary, #c0392b);
  margin-top: 2px;
}

.mj-popup-row a {
  color: var(--primary, #c0392b);
  text-decoration: none;
  font-weight: 500;
}

.mj-popup-row a:hover {
  text-decoration: underline;
}

.mj-popup-footer {
  background: #f8f9fa;
  padding: 12px 20px;
  text-align: center;
}

.mj-popup-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #25d366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mj-popup-footer a:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Map style selector */
.mj-map-style-selector {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  display: flex;
  gap: 6px;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.mj-map-style-btn {
  padding: 6px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #666;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mj-map-style-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.mj-map-style-btn.active {
  background: var(--primary, #c0392b);
  color: var(--white);
  border-color: var(--primary, #c0392b);
}

/* Direction button on map */
.mj-map-direction-btn {
  position: absolute;
  bottom: 56px;
  right: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #c0392b);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.mj-map-direction-btn:hover {
  background: var(--primary, #c0392b);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.mj-map-direction-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  #mj-custom-map {
    height: 320px;
  }

  .mj-map-style-selector {
    top: 8px;
    right: 8px;
    gap: 4px;
    padding: 3px;
  }

  .mj-map-style-btn {
    padding: 5px 8px;
    font-size: 10px;
  }

  .mj-map-direction-btn {
    bottom: 44px;
    right: 8px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .mj-popup-content {
    min-width: 220px;
  }

  .contact-map-wrapper::before,
  .contact-map-wrapper::after {
    height: 25px;
  }
}

@media (max-width: 768px) {
  .contact-map iframe {
    height: 280px;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-timeline::before {
    top: 44px;
    left: 15%;
    right: 15%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item.large {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablet Small (900px) --- */
@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }

  .nav-lang {
    display: none !important;
  }

  .nav-cta-btn {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 44px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .process-step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .step-circle {
    margin: 0;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
  }

  .gallery-item.large {
    grid-column: span 2;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .gallery-overlay-content h4,
  .gallery-overlay .gallery-title {
    font-size: 0.9rem;
  }

  .gallery-overlay-content p,
  .gallery-overlay .gallery-excerpt {
    font-size: 0.75rem;
  }

  .gallery-filters {
    gap: 6px;
  }

  .gallery-filter {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .about-grid {
    gap: 32px;
  }

  .about-img-frame img {
    height: 280px;
  }

  .about-badge-float {
    bottom: -12px;
    right: -8px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

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

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

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-trust {
    gap: 16px;
  }

  .hero-btns,
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .container {
    padding: 0 16px;
  }

  .program-body,
  .program-content {
    padding: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .gallery-lightbox {
    padding: 16px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .programs,
  .process,
  .gallery,
  .about,
  .testimonials,
  .faq,
  .contact {
    padding: 70px 0;
  }

  .stats {
    padding: 50px 0;
  }
}

/* ============================================
   WORDPRESS SPECIFIC STYLES
   ============================================ */

/* Single Post / Page styles */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* Single Program */
.single-mj_program .program-single-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}
.single-mj_program .program-single-content h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 60px 0 100px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 80px;
}
.pagination a, .pagination span {
  padding: 10px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 120px 0;
}
.error-404 h1 {
  font-size: 8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.error-404 p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 16px 0 32px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--red);
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* WordPress Widgets in footer */
.widget ul {
  list-style: none;
}
.widget ul li {
  padding: 6px 0;
}
.widget ul li a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.widget ul li a:hover {
  color: var(--gold-light);
  padding-left: 8px;
}

/* WP Editor content styles */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--navy);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.entry-content p {
  margin-bottom: 1em;
  line-height: 1.8;
}
.entry-content img {
  border-radius: var(--radius-md);
  margin: 2em 0;
}

/* Comments */
.comments-area {
  max-width: 800px;
  margin: 60px auto 100px;
}
.comment-list {
  list-style: none;
}
.comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--light-gray);
}
.comment-author {
  font-weight: 700;
  color: var(--navy);
}
.comment-meta {
  font-size: 0.82rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .error-404 h1 {
    font-size: 5rem;
  }
}
