/**
 * Custom Theme Styling: PT. KING PROJECT INDONESIA
 * Strictly: Black (#111827 / #0f172a), Red (#dc2626 / #d91b24), White (#ffffff / #f8fafc)
 * NO rogue blue/cyan colors!
 */

:root {
  scroll-behavior: smooth;
  --kpi-primary: #dc2626;
  --kpi-primary-hover: #b91c1c;
  --kpi-primary-light: #fee2e2;
  --kpi-dark: #111827;
  --kpi-dark-alt: #0f172a;
  --kpi-slate: #475569;
  --kpi-light: #f8fafc;
  --kpi-white: #ffffff;
  --kpi-border: #e2e8f0;
}

html {
  overflow-x: visible;
}

body {
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

::selection {
  background-color: var(--kpi-primary) !important;
  color: #ffffff !important;
}

/* ===================================================
   1. PRELOADER & LOADER SPINNER (NO BLUE!)
   =================================================== */
.loader {
  background-color: #ffffff !important;
  transition: opacity 0.15s ease;
}

.loader .loader-container {
  border: 4px solid #f1f5f9 !important;
}

.loader .loader-container:before {
  border: 4px solid transparent !important;
  border-top-color: var(--kpi-primary) !important;
  animation: loaderspin 1.2s infinite linear !important;
}

/* ===================================================
   2. RESET EDUCAVO HEADER HACKS
   =================================================== */
.full-width-header.header-style3.modify .rs-header .menu-area .logo-part,
.full-width-header .rs-header .menu-area .logo-part,
.rs-header .logo-part {
  background: transparent !important;
  height: auto !important;
  line-height: normal !important;
  width: auto !important;
  text-align: left !important;
  position: static !important;
}

.full-width-header.header-style3.modify .rs-header .menu-area .rs-menu-area,
.full-width-header .rs-header .menu-area .rs-menu-area {
  margin-right: 0 !important;
  float: none !important;
}

.full-width-header.header-style3.modify .rs-header .menu-area .expand-btn-inner,
.full-width-header .rs-header .menu-area .expand-btn-inner {
  margin: 0 !important;
  display: inline-block !important;
}

.full-width-header.header-style3.modify .rs-header .menu-area .expand-btn-inner .nav-expander {
  display: none !important;
}

/* ===================================================
   3. MODERN & CLEAN HEADER BAR (ROCK-SOLID STICKY)
   =================================================== */
.kpi-topbar {
  background: #111827;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1f2937;
  position: relative;
  z-index: 1001;
}

.kpi-topbar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kpi-topbar a:hover {
  color: var(--kpi-primary);
}

.kpi-navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Logo Styling */
.kpi-logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.kpi-logo-box img {
  max-height: 52px;
  width: auto;
  margin-right: 12px;
}

.kpi-brand-text .company-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.kpi-brand-text .company-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--kpi-primary);
  letter-spacing: 1.5px;
}

/* Homepage Hero */
.kpi-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background: #0f172a;
}

.kpi-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(220, 38, 38, 0.22) 0%, transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.kpi-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.kpi-hero__logo {
  width: min(560px, 84vw);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.3));
}

