/* ============================================================
   KARUNA GLOBAL EXPORTS — Master Stylesheet
   Brand: Forest Green #0B6B3A | Navy #083A75 | Gold #D4A017
   Stack: Bootstrap 5 + Custom CSS + GSAP
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --kg-green: #0B6B3A;
  --kg-green-dark: #084d29;
  --kg-navy: #083A75;
  --kg-gold: #D4A017;
  --kg-white: #FFFFFF;
  --kg-ivory: #F8F7F2;
  --kg-charcoal: #222B29;
  --kg-text: #3a4441;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-soft: 0 10px 40px rgba(11, 107, 58, 0.08);
  --shadow-hover: 0 18px 50px rgba(11, 107, 58, 0.15);
  --radius: 14px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   2. BASE RESET & TYPOGRAPHY
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  touch-action: pan-y;
}

body {
  font-family: var(--font-body);
  color: var(--kg-text);
  background: var(--kg-white);
  line-height: 1.7;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
iframe,
video {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--kg-charcoal);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  font-size: 1.02rem;
  color: var(--kg-text);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
}


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.text-green {
  color: var(--kg-green) !important;
}

.text-navy {
  color: var(--kg-navy) !important;
}

.text-gold {
  color: var(--kg-gold) !important;
}

.bg-ivory {
  background: var(--kg-ivory) !important;
}

.bg-green {
  background: var(--kg-green) !important;
}

.bg-navy {
  background: var(--kg-navy) !important;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kg-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1.5px;
  background: var(--kg-gold);
  display: inline-block;
}

.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.heading-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--kg-gold);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.heading-underline.is-visible::after {
  width: 90px;
}


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn-kg {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  cursor: pointer;
}

.btn-kg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(212, 160, 23, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-kg:hover::before {
  transform: translateX(100%);
}

.btn-kg-primary {
  background: var(--kg-green);
  color: #fff;
  border-color: var(--kg-green);
}

.btn-kg-primary:hover {
  background: var(--kg-green-dark);
  border-color: var(--kg-green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 107, 58, 0.3);
}

.btn-kg-outline {
  background: transparent;
  color: var(--kg-green);
  border-color: var(--kg-green);
}

.btn-kg-outline:hover {
  background: var(--kg-green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-kg-gold {
  background: var(--kg-gold);
  color: var(--kg-charcoal);
  border-color: var(--kg-gold);
}

.btn-kg-gold:hover {
  background: #b88812;
  border-color: #b88812;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 160, 23, 0.35);
}


/* ============================================================
   5. TOP BAR & HEADER
   ============================================================ */
.kg-topbar {
  background: var(--kg-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.kg-topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.kg-topbar a:hover {
  color: var(--kg-gold);
}

.kg-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(11, 107, 58, 0.06);
}

.kg-header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 24px rgba(11, 107, 58, 0.08);
}

.kg-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--kg-green);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.kg-logo-img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.kg-header.scrolled .kg-logo-img {
  height: 44px;
}

.kg-footer a.kg-footer-logo-wrap,
.kg-footer-logo-wrap {
  display: inline-block !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 1.2rem;
  width: auto !important;
  max-width: fit-content;
}

.kg-footer a.kg-footer-logo-wrap:hover {
  padding-left: 0 !important;
  transform: translateY(-2px);
}

.kg-footer-logo-wrap img {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.kg-logo span {
  color: var(--kg-navy);
}

.kg-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--kg-gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.kg-logo i {
  font-size: 1.8rem;
}


.kg-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--kg-charcoal);
  padding: 0.5rem 1rem !important;
  position: relative;
}

.kg-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--kg-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.kg-nav .nav-link:hover::after,
.kg-nav .nav-link.active::after {
  transform: scaleX(1);
}

.kg-nav .nav-link.active {
  color: var(--kg-green);
  font-weight: 600;
}

.offcanvas .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--kg-charcoal);
}

.offcanvas .nav-link:hover {
  color: var(--kg-green);
  padding-left: 6px;
}


/* ============================================================
   6. LEGACY HERO (fallback for inner pages)
   ============================================================ */
.kg-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.08), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(11, 107, 58, 0.07), transparent 50%),
    var(--kg-ivory);
  overflow: hidden;
  padding: 3rem 0;
}

.kg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(8, 58, 117, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 70% 40%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, black 10%, transparent 65%);
  pointer-events: none;
}

