.kh-hero { --kh-green:#8ed23e; --kh-green-dark:#4fb83a; --kh-navy:#081a30;
    position:relative; overflow:hidden; padding:90px 0 80px; min-height:640px; display:flex; align-items:center;
    background-color:var(--kh-navy); background-size:cover; background-position:center right; background-repeat:no-repeat; }
.kh-hero > .container { position:relative; z-index:2; }
.kh-hero__overlay { position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(90deg, rgba(4,14,30,.55) 0%, rgba(4,14,30,.2) 55%, rgba(4,14,30,0) 100%); }

.kh-hero__eyebrow { display:flex; align-items:center; gap:14px; margin:0 0 14px; color:var(--kh-green); font-size:13px; font-weight:700; letter-spacing:.2em; }
.kh-hero__eyebrow span { display:block; width:34px; height:4px; border-radius:2px; background:var(--kh-green); }
.kh-hero__title { margin:0 0 22px; color:#fff; font-size:clamp(28px, 2.7vw, 46px); font-weight:700; line-height:1.1; letter-spacing:-.01em; }
.kh-hero__title { white-space:normal; }
.kh-hero__title-line1 { display:block; white-space:normal; }
.kh-hero__title span { display:block; background:linear-gradient(90deg,#a6e34a,#6fcf3a); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:var(--kh-green); }
.kh-hero__text { max-width:640px; margin:0 0 30px; color:rgba(255,255,255,.84); font-size:17px; line-height:1.8; }
.kh-hero__text a { color:#fff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.55); }
.kh-hero__text a:hover { color:var(--kh-green); }

.kh-hero__btn { display:inline-flex; align-items:center; gap:26px; padding:9px 10px 9px 32px; border-radius:50px; color:#fff; font-size:17px; font-weight:600;
    background:linear-gradient(90deg,var(--kh-green-dark),var(--kh-green)); box-shadow:0 8px 24px rgba(110,205,60,.35); transition:transform .3s ease, box-shadow .3s ease; }
.kh-hero__btn:hover { color:#fff; transform:translateY(-3px); box-shadow:0 12px 30px rgba(110,205,60,.5); }
.kh-hero__btn-icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:var(--kh-navy); color:var(--kh-green); font-size:14px; }

.kh-hero__badges { display:flex; flex-wrap:nowrap; gap:14px 0; margin:38px 0 0; padding:0; }
.kh-hero__badges li { display:flex; align-items:center; gap:10px; padding:0 14px; flex:0 1 auto; white-space:nowrap; }
.kh-hero__badges li:first-child { padding-left:0; }
.kh-hero__badges li + li { border-left:1px solid rgba(255,255,255,.2); }
.kh-hero__badge-icon { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:42px; height:42px; border-radius:50%; border:2px solid var(--kh-green-dark); background:rgba(79,184,58,.12); color:var(--kh-green); font-size:16px; }
.kh-hero__badges strong { display:block; color:#fff; font-size:14px; font-weight:600; line-height:1.2; white-space:nowrap; }
.kh-hero__badges small { display:block; color:rgba(255,255,255,.65); font-size:11.5px; line-height:1.3; white-space:nowrap; }

.kh-hero__cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.kh-card { display:flex; flex-direction:column; overflow:hidden; border-radius:16px; border:1px solid rgba(120,225,215,.4);
    background:rgba(8,26,48,.78); box-shadow:0 12px 32px rgba(0,0,0,.4); backdrop-filter:blur(6px);
    transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.kh-card:hover { transform:translateY(-6px); border-color:var(--kh-green); box-shadow:0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(142,210,62,.4); }
.kh-card__img { aspect-ratio:16 / 10; overflow:hidden; flex:0 0 auto; }
.kh-card__img img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.kh-card:hover .kh-card__img img { transform:scale(1.06); }
.kh-card__bar { display:flex; align-items:center; flex:1 1 auto; gap:12px; padding:14px 14px; min-height:64px; }
.kh-card__icon { flex:0 0 auto; width:24px; color:var(--kh-green); font-size:20px; text-align:center; }
.kh-card__title { flex:1 1 auto; color:#fff; font-size:15px; font-weight:500; line-height:1.25; }
.kh-card__title small { display:block; margin-top:2px; color:rgba(255,255,255,.65); font-size:9.5px; font-weight:400; }
.kh-card__go { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:var(--kh-green); color:var(--kh-navy); font-size:11px; }

@media (max-width: 1199px) {
    .kh-hero__cards { gap:14px; }
    .kh-card__bar { padding:12px 10px; gap:8px; }
    .kh-card__title { font-size:13.5px; }
    .kh-hero__badges li { padding:0 10px; }
}
@media (max-width: 991px) {
    .kh-hero { padding:70px 0 60px; min-height:0; }
    .kh-hero__overlay { background:linear-gradient(180deg, rgba(4,14,30,.6), rgba(4,14,30,.35)); }
    .kh-hero__cards { margin-top:46px; }
}
@media (max-width: 575px) {
    .kh-hero { padding:56px 0 50px; }
    .kh-hero__title { font-size:clamp(26px, 7vw, 34px); }
    .kh-hero__title-line1 { white-space:normal; }
    .kh-hero__text { font-size:15.5px; }
    .kh-hero__cards { grid-template-columns:repeat(2, 1fr); gap:12px; }
    .kh-card__bar { padding:10px; min-height:56px; }
    .kh-card__icon { display:none; }
    .kh-card__title { font-size:13px; }
    .kh-card__go { width:22px; height:22px; font-size:9px; }
    .kh-hero__badges li { padding:0 8px; gap:7px; }
    .kh-hero__badge-icon { width:34px; height:34px; font-size:13px; }
    .kh-hero__badges strong { font-size:12px; }
    .kh-hero__badges small { font-size:10px; }
}


.kh-svc-preview { position:relative; display:block; background:#ffffff; padding:100px 0 70px; }
.kh-svc-card { position:relative; display:block; background:#ffffff; border-radius:16px; box-shadow:0 10px 40px rgba(15,33,60,.08);
    padding:50px 35px 40px; margin-bottom:30px; text-align:center; transition:transform .3s ease, box-shadow .3s ease; }
.kh-svc-card:hover { transform:translateY(-6px); box-shadow:0 16px 50px rgba(15,33,60,.14); }
.kh-svc-card:hover .kh-svc-icon { transform:rotate(45deg) scale(1.08); }
.kh-svc-icon { width:90px; height:90px; margin:0 auto 26px; display:flex; align-items:center; justify-content:center;
    background:var(--sinace-base); border-radius:30% 70% 70% 30% / 30% 30% 70% 70%; transform:rotate(45deg);
    transition:transform .35s ease; }
.kh-svc-icon i { color:#ffffff; font-size:30px; transform:rotate(-45deg); }
.kh-svc-title { font-size:21px; font-weight:700; color:var(--sinace-black); margin-bottom:16px; }
.kh-svc-text { color:var(--sinace-gray); line-height:1.8; margin-bottom:0; }


/* Keep the About photo inside its own column, with even side spacing */
.about-two { padding: 70px 0 70px; overflow: hidden; }
.about-two > .container > .row { align-items: center; }
.about-two__left { margin: 0 auto; max-width: 560px; }
.about-two__img img { display: block; width: 100%; height: auto; }
.about-two__right { margin-left: 0; padding-top: 0; padding-left: 30px; }
.about-two__shape-1 { left: 26.5%; bottom: 20%; width: 11%; max-width: 64px; }
.about-two__shape-1 img { display: block; width: 100%; max-width: 64px; height: auto; }
.about-two__shape-2 { position: absolute; top: 4%; left: 10%; z-index: 5; }
.about-two__shape-2 img { display: block; width: 44px; height: auto; }
@media (max-width: 1199px) { .about-two__right { padding-left: 0; } }
@media (max-width: 991px) {
    .about-two { padding: 50px 0; }
    .about-two__left { margin-bottom: 40px; max-width: 460px; }
}


.kh-about-checklist { margin:22px 0 0; padding:0; }
.kh-about-checklist li { display:flex; align-items:flex-start; gap:12px; padding:7px 0; color:var(--sinace-gray); font-size:16px; }
.kh-about-checklist li i { color:var(--sinace-base); font-size:17px; line-height:24px; }
.kh-about-checklist li small { display:block; color:#9aa1ab; font-size:12px; }
.kh-about-logo { display:flex; flex-direction:column; align-items:center; gap:16px; padding-top:6px; }
.kh-about-logo__mark { width:64px; height:auto; }
.kh-about-logo__full { width:170px; height:auto; }
@media (max-width: 991px) { .kh-about-logo { margin-top:30px; } }


/* Equal-height service cards */
.services-two .row > [class*="col-"] { display: flex; }
.services-two__single { display: flex; flex-direction: column; width: 100%; height: 100%; }
.services-two__content { flex: 1 1 auto; min-height: 210px; }
@media (max-width: 767px) { .services-two__content { min-height: 0; } }


/* Timeline connectors (self-contained so they work with any version of sinace.css) */
@media (min-width: 1200px) {
    .process-timeline__connectors { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
    .process-timeline__stub { position: absolute; height: 3px; background-color: var(--sinace-base); transform: translateY(-50%); }
    .process-timeline__diag { position: absolute; width: 4px; border-radius: 2px; background-color: #00a859; transform-origin: top center; }
    .process-timeline__dot { position: absolute; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 4px solid #00a859; background: radial-gradient(circle, #fff 0 3px, var(--sinace-base) 4px); transform: translate(-50%, -50%); z-index: 2; }
}


.kh-testi { position: relative; padding: 100px 0 110px; background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 45%, #fff 100%); overflow: hidden; }
.kh-testi .section-title { margin-bottom: 55px; }
.kh-testi__card { position: relative; height: 100%; background: #fff; padding: 50px 50px 46px; box-shadow: 0 10px 40px rgba(16,32,64,.08); overflow: hidden; }
.kh-testi__card::before { content: ""; position: absolute; top: 0; right: 0; width: 136px; height: 234px; background: var(--sinace-base); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.kh-testi__card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 136px; height: 125px; background: #edf1f6; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.kh-testi__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.kh-testi__img { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--sinace-base); padding: 3px; background: #fff; overflow: hidden; }
.kh-testi__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.kh-testi__name { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--sinace-black); }
.kh-testi__role { margin: 0; font-size: 15px; color: #00a859; }
.kh-testi__text { position: relative; z-index: 1; margin: 0; max-width: 88%; font-size: 17px; line-height: 2; color: var(--sinace-gray); }
/* Auto-scrolling (right-to-left) marquee */
.kh-testi__marquee { position: relative; overflow: hidden; padding: 20px 0 40px; margin-top: -20px; }
.kh-testi__track { display: flex; align-items: stretch; width: max-content; animation: kh-testi-scroll 40s linear infinite; will-change: transform; }
.kh-testi__marquee:hover .kh-testi__track,
.kh-testi__marquee:focus-within .kh-testi__track { animation-play-state: paused; }
.kh-testi__item { flex: 0 0 auto; width: 570px; margin-right: 30px; }
@keyframes kh-testi-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--kh-shift, 50%))); } }
@media (prefers-reduced-motion: reduce) {
    .kh-testi__marquee { overflow-x: auto; }
    .kh-testi__track { animation: none; }
    .kh-testi__item[data-clone] { display: none; }
}
@media (max-width: 767px) {
    .kh-testi { padding: 70px 0 80px; }
    .kh-testi__card { padding: 34px 26px 32px; }
    .kh-testi__text { max-width: 100%; }
    .kh-testi__item { width: 86vw; margin-right: 16px; }
}


.kh-partners { padding: 90px 0 90px; background: #f5f5f5; }
.kh-partners__top { display: flex; align-items: flex-start; gap: 30px; }
.kh-partners__title-box { flex: 0 0 47%; max-width: 540px; border: 4px solid #666; padding: 62px 50px 100px; }
.kh-partners__title-box h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.2; color: #000; }
.kh-partners__text { flex: 1; margin: 0; padding-top: 4px; color: var(--sinace-gray); line-height: 1.85; text-align: justify; }
.kh-partners__card { position: relative; z-index: 2; background: #fff; border-radius: 4px; box-shadow: 0 4px 18px rgba(0,0,0,.10); padding: 24px 20px; margin: -68px 0 0 142px; max-width: 855px; overflow: hidden; }
.kh-partners__item { display: flex; align-items: center; justify-content: center; height: 64px; }
.kh-partners__item img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 991px) {
    .kh-partners__top { flex-direction: column; }
    .kh-partners__title-box { flex: none; width: 100%; max-width: none; padding: 40px 30px 90px; }
    .kh-partners__card { margin: -55px 0 0; max-width: none; }
}