.kpi-hero__tagline {
  max-width: 760px;
  margin: 24px auto 30px;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.kpi-whatsapp-modal {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.kpi-whatsapp-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: #111827;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-whatsapp-option:hover,
.kpi-whatsapp-option:focus-visible {
  color: #111827;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.kpi-whatsapp-option > .fa-whatsapp {
  color: #25d366;
  font-size: 30px;
}

.kpi-whatsapp-option span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.kpi-whatsapp-option small {
  color: #64748b;
}

/* Navigation Links (Desktop) */
.kpi-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kpi-nav-link {
  color: #1e293b !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.kpi-nav-link:hover,
.kpi-nav-link.active {
  color: var(--kpi-primary) !important;
}

.kpi-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--kpi-primary);
  transition: width 0.3s ease;
}

.kpi-nav-link:hover::after,
.kpi-nav-link.active::after {
  width: 100%;
}

/* Header CTA Button */
.kpi-btn-cta {
  background: var(--kpi-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--kpi-primary);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.kpi-btn-cta:hover {
  background: #111827;
  border-color: #111827;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.25);
}

/* ===================================================
   4. ANIMATED BURGER TO 'X' BUTTON
   =================================================== */
.kpi-hamburger-btn {
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  z-index: 10001;
  position: relative;
}

.kpi-hamburger-btn:hover {
  background: #f1f5f9;
}

.hamburger-bar {
  width: 22px;
  height: 2.5px;
  background-color: #111827;
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Morph Hamburger to "X" when active */
.kpi-hamburger-btn.is-active .bar1 {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--kpi-primary);
}

.kpi-hamburger-btn.is-active .bar2 {
  opacity: 0;
  transform: translateX(-12px);
}

.kpi-hamburger-btn.is-active .bar3 {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--kpi-primary);
}

/* ===================================================
   5. MOBILE OFFCANVAS DRAWER (Smooth Right to Left)
   =================================================== */
.kpi-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.kpi-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.kpi-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99995;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.kpi-mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.drawer-close-btn {
  background: #fee2e2;
  color: var(--kpi-primary);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--kpi-primary);
  color: #ffffff;
}

.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 6px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #fef2f2;
  color: var(--kpi-primary);
  font-weight: 700;
}

/* ===================================================
   6. BUTTONS & GENERAL OVERRIDES (NO BLUE)
   =================================================== */
.readon,
.readon.orange-btn,
.readon.register-btn {
  background-color: var(--kpi-primary) !important;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--kpi-primary) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.readon:hover,
.readon.orange-btn:hover,
.readon.register-btn:hover {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}

.readon.dark-btn {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

.readon.dark-btn:hover {
  background-color: var(--kpi-primary) !important;
  border-color: var(--kpi-primary) !important;
}

/* ===================================================
   7. SERVICE & PORTFOLIO CARDS
   =================================================== */

/* Service Card Styles */
.kpi-service-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kpi-service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--kpi-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.kpi-service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.1);
  border-color: #fee2e2;
}

.kpi-service-box:hover::before {
  opacity: 1;
}

.kpi-service-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.kpi-service-icon {
  width: 100%;
  height: 180px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  color: var(--kpi-primary);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.kpi-service-icon img {
  width: 160px;
  height: 160px;
  max-width: 88%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.kpi-service-box:hover .kpi-service-icon {
  background: #ffffff;
  border-color: #fecaca;
}

.kpi-service-box:hover .kpi-service-icon img {
  transform: scale(1.04);
}

.kpi-service-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  margin-bottom: 0;
}

.kpi-service-badge.kontraktor {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.kpi-service-badge.perizinan {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

/* Portfolio Card Styles */
.kpi-portfolio-item {
  margin-bottom: 30px;
}

.kpi-portfolio-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kpi-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.kpi-portfolio-thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #111827;
}

.kpi-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kpi-portfolio-card:hover .kpi-portfolio-thumb img {
  transform: scale(1.08);
}

.kpi-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kpi-portfolio-card:hover .kpi-portfolio-overlay {
  opacity: 1;
}

.kpi-portfolio-zoom {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--kpi-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.kpi-portfolio-zoom:hover {
  transform: scale(1.15);
  color: #ffffff;
}

.kpi-portfolio-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-portfolio-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--kpi-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.kpi-portfolio-meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
  margin-top: 15px;
}

/* Why Choose Us Feature Boxes */
.kpi-feature-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.kpi-feature-box:hover {
  border-color: var(--kpi-primary);
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.08);
}

.kpi-feature-icon {
  font-size: 32px;
  color: var(--kpi-primary);
  margin-bottom: 16px;
}

/* Counter & Stats Section */
.kpi-counter-wrap {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.kpi-counter-item h2 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
}

.kpi-counter-item p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
}

/* CTA WhatsApp Banner */
.kpi-cta-banner {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border-radius: 16px;
  padding: 45px 40px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.25);
}

