/**
 * Kotech Digital Hub — navigation, mega menu, and button hover polish
 * Load after main.css. Keeps motion subtle and “cinematic” without harsh jumps.
 */

/* ---------- Mega menu: desktop hover + gap bridge ---------- */
@media (min-width: 992px) {
  .header-area .services-mega-toggle {
    position: relative;
    z-index: 100;
  }

  .header-area .mega-menu-container {
    margin-top: 8px;
    transition:
      opacity 0.28s ease,
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.28s ease;
  }

  /* Invisible bridge so pointer doesn’t drop between “Services” and the panel */
  .header-area .mega-menu-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
  }

  .header-area .services-mega-toggle:hover .mega-menu-container,
  .header-area .services-mega-toggle:focus-within .mega-menu-container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

/* Mega panel links: readable on light cards (overrides legacy white text) */
.header-area .mega-column ul li a {
  color: #1e293b !important;
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.header-area .mega-column ul li a:hover {
  color: #2563eb !important;
  padding-left: 14px;
}

/* ---------- Primary nav links ---------- */
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul > li > a {
  transition: color 0.22s ease;
}

/* ---------- Top bar ---------- */
.top-header-bar .top-left a,
.top-header-bar .top-right a.social {
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.top-header-bar .top-right a.social:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* ---------- Primary CTAs ---------- */
.header-btn1 {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.homepage1-body .header-area .btn-area .header-btn1:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(22, 42, 85, 0.2);
}

.services-section .read-more,
.qc-btn,
.consultation-btn,
.homesection-about-butn {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.services-section .service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.qc-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.qc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .header-area .mega-menu-container,
  .header-btn1,
  .services-section .service-box,
  .qc-card,
  .top-header-bar .top-right a.social {
    transition: none !important;
  }

  .header-area .services-mega-toggle:hover .mega-menu-container,
  .header-area .services-mega-toggle:focus-within .mega-menu-container {
    transition: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .kdh-home-hero .hero-section-image-homepage img {
    animation: none !important;
  }

  .client-logos .logo:hover,
  .about-kdh-image:hover img,
  .kdh-home-hero .header-main-content .btn-area .header-btn1:hover,
  .whatsapp-float:hover,
  .homesection-freeconsultation .consultation-btn:hover {
    transform: none !important;
  }
}

/* ---------- “Why teams stick” / Our Value card: visibility + readability ---------- */
.service2-section-area .col-lg-7 {
  overflow: visible;
}

.service2-section-area .images-content-area {
  overflow: visible;
  padding-bottom: clamp(32px, 6vw, 72px);
}

/* Taller photo lane so overlap doesn’t swallow the CTA */
.service2-section-area .images-content-area .img1 {
  min-height: clamp(280px, 38vw, 420px);
}

.service2-section-area .images-content-area .img1 img {
  min-height: clamp(280px, 38vw, 420px);
  object-fit: cover;
}

/* Stronger cinematic scrim on the image (main.css overlay was ~29% — too weak for body copy) */
.service2-section-area .images-content-area .img1::before {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.72) 38%,
    rgba(15, 23, 42, 0.35) 72%,
    rgba(15, 23, 42, 0.2) 100%
  ) !important;
}

/* Text stack: readable on photo + room so nothing clips at the bottom */
.service2-section-area .images-content-area .content-area.kdh-value-card-aos {
  margin-top: 24px !important;
  padding: 24px 22px 32px !important;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.06) 0%,
    rgba(15, 23, 42, 0.82) 42%,
    rgba(15, 23, 42, 0.94) 100%
  );
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.35);
}