.kg-hero-content {
  position: relative;
  z-index: 2;
}

.kg-hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.kg-hero h1 .word>span {
  display: inline-block;
  transform: translateY(110%);
}

.kg-hero .trust-line {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--kg-navy);
  font-weight: 500;
  border-left: 2px solid var(--kg-gold);
  padding-left: 0.85rem;
  margin-top: 1.8rem;
}

.kg-hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kg-hero-visual .globe {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 70% 70%, var(--kg-green-dark), var(--kg-navy));
  position: relative;
  box-shadow: 0 30px 80px rgba(8, 58, 117, 0.28);
  overflow: hidden;
}

.kg-hero-visual .globe::after {
  content: '';
  position: absolute;
  inset: -30%;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 26px);
  border-radius: 50%;
  animation: globeSpin 40s linear infinite;
}

@keyframes globeSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.kg-hero-visual .route {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kg-hero-visual .route path {
  fill: none;
  stroke: var(--kg-gold);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  animation: dash 3s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -28;
  }
}


/* ============================================================
   7. FULL-SCREEN HERO SLIDER
   ============================================================ */
.kg-hero-slider {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: var(--kg-charcoal);
}

.kg-hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity;
  overflow: hidden;
}

.kg-hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.kg-hero-slider .slide.active .slide-bg {
  animation: kenburns 8s ease-out forwards;
}

.kg-hero-slider .slide-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

@keyframes kenburns {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.14) translate(-1.5%, -1%);
  }
}

.kg-hero-slider .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 107, 58, 0.85) 0%, rgba(8, 58, 117, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.kg-hero-slider .slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
}

.kg-hero-slider h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  max-width: 15ch;
  line-height: 1.08;
}

.kg-hero-slider .slide p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  font-size: 1.05rem;
}

.kg-hero-slider .slide .eyebrow {
  color: var(--kg-gold);
}

.kg-hero-slider .slide .eyebrow::before {
  background: var(--kg-gold);
}

.kg-hero-slider .slide h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.kg-hero-slider .slide h1 .word>span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.kg-hero-slider .slide.active h1 .word>span {
  animation: wordUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.kg-hero-slider .slide.active h1 .word:nth-child(1)>span {
  animation-delay: 0.15s;
}

.kg-hero-slider .slide.active h1 .word:nth-child(2)>span {
  animation-delay: 0.25s;
}

.kg-hero-slider .slide.active h1 .word:nth-child(3)>span {
  animation-delay: 0.35s;
}

.kg-hero-slider .slide.active h1 .word:nth-child(4)>span {
  animation-delay: 0.45s;
}

.kg-hero-slider .slide.active h1 .word:nth-child(5)>span {
  animation-delay: 0.55s;
}

.kg-hero-slider .slide.active h1 .word:nth-child(6)>span {
  animation-delay: 0.65s;
}

@keyframes wordUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.kg-hero-slider .slide.active .slide-fade {
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.kg-hero-slider .slide.active .slide-fade.d1 {
  animation-delay: 0.75s;
}

.kg-hero-slider .slide.active .slide-fade.d2 {
  animation-delay: 0.95s;
}

.kg-hero-slider .slide.active .slide-fade.d3 {
  animation-delay: 1.15s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kg-slider-arrows {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.kg-slider-arrows button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.kg-slider-arrows button:hover {
  background: var(--kg-gold);
  border-color: var(--kg-gold);
  color: var(--kg-charcoal);
  transform: scale(1.05);
}

.kg-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.kg-slider-dots button {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 3px;
}

.kg-slider-dots button.active {
  background: var(--kg-gold);
  width: 56px;
}

.kg-slider-counter {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.kg-slider-counter .current {
  color: var(--kg-gold);
  font-weight: 700;
}


/* ============================================================
   8. FLOATING PRODUCT CHIPS (legacy hero)
   ============================================================ */
.product-chip {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(212, 160, 23, 0.25);
  animation: floaty 5s ease-in-out infinite;
}

.product-chip.c1 {
  top: 6%;
  left: 4%;
  animation-delay: 0s;
}

.product-chip.c2 {
  top: 12%;
  right: 2%;
  animation-delay: 0.8s;
}

.product-chip.c3 {
  bottom: 8%;
  left: 12%;
  animation-delay: 1.6s;
}

.product-chip.c4 {
  bottom: 4%;
  right: 8%;
  animation-delay: 2.4s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}


/* ============================================================
   9. SECTION BASE
   ============================================================ */
.kg-section {
  padding: 6rem 0;
}

.kg-section-sm {
  padding: 4rem 0;
}


/* ============================================================
   10. PRODUCT CARD
   ============================================================ */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 107, 58, 0.10);
  transition: var(--transition);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--kg-gold);
  transition: width 0.5s ease;
  z-index: 3;
}

.product-card:hover::before {
  width: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 160, 23, 0.4);
}

.product-card .img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--kg-ivory);
  position: relative;
  flex-shrink: 0;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .img-wrap img {
  transform: scale(1.08);
}