.kpi-cta-btn-wa {
  background: #ffffff;
  color: #111827;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.kpi-cta-btn-wa:hover {
  background: #111827;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Form Controls Focus State (Strictly Red) */
.form-control:focus,
.form-select:focus {
  border-color: var(--kpi-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.2) !important;
}

/* ===================================================
   8. FOOTER SECTION
   =================================================== */
.rs-footer.home9-style {
  background: #0f172a;
  color: #94a3b8;
  position: relative;
}

.rs-footer .footer-top {
  padding: 70px 0 50px;
}

.rs-footer .footer-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
}

.rs-footer .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--kpi-primary);
}

.rs-footer .site-map {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rs-footer .site-map li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}

.rs-footer .site-map li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  color: var(--kpi-primary);
}

.rs-footer .site-map li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.rs-footer .site-map li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.rs-footer .kpi-footer-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.rs-footer .kpi-footer-services li {
  break-inside: avoid;
}

.rs-footer .address-widget {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rs-footer .address-widget li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.rs-footer .address-widget li i {
  color: var(--kpi-primary);
  font-size: 18px;
  margin-top: 3px;
}

.rs-footer .address-widget li .desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.rs-footer .address-widget li .desc a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rs-footer .address-widget li .desc a:hover {
  color: var(--kpi-primary);
}

.rs-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background: #0b1120;
}

.rs-footer .copyright p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

.rs-footer .copyright a {
  color: var(--kpi-primary);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.rs-footer .copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.rs-footer .footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.rs-footer .footer-social li a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.rs-footer .footer-social li a:hover {
  background: var(--kpi-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Scroll Margins for Exact Section Stops */
#beranda,
#tentang,
#layanan,
#keunggulan,
#kontak {
  scroll-margin-top: 85px;
}

[id^="layanan-"] {
  scroll-margin-top: 105px;
}

/* Service Portfolio Page */
.kpi-public-page-navbar {
  position: sticky;
}

.kpi-service-portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(220, 38, 38, 0.25), transparent 42%),
    #0f172a;
}

.kpi-service-portfolio-hero h1 {
  max-width: 850px;
  margin: 14px 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.kpi-service-portfolio-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}

.kpi-portfolio-breadcrumb,
.kpi-portfolio-breadcrumb a,
.kpi-portfolio-breadcrumb .active {
  color: #cbd5e1;
}

.kpi-service-portfolio-content {
  min-height: 420px;
  background: #f8fafc;
}

.kpi-portfolio-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
}

.kpi-portfolio-empty > i {
  color: #dc2626;
  font-size: 48px;
}

.kpi-portfolio-empty p {
  max-width: 540px;
}

.kpi-portfolio-footer {
  color: #cbd5e1;
  background: #111827;
}

.kpi-portfolio-footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.kpi-portfolio-footer a:hover {
  color: #fca5a5;
}

/* Force Hide Any ScrollUp Elements */
#scrollUp,
.scrollUp,
.scrollup,
[id*="scrollUp"],
[id*="scrollup"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  z-index: -9999 !important;
}

/* Mobile Responsive Tweaks */
@media (max-width: 991px) {
  .rs-footer .footer-social {
    justify-content: center;
    margin-top: 15px;
  }
  .rs-footer .copyright {
    margin-top: 10px;
  }
  .kpi-cta-banner {
    padding: 30px 20px;
    text-align: center;
  }
  .kpi-cta-banner .d-flex {
    justify-content: center !important;
    margin-top: 20px;
  }
  .kpi-hero {
    padding: 78px 0 70px;
  }

  .kpi-service-portfolio-hero {
    padding: 54px 0;
  }
}

@media (max-width: 575px) {
  .kpi-service-box {
    padding: 22px;
  }

  .kpi-service-icon {
    height: 160px;
  }

  .kpi-service-icon img {
    width: 140px;
    height: 140px;
  }

  .rs-footer .kpi-footer-services {
    grid-template-columns: 1fr;
  }

  .rs-slider.main-home .slider-btn {
    flex-direction: column;
    align-items: center;
  }

  .rs-slider.main-home .slider-btn .readon {
    width: min(100%, 290px);
    justify-content: center;
  }

  .kpi-hero {
    padding: 62px 0 58px;
  }

  .kpi-public-page-navbar .kpi-brand-text {
    display: none;
  }

  .kpi-public-page-navbar .kpi-logo-box img {
    max-height: 44px;
    margin-right: 0;
  }
}