.service2-section-area .images-content-area .content-area.kdh-value-card-aos > p:first-of-type {
  color: rgba(226, 232, 240, 0.95) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.service2-section-area .images-content-area .content-area.kdh-value-card-aos a.text {
  color: #ffffff !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.service2-section-area .images-content-area .content-area.kdh-value-card-aos > p:not(:first-of-type) {
  color: rgba(241, 245, 249, 0.96) !important;
  line-height: 1.65 !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.service2-section-area .images-content-area .content-area.kdh-value-card-aos .btn-area {
  margin-top: 22px !important;
  padding-bottom: 4px;
}

.service2-section-area .images-content-area .arrow-area {
  z-index: 5;
}

@media (max-width: 767px) {
  .service2-section-area .images-content-area .content-area.kdh-value-card-aos {
    margin-top: 16px !important;
    padding: 22px 18px 28px !important;
  }
}

@media (min-width: 768px) {
  .service2-section-area .images-content-area .content-area.kdh-value-card-aos {
    margin-top: -112px !important;
    padding: 28px 26px 36px !important;
  }
}

@media (min-width: 1200px) {
  .service2-section-area .images-content-area .content-area.kdh-value-card-aos {
    margin-top: -148px !important;
    padding-bottom: 40px !important;
  }
}

/* AOS: respect reduced motion inside value card */
@media (prefers-reduced-motion: reduce) {
  .service2-section-area .kdh-value-card-aos [data-aos],
  .service2-section-area .images-content-area [data-aos],
  .service2-section-area .service-all-boxes [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Premium home UI — smoother motion, depth, readability
   (Hero uses .kdh-home-hero on index.html only)
   ============================================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

.homepage1-body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ----- Hero (restored UI: glow, glass badge, hero image motion) ----- */
.kdh-home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.kdh-home-hero::before {
  content: "";
  position: absolute;
  inset: -25% -15% auto -15%;
  height: 90%;
  background:
    radial-gradient(ellipse 65% 55% at 12% 18%, rgba(99, 102, 241, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 45% at 88% 22%, rgba(59, 130, 246, 0.11), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

.kdh-home-hero .container {
  position: relative;
  z-index: 1;
}

.kdh-home-hero .header-main-content.heading1 h5 {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.42rem 1rem 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.035em;
  color: #334155 !important;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.kdh-home-hero .header-main-content.heading1 h5:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
}

.kdh-home-hero .header-main-content.heading1 h1 {
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
  color: #0f172a;
  text-shadow: 0 2px 48px rgba(255, 255, 255, 0.65);
}

.kdh-home-hero .header-main-content.heading1 p {
  max-width: 38rem;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.125rem);
  line-height: 1.72;
  color: #475569;
}

.kdh-home-hero .header-main-content .btn-area .header-btn1 {
  border-radius: 999px !important;
  padding-left: 1.65rem !important;
  padding-right: 1.65rem !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    filter 0.35s ease;
}

.kdh-home-hero .header-main-content .btn-area .header-btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.4);
  filter: brightness(1.04);
}

.kdh-home-hero .header-main-content .btn-area .header-btn1:active {
  transform: translateY(-1px);
  transition-duration: 0.12s;
}

.kdh-home-hero .hero-section-image-homepage {
  position: relative;
}

.kdh-home-hero .hero-section-image-homepage::after {
  content: "";
  position: absolute;
  inset: 10% -8% -6% -8%;
  background: radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.2), transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.kdh-home-hero .hero-section-image-homepage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 22px 48px rgba(15, 23, 42, 0.14));
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .kdh-home-hero .hero-section-image-homepage img {
    animation: kdh-hero-float 7s ease-in-out infinite;
  }
}

@keyframes kdh-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

.kdh-home-hero .col-lg-5:hover .hero-section-image-homepage img {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.012);
  filter: drop-shadow(0 28px 56px rgba(15, 23, 42, 0.2));
}

/* ----- Trusted logos strip ----- */
.trusted-clients {
  position: relative;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f8fafc 100%);
}

