/* ==========================================================================
   KloudData — Life at KloudData
   Dedicated, self-contained stylesheet for
   page-templates/tmpl-life-at-klouddata.php

   Namespaced under .kd-life. This page is a brand-new, bespoke section
   layout (not a clone of any existing page's section structure), but it
   reuses the EXACT design tokens already established across the theme's
   "Services" page family (see assets/css/predictive-analytics.css lines
   1-60 and assets/css/ai-ml-services.css lines 85-130): Plus Jakarta Sans
   800 navy (#0D1B2E) headings, Inter body copy in #6B7A99, the
   linear-gradient(90.47deg, #01AEF0 -0.02%, #01D4DA 97.78%) accent-text
   gradient, the #004195 solid pill button (.kd-aiml-btn--primary pattern),
   1280px container, #E2E6F0-bordered 16px cards, and the #0B1733 dark
   navy band. Does not read or extend main.css tokens — fully self
   contained, like every other page's CSS in this theme.

   Sections: 1 Hero (photo + heading + CTA), 2 "Serious About the Work"
   (2x2 card grid), 3 dark band "The Things That Make Work Better"
   (divider-grid pattern cloned from .kd-sfsec-compliance-grid /
   .kd-sfsec-compliance-card in salesforce-security-compliance.css),
   4 "Different Skills. One Team." (2x2 photo grid), 5 split photo +
   checklist, 6 "There's More to Work Than the Work" (CSS column masonry
   gallery), 7 Final CTA (dark rounded card, cloned from the .kd-*-cta2
   pattern used on every other service page's final CTA).
   ========================================================================== */

.kd-life {
  --life-navy:        #0D1B2E;
  --life-body:        #6B7A99;
  --life-white:       #ffffff;
  --life-blue:        #004195;
  --life-card-border: #E2E6F0;
  --life-card-bg:     #ffffff;
  --life-light-bg:    #F2F5FA;
  --life-dark-navy:   #0B1733;
  --life-dark-body:   #FFFFFFCC;
  --life-dark-line:   rgba(255,255,255,0.1);
  --life-icon-bg:     rgba(1,174,240,0.1);
  --life-icon-stroke: #01AEF0;
  --life-accent-grad: linear-gradient(90.47deg, #01AEF0 -0.02%, #01D4DA 97.78%);
  --life-max:         1280px;
  --life-radius-lg:   20px;
  --life-radius-md:   16px;
  --life-radius-sm:   10px;
  --life-shadow:      0 8px 30px rgba(12,20,48,0.06);
  --life-font-head:   'Plus Jakarta Sans', 'Inter', sans-serif;
  --life-font-body:   'Inter', system-ui, -apple-system, sans-serif;

  font-family: var(--life-font-body);
  color: var(--life-navy);
  background: var(--life-white);
  overflow-x: hidden;
}

.kd-life h1, .kd-life h2, .kd-life h3, .kd-life h4 {
  font-family: var(--life-font-head);
  color: var(--life-navy);
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
}
.kd-life p { margin: 0; font-family: var(--life-font-body); }
.kd-life a { text-decoration: none; }
.kd-life ul { margin: 0; padding: 0; list-style: none; }
.kd-life button { font-family: inherit; cursor: pointer; }
.kd-life svg { display: block; }
.kd-life img { max-width: 100%; }

.kd-life .accent {
  background: linear-gradient(90deg, #004195 0%, #01AEF0 85.58%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kd-life-wrap {
  max-width: var(--life-max);
  margin: 0 auto;
  padding: 0 32px;
}

.kd-life-section { padding: 88px 0; background: var(--life-white); }
.kd-life-section--light { background: var(--life-light-bg); }

/* ── Shared centered section head ─────────────────────────── */
.kd-life-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.kd-life-head h2 { font-size: 48px; line-height: 58px; margin-bottom: 16px; }
.kd-life-head p { font-size: 18px; line-height: 28px; color: var(--life-body); }

/* ── Buttons ──────────────────────────────────────────────── */
.kd-life-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.kd-life-btn--primary { background: var(--life-blue); color: #fff; }
.kd-life-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12,20,48,0.24); }
.kd-life-btn--primary:focus-visible { outline: 2px solid var(--life-blue); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ══════════════════════════════════════════════════════════════ */
.kd-life-hero-merged { position: relative; background-color: var(--life-white); }
.kd-life-hero-merged-has-bg {
  background-size: 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
}
.kd-life-hero { padding: 150px 0 88px; background: transparent; }
/* Section 2 sits inside the merged wrapper right after the Hero, so its
   own light background is made transparent here too — scoped to this
   context only, so Section 5's identical --light class elsewhere on the
   page keeps its normal background. */
.kd-life-hero-merged .kd-life-section--light { background: #F2F5FA; border-top: 1px solid #E4E8EF;}
.kd-life-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kd-life-hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 22px;
}
.kd-life-hero-lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--life-body);
  max-width: 500px;
  margin-bottom: 32px;
}
.kd-life-hero-visual {
  border-radius: var(--life-radius-lg);
  overflow: hidden;
  box-shadow: var(--life-shadow);
}
.kd-life-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}
.kd-life-hero-visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  background: var(--life-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--life-body);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — "Serious About the Work. Human About How We Work."
   ══════════════════════════════════════════════════════════════ */
