/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* border: 3rem solid rgba(0, 0, 0, .5); */
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Portfolio ***/
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.portfolio-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    transition: .5s;
}

.portfolio-item::after {
    left: auto;
    right: 0;
}

.portfolio-item:hover::before,
.portfolio-item:hover::after {
    width: 50%;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    transition-delay: .5s;
    opacity: 1;
}

.portfolio-item .portfolio-overlay .portfolio-btn {
    display: flex;
    margin: 5px;
    margin-bottom: 60px;
}

.portfolio-item .portfolio-overlay .portfolio-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}



 
    :root{
      --kgm-primary:#00b98e;            /* your green */
      --kgm-primary-2:#00a37d;          /* slightly darker */
      --kgm-edge:rgba(255,255,255,.08);
      --kgm-text-soft:rgba(255,255,255,.65);
    }

    /* section spacing tune-up */
    .container-fluid.py-5 .service-item{ margin-bottom: 2.25rem; }

    /* Card shell */
    .service-item{
      position: relative;
      background: rgba(255,255,255,.03);
      border: 1px solid var(--kgm-edge);
      border-radius: 1.25rem; /* round edges */
      overflow: hidden;
      transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
      box-shadow: 0 10px 28px rgba(0,0,0,.28);
      color:#fff;
    }
    .service-item:hover{
      transform: translateY(-6px);
      border-color: rgba(0,185,142,.25);
      box-shadow: 0 18px 48px rgba(0,0,0,.4);
      background: rgba(255,255,255,.04);
      color:#000;
    }

    /* subtle moving edge sheen */
    .service-item::after{
      content:"";
      position:absolute; inset:0; pointer-events:none;
      /* background:
        linear-gradient(120deg, transparent 10%, rgba(0,185,142,.12) 40%, transparent 70%),
        linear-gradient(300deg, transparent 20%, rgba(255,255,255,.04) 55%, transparent 80%); */
      mix-blend-mode: screen;
      opacity:.6;
      transform: translateX(-12%);
      transition: opacity .35s ease;
    }
    .service-item:hover::after{ opacity:.9; animation: sheen 5.5s linear infinite; }
    @keyframes sheen{
      0%{ transform: translateX(-12%); }
      50%{ transform: translateX(12%); }
      100%{ transform: translateX(-12%); }
    }

    /* Image pod: bigger circle, border glow + hover scale */
    .service-img{
      display:flex; align-items:center; justify-content:center;
      padding: 1rem !important;
    }
    .service-img img{
      border-radius: 999px !important;
      border: 2px solid rgba(255,255,255,.08);
      box-shadow:
        0 0 0 6px rgba(0,185,142,.08),
        0 16px 36px rgba(0,0,0,.45);
      transition: transform .4s ease, box-shadow .4s ease, filter .4s ease;
    }
    .service-item:hover .service-img img{
      transform: scale(1.04);
      box-shadow:
        0 0 0 8px rgba(0,185,142,.12),
        0 22px 48px rgba(0,0,0,.55);
      filter: saturate(1.05);
            color:#000;

    }

    /* Content area */
    .service-text{
      position: relative;
      padding: 1.75rem 2rem !important;
    }
    .service-text h3{
      display:inline-block;
      margin-bottom: .675rem;
      font-weight: 700;
      letter-spacing: .4px;
      padding: .5rem 1rem;
      border-radius: .75rem;
      background: linear-gradient(135deg, rgba(0,185,142,.12), rgba(255,255,255,.04));
      border: 1px solid rgba(0,185,142,.25);
      color:#fff;
    }
    .service-text p{
      color: var(--kgm-text-soft);
      margin-bottom: 1rem !important;
    }

    /* Left/Right accent bars (auto-matches your existing left/right layout) */
    .service-item-left::before,
    .service-item-right::before{
      content:"";
      position:absolute; top:0; bottom:0; width:6px;
      border-radius: 0 6px 6px 0;
      background: linear-gradient(to bottom, var(--kgm-primary), var(--kgm-primary-2));
      opacity:.9;
    }
    .service-item-left::before{ left:0; }
    .service-item-right::before{ right:0; border-radius: 6px 0 0 6px; }

    /* Buttons inside service cards */
    .service-text .btn{
      border-radius: 999px;
      transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
    }
    .service-text .btn:hover{
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0,185,142,.28);
    }

    /* Tighter columns on md, roomy on lg */
    @media (min-width: 992px){
      .service-img{ padding: .75rem !important; }
      .service-text{ padding: 2.25rem 2.25rem !important; }
    }

    /* Make text color black on hover */