.trusted-clients h2 {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.client-logos .logo {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.client-logos .logo:hover {
  transform: translateY(-6px);
}

/* ----- About (blue band) ----- */
.about-kdh-section {
  background: linear-gradient(148deg, #122752 0%, #152e62 40%, #1a3d7d 100%);
  position: relative;
  overflow: hidden;
}

.about-kdh-section::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -25%;
  width: 75%;
  height: 130%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 68%);
  pointer-events: none;
}

.about-kdh-container {
  position: relative;
  z-index: 1;
}

.about-kdh-image img {
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.about-kdh-image:hover img {
  transform: scale(1.02);
}

.about-kdh-text p {
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.93) !important;
}

.homesection-about-butn {
  border-radius: 999px !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.homesection-about-butn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* ----- Service cards (home grid) ----- */
.services-section {
  scroll-margin-top: 88px;
}

.services-section .service-box {
  border-radius: 14px;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.services-section .service-box:hover {
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.11);
}

/* ----- Transparent / frosted header (homepage only) ----- */
.homepage1-body .top-header-bar {
  background: rgba(8, 50, 90, 0.78) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.homepage1-body .header-area.homepage1:not(.sticky) {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.homepage1-body .header-area.homepage1.sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08) !important;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.homepage1-body .mobile-header.mobile-haeder1 {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 2px 24px rgba(15, 23, 42, 0.06);
}

/* ----- WhatsApp FAB ----- */
.whatsapp-float {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  filter: drop-shadow(0 8px 18px rgba(34, 197, 94, 0.42));
}

/* ----- Preloader ----- */
.preloader {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Keep spinner + logo dead-centre (main.css had margin on container) */
.preloader .loading-container {
  margin: 0;
  flex-shrink: 0;
}

/* ----- Accessible focus ----- */
.homepage1-body a:focus-visible,
.homepage1-body button:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
}

/* ----- Free consultation band ----- */
.homesection-freeconsultation .consultation-btn {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    filter 0.3s ease;
}

.homesection-freeconsultation .consultation-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  filter: brightness(1.03);
}

/* ----- BrandBorn-style promise strip (Kotech positioning) ----- */
.kdh-brand-promise {
  padding: clamp(48px, 6vw, 72px) 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f1f5f9 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.kdh-brand-promise-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 1rem;
  line-height: 1.2;
}

.kdh-brand-promise-sub {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: #475569;
}

.kdh-brand-promise-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 52rem;
  display: grid;
  gap: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .kdh-brand-promise-list {
    grid-template-columns: 1fr 1fr;
  }
}

.kdh-brand-promise-list li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: #334155;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.kdh-brand-promise-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

.kdh-brand-promise-list li strong {
  color: #0f172a;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .kdh-brand-promise-list li,
  .kdh-brand-promise-list li:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* ----- Hero: scope line, pills, dual CTAs ----- */
.kdh-home-hero .kdh-hero-lead {
  max-width: 40rem;
  font-size: clamp(0.98rem, 0.92rem + 0.35vw, 1.08rem);
  line-height: 1.68;
  color: #475569;
}

.kdh-hero-pills {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.kdh-hero-pills li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.kdh-hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
}

.kdh-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #312e81 !important;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.kdh-btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
  background: #fff;
  color: #1e1b4b !important;
}

.trusted-clients.kdh-trust-bar h2 {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  color: #334155;
}

/* ----- Homepage scope strip (3 pillars) ----- */
.kdh-brand-promise.kdh-attract-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 20px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 42%, #312e81 100%);
  border-top: none;
  border-bottom: none;
}

.kdh-attract-strip::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 85%;
  background: radial-gradient(ellipse 55% 50% at 80% 0%, rgba(129, 140, 248, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 30%, rgba(56, 189, 248, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.kdh-attract-strip .container {
  position: relative;
  z-index: 1;
}

.kdh-attract-strip-title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: #f8fafc;
  margin: 0 auto 0.65rem;
  max-width: 40rem;
  line-height: 1.15;
}

.kdh-attract-strip-sub {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.88);
}

.kdh-attract-grid {
  display: grid;
  gap: 1.15rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .kdh-attract-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.kdh-attract-card {
  text-align: center;
  padding: 1.65rem 1.35rem 1.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.kdh-attract-card:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 180, 252, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.kdh-attract-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  font-size: 1.25rem;
  color: #e0e7ff;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.45), rgba(79, 70, 229, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.kdh-attract-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0 0 0.5rem;
}

.kdh-attract-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: rgba(226, 232, 240, 0.86);
}

@media (prefers-reduced-motion: reduce) {
  .kdh-attract-card,
  .kdh-attract-card:hover {
    transition: none !important;
    transform: none !important;
  }

  .kdh-btn-outline:hover {
    transform: none;
  }
}

/* ============================================================
   Homepage UI refresh — spacing, depth, cards (index only body)
   ============================================================ */
.homepage1-body {
  --kdh-radius-sm: 12px;
  --kdh-radius-md: 16px;
  --kdh-radius-lg: 22px;
  --kdh-shadow-1: 0 4px 24px rgba(15, 23, 42, 0.06);
  --kdh-shadow-2: 0 16px 48px rgba(15, 23, 42, 0.1);
  --kdh-line: rgba(226, 232, 240, 0.95);
}

.homepage1-body #our-work {
  scroll-margin-top: 100px;
}