.product-card .card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.product-card p {
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.product-card .enquire-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kg-green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
  margin-top: auto;
  align-self: flex-start;
}

.product-card:hover .enquire-link {
  opacity: 1;
  transform: translateY(0);
}

.product-card .enquire-link:hover {
  color: var(--kg-gold);
}


/* ============================================================
   11. FEATURE BLOCK (dark green section)
   ============================================================ */
.feature-block {
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 160, 23, 0.18);
  transition: var(--transition);
  height: 100%;
}

.feature-block:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 160, 23, 0.5);
  transform: translateY(-6px);
}

.feature-block .fb-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.12);
  color: var(--kg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.feature-block:hover .fb-icon {
  background: var(--kg-gold);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.feature-block h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.feature-block p {
  color: rgba(16, 15, 15, 0.72);
  font-size: 0.92rem;
  margin: 0;
}


/* ============================================================
   12. PROCESS TIMELINE (numbered, horizontal)
   ============================================================ */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-step .step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--kg-green);
  color: var(--kg-green);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--kg-green);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(11, 107, 58, 0.28);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.88rem;
  margin: 0;
}

.process-connector {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--kg-gold), rgba(212, 160, 23, 0.15));
  z-index: 1;
}

.process-step:last-child .process-connector {
  display: none;
}


/* ============================================================
   13. KG TIMELINE (vertical, alternating)
   ============================================================ */
.kg-timeline {
  position: relative;
  padding: 3rem 0;
}

.kg-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(212, 160, 23, 0.5), transparent);
  transform: translateX(-50%);
}

.kg-timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
}

.kg-timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
}

.kg-timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
}

.kg-timeline-item .step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1.5px solid var(--kg-gold);
  color: var(--kg-green);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

.kg-timeline-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.kg-timeline-item p {
  font-size: 0.92rem;
  margin: 0;
}


/* ============================================================
   14. EDITORIAL PRODUCT SLIDER
   ============================================================ */
.kg-editorial-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.kg-editorial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  padding: 4px;
}

.kg-editorial-track .product-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.kg-editorial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.kg-editorial-controls .nav-btns {
  display: flex;
  gap: 10px;
}

.kg-editorial-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 107, 58, 0.25);
  background: #fff;
  color: var(--kg-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.kg-editorial-controls button:hover {
  background: var(--kg-green);
  color: #fff;
  border-color: var(--kg-green);
}

.kg-editorial-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.kg-editorial-controls button:disabled:hover {
  background: #fff;
  color: var(--kg-green);
  border-color: rgba(11, 107, 58, 0.25);
}

.kg-editorial-progress {
  flex: 1;
  margin: 0 2rem;
  height: 2px;
  background: rgba(11, 107, 58, 0.12);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.kg-editorial-progress .bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: var(--kg-gold);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   15. ASYMMETRIC STORY BAND
   ============================================================ */
.kg-story-band {
  position: relative;
  background: var(--kg-ivory);
  overflow: hidden;
}

.kg-story-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--kg-green);
  z-index: 0;
}

.kg-story-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  padding: 3.5rem;
  box-shadow: 0 30px 80px rgba(11, 107, 58, 0.14);
}

.kg-story-image {
  position: relative;
  z-index: 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  transform: translateX(-40px);
}

.kg-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kg-curve-accent {
  position: absolute;
  top: 50%;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 2px solid var(--kg-gold);
  border-radius: 50%;
  opacity: 0.35;
  transform: translateY(-50%);
  pointer-events: none;
}


/* ============================================================
   16. STATS STRIP
   ============================================================ */