.service-item:hover .service-text h3,
.service-item:hover .service-text p {
  color: #000 !important;
  transition: color 0.3s ease-in-out;
}

 













/* =========================
   KGM – Why Choose Us (Enhance)
   ========================= */
:root{
  --kgm-primary:#00b98e;
  --kgm-primary-2:#00a37d;
  --kgm-ink:#0b0f12;
  --kgm-ink-soft:#3a4b54;
  --kgm-edge:rgba(0,0,0,.06);
}

/* Section background (white + airy brand wash) */
.why-choose-wrap{
  background:#fff;
  position:relative;
  isolation:isolate;
}
.wcw-bg{
  pointer-events:none;
  background:
    radial-gradient(1200px 700px at 90% -10%, rgba(0,185,142,.10), transparent 60%),
    radial-gradient(900px 520px at 10% 110%, rgba(0,163,125,.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fffc 100%);
  filter: saturate(1.02);
}

/* Cards */
.feature-card{
  position:relative;
  background:#fff !important;
  border:1px solid var(--kgm-edge);
  border-radius:1.25rem !important;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
  overflow:hidden;
}
.feature-card .text-white{ color:#111 !important; }       /* base fix for headings */
.feature-card p{ color:#51666f !important; }

/* glow edge accent */
.feature-card .glow-edge{
  position:absolute; inset:-1px;
  pointer-events:none;
  border-radius:inherit;
  background: radial-gradient(800px 300px at -10% 0%, rgba(0,185,142,.18), transparent 60%),
              radial-gradient(600px 260px at 110% 100%, rgba(0,185,142,.12), transparent 60%);
  opacity:.35;
  transition:opacity .3s ease, filter .3s ease;
}

/* Hover: lift, stronger edge, darker text */
.feature-card:hover{
  transform:translateY(-6px);
  border-color:rgba(0,185,142,.25);
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}
.feature-card:hover .glow-edge{ opacity:.55; filter:saturate(1.08); }
.feature-card:hover h5{ color:#0b0f12 !important; }
.feature-card:hover p{ color:#1a1a1a !important; }       /* text goes darker on hover */

/* Icon badge (brand gradient pill) */
.icon-badge{
  width:52px; height:52px; min-width:52px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg, var(--kgm-primary), var(--kgm-primary-2));
  color:#fff; position:relative; overflow:hidden;
  box-shadow:0 10px 20px rgba(0,185,142,.22);
  transition:transform .25s ease, box-shadow .25s ease;
}
.icon-badge i{ font-size:20px; line-height:1; }
.icon-badge .halo{
  position:absolute; inset:-30%;
  background: radial-gradient(240px 120px at 30% 30%, rgba(255,255,255,.35), transparent 60%);
  animation: haloSweep 5.5s linear infinite;
  opacity:.9;
}
@keyframes haloSweep{
  0%{ transform:translateX(-18%); }
  50%{ transform:translateX(18%); }
  100%{ transform:translateX(-18%); }
}
.feature-card:hover .icon-badge{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,185,142,.28);
}

/* Stats tiles */
.stat-tile{
  position:relative; background:#fff !important;
  border:1px solid var(--kgm-edge);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stat-tile .glow-ring{
  position:absolute; inset:-1px; border-radius:inherit; pointer-events:none;
  background: radial-gradient(420px 220px at 50% -10%, rgba(0,185,142,.18), transparent 60%);
  opacity:.35; transition:opacity .3s ease;
}
.stat-tile:hover{
  transform:translateY(-5px);
  border-color:rgba(0,185,142,.22);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}
.stat-tile:hover .glow-ring{ opacity:.55; }

/* Title + paragraph color harmony on white */
.why-choose-wrap h1{ color:var(--kgm-ink); }
.why-choose-wrap h5{ color:var(--kgm-ink); }
.why-choose-wrap p{ color:var(--kgm-ink-soft); }

/* CTA button micro-interaction */
.lift-on-hover{ transition:transform .25s ease, box-shadow .25s ease; }
.lift-on-hover:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,185,142,.28); }

/* Subtle divider tone (if used) */
.border-secondary-subtle{ border-color:#e9eef1 !important; }

/* Responsive polish */
@media (max-width: 991.98px){
  .icon-badge{ width:48px; height:48px; min-width:48px; border-radius:12px; }
}



  /* ====== Contact — Base ====== */
  .kgm-contact{
    /* --bg:#0b1020; --panel:#121935; --text:#E8EEFF; --muted:#A9B3D6; */
    --brand:#00b98e;
    background: linear-gradient(180deg, var(--bg), #0e1430 100%);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    padding: 56px 16px;
  }
  .kgm-contact-wrap{max-width:1100px;margin:0 auto}
  .kgm-contact-head{text-align:center;max-width:820px;margin:0 auto 28px}
  .kgm-contact-head h2{
    font-size: clamp(24px,3.5vw,34px);
    margin:0 0 10px; line-height:1.15;
    background: linear-gradient(90deg, var(--brand), #86E1FF);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    font-weight:800; letter-spacing:.3px;
  }
  .kgm-contact-sub{color:var(--muted);font-size:clamp(14px,2.2vw,17px);margin:0}

  /* ====== Grid ====== */
  .kgm-contact-grid{
    display:grid; gap:16px; margin-top:22px;
  }
  @media (min-width:720px){
    .kgm-contact-grid{grid-template-columns: repeat(3, 1fr); gap:18px}
  }
  @media (min-width:1024px){
    .kgm-contact-grid{gap:22px}
  }

  /* ====== Card ====== */
  .kgm-contact-card{
    background: radial-gradient(120% 140% at 100% 0%, rgba(102,178,255,.08), transparent 45%) , var(--panel);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .kgm-contact-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.35);
    border-color: rgba(255,255,255,.12);
  }

  .kgm-icon{
    width:44px;height:44px;border-radius:12px;
    background: #00b98e;
    display:grid;place-items:center;margin-bottom:10px;
    box-shadow: 0 6px 18px var(--ring);
  }
  .kgm-icon svg{width:22px;height:22px;fill:#0b1020}

  .kgm-contact-card h3{
    font-size:16px;margin:6px 0 8px;color:#fff;letter-spacing:.2px
  }
  .kgm-contact-card p,
  .kgm-contact-card address{
    margin:0 0 8px; font-style:normal;
    line-height:1.65; color:var(--text); opacity:.95;
    font-size:clamp(14px,2.2vw,16px);
  }
  .kgm-link{
    display:inline-block; font-weight:700; text-decoration:none;
    color:#0b1020; background: linear-gradient(90deg, var(--brand), #86E1FF);
    padding:8px 12px; border-radius:999px;
    box-shadow: 0 6px 18px var(--ring);
  }
  .kgm-link:hover{opacity:.9}
  .kgm-note{color:var(--muted);font-size:12px}
  .kgm-contact-card a{color:#86E1FF;text-decoration:none}
  .kgm-contact-card a:hover{text-decoration:underline}



  /* ====== Base / Theme ====== */
  .kgm-about{
    --bg:#ffffff;          /* white background */
    --text:#212529;
    --muted:#6c757d;
    --brand:#00b98e;
    --brand2:#63ffd1;
    --border:#e9ecef;
  }
  .section-pad{padding:80px 0;background:var(--bg);}

  /* ====== Content Card ====== */
  .kgm-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:32px;
    box-shadow:0 4px 30px rgba(0,0,0,.05);
  }

  .kgm-kicker{
    display:inline-block;
    background:rgba(0,185,142,.1);
    color:var(--brand);
    padding:6px 12px;
    border-radius:30px;
    font-weight:700;
    text-transform:uppercase;
    font-size:12px;
    margin-bottom:8px;
    letter-spacing:1px;
  }

  .kgm-title{
    color:var(--brand);
    font-weight:800;
    font-size:clamp(28px,3.5vw,38px);
    margin-bottom:12px;
  }

  .kgm-lead{
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
    margin-bottom:24px;
  }

  /* ====== List ====== */
  .kgm-list{
    list-style:none;
    padding:0;
    margin:0 0 24px;
  }
  .kgm-list li{
    display:flex;
    align-items:center;
    gap:10px;
    padding:6px 0;
    color:var(--text);
  }
  .kgm-list i{
    color:var(--brand);
    font-size:18px;
  }

  /* ====== Buttons ====== */
  .kgm-btn{
    display:inline-block;
    text-decoration:none;
    font-weight:700;
    text-align:center;
    padding:12px 18px;
    border-radius:8px;
    transition:all 0.3s ease;
  }
  .kgm-btn{
    background:linear-gradient(90deg,var(--brand),var(--brand2));
    color:#fff;
    box-shadow:0 6px 20px rgba(0,185,142,.3);
  }
  .kgm-btn:hover{opacity:0.9;transform:translateY(-2px)}
  .kgm-btn-outline{
    background:#fff;
    color:var(--brand);
    border:2px solid var(--brand);
  }
  .kgm-btn-outline:hover{
    background:var(--brand);
    color:#fff;
  }

  /* ====== Stats ====== */
  .kgm-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:24px;
  }
  .kgm-stat{
    text-align:center;
    background:#f8f9fa;
    border:1px solid var(--border);
    border-radius:10px;
    padding:14px;
  }
  .kgm-stat strong{
    display:block;
    font-size:22px;
    font-weight:800;
    color:var(--brand);
  }
  .kgm-stat span{
    color:var(--muted);
    font-size:13px;
  }

  /* ====== Image Section ====== */
  .kgm-visual{
    position:relative;
    text-align:center;
  }
  .kgm-img{
    width:100%;
    border-radius:20px;
    border:1px solid var(--border);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
  }
  .kgm-badge{
    position:absolute;
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
    background:#fff;
    border:1px solid var(--border);
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
    display:flex;
    align-items:center;
    gap:8px;
  }
  .kgm-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--brand);
  }

  @media(max-width:991px){
    .section-pad{padding:60px 0;}
  }



  /* ====== Image Motion (floating + hover tilt) ====== */

/* Enable a 3D context so the tilt looks natural */
.kgm-visual {
  perspective: 1000px;
}

/* Smooth float animation (always running) */
.kgm-img {
  animation: kgm-float 6.5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, box-shadow;
}

/* Soft shadow that "breathes" with the float */
.kgm-img {
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Parallax tilt on hover (desktop) */
.kgm-visual:hover .kgm-img {
  transform:
    translateY(-6px)
    rotateX(2deg)
    rotateY(-3deg)
    scale(1.01);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
  transition: transform .4s ease, box-shadow .4s ease;
}

/* Floating badge gets a tiny bob for depth */
.kgm-badge {
  animation: kgm-bob 3.2s ease-in-out infinite;
  will-change: transform;
}

/* Keyframes */
@keyframes kgm-float {
  0% {
    transform: translateY(0) rotateX(0) rotateY(0);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }
  50% {
    transform: translateY(-8px) rotateX(0.6deg) rotateY(-0.6deg);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
  }
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }
}

@keyframes kgm-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kgm-img, .kgm-badge {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

