/* ============================================================
   KNPZ GLOBAL STYLESHEET
   Brand: Deep Navy #0F2854 | Corporate Blue #1C4D8D
          Petroleum Sky #4988C4 | Ice Blue #BDE8F5
   Fonts: Montserrat (headings) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; color: #1A202C; background: #fff; }

/* ── HERO ENTRANCE ANIMATIONS (staggered fade-up) ────────────────────── */
@keyframes knpz-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Title — delayChildren 0.3s */
.elementor-element-hero .hero-h1 {
  animation: knpz-fade-up 0.5s ease-in-out both;
  animation-delay: 0.3s;
}
/* Subtitle — 0.3 + stagger 0.2 = 0.5s */
.elementor-element-hero .hero-para {
  animation: knpz-fade-up 0.5s ease-in-out both;
  animation-delay: 0.5s;
}
/* Buttons row — 0.3 + stagger 0.4 = 0.7s */
.elementor-element-hero-btns {
  animation: knpz-fade-up 0.5s ease-in-out both;
  animation-delay: 0.7s;
}

/* ── HERO ───────────────────────────────────────────────────── */
/* Step 1: Override Elementor's hardcoded navy background + fix height */
.elementor-element-hero,
.elementor-element-hero.e-lazyloaded,
.elementor-element-hero.e-no-lazyload {
  position: relative !important;
  overflow: hidden !important;
  background-color: #0A1E44 !important;
  min-height: 82vh !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
/* Step 2: Real refinery image as full background */
.elementor-element-hero::before,
.elementor-element-hero.e-lazyloaded::before,
.elementor-element-hero.e-no-lazyload::before,
.e-con.e-parent.elementor-element-hero::before {
  content: '';
  position: absolute !important;
  inset: 0 !important;
  background: url('/wp-content/uploads/2026/05/knpz_refinery-2.webp') center/cover no-repeat !important;
  z-index: 0 !important;
}
/* Step 3: Dark navy gradient overlay (30%) on top of the image */
.elementor-element-hero::after {
  content: ''; 
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(5, 15, 40, 0.82) 0%,
    rgba(10, 30, 68, 0.78) 50%,
    rgba(15, 50, 100, 0.70) 100%);
  z-index: 1;
}
/* Step 4: All content above overlay */
.elementor-element-hero > * { position: relative !important; z-index: 3 !important; }
.elementor-element-hero-inner,
.elementor-element-hero-inner * { position: relative; z-index: 3 !important; }
/* Step 5: Reduce padding on mobile */
@media (max-width: 768px) {
  }

/* ── HERO BUTTONS ────────────────────────────────────────────────────── */
/* html widget adds a wrapper div — display:contents makes it invisible to flex */
.elementor-element-hero-btns .elementor-widget-html {
  display: contents;
}
.knpz-hero-btn-primary,
.knpz-hero-btn-outline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: 0.5px;
}
.knpz-hero-btn-primary {
  background: #4988C4;
  color: #ffffff;
  border: none;
}
.knpz-hero-btn-primary:hover {
  background: #1C4D8D;
  color: #ffffff;
}
.knpz-hero-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #BDE8F5;
  padding: 16px 40px;
  font-weight: 600;
}
.knpz-hero-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* ── STATS BAR ──────────────────────────────────────────────── */
#stats-section {
  background: #0A1E44;
  border-top: 1px solid rgba(73,136,196,0.3);
}
.s-stat-1 {
  border-right: 1px solid rgba(255,255,255,0.1);
}

/* ── ABOUT SECTION ──────────────────────────────────────────── */
#about-section { background: #ffffff; }
#about-inner {
  align-items: stretch;
  flex-wrap: wrap;
}
#about-left { min-width: 280px; }
#about-right-wrap { min-width: 280px; }

/* ── PRODUCTS SECTION ───────────────────────────────────────── */
#products-section { background: #F4F7FC; }

/* ── WHY SECTION ────────────────────────────────────────────── */
#why-section { background: #EDF5FB; }