.kg-stats {
  background: linear-gradient(135deg, var(--kg-green-dark), var(--kg-navy));
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.kg-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.kg-stat {
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.kg-stat .num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--kg-gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.kg-stat .label {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.kg-stat+.kg-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(212, 160, 23, 0.3);
}


/* ============================================================
   17. GLOBAL TRADE BANNER
   ============================================================ */
.trade-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.14), transparent 40%),
    linear-gradient(135deg, var(--kg-green-dark), var(--kg-navy));
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}

.trade-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 40px);
  opacity: 0.6;
}

.trade-banner h2 {
  color: #fff;
}

.trade-banner p {
  color: rgba(255, 255, 255, 0.82);
}


/* ============================================================
   18. FOOTER
   ============================================================ */
.kg-footer {
  background:
    linear-gradient(135deg, rgba(8, 77, 41, 0.94) 0%, rgba(8, 58, 117, 0.92) 50%, rgba(6, 42, 23, 0.96) 100%),
    url('../images/footer-bg.jpg') center/cover no-repeat;
  color: #ffffff !important;
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.kg-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.08), transparent 50%);
  pointer-events: none;
}

.kg-footer-wave {
  display: none !important;
}

.kg-footer,
.kg-footer p,
.kg-footer span,
.kg-footer li,
.kg-footer div,
.kg-footer address {
  color: #ffffff !important;
}

.kg-footer p {
  color: #ffffff !important;
  opacity: 1 !important;
  font-size: 0.92rem;
  line-height: 1.65;
}

.kg-footer h5 {
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.7rem;
}

.kg-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--kg-gold);
}

.kg-footer a {
  color: #ffffff !important;
  font-size: 0.92rem;
  display: block;
  padding: 0.35rem 0;
  transition: var(--transition);
}

.kg-footer a:hover {
  color: var(--kg-gold) !important;
  padding-left: 6px;
}

.kg-footer .kg-social-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  font-size: 1.15rem;
  padding: 0 !important;
  transition: all 0.3s ease;
}

.kg-footer .kg-social-links a:hover {
  background: var(--kg-gold);
  border-color: var(--kg-gold);
  color: #123020 !important;
  transform: translateY(-3px);
  padding-left: 0 !important;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.35);
}

.kg-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 3.5rem;
  padding: 1.6rem 0;
  font-size: 0.9rem;
  color: #ffffff !important;
}

.kg-footer .footer-bottom a {
  display: inline !important;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.kg-footer .footer-bottom a:hover {
  color: var(--kg-gold) !important;
  padding-left: 4px !important;
  text-decoration: underline;
}


/* ============================================================
   19. FLOATING ACTION BUTTONS (CALL & WHATSAPP)
   ============================================================ */
.kg-floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.kg-floating-actions .call-float,
.kg-floating-actions .wa-float,
.call-float,
.wa-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.call-float {
  background: linear-gradient(#dc3545 0%, #dc3545 100%);
  color: #fff !important;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(11, 107, 58, 0.45);
}

.call-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(11, 107, 58, 0.65);
  color: #fff !important;
}

.wa-float {
  background: #25D366;
  color: #fff !important;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: waPulse 2.4s infinite;
}

.wa-float:hover {
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.65);
}

/* Fallback if rendered outside container */
body>.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
}

body>.call-float {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 999;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 575.98px) {
  .kg-floating-actions {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .kg-floating-actions .call-float,
  .kg-floating-actions .wa-float,
  .call-float,
  .wa-float {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}


/* ============================================================
   20. INTRO LOADER
   ============================================================ */
#kg-loader {
  position: fixed;
  inset: 0;
  background: var(--kg-ivory);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.4rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#kg-loader.done {
  opacity: 0;
  visibility: hidden;
}

#kg-loader .loader-line {
  width: 0;
  height: 2px;
  background: var(--kg-gold);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

#kg-loader .loader-line.grow {
  width: 220px;
}

#kg-loader .loader-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--kg-green);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

#kg-loader .loader-logo.show {
  opacity: 1;
  transform: scale(1);
}

#kg-loader .loader-tag {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kg-gold);
  opacity: 0;
  transition: opacity 0.6s ease;
}

#kg-loader .loader-tag.show {
  opacity: 1;
}


/* ============================================================
   21. REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1;
  transform: none;
}


/* ============================================================
   22. FORM CONTROLS (contact / enquiry)
   ============================================================ */
.kg-form .form-control,
.kg-form .form-select {
  border: 1.5px solid rgba(11, 107, 58, 0.18);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  transition: var(--transition);
}