/* ----- Hero: rhythm, mesh, framed visual ----- */
.kdh-home-hero.hero1-section-area {
  padding-top: clamp(72px, 11vw, 128px) !important;
  padding-bottom: clamp(64px, 9vw, 104px) !important;
}

.kdh-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.35) 55%, rgba(248, 250, 252, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.kdh-home-hero .container {
  z-index: 2;
}

.kdh-home-hero .header-main-content.heading1 h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.25rem);
  max-width: min(100%, 38rem);
  line-height: 1.07;
}

.kdh-home-hero .hero-section-image-homepage {
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.75) 100%);
  border: 1px solid var(--kdh-line);
  box-shadow: var(--kdh-shadow-2), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.kdh-home-hero .hero-section-image-homepage img {
  border-radius: 16px;
}

.kdh-hero-pills li {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.kdh-hero-pills li:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.18);
}

/* ----- Trust strip: accent + logo tiles ----- */
.homepage1-body .trusted-clients {
  padding-top: clamp(44px, 6vw, 72px) !important;
  padding-bottom: clamp(40px, 5vw, 64px) !important;
}

.homepage1-body .trusted-clients.kdh-trust-bar h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #818cf8, #a5b4fc);
}

.homepage1-body .trusted-clients h2 {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.homepage1-body .client-logos {
  gap: clamp(16px, 2.5vw, 28px) !important;
}

.homepage1-body .client-logos .logo {
  border-radius: var(--kdh-radius-md) !important;
  border-color: var(--kdh-line) !important;
  box-shadow: var(--kdh-shadow-1) !important;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease !important;
}

.homepage1-body .client-logos .logo:hover {
  border-color: rgba(99, 102, 241, 0.28) !important;
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.12) !important;
}

/* ----- About band + white about block ----- */
.homepage1-body .about-kdh-section {
  padding-top: clamp(56px, 8vw, 88px) !important;
  padding-bottom: clamp(56px, 8vw, 88px) !important;
}

.homepage1-body .about-kdh-text h1 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.homepage1-body .about1-section-area {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #fafbfc 100%);
}

.homepage1-body .about1-section-area .about-content-area.heading2 h2 {
  letter-spacing: -0.025em;
}