#why-header {
  flex-direction: column !important;
  align-items: center;
  text-align: center;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto 56px;
}

#why-grid {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap !important;
  gap: 24px !important;
}

#why-c1, #why-c2, #why-c3,
#why-c4, #why-c5, #why-c6 {
  flex: 1 1 28% !important;
  min-width: 260px;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 32px 32px 32px 36px !important;
  background: #fff;
  border: 1px solid #E2EAF4;
  border-radius: 12px;
  border-left: 4px solid #4988C4;
  transition: box-shadow .2s, transform .2s;
}
#why-c1:hover, #why-c2:hover, #why-c3:hover,
#why-c4:hover, #why-c5:hover, #why-c6:hover {
  box-shadow: 0 8px 32px rgba(15,40,84,.1);
  transform: translateY(-3px);
}

#why-c1 .elementor-widget-e-heading .e-heading,
#why-c2 .elementor-widget-e-heading .e-heading,
#why-c3 .elementor-widget-e-heading .e-heading,
#why-c4 .elementor-widget-e-heading .e-heading,
#why-c5 .elementor-widget-e-heading .e-heading,
#why-c6 .elementor-widget-e-heading .e-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0F2854;
  line-height: 1.3;
  margin: 0;
}

#why-c1 .elementor-widget-e-paragraph .e-paragraph,
#why-c2 .elementor-widget-e-paragraph .e-paragraph,
#why-c3 .elementor-widget-e-paragraph .e-paragraph,
#why-c4 .elementor-widget-e-paragraph .e-paragraph,
#why-c5 .elementor-widget-e-paragraph .e-paragraph,
#why-c6 .elementor-widget-e-paragraph .e-paragraph {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

/* ── INDUSTRIES ─────────────────────────────────────────────── */
#knpz-industries {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
}
#industries-section {
  background: #F4F7FC;
  padding: 80px 20px;
}
.ki-head { text-align: center; margin-bottom: 56px; }
.ki-kicker {
  display: inline-block;
  color: #4988C4;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.ki-h2 {
  color: #0F2854; font-family: 'Montserrat', sans-serif;
  font-size: 38px; font-weight: 700; line-height: 1.25;
  margin: 0 0 14px;
}
.ki-sub {
  color: #6B7280; font-size: 17px; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}
.ki-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ki-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #E2EAF4;
  transition: box-shadow .2s, transform .2s;
}
.ki-card:hover {
  box-shadow: 0 10px 36px rgba(15,40,84,.12);
  transform: translateY(-4px);
}
.ki-icon { font-size: 32px; margin-bottom: 14px; }
.ki-card h3 {
  color: #0F2854; font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700; margin: 0 0 10px;
}
.ki-card p {
  color: #6B7280; font-size: 13.5px; line-height: 1.65; margin: 0;
}

/* ── PROCESS ────────────────────────────────────────────────── */
#process-section {
  background: #0F2854;
  padding: 80px 20px;
}
#knpz-process {
  max-width: 1140px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}
.kp-head { text-align: center; margin-bottom: 60px; }
.kp-kicker {
  display: inline-block;
  color: #4988C4;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.kp-h2 {
  color: #ffffff; font-family: 'Montserrat', sans-serif;
  font-size: 38px; font-weight: 700; line-height: 1.25;
  margin: 0 0 14px;
}
.kp-sub {
  color: #BDE8F5; font-size: 17px; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}
.kp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.kp-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: background .2s;
}
.kp-step:hover { background: rgba(255,255,255,0.1); }
.kp-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px; font-weight: 800;
  color: #4988C4;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.8;
}
.kp-step h3 {
  color: #ffffff; font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700;
  margin: 0 0 10px;
}
.kp-step p { color: #BDE8F5; font-size: 14px; line-height: 1.65; margin: 0; }
.kp-link {
  display: inline-block;
  margin-top: 48px;
  background: #4988C4;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.kp-link:hover { background: #1C4D8D; }

/* ── CERTIFICATIONS ─────────────────────────────────────────── */
#certs-section {
  background: #ffffff;
  padding: 80px 20px;
}
#knpz-certs {
  max-width: 1140px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}
