/* =========================================================
   KRB Global – Home page styles
   Scoped under .krb-home so it never leaks into other pages.
   ========================================================= */

.krb-home {
  --krb-dark: #1E2A38;
  --krb-dark-2: #2B3A4C;
  --krb-soft: #FFF4F6;
  --krb-soft-2: #F6F8FB;
  --krb-border: #ECEFF3;
  --krb-muted: #6B7A8C;
  --krb-accent: #19C2C2;
  --krb-gold: #F5B301;
  --krb-radius: 18px;
  --krb-shadow: 0 18px 45px -18px rgba(30, 42, 56, 0.22);
  overflow-x: hidden;
}

.krb-home section { position: relative; }

.krb-home .container { max-width: 1240px; }

.krb-home .section-space { padding: 90px 0; }
.krb-home .section-space-sm { padding: 70px 0; }

/* ---------- Headings ---------- */
.krb-home .krb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(231, 62, 88, 0.08);
  color: var(--mainColor);
  font-family: var(--title-font), sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.krb-home .krb-eyebrow i { font-size: 15px; }

.krb-home .krb-heading {
  font-family: var(--title-font), sans-serif;
  font-weight: 700;
  color: var(--headingColor);
  line-height: 1.2;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
.krb-home h2.krb-heading { font-size: 38px; }
.krb-home .krb-heading .hl { color: var(--mainColor); }

.krb-home .krb-sub {
  color: var(--krb-muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.krb-home .krb-section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.krb-home .krb-section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.krb-home .krb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: var(--title-font), sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.krb-home .krb-btn i { font-size: 18px; transition: transform .25s ease; }
.krb-home .krb-btn:hover i { transform: translateX(3px); }

.krb-home .krb-btn-primary {
  background: linear-gradient(135deg, var(--mainColor) 0%, #C92945 100%);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(231, 62, 88, 0.6);
}
.krb-home .krb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(231, 62, 88, 0.7); color: #fff; }

.krb-home .krb-btn-outline {
  background: #fff;
  color: var(--headingColor);
  border-color: var(--krb-border);
}
.krb-home .krb-btn-outline:hover { border-color: var(--headingColor); color: var(--headingColor); transform: translateY(-2px); }

.krb-home .krb-btn-light { background: #fff; color: var(--mainColor); }
.krb-home .krb-btn-light:hover { background: #fff; color: var(--secondaryColor); transform: translateY(-2px); }

.krb-home .krb-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.krb-home .krb-btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Announcement ticker ---------- */
.krb-ticker {
  background: var(--krb-dark);
  color: #fff;
  font-size: 14px;
  overflow: hidden;
}
.krb-ticker .container { display: flex; align-items: stretch; gap: 0; }
.krb-ticker__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--mainColor);
  font-family: var(--title-font), sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.krb-ticker__label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: krbPulse 1.6s infinite;
}
@keyframes krbPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.krb-ticker__track {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.krb-ticker__track:hover .krb-ticker__inner { animation-play-state: paused; }
.krb-ticker__inner {
  display: inline-flex;
  white-space: nowrap;
  gap: 48px;
  padding-left: 24px;
  animation: krbMarquee 32s linear infinite;
  will-change: transform;
}
.krb-ticker__inner span { display: inline-flex; align-items: center; gap: 10px; opacity: .95; }
.krb-ticker__inner span i { color: var(--krb-gold); }
.krb-ticker__inner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.krb-ticker__inner a:hover { color: var(--krb-gold); }
@keyframes krbMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */
.krb-hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(231, 62, 88, 0.10), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(25, 194, 194, 0.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--krb-soft-2) 100%);
  overflow: hidden;
}
.krb-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  pointer-events: none;
}
.krb-hero__blob.one { width: 420px; height: 420px; background: #FFD6DD; top: -140px; left: -160px; }
.krb-hero__blob.two { width: 380px; height: 380px; background: #CFF4F4; bottom: -160px; right: 20%; }

.krb-hero .row { position: relative; z-index: 1; }

.krb-hero__title {
  font-family: var(--title-font), sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--headingColor);
  margin-bottom: 22px;
}
.krb-hero__title .hl {
  background: linear-gradient(90deg, var(--mainColor), #FF7A59);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.krb-hero__text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--krb-muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.krb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.krb-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.krb-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--headingColor);
}
.krb-hero__trust li i {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(25, 194, 194, 0.12);
  color: #0FA3A3;
  font-size: 16px;
}

/* Hero visual – banner slider card */
.krb-hero__visual { position: relative; padding: 40px 28px 44px; }
.krb-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(400px 260px at 80% 20%, rgba(25,194,194,.22), transparent 65%),
    linear-gradient(135deg, rgba(231,62,88,.14) 0%, rgba(255,122,89,.08) 50%, rgba(25,194,194,.12) 100%);
  transform: rotate(-3deg);
  z-index: 0;
}
.krb-hero__visual::after {
  content: "";
  position: absolute;
  right: 12px; top: 12px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(53,74,94,.14) 0 1.5px, transparent 1.5px 9px);
  z-index: 0;
}
.krb-hero__slider-card {
  position: relative;
  z-index: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(30, 42, 56, 0.45);
  border: 6px solid #fff;
}
.krb-hero__slider-card .item img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.krb-hero__slider-card .owl-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 6px;
}
.krb-hero__slider-card .owl-dots .owl-dot span {
  width: 8px; height: 8px; margin: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  transition: all .3s ease;
}
.krb-hero__slider-card .owl-dots .owl-dot.active span { width: 26px; background: #fff; }

.krb-hero__float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--krb-shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: krbFloat 5s ease-in-out infinite;
}
.krb-hero__float .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px; color: #fff;
}
.krb-hero__float .lbl { font-size: 12px; color: var(--krb-muted); line-height: 1; margin-bottom: 4px; }
.krb-hero__float .val { font-family: var(--title-font), sans-serif; font-weight: 700; font-size: 17px; color: var(--headingColor); line-height: 1; }
.krb-hero__float.a { left: -10px; bottom: 6px; }
.krb-hero__float.a .ic { background: linear-gradient(135deg, #19C2C2, #0FA3A3); }
.krb-hero__float.b { right: -6px; top: 4px; animation-delay: 1.2s; }
.krb-hero__float.b .ic { background: linear-gradient(135deg, var(--mainColor), #C92945); }
@keyframes krbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Stats ---------- */
.krb-stats { margin-top: -1px; }
.krb-stats__wrap {
  background: linear-gradient(135deg, var(--krb-dark) 0%, var(--krb-dark-2) 100%);
  border-radius: 24px;
  padding: 36px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--krb-shadow);
  transform: translateY(-50%);
  margin-bottom: -60px;
}
.krb-stats__wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 90% 0%, rgba(231,62,88,.35), transparent 60%);
  pointer-events: none;
}
.krb-stat { display: flex; align-items: center; gap: 16px; position: relative; }
.krb-stat .ic {
  flex: 0 0 56px;
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 26px; color: var(--krb-gold);
}
.krb-stat .num {
  font-family: var(--title-font), sans-serif;
  font-weight: 700; font-size: 34px; line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.krb-stat .num .odometer { font-family: inherit; line-height: 1; }
.krb-stat .num small { font-size: 22px; color: var(--mainColor); font-weight: 700; }
.krb-stat .lbl { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.75); }
.krb-stats .col-lg-3 + .col-lg-3 .krb-stat::before {
  content: ""; position: absolute; left: -12px; top: 10%; height: 80%;
  width: 1px; background: rgba(255,255,255,.1);
}

/* ---------- About ---------- */
.krb-about { padding-top: 120px; }
.krb-about__media { position: relative; padding-right: 36px; }
.krb-about__media .main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--krb-shadow);
}
.krb-about__media .main img { width: 100%; display: block; }
.krb-about__media .badge-card {
  position: absolute;
  right: 0; bottom: 36px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--krb-shadow);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.krb-about__media .badge-card .ic {
  width: 50px; height: 50px; border-radius: 14px; flex: 0 0 50px;
  background: linear-gradient(135deg, var(--mainColor), #FF7A59);
  color: #fff; display: grid; place-items: center; font-size: 24px;
}
.krb-about__media .badge-card b { display: block; font-family: var(--title-font), sans-serif; font-size: 16px; color: var(--headingColor); }
.krb-about__media .badge-card span { font-size: 13px; color: var(--krb-muted); }
.krb-about__media .deco {
  position: absolute; left: -24px; top: -24px;
  width: 140px; height: 140px; border-radius: 28px;
  background: repeating-linear-gradient(45deg, rgba(231,62,88,.18) 0 2px, transparent 2px 10px);
  z-index: -1;
}

.krb-check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.krb-check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--headingColor); font-weight: 500; }
.krb-check-list li i {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(25,194,194,.14); color: #0FA3A3; font-size: 14px; margin-top: 1px;
}