.kg-form .form-control:focus,
.kg-form .form-select:focus {
  border-color: var(--kg-green);
  box-shadow: 0 0 0 3px rgba(11, 107, 58, 0.12);
}

.kg-form label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--kg-charcoal);
  margin-bottom: 0.4rem;
}

.kg-form label .req {
  color: var(--kg-gold);
}


/* ============================================================
   23. BOOTSTRAP OVERRIDES
   ============================================================ */
.btn:focus,
.btn-kg:focus {
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.35) !important;
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--kg-gold);
  outline-offset: 3px;
}

.offcanvas {
  max-width: 320px;
}

.offcanvas:not(.show):not(.showing):not(.hiding) {
  display: none !important;
}


/* ============================================================
   24. RESPONSIVE
   ============================================================ */

/* --- Tablet --- */
@media (max-width: 991.98px) {
  .kg-section {
    padding: 4rem 0;
  }

  .kg-hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .kg-hero-visual {
    height: 380px;
    margin-top: 2.5rem;
  }

  .kg-hero-visual .globe {
    width: 280px;
    height: 280px;
  }

  .product-chip {
    width: 74px;
    height: 74px;
    font-size: 1.4rem;
  }

  .process-connector {
    display: none;
  }

  .kg-story-band::before {
    width: 100%;
    height: 220px;
  }

  .kg-story-image {
    transform: none;
    margin-top: -80px;
  }

  .kg-curve-accent {
    display: none;
  }

  .kg-story-card {
    padding: 2.5rem;
  }

  .kg-editorial-track .product-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .kg-timeline::before {
    left: 28px;
  }

  .kg-timeline-item,
  .kg-timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding-left: 72px;
    padding-right: 0.5rem;
  }

  .kg-timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--kg-gold);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.2);
  }

  .reveal-left {
    transform: translateY(24px) !important;
  }

  .reveal-right {
    transform: translateY(24px) !important;
  }

  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: translateY(0) !important;
  }

  .row.g-5 {
    --bs-gutter-x: 1.5rem !important;
  }
}

/* --- Mobile landscape / large phone --- */
@media (max-width: 767.98px) {
  .kg-hero-slider {
    height: 88vh;
    min-height: 560px;
  }

  .kg-hero-slider h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .kg-logo-img {
    height: 75px;
  }

  .kg-header {
    padding: 0.6rem 0;
  }

  .kg-slider-arrows {
    bottom: 20px;
    right: 20px;
  }

  .kg-slider-arrows button {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .kg-slider-dots {
    bottom: 30px;
    left: 20px;
  }

  .kg-slider-counter {
    display: none;
  }

  .kg-stat+.kg-stat::before {
    display: none;
  }

  .kg-stat {
    padding: 1.5rem 1rem;
  }
}

/* --- Small phone --- */
@media (max-width: 575.98px) {
  .kg-hero-visual {
    height: 320px;
  }

  .kg-hero-visual .globe {
    width: 220px;
    height: 220px;
  }

  .product-chip {
    width: 62px;
    height: 62px;
    font-size: 1.15rem;
  }

  .kg-editorial-track .product-card {
    flex: 0 0 82%;
  }

  .kg-editorial-progress {
    display: none;
  }

  .kg-story-card {
    padding: 1.75rem;
  }

  .kg-story-band::before {
    height: 180px;
  }

  .kg-story-image {
    margin-top: -60px;
    height: 380px !important;
  }

  .kg-timeline-item {
    padding-left: 60px;
  }
}


/* ============================================================
   25. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  #kg-loader {
    display: none !important;
  }

  .kg-hero-slider .slide.active .slide-bg {
    animation: none;
  }

  .kg-hero-slider .slide.active h1 .word>span,
  .kg-hero-slider .slide.active .slide-fade {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .product-chip {
    animation: none;
  }

  .wa-float,
  .call-float {
    animation: none;
  }
}


/* ============================================================
   26. PRINT
   ============================================================ */
@media print {

  .kg-header,
  .kg-topbar,
  .kg-floating-actions,
  .wa-float,
  .call-float,
  .kg-footer-wave,
  #kg-loader,
  .kg-slider-arrows,
  .kg-slider-dots,
  .kg-slider-counter {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .kg-hero-slider {
    height: auto;
    min-height: 0;
  }

  .kg-hero-slider .slide {
    position: relative;
    opacity: 1;
  }
}