/**
 * PT. Makui Pawira Indonesia - Main Stylesheet
 * Designed to match the clean Tailwind Slate 900 & Emerald theme (inspired by mitrarumahtangga.com)
 */

/* ==========================================================================
   1. CSS RESET & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Slate Palette (Dark Theme / Header / Footer) */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  /* Emerald Palette (Brand Accent / CTAs / Stats Band) */
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;

  /* Green Accents (Steps / Floating WhatsApp) */
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  /* Neutral Backgrounds & Text */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Shadows & Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

/* ==========================================================================
   2. UTILITY & CONTAINER
   ========================================================================== */
.site-container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}

.w-full {
  width: 100% !important;
}

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

/* Section Common Headers */
.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-title-dark {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc-muted {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Pill Buttons */
.btn-pill-emerald {
  background-color: var(--emerald-700);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.625rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-pill-emerald:hover {
  background-color: var(--emerald-800);
  color: var(--white);
}

.btn-pill-green {
  background-color: var(--green-700);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-pill-green:hover {
  background-color: var(--green-800);
  color: var(--white);
}

.btn-hero {
  padding: 0.85rem 2.25rem !important;
  font-size: 1rem !important;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (Slate 900 Sticky Navbar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
  height: 68px;
  display: flex;
  align-items: center;
}

/* Admin Bar Compatibility for Logged-in Users */
.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

#wpadminbar img {
  max-width: 20px !important;
  max-height: 20px !important;
  width: auto !important;
  height: auto !important;
  vertical-align: middle !important;
}

.nav-container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-img {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand-subline {
  font-size: 0.7rem;
  color: var(--emerald-400);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.menu-item {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.menu-item:hover,
.menu-item.active {
  color: var(--emerald-400);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.35rem;
}

/* Mobile Menu Drawer (Drops down from header) */
.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background-color: var(--slate-800);
  border-top: 1px solid var(--slate-700);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
}

.mobile-menu-drawer.active {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--emerald-400);
}

.mobile-cta-box {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-700);
}

/* ==========================================================================
   4. HERO SLIDER SECTION (75vh height, Scrim Overlay)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: 75vh;
  min-height: 520px;
  max-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.06) brightness(0.96);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-slide-1 img,
.hero-slide:nth-child(1) img {
  object-position: center 36% !important;
}

.hero-slide-2 img,
.hero-slide:nth-child(2) img {
  object-position: center 55% !important;
}

.hero-slide-3 img,
.hero-slide:nth-child(3) img {
  object-position: center 70% !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 42%, rgba(15, 23, 42, 0.20) 78%, rgba(15, 23, 42, 0.05) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-text-box {
  max-width: 620px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.025em;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
  animation: heroDotPulse 2s infinite ease-in-out;
}

@keyframes heroDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.85);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--gray-200);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(15, 23, 42, 0.7);
}

/* ==========================================================================
   5. SERVICES SECTION (4-Column Card Grid)
   ========================================================================== */
.section-services {
  background-color: var(--gray-50);
  padding: 4.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card-media {
  height: 190px;
  width: 100%;
  overflow: hidden;
  background-color: var(--slate-100);
}

.service-card-media picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.service-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-category-badge {
  color: var(--emerald-700);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-modules-list {
  background-color: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--slate-200);
}

.service-modules-heading {
  font-size: 0.775rem;
  color: var(--slate-900);
  display: block;
  margin-bottom: 0.4rem;
}

.service-modules-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-modules-list li {
  font-size: 0.8rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card-footer {
  margin-top: auto;
}

/* ==========================================================================
   6. STATS & ACHIEVEMENTS BAND (Full-width Emerald Band)
   ========================================================================== */
.stats-band {
  background-color: var(--emerald-700);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.stats-header {
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.stats-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.stats-subtitle {
  color: var(--emerald-100);
  font-size: 1rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--emerald-100);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   7. CLIENTS & PORTFOLIO SECTION
   ========================================================================== */
.section-clients {
  background-color: var(--white);
  padding: 4.5rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  border-color: var(--slate-400);
}

.client-logo-card picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.client-logo-card img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   8. TATA CARA PENDAFTARAN & KONSULTASI (4 Steps with Green Badges)
   ========================================================================== */
.section-steps {
  background-color: var(--gray-100);
  padding: 4.5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--green-500);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.steps-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   8B. VIDEO DOCUMENTATION & TESTIMONIALS (3-Column Grid)
   ========================================================================== */
.section-videos {
  background-color: var(--slate-50);
  padding: 4.5rem 0;
  border-top: 1px solid var(--slate-200);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0b1120;
  overflow: hidden;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #000;
}

.video-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-700);
  background-color: var(--emerald-100);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   9. GALLERY SECTION (4 Photo Tiles)
   ========================================================================== */
.section-gallery {
  background-color: var(--white);
  padding: 4.5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-md);
  background-color: var(--slate-900);
}

.gallery-card picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.gallery-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  padding: 1.25rem 1rem 0.85rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   10. FAQ SECTION (Accordion)
   ========================================================================== */
.section-faq {
  background-color: var(--gray-50);
  padding: 4.5rem 0;
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--emerald-600);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
}

.faq-arrow-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--slate-600);
}

.faq-item.active .faq-arrow-icon {
  transform: rotate(180deg);
  color: var(--emerald-700);
}

.faq-answer-panel {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer-panel {
  display: block;
}

/* Page Editor Content Section */
.page-editor-section {
  background-color: var(--white);
  padding: 3rem 0;
}

.page-editor-content {
  background: var(--gray-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ==========================================================================
   11. FOOTER (Slate 900 5-Column)
   ========================================================================== */
.site-footer {
  background-color: var(--slate-900);
  color: var(--gray-300);
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid-5 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  background: #ffffff;
  padding: 2px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-brand-name {
  color: var(--white);
  font-size: 1.05rem;
  display: block;
}

.footer-brand-tag {
  color: var(--emerald-400);
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-brand-values {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer-heading {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-menu a {
  color: var(--gray-300);
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-menu a:hover {
  color: var(--emerald-400);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.footer-contact-info a {
  color: var(--gray-300);
  transition: color 0.15s ease;
}

.footer-contact-info a:hover {
  color: var(--emerald-400);
}

.footer-map-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-700);
  box-shadow: var(--shadow-md);
}

.footer-copyright-bar {
  border-top: 1px solid var(--slate-700);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ==========================================================================
   12. FLOATING MOBILE BOTTOM APP BAR (.bottom-nav)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 1rem;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--slate-600);
  font-size: 0.725rem;
  font-weight: 600;
  text-decoration: none;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--emerald-700);
}

.bottom-wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -22px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
  text-decoration: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   13. SUBPAGE SPECIFIC STYLES (Page banners, Courses, FAQ, Contact)
   ========================================================================== */
.container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}

.section {
  padding: 4.5rem 0;
}

.page-hero {
  background-color: var(--slate-900);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 1.25rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--emerald-400);
  font-weight: 500;
}

/* Subpage Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.35rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary,
.btn-secondary {
  background-color: var(--emerald-700);
  color: var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: var(--emerald-800);
  color: var(--white);
}

.btn-outline {
  border-color: var(--slate-700);
  color: var(--slate-800);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--slate-900);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-700);
  background-color: var(--emerald-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.legal-card {
  background-color: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.legal-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.legal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--gray-300);
  font-size: 0.925rem;
  line-height: 1.5;
}

.legal-item svg {
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-item strong {
  color: var(--white);
  display: block;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
}

.contact-info-card {
  background-color: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-card a {
  color: var(--emerald-400);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-800);
  background-color: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--emerald-600);
}

/* FAQ Search Box in page-faq.php */
.faq-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  padding-left: 0.75rem;
}

/* Course Card in page-kursus.php */
.course-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (min-width: 1024px) {
  .bottom-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 75px !important;
  }

  .desktop-menu {
    display: none !important;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-slider-section {
    height: 65vh;
    min-height: 480px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.25rem);
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 90%;
  }

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

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

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

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

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

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

  .footer-col-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .hero-slider-section {
    height: auto;
    min-height: 520px;
    padding: 3.25rem 0 2.75rem;
    align-items: flex-start;
  }

  .hero-overlay {
    background: linear-gradient(180deg, 
      rgba(15, 23, 42, 0.90) 0%, 
      rgba(15, 23, 42, 0.75) 45%, 
      rgba(15, 23, 42, 0.45) 80%,
      rgba(15, 23, 42, 0.25) 100%
    );
  }

  .hero-text-box {
    max-width: 100%;
    padding: 0.25rem 0;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.75rem;
    gap: 0.35rem;
  }

  .hero-title {
    font-size: clamp(1.22rem, 4.75vw, 1.42rem);
    font-weight: 700;
    line-height: 1.36;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.95);
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.58;
    color: rgba(226, 232, 240, 0.92);
    margin-bottom: 1.25rem;
    max-width: 96%;
    text-wrap: pretty;
    text-shadow: 0 1px 6px rgba(15, 23, 42, 0.85);
  }

  .btn-hero {
    padding: 0.65rem 1.65rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .gallery-card {
    height: 220px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 0.65rem;
  }

  .client-logo-card {
    padding: 0.5rem 0.65rem;
    min-height: 65px;
  }

  .client-logo-card img {
    max-height: 38px;
  }

  .footer-grid-5 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col-brand {
    grid-column: span 1;
  }
}