.kd-life-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kd-life-card {
  background: var(--life-card-bg);
border: 1px solid #E4E8EF;
  border-radius: 16px;
  padding: 28px;
}
.kd-life-card-icon {
 width: 50px;
    height: 50px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(230, 247, 254, 0.5) 0%, #E6F7FE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.kd-life-card-icon img,
.kd-life-card-icon svg { width: auto; height: auto; stroke: #004195; }
.kd-life-card h3 {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 10px;
}
.kd-life-card p {
  font-size: 16px;
  line-height: 26px;
  color: var(--life-body);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 3 — Dark band "The Things That Make Work Better."
   Divider-grid pattern cloned from .kd-sfsec-compliance-grid /
   .kd-sfsec-compliance-card (salesforce-security-compliance.css).
   ══════════════════════════════════════════════════════════════ */
.kd-life-dark {
  position: relative;
  background: var(--life-dark-navy);
  padding: 96px 0;
  overflow: hidden;
}
/* Optional low-key decorative image, bottom-left corner — same pattern
   as .kd-sfsec-compliance-bg on the Salesforce Agentforce / Security &
   Compliance pages' dark divider-grid sections. */
.kd-life-dark-bg {
  position: absolute;
  left: 0; bottom: 40px;
  width: 220px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.kd-life-dark-wrap { position: relative; z-index: 1; }
.kd-life-dark-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.kd-life-dark-content h2 {
  color: #fff;
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 20px;
}
.kd-life-dark-content p {
  font-size: 18px;
  line-height: 28px;
  color: var(--life-dark-body);
  max-width: 460px;
}
.kd-life-divider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.kd-life-divider-card {
  padding: 0 40px 32px 0;
  margin-bottom: 32px;
  border-right: 1px solid var(--life-dark-line);
  border-bottom: 1px solid var(--life-dark-line);
}
.kd-life-divider-card:nth-child(2n) {
  padding-right: 0;
  padding-left: 40px;
  border-right: none;
}
.kd-life-divider-card:nth-last-child(-n+2) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.kd-life-divider-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.kd-life-divider-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--life-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-life-divider-icon img,
.kd-life-divider-icon svg { width: 20px; height: 20px; stroke: var(--life-icon-stroke); }
.kd-life-divider-card h3 {
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}
.kd-life-divider-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--life-dark-body);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 4 — "Different Skills. One Team."
   ══════════════════════════════════════════════════════════════ */
.kd-life-s4-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.kd-life-s4-head h2 { font-size: 48px;
    line-height: 58px;}
.kd-life-s4-head p {
 font-size: 18px;
    line-height: 28px;
    color: var(--life-body);
    text-align: left;
}
.kd-life-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.kd-life-photo {
  border-radius: var(--life-radius-md);
  overflow: hidden;
  background: var(--life-light-bg);
}
.kd-life-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 5 — Split photo + content + checklist
   ══════════════════════════════════════════════════════════════ */
.kd-life-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kd-life-split-photo {
  border-radius: var(--life-radius-lg);
  overflow: hidden;
  box-shadow: var(--life-shadow);
}
.kd-life-split-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  display: block;
}
.kd-life-split-content h2 {
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 18px;
}
.kd-life-split-content > p {
  font-size: 18px;
  line-height: 28px;
  color: var(--life-body);
  margin-bottom: 32px;
}
.kd-life-checklist { display: flex; flex-direction: column; gap: 22px; }
.kd-life-checklist-item { display: flex; align-items: flex-start; gap: 16px; }
.kd-life-checklist-dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(230, 247, 254, 0.5) 0%, #E6F7FE 100%);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kd-life-checklist-dot::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #01AEF0;
  opacity: 1;
}
.kd-life-checklist-item h4 {
 font-family: var(--life-font-head);
    font-weight: 700;
    font-size: 22px;
    color: #0D1B2E;
    margin-bottom: 6px;
}
.kd-life-checklist-item p {
  font-size: 16px;
  line-height:26px;
  color: var(--life-body);
}

/* ══════════════════════════════════════════════════════════════
   SECTION 6 — "There's More to Work Than the Work." (masonry gallery)
   ══════════════════════════════════════════════════════════════ */
.kd-life-masonry {
  columns: 3;
  column-gap: 16px;
}
.kd-life-masonry img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: var(--life-radius-md);
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 7 — Final CTA (cloned from the sitewide .kd-*-cta2 pattern)
   ══════════════════════════════════════════════════════════════ */
.kd-life-cta-wrap { padding-bottom: 120px; }
.kd-life-cta {
  background-size: cover;
  background-position: center;
  border-radius: var(--life-radius-lg);
  padding: 64px 32px;
  overflow: hidden;
}
.kd-life-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.kd-life-cta-inner h2 {
  font-size: 48px;
  line-height: 58px;
  color: #fff;
  margin-bottom: 16px;
}
.kd-life-cta-inner p {
  font-size: 18px;
  line-height: 28px;
  color: var(--life-dark-body);
  margin-bottom: 32px;
}
.kd-life-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: background .18s ease;
}
.kd-life-cta-btn:hover { background: rgba(255,255,255,0.08); }
.kd-life-cta-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--life-dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .kd-life-hero { padding: 120px 0 64px; }
  .kd-life-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .kd-life-hero h1 { font-size: 40px; }
  .kd-life-hero-lead { max-width: 100%; }
  .kd-life-cards-grid { grid-template-columns: 1fr; }
  .kd-life-dark-layout { grid-template-columns: 1fr; gap: 36px; }
  .kd-life-dark-content h2 { font-size: 34px; }
  .kd-life-dark-content p { max-width: 100%; }
  .kd-life-s4-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .kd-life-s4-head p { text-align: left; }
  .kd-life-photos-grid { grid-template-columns: 1fr 1fr; }
  .kd-life-split { grid-template-columns: 1fr; gap: 36px; }
  .kd-life-split-content h2 { font-size: 32px; }
  .kd-life-masonry { columns: 2; }
}
@media (max-width: 640px) {
  .kd-life-wrap { padding: 0 20px; }
  .kd-life-section { padding: 56px 0; }
  .kd-life-dark { padding: 64px 0; }
  .kd-life-head h2 { font-size: 30px; }
  .kd-life-divider-grid { grid-template-columns: 1fr; }
  .kd-life-divider-card {
    padding: 0 0 24px 0 !important;
    margin-bottom: 24px;
    border-right: none !important;
  }
  .kd-life-divider-card:last-child {
    border-bottom: none !important;
    margin-bottom: 0;
    padding-bottom: 0 !important;
  }
  .kd-life-photos-grid { grid-template-columns: 1fr; }
  .kd-life-cta-inner h2 { font-size: 26px; }
  .kd-life-masonry { columns: 1; }
}