/* ---------- Feature cards ---------- */
.krb-features { background: var(--krb-soft-2); }
.krb-feature {
  height: 100%;
  background: #fff;
  border: 1px solid var(--krb-border);
  border-radius: var(--krb-radius);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.krb-feature::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--mainColor), #FF7A59);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.krb-feature:hover { transform: translateY(-6px); box-shadow: var(--krb-shadow); border-color: transparent; }
.krb-feature:hover::after { transform: scaleX(1); }
.krb-feature .ic {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px; margin-bottom: 20px;
  color: var(--mainColor);
  background: rgba(231,62,88,.09);
}
.krb-feature.t2 .ic { color: #0FA3A3; background: rgba(25,194,194,.12); }
.krb-feature.t3 .ic { color: #B8860B; background: rgba(245,179,1,.14); }
.krb-feature.t4 .ic { color: #4F63D2; background: rgba(79,99,210,.11); }
.krb-feature.t5 .ic { color: #2E9E5B; background: rgba(46,158,91,.12); }
.krb-feature.t6 .ic { color: #8E44AD; background: rgba(142,68,173,.11); }
.krb-feature h4 { font-family: var(--title-font), sans-serif; font-size: 19px; font-weight: 600; color: var(--headingColor); margin-bottom: 10px; }
.krb-feature p { color: var(--krb-muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- Steps ---------- */
.krb-steps__row { position: relative; }
.krb-step {
  text-align: center;
  padding: 10px 14px;
  position: relative;
}
.krb-step .n {
  width: 76px; height: 76px; margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 2px dashed rgba(231,62,88,.35);
  position: relative;
}
.krb-step .n i { font-size: 30px; color: var(--mainColor); }
.krb-step .n::after {
  content: attr(data-step);
  position: absolute; top: -6px; right: -6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--headingColor); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
  font-family: var(--title-font), sans-serif;
}
.krb-step h5 { font-family: var(--title-font), sans-serif; font-size: 18px; font-weight: 600; color: var(--headingColor); margin-bottom: 8px; }
.krb-step p { color: var(--krb-muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
@media (min-width: 992px) {
  .krb-step:not(:last-child)::before {
    content: "";
    position: absolute; top: 48px; left: calc(50% + 50px); right: calc(-50% + 50px);
    border-top: 2px dashed rgba(53,74,94,.18);
  }
}

/* ---------- Hindi commitment section ---------- */
.krb-commit { background: linear-gradient(180deg, #fff 0%, var(--krb-soft) 100%); }
.krb-commit__card {
  height: 100%;
  background: #fff;
  border-radius: var(--krb-radius);
  border: 1px solid var(--krb-border);
  padding: 34px 30px;
  box-shadow: 0 10px 30px -18px rgba(30,42,56,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.krb-commit__card:hover { transform: translateY(-5px); box-shadow: var(--krb-shadow); }
.krb-commit__card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: var(--secondaryColor); color: #fff;
  font-family: var(--title-font), sans-serif; font-weight: 600; font-size: 15px;
  margin-bottom: 18px;
}
.krb-commit__card .tag i { font-size: 17px; color: var(--krb-gold); }
.krb-commit__card p { color: #3F4D5C; font-size: 15.5px; line-height: 1.9; margin: 0; text-align: justify; }
.krb-commit__card p b { color: var(--headingColor); }

/* ---------- Compliance ---------- */
.krb-legal__list { list-style: none; padding: 0; margin: 26px 0 32px; }
.krb-legal__list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px dashed var(--krb-border);
}
.krb-legal__list li:last-child { border-bottom: none; }
.krb-legal__list li .ic {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(53,74,94,.07); color: var(--headingColor); font-size: 20px;
}
.krb-legal__list li b { display: block; font-family: var(--title-font), sans-serif; font-size: 16px; color: var(--headingColor); margin-bottom: 2px; }
.krb-legal__list li span { font-size: 14px; color: var(--krb-muted); }
.krb-legal__figure {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--krb-border);
  box-shadow: var(--krb-shadow);
  background: #fff;
  display: block;
  position: relative;
}
.krb-legal__figure img { width: 100%; display: block; }
.krb-legal__figure .zoom {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(30,42,56,.85); color: #fff;
  padding: 8px 14px; border-radius: 10px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(4px);
}

/* ---------- Gallery ---------- */
.krb-gallery { background: var(--krb-soft-2); }
.krb-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.krb-gallery__grid a {
  display: block; border-radius: 16px; overflow: hidden; position: relative;
}
.krb-gallery__grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.krb-gallery__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.krb-gallery__grid a::after {
  content: "\f2db"; /* remixicon zoom-in */
  font-family: 'remixicon';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 30px;
  background: linear-gradient(180deg, rgba(30,42,56,0) 30%, rgba(30,42,56,.75));
  opacity: 0; transition: opacity .35s ease;
}
.krb-gallery__grid a:hover img { transform: scale(1.06); }
.krb-gallery__grid a:hover::after { opacity: 1; }

/* ---------- Testimonial tweaks (existing component) ---------- */
.krb-home .testimonial-area { padding-top: 90px; padding-bottom: 90px; }
.krb-home .testimonial-area .section-title h2 { font-family: var(--title-font), sans-serif; font-weight: 700; color: var(--headingColor); }
.krb-home .single-testimonial-box { border-radius: var(--krb-radius); border: 1px solid var(--krb-border); }

/* ---------- CTA banner ---------- */
.krb-cta { padding-bottom: 90px; }
.krb-cta__box {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: 64px 56px;
  background: linear-gradient(120deg, var(--secondaryColor) 0%, var(--mainColor) 60%, #FF7A59 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(108,20,34,.6);
}
.krb-cta__box::before, .krb-cta__box::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.06);
}
.krb-cta__box::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.krb-cta__box::after { width: 300px; height: 300px; left: -120px; bottom: -160px; }
.krb-cta__box h2 { font-family: var(--title-font), sans-serif; font-weight: 700; font-size: 36px; color: #fff; margin-bottom: 12px; position: relative; }
.krb-cta__box p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; position: relative; }
.krb-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .krb-hero__title { font-size: 42px; }
  .krb-hero__float.a { left: 0; }
  .krb-hero__float.b { right: 0; }
}
@media (max-width: 991px) {
  .krb-home .section-space { padding: 70px 0; }
  .krb-home h2.krb-heading { font-size: 32px; }
  .krb-hero { padding: 56px 0 60px; }
  .krb-hero__title { font-size: 40px; }
  .krb-hero__visual { margin-top: 44px; padding: 28px 18px 32px; }
  .krb-stats__wrap { transform: none; margin: 40px 0 0; }
  .krb-stat { margin-bottom: 20px; }
  .krb-stats .col-lg-3 + .col-lg-3 .krb-stat::before { display: none; }
  .krb-about { padding-top: 70px; }
  .krb-about__media { padding-right: 0; margin-bottom: 40px; }
  .krb-about__media .badge-card { right: 16px; bottom: 16px; }
  .krb-step { margin-bottom: 30px; }
  .krb-gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .krb-cta__box { padding: 48px 36px; text-align: center; }
  .krb-cta__actions { justify-content: center; margin-top: 26px; }
}
@media (max-width: 767px) {
  .krb-ticker__label { padding: 10px 12px; font-size: 11px; }
  .krb-home .krb-eyebrow { font-size: 11px; padding: 6px 12px; border-radius: 12px; line-height: 1.5; }
  .krb-hero__title { font-size: 32px; letter-spacing: -.5px; }
  .krb-hero__text { font-size: 16px; }
  .krb-hero__float { display: none; }
  .krb-hero__visual { padding: 14px 8px 16px; }
  .krb-hero__visual::after { display: none; }
  .krb-stats__wrap { padding: 28px 20px; border-radius: 18px; }
  .krb-stat .num { font-size: 28px; }
  .krb-check-list { grid-template-columns: 1fr; }
  .krb-home h2.krb-heading { font-size: 27px; }
  .krb-home .krb-sub { font-size: 15.5px; }
  .krb-feature { padding: 26px 22px; }
  .krb-commit__card { padding: 26px 22px; }
  .krb-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .krb-gallery__grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .krb-cta__box { padding: 40px 24px; border-radius: 20px; }
  .krb-cta__box h2 { font-size: 26px; }
  .krb-home .krb-btn { padding: 14px 22px; font-size: 14px; }
}

/* =========================================================
   Dark theme support (html.theme-dark)
   ========================================================= */
.theme-dark .krb-hero { background: linear-gradient(180deg, #121A24 0%, #0F161F 100%); }
.theme-dark .krb-hero__blob { opacity: .12; }
.theme-dark .krb-hero__title,
.theme-dark .krb-home .krb-heading,
.theme-dark .krb-hero__trust li,
.theme-dark .krb-feature h4,
.theme-dark .krb-step h5,
.theme-dark .krb-check-list li,
.theme-dark .krb-legal__list li b,
.theme-dark .krb-about__media .badge-card b,
.theme-dark .krb-hero__float .val { color: #F2F5F8; }
.theme-dark .krb-hero__text,
.theme-dark .krb-home .krb-sub,
.theme-dark .krb-feature p,
.theme-dark .krb-step p,
.theme-dark .krb-commit__card p,
.theme-dark .krb-legal__list li span { color: #A9B4C0; }
.theme-dark .krb-features,
.theme-dark .krb-gallery { background: #0F161F; }
.theme-dark .krb-commit { background: #121A24; }
.theme-dark .krb-feature,
.theme-dark .krb-commit__card,
.theme-dark .krb-step .n,
.theme-dark .krb-hero__float,
.theme-dark .krb-hero__slider-card,
.theme-dark .krb-about__media .badge-card,
.theme-dark .krb-legal__figure,
.theme-dark .krb-home .krb-btn-outline { background: #18222E; border-color: #26323F; color: #F2F5F8; }
.theme-dark .krb-legal__list li { border-color: #26323F; }
.theme-dark .krb-legal__list li .ic { background: rgba(255,255,255,.06); color: #F2F5F8; }
.theme-dark .krb-commit__card p b { color: #F2F5F8; }

/* The dark theme forces every link to white, which hides text on light buttons */
.theme-dark .krb-home .krb-btn-primary,
.theme-dark .krb-home .krb-btn-primary:hover { color: #fff !important; }
.theme-dark .krb-home .krb-btn-light { background: #fff; color: var(--mainColor) !important; }
.theme-dark .krb-home .krb-btn-light:hover { background: #fff; color: var(--secondaryColor) !important; }
.theme-dark .krb-home .krb-btn-ghost,
.theme-dark .krb-home .krb-btn-ghost:hover { color: #fff !important; }
.theme-dark .krb-home .krb-btn-outline { color: #F2F5F8 !important; }
.theme-dark .krb-home .krb-btn-outline:hover { color: var(--mainColor) !important; }