.kc-head { text-align: center; margin-bottom: 56px; }
.kc-kicker {
  display: inline-block;
  color: #4988C4; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.kc-h2 {
  color: #0F2854; font-family: 'Montserrat', sans-serif;
  font-size: 38px; font-weight: 700; margin: 0 0 14px;
}
.kc-sub {
  color: #6B7280; font-size: 17px; line-height: 1.7;
  max-width: 540px; margin: 0 auto;
}
.kc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.kc-badge {
  background: #F4F7FC;
  border-radius: 12px;
  padding: 32px 28px;
  border-top: 4px solid #0F2854;
  text-align: center;
}
.kc-badge-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #0F2854; margin-bottom: 10px;
}
.kc-badge-desc {
  font-size: 13.5px; color: #6B7280; line-height: 1.6;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
#cta-section {
  background: transparent;
  padding: 0;
}
/* CTA Banner — self-contained, works on any page */
#knpz-cta-banner {
  background: linear-gradient(135deg, #0F2854 0%, #1C4D8D 55%, #4988C4 100%);
  padding: 80px 32px;
  width: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.kcta-content {
  max-width: 800px;
  margin: 0 auto;
}
.kcta-h2 {
  color: #ffffff; font-family: 'Montserrat', sans-serif;
  font-size: 38px; font-weight: 700; line-height: 1.25;
  margin: 0 0 16px;
}
.kcta-sub {
  color: #BDE8F5; font-size: 17px; line-height: 1.7;
  margin: 0 0 40px;
}
.kcta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.kcta-btn-primary {
  background: #4988C4; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  padding: 18px 40px; border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.kcta-btn-primary:hover { background: #ffffff; color: #0F2854; }
.kcta-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #BDE8F5;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 16px 40px; border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.kcta-btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ── FOOTER ─────────────────────────────────────────────────── */
#footer-section { background: #060F22; }
#knpz-footer {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 20px 0;
  font-family: 'Inter', sans-serif;
}
.kf-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.kf-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.kf-tagline { color: #94A3B8; font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.kf-contact { display: flex; flex-direction: column; gap: 8px; }
.kf-contact div { color: #94A3B8; font-size: 13px; }
.kf-links h4 {
  color: #ffffff; font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0 0 20px;
}
.kf-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kf-links ul li a {
  color: #94A3B8; font-size: 13.5px;
  text-decoration: none;
  transition: color .15s;
}
.kf-links ul li a:hover { color: #BDE8F5; }
.kf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.kf-copy { color: #64748B; font-size: 13px; }
.kf-legal { display: flex; gap: 24px; }
.kf-legal a { color: #64748B; font-size: 13px; text-decoration: none; transition: color .15s; }
.kf-legal a:hover { color: #BDE8F5; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ki-grid { grid-template-columns: repeat(2, 1fr); }
  .kp-steps { grid-template-columns: repeat(2, 1fr); }
  .kc-grid { grid-template-columns: repeat(2, 1fr); }
  .kf-top { grid-template-columns: 1fr 1fr; }
  #why-c1, #why-c2, #why-c3,
  #why-c4, #why-c5, #why-c6 { flex: 1 1 44% !important; }
  .ki-h2, .kp-h2, .kc-h2, .kcta-h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .ki-grid { grid-template-columns: 1fr; }
  .kp-steps { grid-template-columns: 1fr; }
  .kc-grid { grid-template-columns: 1fr; }
  .kf-top { grid-template-columns: 1fr; }
  #why-c1, #why-c2, #why-c3,
  #why-c4, #why-c5, #why-c6 { flex: 1 1 100% !important; }
}

/* ── STATS BAR HORIZONTAL FIX ───────────────────────────────────────── */
.elementor-element-stats-section > .elementor-element-stats-inner,
.elementor-element-stats-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  align-items: center !important;
}
.elementor-element-stats-inner > * {
  flex: 1 1 25% !important;
  text-align: center !important;
}