/* ============================
   Global / Reset
   ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
    font-family: 'Poppins', sans-serif;
    color: #172B4D;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    font-size: 16px;
}

/* ============================
   Layout container
   ============================ */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================
   Header
   ============================ */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e9eef6;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.logo { height: 44px; display: block; }

/* Nav */
.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}
.nav a {
    color: #0B3A83;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
}
.nav a:hover { background: rgba(14,58,131,0.06); color: #1E73BE; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-toggle .hamburger {
    width: 26px;
    height: 3px;
    background: #0B3A83;
    display: block;
    position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 3px;
    background: #0B3A83;
}
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after { top: 8px; }

/* ============================
   Hero
   ============================ */
.hero {
    background: linear-gradient(135deg, #0b3a83 0%, #1E73BE 100%);
    color: #fff;
    padding: 60px 0;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: center;
}
.hero h1 {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.lead { font-size: 17px; margin-bottom: 20px; max-width: 720px; color: rgba(255,255,255,0.95); }
.tagline { font-weight: 600; color: #ffffff; }

.hero-visual img { width: 100%; border-radius: 10px; box-shadow: 0 15px 35px rgba(11,58,131,0.18); }

/* CTA */
.btn { display: inline-block; text-decoration: none; padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.btn-primary { background: #ffffff; color: #0B3A83; }
.btn-outline { border: 2px solid rgba(255,255,255,0.18); color: #ffffff; background: transparent; margin-left: 10px; }

/* Trust bar */
.trustbar { margin-top: 18px; display:flex; gap:18px; flex-wrap:wrap; color: rgba(255,255,255,0.95); }
.trustbar i { margin-right:8px; color: rgba(255,255,255,0.95); }

/* ============================
   Sections
   ============================ */
.section { padding: 64px 0; }
.bg-light { background: #F7F9FC; }
.bg-dark { background: #0B3A83; color: #fff; }

/* Headings */
h2 { font-size: 26px; margin-bottom: 18px; color: #172B4D; text-align: center; }
.section p { margin-bottom: 12px; color: #243447; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: center; }
.split-right img, .split-left img { width: 100%; border-radius: 10px; }

/* Cards grid */
.cards { display: grid; gap: 20px; margin-top: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Generic card */
.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(11,58,131,0.05);
}

/* Services */
.service-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card .service-top { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.service-icon { font-size: 30px; color: #1E73BE; }
.service-img { width:100%; height:170px; object-fit:cover; border-radius:8px; margin-bottom:12px; }

/* Programs list */
.program-list { list-style: disc; padding-left: 20px; max-width: 780px; margin: 18px auto 0; }

/* Why us cards */
.grid-3 .card { text-align: left; }

/* Contact */
.contact-section { color: #0b3a83; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: rgb(255, 255, 255); padding: 18px; border-radius: 8px; }

/* WhatsApp floating */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: #fff;
    padding: 14px 16px;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    text-decoration: none;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ============================
   Scroll animation (initial + visible)
   ============================ */
.animate { opacity: 0; transform: translateY(28px); transition: all 0.75s cubic-bezier(.2,.9,.2,1); }
.animate.show { opacity: 1; transform: translateY(0); }

/* Stagger via inline style on elements (JS will set timeout based on data-delay) */

/* ============================
   Responsive
   ============================ */
@media (max-width: 980px) {
    .hero-inner, .split { grid-template-columns: 1fr; }
    .hero-visual { order: -1; margin-bottom: 18px; }
    .split-right { margin-top: 12px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
    .container { width: 94%; }
    h2 { font-size: 22px; }
    .hero h1 { font-size: 28px; }
}

/* === ABOUT IMAGE CONTROL === */
.about-img {
    max-width: 360px;       /* kunci agar tidak kebesaran */
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;      /* rata kanan */
    border-radius: 20px;    /* tetap modern */
}

/* === VISION & MISSION STACKED STYLE === */
.vm-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0 12px 30px rgba(11, 58, 131, 0.06);
}

.vm-title {
    font-size: 22px;
    font-weight: 600;
    color: #0B3A83;
    margin-bottom: 16px;
}

.vm-text {
    font-size: 16px;
    color: #243447;
}

.vm-list {
    padding-left: 18px;
}

.vm-list li {
    margin-bottom: 12px;
    color: #243447;
    line-height: 1.7;
}

/* MOBILE NAV OPEN */
@media (max-width: 720px) {
    .nav.open {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        background: #fff;
        padding: 12px;
        position: absolute;
        right: 20px;
        top: 64px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(11,58,131,0.08);
        z-index: 1500;
    }
}

/* SPA TRANSITION */
.section-hidden {
    display: none !important;
}

section {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .3s ease, transform .3s ease;
}

.section-active {
    opacity: 1;
    transform: translateY(0);
}

/* ACTIVE MENU */
.nav a.active {
    background: rgba(11,58,131,0.08);
    color: #0B3A83;
}

/* =========================
   SPA SECTION TRANSITION FIX
========================= */
section {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    transition: opacity .35s ease, transform .35s ease;
}

section.is-visible {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: auto;
}

/* ACTIVE NAV LINK */
.nav a.active {
    background: rgba(11,58,131,0.08);
    color: #0B3A83;
}

/* MOBILE NAV OPEN */
@media (max-width: 720px) {
    .nav.open {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        background: #fff;
        padding: 12px;
        position: absolute;
        right: 20px;
        top: 64px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(11,58,131,0.08);
        z-index: 1500;
    }
}

/* =========================
   GLASS CARD (EXCEPT HOME)
========================= */

section:not(#home) .container {
    background: linear-gradient(145deg,
        rgba(11,58,131,0.18),
        rgba(11,58,131,0.05)
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 26px;
    padding: 60px 52px;
    box-shadow:
        0 18px 45px rgba(11,58,131,0.22),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

/* alternating depth */
section:nth-of-type(even):not(#home) .container {
    background: linear-gradient(145deg,
        rgba(11,58,131,0.22),
        rgba(11,58,131,0.08)
    );
}

/* accent line */
section:not(#home) .container::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 46px;
    width: 58px;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #0B3A83, #1E73BE);
}

/* responsive */
@media(max-width:768px){
    section:not(#home) .container{
        padding: 46px 26px;
        border-radius: 20px;
    }
}

/* =========================
   PROGRAMS GRID STYLE
========================= */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.programs-left h2 {
    margin-bottom: 24px;
}

.programs-left ul,
.programs-right ul {
    list-style: disc;
    padding-left: 20px;
}

.programs-left li,
.programs-right li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

@media(max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

.programs-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

/* =========================
   CONTACT MAP STYLE
========================= */
.contact-map {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(11,58,131,0.15);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(10%) contrast(105%);
}

@media(max-width:768px){
    .contact-map{
        min-height: 260px;
    }
}

/* =========================
   CONTACT TITLE WHITE
========================= */
#contact h2 {
    color: #ffffff !important;
}

/* =========================
   CONTACT MAP FIT FIX
========================= */
.contact-grid.split-panel .contact-map {
    position: relative;
    height: 100%;
    min-height: unset;
}

.contact-grid.split-panel .contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* =========================
   CONTACT CARD HEIGHT FIX
========================= */
.contact-card {
    min-height: 360px;
}

.contact-card.split-panel {
    align-items: stretch;
}

/* kiri dan kanan HARUS sama tinggi */
.contact-card.split-panel > * {
    height: 100%;
}

/* panel kanan */
.contact-card.split-panel .contact-map {
    position: relative;
    padding: 0;
    background: #0B3A83;
}

/* iframe map full panel */
.contact-card.split-panel .contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-image canvas {
    width: 100% !important;
    max-width: 420px;
    height: auto !important;
}

.hero-image canvas {
    filter: drop-shadow(0 0 26px rgba(79,163,255,0.55));
}

/* =========================
   HOME: Large Animated Board (fit into blue hero area)
========================= */

/* Container that keeps board sized to hero-right area */
.board-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 740px; /* ukuran maksimal papan */
  padding: 18px;
  box-sizing: border-box;
}

/* The panel surface: ensure it fits in blue area and looks like a board */
.board-surface {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;

  /* Blue panel background (fits your #home blue theme) */
  background: linear-gradient(180deg, #0B3A83 0%, #1E73BE 100%);
  box-shadow: 0 20px 50px rgba(11,58,131,0.20), inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 20px;
}

/* SVG board should fill the panel nicely */
.training-board {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  box-sizing: border-box;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.12));
}

/* Writing stroke animation */
.write {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  opacity: 0;
  animation: writeLine 3s ease-in-out infinite;
}

/* stagger the lines */
.writes .write:nth-child(1) { animation-delay: .25s; }
.writes .write:nth-child(2) { animation-delay: .7s; }
.writes .write:nth-child(3) { animation-delay: 1.15s; }
.writes .write:nth-child(4) { animation-delay: 1.55s; }
.writes .write:nth-child(5) { animation-delay: 1.95s; }


/* Animations */
@keyframes writeLine {
  0%   { stroke-dashoffset: 900; opacity: 0; }
  20%  { opacity: 1; }
  55%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -900; opacity: 0; }
}

@keyframes teachMove {
  0%   { transform: rotate(-4deg) translateY(0); }
  45%  { transform: rotate(10deg) translateY(-2px); }
  70%  { transform: rotate(4deg) translateY(0); }
  100% { transform: rotate(-4deg) translateY(0); }
}

@keyframes handPulse {
  0% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.06); opacity:0.96; }
  100% { transform: scale(1); opacity:1; }
}

/* ensure the board area matches height of left hero content (stretch) */
.hero .hero-inner, .hero-inner {
  align-items: stretch;
}

/* responsive: smaller screens stack nicely */
@media (max-width: 980px) {
  .board-wrap { max-width: 620px; }
  .board-surface { min-height: 300px; padding: 14px; }
}
@media (max-width: 720px) {
  /* make board narrower and shorter on mobile */
  .board-wrap { max-width: 92%; }
  .board-surface { min-height: 220px; padding: 12px; border-radius: 14px; }
  .training-board { max-height: 300px; }
}

/* Social Media Icons in Contact Us */
.contact-social {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 18px;

    transition: all .25s ease;
}

.contact-social a:hover {
    transform: translateY(-3px) scale(1.05);
    background: #ffffff;
    color: #0B3A83;
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* FIX Font Awesome icons not showing */
.contact-social i {
    display: inline-block !important;
    visibility: visible !important;
    font-style: normal;
}

/* =========================
   MOBILE / SMALL-SCREEN FIXES
   Paste this at the end of style.css
========================= */

/* General responsive base */
html { -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; display: block; }

/* Tweak base font sizing for small devices using clamp */
body {
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.5;
}

/* NAV / HEADER adjustments for mobile */
.header .container.header-inner {
  padding: 12px 16px;
}
.nav a {
  padding: 10px 10px;
  font-size: 15px;
}

/* Make tap targets larger and easier to press */
a, button, .back-btn, .training-btn-primary, .training-btn-brosur, .contact-social a {
  -webkit-tap-highlight-color: rgba(0,0,0,0.06);
  touch-action: manipulation;
}

/* HERO area: stack content, center image/board on mobile */
@media (max-width: 980px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .hero-text { width: 100%; padding: 0 16px; }
  .hero-image, .board-wrap, .trainer-wrap {
    width: 92%;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* CONTACT split-panel becomes stacked so map fits nicely under info */
@media (max-width: 900px) {
  .contact-grid.split-panel {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .contact-card, .contact-map {
    height: auto !important;
    min-height: unset;
  }
  .contact-map iframe { position: relative; height: 260px; }
  .contact-social { justify-content:flex-start; gap:12px; }
}

/* PROGRAM / TRAINING page buttons full width on mobile */
@media (max-width: 720px) {
  .training-actions { flex-direction: column; align-items: stretch; }
  .training-btn-primary, .training-btn-brosur, .training-btn-program, .training-btn-brosur {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  /* Card padding reduced to avoid overflow */
  .training-card, .soon-card, .board-surface {
    padding: 20px;
    border-radius: 14px;
  }

  /* Make "COMING SOON" area more compact */
  .soon-card { padding: 28px 18px; }
  .soon-title { font-size: clamp(24px, 8vw, 36px); }

  /* Social icons bigger and tappable */
  .contact-social a {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Trainer SVG / Board sizing tweaks for small screens */
@media (max-width: 540px) {
  .trainer-icon { max-width: 300px; }
  .training-board { max-height: 260px; }
}

/* Buttons & inputs: avoid tiny fonts */
input, textarea, select, button {
  font-size: 15px;
}

/* Reduce heavy shadows on mobile for performance & readability */
@media (max-width: 720px) {
  .box-shadow-heavy, .training-card, .board-surface, .soon-card {
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }
}

/* Ensure hero buttons and WhatsApp floating do not overlap on small screens */
@media (max-width:420px){
  .whatsapp-float { right: 12px; bottom: 12px; width:46px; height:46px; font-size:18px; }
  .hero .hero-text { padding-bottom: 22px; }
}

/* Accessibility: increased contrast for small text on dark backgrounds */
@media (max-width:720px) {
  .soon-sub, .training-desc { color: rgba(255,255,255,0.95); }
}

/* CONTACT STRIP - SAFE (paste di akhir style.css) */
.contact-strip {
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(90deg, rgba(11,58,131,0.02), rgba(11,58,131,0.01));
}
.contact-strip-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px;
}
.contact-left, .contact-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-center { flex: 1; text-align: center; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: transform .18s ease, box-shadow .18s ease;
  color: inherit;
  min-width: 220px;
  box-shadow: 0 6px 18px rgba(11,58,131,0.03);
}
.contact-link .icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 18px;
  background: rgba(255,255,255,0.03);
}
.contact-link.wa .icon { background: linear-gradient(180deg,#25D366,#1EA84B); color: #042b16; }
.contact-link.mail .icon { background: rgba(11,58,131,0.06); color: #0B3A83; }
.contact-link .meta { font-size: 14px; line-height: 1.1; color: #0B3A83; }
.contact-link .meta strong { font-weight: 700; display: block; color: #0B3A83; }
.contact-link:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11,58,131,0.06); }

/* Motto */
.motto-line { font-weight: 700; font-size: 18px; color: #0B3A83; }
.motto-sub { font-size: 13px; color: #425A67; margin-top: 6px; }

/* Responsive */
@media (max-width: 880px) {
  .contact-strip-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-left, .contact-right { flex-direction: row; justify-content: center; gap: 12px; flex-wrap:wrap; }
  .contact-link { min-width: 160px; justify-content: center; }
  .contact-center { order: 2; }
}

/* =========================
   CONTACT SOCIAL ICON COLOR FIX
   Paste at bottom of style.css
========================= */

/* base icon style */
#contact .contact-social a {
  background: rgba(11, 58, 131, 0.08);
  border: 1px solid rgba(11, 58, 131, 0.25);
  color: #0B3A83; /* warna logo utama */
  transition: all .25s ease;
}

/* icon itself */
#contact .contact-social a i {
  color: #0B3A83;
  font-size: 18px;
}

/* hover effect */
#contact .contact-social a:hover {
  background: linear-gradient(135deg, #0B3A83, #1E73BE);
  border-color: #1E73BE;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 26px rgba(11,58,131,0.35);
}

/* icon turns white on hover for contrast */
#contact .contact-social a:hover i {
  color: #ffffff;
}

/* WA Chat Modal (paste di akhir style.css) */
.wa-chat-modal {
  display: none; /* dikendalikan oleh JS */
  position: fixed;
  right: 20px;
  bottom: 86px; /* atas floating WA (28px) + offset */
  z-index: 1600;
  width: 340px;
  max-width: calc(100% - 40px);
  font-family: 'Poppins', sans-serif;
}

.wa-chat-panel {
  background: #ffffff;
  color: #0B3A83;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(11,58,131,0.16);
  overflow: hidden;
  border: 1px solid rgba(11,58,131,0.06);
}

.wa-chat-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  background: linear-gradient(90deg,#0B3A83,#1E73BE);
  color: #fff;
}
.wa-chat-title { font-weight:700; font-size:14px; }
.wa-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

/* body */
.wa-chat-body { padding: 12px; }
.wa-chat-input {
  width: 100%;
  min-height: 78px;
  max-height: 140px;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(11,58,131,0.08);
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
  color: #15394a;
}
.wa-chat-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #405562;
  opacity: .9;
}

/* footer */
.wa-chat-footer {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(11,58,131,0.02), rgba(11,58,131,0.01));
}
.wa-send-btn {
  background: linear-gradient(90deg,#25D366,#1EA84B);
  color: #042b16;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight:700;
}
.wa-send-btn:active { transform: translateY(1px); }

.wa-cancel-btn {
  background: transparent;
  color: #0B3A83;
  border: 1px solid rgba(11,58,131,0.06);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* visible */
.wa-chat-modal.show { display: block; animation: waSlide .18s ease; }
@keyframes waSlide { from { transform: translateY(8px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* screen-reader helper */
.sr-only { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* responsive: mobile adjust */
@media(max-width:420px) {
  .wa-chat-modal { right: 10px; left: 10px; bottom: 76px; width: auto; }
  .wa-chat-input { min-height: 72px; }
}

/* =========================
   CLEAN CONTACT (LEFT, SMALL, RAPAT)
========================= */

.contact-clean {
  max-width: 720px;
  font-size: 14px;          /* kecil & profesional */
  line-height: 1.45;        /* rapat tapi masih nyaman dibaca */
  color: #243447;
}

.contact-block {
  margin-bottom: 14px;      /* jarak antar blok, bukan antar baris */
}

.contact-line {
  margin: 2px 0;            /* JARAK RAPAT antar kalimat */
}

.contact-company {
  font-weight: 600;
  color: #0B3A83;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Mobile: sedikit lebih kecil */
@media (max-width: 720px) {
  .contact-clean {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* =========================
   CONTACT TOP SPACING FIX
========================= */

.contact-clean {
  margin-top: 24px;   /* jarak dari kotak biru */
}

/* Mobile: sedikit lebih lega */
@media (max-width: 720px) {
  .contact-clean {
    margin-top: 20px;
  }
}

/* CONTACT ICON INLINE */

.contact-inline i {
  font-size: 13px;
  color: #0B3A83;
  margin-right: 4px;
  vertical-align: middle;
}

.contact-inline span {
  vertical-align: middle;
}

/* CONTACT – HORIZONTAL BREATHING SPACE */

.contact-clean {
  padding-left: 50px;   /* geser ke kanan, tidak berlebihan */
}

/* Mobile: sedikit lebih ringan */
@media (max-width: 720px) {
  .contact-clean {
    padding-left: 12px;
  }
}
/* =========================
   CONTACT SOCIAL ICONS
========================= */

.contact-social {
  margin-top: 8px;           /* jarak dari kontak */
  display: flex;
  gap: 12px;
}

.contact-social a {
  color: #0B3A83;
  font-size: 16px;           /* kecil & rapi */
  text-decoration: none;
  transition: transform .15s ease, color .15s ease;
}

.contact-social a:hover {
  transform: translateY(-2px);
  color: #1E73BE;
}

/* Mobile sedikit lebih kecil */
@media (max-width: 720px) {
  .contact-social a {
    font-size: 15px;
  }
}

/* CONTACT SOCIAL – TIGHTER SPACING */

.contact-social {
  margin-top: 2px;   /* sebelumnya 8px → sekarang rapat */
}

/* CONTACT LEFT – BIGGER & CLEAN */

.contact-left-big {
  padding-right: 32px;
}

.contact-left-big .contact-company {
  font-size: 20px;
  font-weight: 600;
  color: #0B3A83;
  margin-bottom: 10px;
}

.contact-left-big .contact-line {
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 4px;
  color: #243447;
}

.contact-left-big .contact-city {
  margin-bottom: 12px;
}

.contact-left-big .contact-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  margin-bottom: 10px;
}

.contact-left-big .contact-main i {
  color: #0B3A83;
}

.contact-left-big .contact-sep {
  margin: 0 6px;
  color: #8aa4c8;
}

/* Social icons closer & slightly bigger */
.contact-left-big .contact-social {
  margin-top: 4px;
}

.contact-left-big .contact-social a {
  width: 38px;
  height: 38px;
  font-size: 17px;
}

/* OUR OFFICE – heading utama */
.contact-title {
  font-size: 25px;        /* lebih besar dari PT */
  font-weight: 700;       /* bold */
  color: #0B3A83;
  margin-bottom: 12px;
}

/* Nama perusahaan */
.contact-company {
  font-size: 15px;
  font-weight: 600;
  color: #172B4D;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 17px;
  }
  .contact-company {
    font-size: 14px;
  }
}

/* FOOTER HIDDEN ON CONTACT */
body.hide-footer footer {
  display: none !important;
}

/* =========================
   CONTACT SECTION – MOBILE FIX
========================= */
@media (max-width: 768px) {

  /* container utama */
  #contact .container {
    padding: 20px 16px;
  }

  /* card putih */
  #contact .contact-card,
  #contact .contact-wrapper {
    width: 100%;
    border-radius: 16px;
    padding: 20px;
  }

  /* pastikan layout jadi 1 kolom */
  #contact .contact-layout,
  #contact .contact-grid,
  #contact .contact-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  /* map wrapper */
  #contact .contact-map {
    width: 100%;
    height: auto;
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
  }

  /* iframe map */
  #contact .contact-map iframe {
    width: 100%;
    height: 260px;
    display: block;
  }

  /* text tidak mepet */
  #contact .contact-clean,
  #contact .contact-block {
    padding: 0;
  }
}

/* =========================
   CONTACT – MAP ONLY
========================= */
.contact-map-only {
  padding: 60px 0;
  background: linear-gradient(180deg, #0b3c82, #08306b);
}

.contact-title {
  text-align: center;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}

.map-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  border: none;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-title {
    font-size: 22px;
  }

  .map-wrapper iframe {
    height: 300px;
    border-radius: 12px;
  }
}

/* OUR OFFICE TITLE STYLE */
.office-title {
  text-align: left;              /* rata kiri */
  font-size: 22px;                  /* lebih besar dari PT */
  font-weight: 700;                 /* bold */
  color: #0B3A83;                   /* SAMA dengan biru header */
  margin: 0 0 12px 0;               /* jarak rapi ke bawah */
  letter-spacing: 0.2px;
}

/* CONTACT SECTION TITLE FIX */
.contact-heading {
  text-align: left;
  font-size: 26px;
  font-weight: 700;
  color: #0B3A83;      /* biru tema */
  background: none;   /* HILANGKAN kotak biru */
  padding: 0;
  margin: 0 0 24px 0;
}

.contact-heading {
  background: transparent !important;
  text-align: left !important;
  display: block !important;
}

/* Contact Us title */
.contact-heading {
  margin-bottom: 12px;   /* KUNCI: kecilkan jarak ke PT */
  font-size: 26px;
  font-weight: 700;
  color: #0B3A83;
}

/* Company name */
.contact-company {
  margin-top: 0;         /* pastikan tidak nambah jarak */
  font-size: 18px;
  font-weight: 600;
  color: #172B4D;
}

/* ========== Training Programs (two-column) ========== */
.training-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 18px;
}

/* column container */
.training-col {
  background: transparent;
}

/* subtitle (SOFT/HARD) */
.training-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #0B3A83;       /* gunakan warna utama */
  margin: 0 0 10px 0;
}

/* list styling */
.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #243447;
  font-size: 15px;
  line-height: 1.65;
}

/* list item visual separation */
.training-list li {
  padding: 6px 0;
  border-bottom: 0; /* no borders by default */
}

/* optional: subtle bullets using pseudo-element */
.training-list li::before {
  content: "•";
  display: inline-block;
  width: 18px;
  color: #0B3A83;
  margin-left: -18px;
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
}

/* section title sizing (keamanan jika perlu override) */
.section-title {
  font-size: 32px;
  color: #0B3A83;
  margin-bottom: 6px;
}

/* responsive: stack columns on small screens */
@media (max-width: 980px) {
  .training-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .training-subtitle {
    font-size: 16px;
  }

  .training-list {
    font-size: 15px;
  }
}

/* mobile tweaks */
@media (max-width: 520px) {
  .section-title { font-size: 22px; }
  .training-list { font-size: 14px; line-height: 1.6; }
  .training-list li::before { width: 14px; margin-right: 6px; font-size: 14px; }
}