/* ----- Services grid ----- */
.homepage1-body .services-section {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.homepage1-body .services-section .service-header-area {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.homepage1-body .services-section .service-box {
  border: 1px solid var(--kdh-line) !important;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%) !important;
  border-radius: var(--kdh-radius-lg) !important;
  box-shadow: var(--kdh-shadow-1);
  padding: 1.5rem 1.4rem 1.35rem !important;
}

.homepage1-body .services-section .service-box:hover {
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: var(--kdh-shadow-2);
}

.homepage1-body .services-section .service-box h3 {
  letter-spacing: -0.02em;
}

.homepage1-body .services-section .read-more {
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.15rem !important;
}

/* ----- QC strip: softer hover (homepage) ----- */
.homepage1-body .qc-creative {
  padding-top: clamp(64px, 9vw, 100px) !important;
  padding-bottom: clamp(64px, 9vw, 100px) !important;
}

.homepage1-body .qc-card {
  border-radius: var(--kdh-radius-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.homepage1-body .qc-card:hover {
  transform: translateY(-6px);
}

.homepage1-body .qc-title {
  letter-spacing: -0.03em;
}

/* ----- “Why teams stick” side boxes ----- */
.homepage1-body .service2-auhtor-boxarea,
.homepage1-body .service2-auhtor2-boxarea {
  border-radius: var(--kdh-radius-md) !important;
  border: 1px solid var(--kdh-line) !important;
  box-shadow: var(--kdh-shadow-1) !important;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease !important;
}

.homepage1-body .service2-auhtor-boxarea:hover,
.homepage1-body .service2-auhtor2-boxarea:hover {
  transform: translateY(-4px);
  box-shadow: var(--kdh-shadow-2) !important;
}

/* ----- Consultation CTA band ----- */
.homepage1-body .homesection-freeconsultation {
  position: relative;
  overflow: hidden;
  border-radius: var(--kdh-radius-lg);
  margin-left: clamp(12px, 3vw, 24px);
  margin-right: clamp(12px, 3vw, 24px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.homepage1-body .homesection-freeconsultation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 75% 0%, rgba(129, 140, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(56, 189, 248, 0.1), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.homepage1-body .homesection-freeconsultation .container-homesection {
  position: relative;
  z-index: 1;
}

.homepage1-body .homesection-freeconsultation .consultation-btn {
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ----- Case studies row ----- */
.homepage1-body .case1-section-area .cs_case_study.cs_style_1 {
  border-radius: var(--kdh-radius-md) !important;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.homepage1-body .case1-section-area .cs_case_study.cs_style_1:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* ----- Project showcase (dark section) ----- */
.homepage1-body .project-showcase {
  border-radius: var(--kdh-radius-lg);
  margin-left: clamp(10px, 2.5vw, 20px);
  margin-right: clamp(10px, 2.5vw, 20px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
}

.homepage1-body .project-showcase .section-title {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.homepage1-body .project-showcase .projects-container .project {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.homepage1-body .project-showcase .projects-container .project:hover {
  transform: translateY(-8px);
}

.homepage1-body .project-showcase .project-img {
  border-radius: var(--kdh-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.homepage1-body .project-showcase .view-more a {
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage1-body .project-showcase .view-more a:hover {
  transform: translateY(-2px);
}

/* ----- Testimonials ----- */
.homepage1-body .testimonial1-section-area {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.homepage1-body .testimonial-header .heading2 h2 {
  letter-spacing: -0.025em;
}

/* ----- Blog cards ----- */
.homepage1-body .blog-section .blog-card {
  border-radius: var(--kdh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--kdh-line);
  box-shadow: var(--kdh-shadow-1);
  background: #fff;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.homepage1-body .blog-section .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--kdh-shadow-2);
  border-color: rgba(99, 102, 241, 0.22);
}

.homepage1-body .blog-section .blog-content {
  padding: 1.25rem 1.35rem 1.5rem;
}

.homepage1-body .blog-section h2 {
  letter-spacing: -0.03em;
}

/* ----- Industries ----- */
.homepage1-body .industries-section h2 {
  letter-spacing: -0.025em;
}

.homepage1-body .industry-card {
  border-radius: var(--kdh-radius-md) !important;
  border: 1px solid var(--kdh-line) !important;
  box-shadow: var(--kdh-shadow-1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease !important;
}

.homepage1-body .industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kdh-shadow-2);
  border-color: rgba(99, 102, 241, 0.25) !important;
}

/* ----- Process steps (cards on dark band — keep section bg from main) ----- */
.homepage1-body .kdh-process-heading {
  letter-spacing: -0.03em;
}

.homepage1-body .kdh-process-card {
  border-radius: var(--kdh-radius-lg) !important;
  border: 1px solid var(--kdh-line) !important;
  background: #fff !important;
  box-shadow: var(--kdh-shadow-1) !important;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease !important;
}

.homepage1-body .kdh-process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kdh-shadow-2) !important;
  border-color: rgba(99, 102, 241, 0.22) !important;
}

.homepage1-body .kdh-process-icon {
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
}

/* ----- Contact block ----- */
.homepage1-body .contact-boxarea {
  border-radius: var(--kdh-radius-lg) !important;
  border: 1px solid var(--kdh-line) !important;
  box-shadow: var(--kdh-shadow-2) !important;
}

.homepage1-body .contact-info-area {
  border-radius: var(--kdh-radius-md);
}

@media (prefers-reduced-motion: reduce) {
  .homepage1-body .project-showcase .projects-container .project:hover,
  .homepage1-body .blog-section .blog-card:hover,
  .homepage1-body .industry-card:hover,
  .homepage1-body .kdh-process-card:hover,
  .homepage1-body .case1-section-area .cs_case_study.cs_style_1:hover,
  .homepage1-body .qc-card:hover {
    transform: none !important;
  }

  .kdh-hero-pills li:hover {
    transform: none;
  }
}
