/* KARS Technologies — static site, mirrors live Odoo design */
:root {
  --charcoal: #343a40;
  --charcoal-dark: #23272b;
  --blue: #0d6efd;
  --blue-dark: #0b5ed7;
  --gray-light: #f4f5f6;
  --teal: #20c997;
  --tan: #d9b98a;
  --tan-dark: #c9a878;
  --text: #3a3f44;
  --text-muted: #6c757d;
  --white: #ffffff;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 20px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--charcoal);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .kars { font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; color: #fff; }
.brand-text .tech { font-size: .72rem; letter-spacing: .42em; color: var(--tan); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { text-decoration: none; background: rgba(255,255,255,.08); }
.nav-links a.active { background: var(--blue); color: #fff; }
.search-icon {
  color: #fff; font-size: 1.15rem; padding: 8px 10px; cursor: pointer;
  background: none; border: none;
}
/* EN/ID language toggle */
.lang-toggle {
  display: inline-flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  overflow: hidden; margin-left: 8px;
}
.lang-toggle button {
  border: none; background: transparent; padding: 6px 14px; font-size: .78rem;
  font-weight: 700; cursor: pointer; color: rgba(255,255,255,.8); font-family: inherit;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }
.login-link {
  border: 1px solid rgba(255,255,255,.4); border-radius: 20px;
  padding: 6px 18px !important; font-size: .9rem; white-space: nowrap;
}
.login-link:hover { border-color: #fff; background: rgba(255,255,255,.12) !important; }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(20,24,28,.88) 0%, rgba(20,24,28,.55) 55%, rgba(20,24,28,.25) 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 60px),
    radial-gradient(1200px 600px at 70% 20%, #2b3f5c 0%, #161b22 70%);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px; width: 100%; }
.hero-kicker {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero h1 .h1-light { font-weight: 400; }
.hero h1 .h1-bold { font-weight: 800; }
.hero-line1 { font-weight: 400; }
.hero-line2 { font-weight: 800; }
.hero .lead { font-size: 1.12rem; max-width: 560px; color: #e8eaed; margin-bottom: 32px; }
.hero-slide { display: none; }
.hero-slide.on { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }
.hero-dots { display: flex; gap: 10px; margin-top: 28px; }
.hero-dots button {
  width: 34px; height: 6px; border-radius: 4px; border: none;
  background: rgba(255,255,255,.3); cursor: pointer; padding: 0;
}
.hero-dots button.on { background: var(--tan); }
.hero-arrows { position: absolute; right: 32px; bottom: 36px; display: flex; gap: 10px; z-index: 3; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: transparent;
  color: #fff; font-size: 1.2rem; cursor: pointer;
}
.hero-arrows button:hover { background: rgba(255,255,255,.15); }
.scroll-down {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 1.5rem; border: none; cursor: pointer;
  margin-top: 8px;
}
.scroll-down:hover { background: var(--blue-dark); }

/* small page banner (about/careers/contact/jobs) */
.page-banner {
  background: linear-gradient(100deg, rgba(20,24,28,.85), rgba(20,24,28,.4)),
    url('images/contact-bg.webp') center/cover;
  color: #fff;
  padding: 90px 0 70px;
}
.page-banner h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-banner .lead { color: #dfe3e8; max-width: none; margin-top: 12px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.gray { background: var(--gray-light); }
.section.white { background: #fff; }
.section.dark { background: #343a40; color: #fff; }
.section.dark .quote-heading h2 { color: #fff; }
.quote-heading {
  border-left: 5px solid var(--teal);
  padding-left: 18px;
  margin-bottom: 14px;
}
.quote-heading h2 { font-size: 1.9rem; font-weight: 700; color: var(--charcoal); }
.section-sub { color: var(--text-muted); max-width: 720px; margin-bottom: 40px; text-align: justify; }
h3.big { font-size: 1.65rem; font-weight: 700; color: var(--charcoal); margin-bottom: 16px; }

/* buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.teal-rule { width: 64px; height: 4px; background: var(--teal); border: none; margin: 22px 0; }

/* Capabilities section entrance from left */
.split .split-img { animation: fadeSlideLeft .8s ease-out; }
.split > div:last-child { animation: fadeSlideLeft .8s ease-out .15s; }

/* news cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  display: flex; flex-direction: column;
  animation: fadeSlideRight .8s ease-out;
}
.cards-3 .card:nth-child(1) { animation-delay: 0s; }
.cards-3 .card:nth-child(2) { animation-delay: .15s; }
.cards-3 .card:nth-child(3) { animation-delay: .3s; }
.card-img {
  height: 190px;
  background: linear-gradient(135deg, #1c2b45, #0d6efd 130%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-weight: 700; font-size: 1.05rem;
  text-align: center; padding: 16px;
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; font-weight: 700; }
.card-body p { color: var(--text-muted); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.card-body ul { margin: 0 0 0 1.1rem; color: var(--text-muted); font-size: .95rem; flex: 1; }
.card-body li { margin-bottom: .4rem; }
.card-body .btn { align-self: flex-start; }

/* parallax banner sections */
.parallax {
  position: relative;
  padding: 110px 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(15,19,24,.82) 0%, rgba(15,19,24,.45) 60%, rgba(15,19,24,.2) 100%),
    url("images/parallax-bg.webp") center/cover no-repeat;
  /* Fixed background = the photo stays put while the page scrolls, so the
     dark box layers over it like the live home page (Our services, Connect). */
  background-attachment: fixed;
}
.parallax .box {
  background: rgba(20,24,29,.72);
  border-radius: 16px;
  padding: 40px 44px;
  max-width: 840px;
  animation: fadeSlideRight .8s ease-out;
}
.parallax .quote-heading h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.parallax h3 { font-size: 1.7rem; margin-bottom: 14px; }
.parallax p { color: #d7dbe0; margin-bottom: 24px; font-size: 1.05rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img {
  min-height: 380px; border-radius: var(--radius);
  background: linear-gradient(135deg, #22334f, #0d6efd 140%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-weight: 600;
}

/* partner logos */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.logo-card {
  background: #fff; border-radius: 10px; padding: 26px 12px;
  text-align: center; font-weight: 700; color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  font-size: 1.02rem; letter-spacing: .02em;
  animation: popUp .5s ease-out;
  animation-fill-mode: both;
}
@keyframes fadeOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popUp {
  from { opacity: 0; transform: scale(.8); }
  to { opacity: 1; transform: scale(1); }
}
.logo-grid .logo-card:nth-child(1) { animation-delay: 0s; }
.logo-grid .logo-card:nth-child(2) { animation-delay: .05s; }
.logo-grid .logo-card:nth-child(3) { animation-delay: .1s; }
.logo-grid .logo-card:nth-child(4) { animation-delay: .15s; }
.logo-grid .logo-card:nth-child(5) { animation-delay: .2s; }
.logo-grid .logo-card:nth-child(6) { animation-delay: .25s; }
.logo-grid .logo-card:nth-child(7) { animation-delay: .3s; }
.logo-grid .logo-card:nth-child(8) { animation-delay: .35s; }
.logo-grid .logo-card:nth-child(9) { animation-delay: .4s; }
.logo-grid .logo-card:nth-child(10) { animation-delay: .45s; }
.logo-grid .logo-card:nth-child(11) { animation-delay: .5s; }
.logo-grid .logo-card:nth-child(12) { animation-delay: .55s; }
.logo-grid .logo-card:nth-child(13) { animation-delay: .6s; }
.logo-grid .logo-card:nth-child(14) { animation-delay: .65s; }
.logo-grid .logo-card:nth-child(15) { animation-delay: .7s; }

/* service detail sections */
.svc { padding: 70px 0; }
.svc.gray { background: var(--gray-light); }
.svc ul { margin: 18px 0 26px 22px; }
.svc li { margin-bottom: 4px; font-size: .95rem; color: var(--text-muted); }

/* values grid */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 26px 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,.07); text-align: center;
}
.value-card .letter {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.value-card h4 { margin-bottom: 8px; color: var(--charcoal); }
.value-card p { font-size: .9rem; color: var(--text-muted); }

/* group companies / offices */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.corp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 32px; }
.cert-badge {
  display: inline-block; background: #1a237e; color: #fff;
  font-size: .85rem; font-weight: 700; padding: 8px 16px;
  margin-bottom: 16px; letter-spacing: .02em;
}
.info-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: 0 3px 14px rgba(0,0,0,.07);
}
.info-card h4 { color: var(--charcoal); margin-bottom: 10px; font-size: 1.2rem; }
.info-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.office-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: 0 3px 14px rgba(0,0,0,.07);
}
.office-card h4 { color: var(--charcoal); margin-bottom: 8px; }
.office-card p { font-size: .92rem; color: var(--text-muted); white-space: pre-line; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.testi {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: 0 3px 14px rgba(0,0,0,.07);
}
.testi .quote { font-style: italic; color: var(--text); margin-bottom: 18px; }
.testi .who { font-weight: 700; color: var(--charcoal); }
.testi .role { font-size: .88rem; color: var(--text-muted); }

/* accordion (jobs) */
.accordion { margin-top: 32px; border: 1px solid #e2e5e9; border-radius: var(--radius); overflow: hidden; }
.acc-item { border-bottom: 1px solid #e2e5e9; }
.acc-item:last-child { border-bottom: none; }
.acc-head {
  width: 100%; background: #fff; border: none; cursor: pointer;
  padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.02rem; font-weight: 600; color: var(--charcoal); text-align: left;
  font-family: inherit;
}
.acc-head:hover { background: var(--gray-light); }
.acc-body { display: none; padding: 0 24px 22px; color: var(--text-muted); font-size: .95rem; }
.acc-item.open .acc-body { display: block; }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 12px;
  border-radius: 999px; margin-left: 10px; vertical-align: middle;
}
.badge.open { background: #d1e7dd; color: #0f5132; }
.badge.closed { background: #f8d7da; color: #842029; }

/* contact form */
.form-wrap { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; margin-bottom: 6px; font-size: .93rem; }
.field label .req { color: #dc3545; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid #ced4da; border-radius: 8px; font-size: 1rem;
  font-family: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

/* footer */
.site-footer { background: var(--charcoal); color: #cfd4d9; }
.footer-inner { padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-grid h5 { color: #fff; margin-bottom: 1rem; font-size: 1.05rem; font-weight: 700; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .7rem; }
.footer-grid a { color: rgba(255,255,255,.65); font-size: 1rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 48px; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8a9299;
  max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px;
}

/* back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 1.4rem; display: none; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.to-top:hover { background: var(--blue-dark); }
.to-top.show { display: inline-flex; align-items: center; justify-content: center; }

/* responsive */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--charcoal-dark); flex-direction: column; padding: 12px 24px 20px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; }
  .hamburger { display: block; }
  .cards-3, .split, .two-col, .three-col, .corp-grid, .testi-grid { grid-template-columns: 1fr; }
  .corp-carousel .corp-card { flex-basis: calc(100% - 8px); }
  .office-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-arrows { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- Real background images ---------- */
.hero-img {
  background:
    linear-gradient(100deg, rgba(20,24,28,.88) 0%, rgba(20,24,28,.55) 55%, rgba(20,24,28,.25) 100%),
    url("images/hero-bg.jpg") center/cover no-repeat;
}
/* ---------- Hero background video ---------- */
.hero-video {
  position: relative; overflow: hidden;
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-video-bg iframe, .hero-video-bg video {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 100vh;
  min-width: 100vw; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-video .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(20,24,28,.88) 0%, rgba(20,24,28,.55) 55%, rgba(20,24,28,.25) 100%);
}
.hero-video .hero-inner { position: relative; z-index: 2; }
.parallax-services {
  background:
    linear-gradient(100deg, rgba(15,19,24,.82) 0%, rgba(15,19,24,.45) 60%, rgba(15,19,24,.2) 100%),
    url("images/services-bg.jpg") center/cover no-repeat fixed;
}
.parallax-cta {
  background:
    linear-gradient(100deg, rgba(15,19,24,.82) 0%, rgba(15,19,24,.45) 60%, rgba(15,19,24,.2) 100%),
    url("images/hero-bg.jpg") center/cover no-repeat fixed;
}
/* Fixed parallax backgrounds do not work reliably on small touch screens:
   fall back to normal scrolling there. */
@media (max-width: 768px) {
  .parallax { background-attachment: scroll; }
}
.banner-img {
  background:
    linear-gradient(100deg, rgba(20,24,28,.7), rgba(20,24,28,.4)),
    url("images/parallax-bg.webp") center/cover no-repeat;
}

/* news card images */
.card-img { padding: 0; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

/* article pages */
.article-body { max-width: 800px; }
.article-body h2 { margin-bottom: 24px; }
.article-img { width: 100%; max-width: 800px; margin: 0 auto 32px; display: block; border-radius: var(--radius); object-fit: cover; }
.article-body p { margin-bottom: 1.2em; line-height: 1.75; text-align: justify; }
.article-body p.article-lead { font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.article-gallery img { width: 100%; height: auto; border-radius: var(--radius); display: block; object-fit: cover; }
@media (max-width: 768px) { .article-gallery { grid-template-columns: 1fr 1fr; } }

/* capabilities image */
.split-img { padding: 0; overflow: hidden; background: none; }
.split-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; border-radius: var(--radius); }

/* partner logo images */
.logo-card { display: flex; align-items: center; justify-content: center; min-height: 110px; }
.logo-card:hover { text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.logo-card img { max-height: 64px; max-width: 80%; object-fit: contain; }

/* ---------- Service split layout ---------- */
.svc-split { display: flex; gap: 40px; align-items: center; }
.svc-split.reverse { flex-direction: row-reverse; }
.svc-split .svc-img { flex: 0 0 45%; opacity: 0; }
.svc-split .svc-text { flex: 1; opacity: 0; }
.svc-split.in-view .svc-img { animation: fadeSlideLeft .8s ease-out forwards; }
.svc-split.in-view.reverse .svc-img { animation: fadeSlideRight .8s ease-out forwards; }
.svc-split.in-view .svc-text { animation: fadeSlideRight .8s ease-out forwards; }
.svc-split.in-view.reverse .svc-text { animation: fadeSlideLeft .8s ease-out forwards; }
.svc-split.reverse .svc-text { animation: fadeSlideLeft .8s ease-out; }
.svc-split .svc-img img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 16/10; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 768px) {
  .svc-split, .svc-split.reverse { flex-direction: column; }
  .svc-split .svc-img { flex: none; width: 100%; }
}

/* ---------- Search modal ---------- */
.search-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); align-items: flex-start; justify-content: center; padding-top: 15vh; }
.search-modal.open { display: flex; }
.search-modal-box { background: #fff; border-radius: 12px; padding: 30px; width: 90%; max-width: 500px; position: relative; }
.search-modal-box h3 { margin-top: 0; }
.search-modal-box input[type="text"] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; box-sizing: border-box; }
.search-modal-box .btn { margin-top: 15px; }
.search-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; }
.search-results { margin-top: 15px; max-height: 300px; overflow-y: auto; }
.search-results a { display: block; padding: 8px 0; border-bottom: 1px solid #eee; color: #0d6efd; text-decoration: none; }

/* ---------- Testimonial avatars ---------- */
.testimonial-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }

/* ---------- Office flags ---------- */
.office-flag { width: 48px; height: 32px; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }

/* ---------- Policy pages ---------- */
.policy-body h3 { margin-top: 30px; color: #343a40; }
.policy-body ol { padding-left: 20px; }
.policy-body li { margin-bottom: 15px; }

/* Newsroom listing — Odoo-style */
.news-hero {
  background: #fde8d3;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.news-hero h1 { font-size: 2.2rem; margin-bottom: .8rem; }
.news-hero .lead { max-width: 640px; margin: 0 auto 1.2rem; color: #555; }
.news-cats { display: flex; gap: 1.5rem; justify-content: center; }
.news-cats a { color: var(--blue); font-weight: 600; }
.news-cats a.active { text-decoration: underline; }
.news-list { display: flex; flex-direction: column; gap: 1.5rem; }
.news-row {
  display: flex; gap: 1.5rem; align-items: stretch;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.news-row-img { flex: 0 0 33%; }
.news-row-img img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.news-row-body { flex: 1; padding: 1.5rem; }
.news-row-body h3 { margin-bottom: .6rem; font-size: 1.25rem; }
.news-row-body p { color: #555; margin-bottom: 1rem; }
.read-more { color: var(--blue); font-weight: 600; }
@media (max-width: 700px) {
  .news-row { flex-direction: column; }
  .news-row-img { flex: none; }
}

/* Testimonial carousel — Odoo-style */
.testi-carousel {
  position: relative; overflow: hidden;
  background: #161b22;
  padding: 4rem 0;
  color: #fff;
}
.testi-bgs { position: absolute; inset: 0; }
.testi-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
}
.testi-bg.active { opacity: 1; }
.testi-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,24,28,.92), rgba(20,24,28,.6));
}
.testi-carousel .container { position: relative; z-index: 2; }
.quote-heading.light h2 { color: #fff; }
.carousel-wrap {
  display: flex; align-items: center; gap: 1rem;
  max-width: 800px; margin: 2rem auto 0;
}
.carousel-track { flex: 1; position: relative; min-height: 280px; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fadeSlideIn .5s ease-out; }
.testi-card {
  background: #fff; color: #333; border-radius: 12px;
  padding: 2rem 2.5rem; position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  margin-top: 32px;
}
.quote-mark {
  position: absolute; top: -14px; left: 24px;
  background: var(--blue); color: #fff; font-size: 2rem; line-height: 1;
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.testi-card .quote { font-style: italic; margin: 1rem 0 1.5rem; color: #444; }
.testi-person { display: flex; gap: 1rem; align-items: center; }
.testi-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-person .who { font-weight: 700; margin: 0; }
.testi-person .who .org { font-weight: 400; color: #666; }
.testi-person .role { color: #888; font-size: .9rem; margin: 0; }
.carousel-arrow {
  background: none; border: none; color: #fff; font-size: 2rem;
  cursor: pointer; padding: .5rem; opacity: .8;
}
.carousel-arrow:hover { opacity: 1; }
.carousel-dots { display: flex; gap: .5rem; justify-content: center; margin-top: .8rem; }
.carousel-dots .dot {
  width: 32px; height: 6px; border-radius: 3px; border: none;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.carousel-dots .dot.active { background: #fff; }

/* Job listings — Odoo-style */
.jobs-list .acc-head { color: var(--blue); font-weight: 600; justify-content: flex-start; gap: 12px; }
.jobs-list .acc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e8e8e8; color: #666; font-size: .9rem; margin-right: .6rem;
}
.jobs-list .acc-item.open .acc-icon { background: var(--blue); color: #fff; }
.job-details { margin: 1rem 0; border-collapse: collapse; }
.job-details td { padding: .4rem 1rem .4rem 0; vertical-align: top; }
.job-details td:first-child { color: #555; white-space: nowrap; }
.job-details td:nth-child(2) { color: #999; padding-right: .8rem; }


/* Nav icon */
.nav-icon {
  width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px;
}

/* Hero pattern graphic — Odoo-style */
.hero-video { position: relative; }
.hero-pattern {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 320px; max-width: 28vw; height: auto; opacity: .9;
  z-index: 1; pointer-events: none;
  animation: fadeSlideIn .8s ease-out;
}
.hero-video .hero-inner { position: relative; z-index: 2; }
@media (max-width: 768px) {
  .hero-pattern { width: 55vw; opacity: .35; right: 2%; }
}

/* Corporate group logos — rectangular */
.corp-logo {
  width: 100%; aspect-ratio: 16/9; object-fit: contain;
  background: #fff; border-radius: 8px; margin-bottom: 15px; padding: 20px;
}

/* Where to find us hero — matches current production */
.findus-hero {
  background-size: cover; background-position: center;
  position: relative; color: #fff;
}
.findus-overlay {
  background: rgba(20, 25, 40, 0.72);
  padding: 70px 0;
}
.findus-heading h2 {
  font-size: 1.6rem; margin: 0 0 2.5rem;
  padding-left: 1rem; border-left: 4px solid #fff;
}
.findus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-bottom: 2rem;
}
.findus-col {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 1.8rem;
  border: 1px solid rgba(255,255,255,.18);
}
.findus-col h4 { font-size: 1.2rem; margin: 0 0 .8rem; color: #fff; }
.findus-col p { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.92); margin: 0; }
@media (max-width: 768px) {
  .findus-grid { grid-template-columns: 1fr; }
}

/* How to find us — 5 country cards */
.howtofind { background: #f4f6f9; padding: 80px 0; }
.howtofind-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 2rem;
  padding-left: 1rem; border-left: 4px solid #0d6efd;
}
.howtofind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  align-items: start;
}
.howtofind-card.ph-card { grid-row: span 2; }
.howtofind-card {
  background: #fff; border-radius: 12px; padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.howtofind-flag { margin-bottom: .8rem; }
.howtofind-flag img { width: 40px; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.howtofind-card h4 { font-size: 1.05rem; margin-bottom: .8rem; color: #1a2332; }
.howtofind-card p { font-size: .92rem; line-height: 1.7; color: #5b6472; margin: 0 0 .8rem; }
.howtofind-card p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .howtofind-grid { grid-template-columns: 1fr; }
}

/* Corporate Group cards — KARS Corp style */
.group-kicker { color: #16265c; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.group-title { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; color: #16265c; line-height: 1.15; margin-bottom: .6rem; }
.group-lede { color: #5b6472; font-size: 1.05rem; margin-bottom: .5rem; }
.corp-carousel { display: flex; overflow: hidden; scroll-behavior: smooth; gap: 32px; margin-top: 32px; }
.corp-carousel .corp-card { flex: 0 0 calc(33.333% - 22px); min-width: 0; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.5rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #ccc; cursor: pointer; padding: 0; }
.carousel-dots button.active { background: #16265c; }
.corp-card {
  border: 1px solid #e2e6ec; background: #fff;
  padding: 2.2rem; display: flex; flex-direction: column;
  transition: border-color .18s ease;
}
.corp-card:hover { border-color: #16265c; }
.corp-logo {
  width: 64px; height: 64px; background: #fff;
  border: 1px solid #e2e6ec;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; padding: 6px;
}
.corp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.corp-card h4 { font-size: 1.2rem; margin-bottom: .3rem; }
.corp-card .corp-ent {
  color: #16265c; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem;
}
.corp-card p { color: #5b6472; font-size: .95rem; margin-bottom: 1.1rem; }
.corp-card h4 a { color: inherit; text-decoration: none; }
.corp-card h4 a:hover { text-decoration: underline; }
.corp-card .ext { font-size: .85em; }
.corp-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.corp-tags .tag { background: #f1f3f5; color: #343a40; font-size: .78rem; font-weight: 600; padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; }

/* Clean hero video — no overlays, no boxes */
.hero-video-clean {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #000;
}
.hero-video-frame {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.78vh; height: 100vh;
  min-width: 100vw; min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-video-clean .hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px; width: 100%;
}
.hero-video-clean h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.12; margin-bottom: 20px;
}
.hero-video-clean h1 .h1-light { font-weight: 400; }
.hero-video-clean h1 .h1-bold { font-weight: 800; }
.hero-video-clean .lead { font-size: 1.12rem; max-width: none; white-space: nowrap; color: #e8eaed; margin-bottom: 32px; }

/* About page entrance animations */
.about-glance > div:first-child { animation: fadeSlideLeft .8s ease-out; }
.about-glance > div:last-child { animation: fadeSlideRight .8s ease-out; }
.about-vision > div:first-child { animation: fadeSlideLeft .8s ease-out; }
.about-vision > div:last-child { animation: fadeSlideRight .8s ease-out; }

/* Services hero slides — full-width background images */
.hero-slide {
  background-size: cover; background-position: center;
  min-height: 70vh; display: none;
  align-items: center; padding: 80px 0;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.hero-slide.on { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; animation: fadeIn .6s ease; }
.hero-slide > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; width: 100%; }
.hero-slide .hero-kicker { display: block; margin-bottom: 12px; }
.hero-slide h1 { margin-bottom: 16px; }
.hero-slide .lead { display: block; margin-bottom: 24px; max-width: 600px; }
.hero-slide .btn { width: auto; align-self: flex-start; margin-left: max(24px, calc(50% - 600px)); }
/* Services hero CTA row — button left, description beside it, vertically centered */
.hero-slide .hero-cta { display: flex; align-items: center; gap: 24px; }
.hero-slide .hero-cta .lead { margin-bottom: 0; }
.hero-slide .hero-cta .btn { align-self: center; margin-left: 0; flex-shrink: 0; }
@media (max-width: 768px) {
  .hero-slide .hero-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-slide .hero-cta .lead { max-width: none; }
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,18,24,.82) 0%, rgba(15,18,24,.45) 55%, rgba(15,18,24,.15) 100%);
}
.hero-slide > * { position: relative; z-index: 1; }
.hero-slides { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Where to find us — full-bleed Jakarta skyline with centered overlay card */
.findus {
  background: url('images/jakarta-night.webp') center/cover no-repeat;
  padding: 90px 24px;
}
.findus-card {
  background: rgba(20,24,28,.75);
  border-radius: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 48px;
  text-align: center;
  color: #e8eaed;
}
.findus-card .quote-heading { margin-bottom: 8px; }
.findus-card .quote-heading h2 { color: #fff; }
.findus-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 32px;
  text-align: left;
}
.findus-col h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.findus-col p { color: #c8cdd4; font-size: .9rem; line-height: 1.6; margin: 0; }
.findus-tile {
  background: rgba(255,255,255,.55);
  border-radius: 10px;
  padding: 22px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
}
.findus-tile h4 { color: #1a1f2e; font-size: 1rem; margin-bottom: 10px; }
.findus-tile p { color: #4a5568; font-size: .9rem; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
  .findus-cols { grid-template-columns: 1fr; }
  .findus-card { padding: 32px 28px; }
}

/* About page — country image cards with text overlay */
.country-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: flex-end;
}
.country-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.country-card .cc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,22,.15) 30%, rgba(10,14,22,.72) 100%);
}
.country-card .cc-text {
  position: relative; z-index: 1; padding: 36px; color: #fff; width: 100%;
}
.country-card .cc-kicker { font-size: .95rem; opacity: .92; margin-bottom: 6px; }
.country-card .cc-country { font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.section-beige { background: #f5e6d3; }
.agile-list { margin: 20px 0 0 22px; }
.agile-list li { margin-bottom: 10px; text-align: justify; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }
