/* =====================================================
   1. COMMON — reset, tokens, shared type/utility styles
   ===================================================== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    :root {
      --bg-black: #0b0c0d;
      --bg-card: #141516;
      --bg-card-soft: #16171a;
      --border-card: #2a2b2c;
      --border-soft: rgba(255, 255, 255, 0.08);

      --gold: #c9a15a;
      --gold-soft: #d8b877;
      --gold-bright: #e8c98a;

      --grad-btn: linear-gradient(90deg, #ffffff 0%, #f2dcc0 45%, #efa06b 100%);
      --grad-hover: linear-gradient(135deg, #d9c9e8 0%, #f3d9c8 55%, #f2c6a8 100%);
      --grad-panel: linear-gradient(120deg, #eef0fb 0%, #fbeee0 45%, #f6d9c4 100%);

      --text-white: #f5f4f2;
      --text-muted: #a8a7a5;
      --text-dim: #7d7c7a;

      --hover-text: #2b2320;
      --hover-text-muted: #5c534c;

      --dark-text: #1c1a18;
      --dark-muted: #6b6560;

      --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
      --max-width: 1180px;
      --content-max-width: 1280px;
    }

    html,
    body {
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-body);
      background: var(--bg-black);
      color: var(--text-white);
      -webkit-font-smoothing: antialiased;
    }

    img,
    svg {
      display: block;
      max-width: 100%;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
    }

    ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

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

    .container {
      margin: 0 auto;
      max-width: var(--content-max-width);
      padding: 0 ;
      width: 100%;
    }

    .eyebrow {
      display: inline-block;
      font-size: 12px;
      letter-spacing: 0.14em;
      color: var(--gold-soft);
      position: relative;
      padding-bottom: 14px;
    }

    .eyebrow.centered {
      text-align: center;
      text-transform: uppercase;
    }

    .eyebrow.underline::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 48px;
      height: 1px;
      background: var(--gold-soft);
    }

    .eyebrow.centered.underline::after {
      left: 50%;
      transform: translateX(-50%);
    }

    .btn-gradient {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 30px;
      border-radius: 999px;
      border: none;
      background: var(--grad-btn);
      color: var(--dark-text);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }

    .btn-gradient svg {
      width: 16px;
      height: 16px;
      stroke: var(--dark-text);
    }

    .link-arrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: inherit;
    }

    .link-arrow svg {
      width: 15px;
      height: 15px;
      stroke: currentColor;
    }

 


    /* =====================================================
   3. HERO
   ===================================================== */
    .hero {
      position: relative;
      padding: 130px 0 110px;
      background:
        radial-gradient(ellipse at 82% 20%, rgba(201, 161, 90, 0.16), transparent 55%),
        linear-gradient(180deg, #101113 0%, #0b0c0d 60%, #0b0c0d 100%);
      overflow: hidden; 
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(90deg, rgba(201, 161, 90, 0.05) 0 1px, transparent 1px 120px),
        repeating-linear-gradient(0deg, rgba(201, 161, 90, 0.05) 0 1px, transparent 1px 120px);
      opacity: 0.5;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      text-align: center;
    }

    .breadcrumb {
      text-align: left;
      font-size: 12px;
      letter-spacing: 0.06em;
      color: var(--text-dim);
      margin-bottom: 70px;
    }

    .hero-eyebrow-wrap {
      text-align: center;
      margin-bottom: 26px;
    }

    .hero h1 {
      font-size: clamp(36px, 5.4vw, 64px);
      font-weight: 400;
      line-height: 1.1;
      margin: 0 0 34px;
      color: var(--text-white);
    }

    .hero-lede {
      font-size: 19px;
          color: #8a8a8a;
      margin: 0 0 18px;
    }

    .hero-sub {
      max-width: 620px;
      margin: 0 auto 42px;
      font-size: 16px;
      line-height: 1.7;
      color: var(--text-muted);
    }


    /* =====================================================
   4. FULL-CYCLE ENGINEERING — card grid section
   ===================================================== */
    .engineering-section {
      padding: 96px 0;
/*       border-bottom: 1px solid var(--border-soft); */
    }

    .section-header {
      text-align: center;
      max-width: 720px;
      margin: 0 auto 64px;
    }

    .section-header h2 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 400;
      line-height: 1.25;
      margin: 18px 0 18px;
      color: var(--text-white);
    }

    .section-header p {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-muted);
      margin: 0;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      justify-content: center;
      border-top: 1px solid var(--border-card);
      border-left: 1px solid var(--border-card);
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .card {
      position: relative;
      border-right: 1px solid var(--border-card);
      border-bottom: 1px solid var(--border-card);
      min-height: 260px;
      overflow: hidden;
    }

    .card-face {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      padding: 36px 32px;
      transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .card-front {
      background: var(--bg-card);
      align-items: flex-start;
      justify-content: flex-start;
      opacity: 1;
      transform: translateY(0);
    }

    .card-icon {
      width: 44px;
      height: 44px;
      margin-bottom: 28px;
      color: var(--gold-soft);
    }

    .card-icon svg {
      width: 100%;
      height: 100%;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.3;
    }

    .card-front h3 {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.4;
      color: var(--text-white);
      margin: 0;
    }

    .card-back {
      background: var(--grad-hover);
      justify-content: space-between;
      opacity: 0;
      transform: translateY(8px);
    }

    .card-back h3 {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.4;
      color: var(--hover-text);
      margin: 0 0 16px;
    }

    .card-back p {
      font-size: 14px;
      line-height: 1.6;
      color: var(--hover-text-muted);
      margin: 0;
    }

    .card:hover .card-front,
    .card:focus-within .card-front {
      opacity: 0;
      transform: translateY(-8px);
    }

    .card:hover .card-back,
    .card:focus-within .card-back {
      opacity: 1;
      transform: translateY(0);
    }

    .card:focus-visible {
      outline: 2px solid var(--gold-soft);
      outline-offset: -2px;
    }

    @media (max-width: 980px) {
      .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 560px) {
      .card-grid {
        grid-template-columns: 1fr;
      }

      .card {
        min-height: 220px;
      }

      .card-face {
        padding: 28px 24px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .card-face {
        transition: none;
      }
    }


    /* =====================================================
   5. THE ADITI DIFFERENCE
   ===================================================== */
    .difference-section {
      padding: 96px 0;
      border-bottom: 1px solid var(--border-soft);
    }

    .difference-panel {
      max-width: var(--max-width);
      margin: 0 auto;
      border-radius: 28px;
      background: #121213;
      border: 1px solid var(--border-soft);
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      overflow: hidden;
    }

    .difference-copy {
      padding: 64px 56px;
    }

    .difference-copy h2 {
      font-size: 28px;
      font-weight: 400;
      letter-spacing: 0.04em;
      margin: 0 0 22px;
      color: var(--text-white);
    }

    .difference-copy .headline {
      font-size: 21px;
      font-weight: 600;
      line-height: 1.4;
      color: var(--gold-soft);
      margin: 0 0 26px;
    }

    .difference-copy hr {
      border: none;
      border-top: 1px solid var(--border-soft);
      margin: 0 0 26px;
      width: 100%;
    }

    .difference-copy p {
      font-size: 15px;
      line-height: 1.75;
      color: var(--text-muted);
      margin: 0 0 20px;
    }

    @media (max-width: 900px) {
      .difference-panel {
        grid-template-columns: 1fr;
        border-radius: 20px;
      }

      .difference-copy {
        padding: 44px 28px;
      }

      .difference-visual {
        padding: 28px;
      }
    }


    /* =====================================================
   6. CASE STUDIES — "Real Applications. Clear Outcomes."
   ===================================================== */
    .case-studies-section {
      padding: 100px 0;
      background: var(--grad-panel);
      color: var(--dark-text);
    }

    .case-studies-section .eyebrow {
      color: #9a6a3d;
    }

    .case-studies-section .eyebrow.underline::after {
      background: #9a6a3d;
    }

    .case-studies-section .section-header h2 {
      color: var(--dark-text);
    }

    .case-grid {
      max-width: var(--max-width);
      margin: 56px auto 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      position: relative;
    }

    .case-grid::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 1px;
      background: rgba(0, 0, 0, 0.12);
    }

    .case-col {
      padding: 0 48px;
    }

    .case-col:first-child {
      padding-left: 0;
    }

    .case-col:last-child {
      padding-right: 0;
    }

    .case-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--dark-text);
      margin-bottom: 18px;
    }

    .case-col h3 {
      font-size: 27px;
      font-weight: 400;
      line-height: 1.35;
      margin: 0 0 20px;
      color: var(--dark-text);
    }

    .case-col p {
      font-size: 15px;
      line-height: 1.7;
      color: var(--dark-muted);
      margin: 0 0 26px;
    }

    .stat-bar {
      display: flex;
      background: #101113;
      border-radius: 10px;
      padding: 22px 26px;
      gap: 28px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .stat-bar .stat {
      flex: 1;
      min-width: 100px;
    }

    .stat-bar .stat .stat-figure {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: var(--text-white);
      margin-bottom: 4px;
    }

    .stat-bar .stat .stat-caption {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .case-col .link-arrow {
      color: var(--dark-text);
      font-weight: 600;
    }

    @media (max-width: 900px) {
      .case-grid {
        grid-template-columns: 1fr;
        gap: 56px;
      }

      .case-grid::before {
        display: none;
      }

      .case-col,
      .case-col:first-child,
      .case-col:last-child {
        padding: 0;
      }
    }


    /* =====================================================
   7. INSIGHTS — "Application and Platform Insights"
   ===================================================== */
    .insights-section {
      padding: 100px 0;
      border-bottom: 1px solid var(--border-soft);
    }

    .insights-grid {
      max-width: var(--max-width);
      margin: 56px auto 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .insight-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: 8px;
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      min-height: 220px;
    }

    .insight-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--gold-soft);
      margin-bottom: 20px;
    }

    .insight-card h3 {
      font-size: 19px;
      font-weight: 400;
      line-height: 1.4;
      color: var(--text-white);
      margin: 0 0 auto;
      flex: 1;
    }

    .insight-card .link-arrow {
      color: var(--gold-soft);
      font-weight: 600;
      margin-top: 24px;
    }

    @media (max-width: 900px) {
      .insights-grid {
        grid-template-columns: 1fr;
      }
    }


    /* =====================================================
   8. FOOTER
   ===================================================== */
    .site-footer {
      padding: 72px 24px 40px;
      background: var(--bg-black);
    }

    .footer-top {
      max-width: var(--max-width);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 40px;
    }

    .footer-logo .logo-top {
      font-size: 30px;
      letter-spacing: 0.18em;
    }

    .footer-logo .logo-bottom {
      font-size: 12px;
      letter-spacing: 0.4em;
      margin-top: 10px;
    }

    .footer-social {
      display: flex;
      gap: 16px;
      margin: 36px 0 26px;
    }

    .footer-social a {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-social svg {
      width: 16px;
      height: 16px;
      fill: var(--text-white);
    }

    .footer-address {
      font-size: 13px;
      line-height: 1.7;
      color: var(--text-dim);
    }

    .footer-nav {
      display: flex;
      gap: 60px;
      justify-content: flex-end;
    }

    .footer-nav ul {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .footer-nav a {
      font-size: 14px;
      color: var(--text-muted);
    }

    .footer-nav a:hover {
      color: var(--text-white);
    }

    .footer-bottom {
      max-width: var(--max-width);
      margin: 56px auto 0;
      padding-top: 24px;
      border-top: 1px solid var(--border-soft);
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
    }

    @media (max-width: 720px) {
      .footer-top {
        grid-template-columns: 1fr;
      }

      .footer-nav {
        justify-content: flex-start;
        gap: 40px;
      }
    }

    /* =====================================================
   9. UI MATCH — fade underlines, spacing, dividers, type
   ===================================================== */
    html {
      scroll-behavior: smooth;
    }

    /* Eyebrow + faded underline (transparent -> gold -> transparent) */
    .eyebrow {
      font-size: 14px;
      letter-spacing: 0.2em;
      color: var(--text-white);
      padding-bottom: 15px;
    }

    .eyebrow.centered.underline::after {
      left: 50%;
      transform: translateX(-50%);
      width: min(220px, 90vw);
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    }


    .case-studies-section .eyebrow {
      color: var(--dark-text);
    }

    .case-studies-section .eyebrow.centered.underline::after {
      background: linear-gradient(90deg, transparent 0%, rgba(28, 26, 24, 0.55) 50%, transparent 100%);
    }

    /* Section headings: light weight, large */
    .section-header {
      max-width: 1240px;
    }

    .section-header h2 {
      font-size: clamp(30px, 3.5vw, 62px);
      font-weight: 300;
      margin: 40px 0 26px;
    }

    .section-header p {
      font-size: clamp(16px, 1.25vw, 22px);
      font-weight: 300;
    }

    /* Gradient CTA: rounded rectangle like the UI */
    .btn-gradient {
      border-radius: 16px;
      padding: 21px 36px;
      font-size: 17px;
      letter-spacing: 0;
    }

    /* Banner */
    .hero {
      padding: 12vw 0 120px;
        background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
    }

    .breadcrumb {
      position: relative;
      z-index: 1;
      width: min(1448px, 100% - 48px);
      margin: 0 auto 96px;
      text-align: left;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.1em;
      color: var(--text-white);
    }

    .hero-eyebrow-wrap {
      margin-bottom: 40px;
    }

    .hero h1 {
      font-weight: 300;
      font-size: clamp(34px, 3.5vw, 64px);
      margin-bottom: 44px;
    }

    .hero-lede {
      font-size: clamp(18px, 1.35vw, 24px);
      font-weight: 300;
      margin-bottom: 20px;
    }

    .hero-sub {
      max-width: 800px;
      font-size: clamp(16px, 1.15vw, 20px);
      font-weight: 300;
      color: rgba(245, 244, 242, 0.92);
      margin-bottom: 48px;
    }

    /* Full-cycle: separate boxes with a gap */
   

    /* Aditi Difference */
    .difference-panel {
      max-width: 1505px;
      border-radius: 28px;
      background: #0b0c10;
      border: 1px solid rgba(255, 255, 255, 0.14);
      grid-template-columns: 0.93fr 1fr;
    }

    .difference-copy {
      padding: 72px 70px 62px;
    }

    .difference-copy h2 {
      font-size: clamp(28px, 2.3vw, 38px);
      font-weight: 300;
      letter-spacing: 0.01em;
      margin-bottom: 26px;
      background: linear-gradient(90deg, #f5f4f2 0%, #f5f4f2 35%, #e8c98a 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      width: fit-content;
    }

    .difference-copy .headline {
      font-size: clamp(20px, 1.5vw, 26px);
      font-weight: 700;
      color: var(--gold-bright);
      margin-bottom: 0;
    }

    .difference-copy hr {
      height: 1px;
      width: min(363px, 100%);
      margin: 48px 0 40px;
      border: 0;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
    }

    .difference-copy p {
      font-size: clamp(16px, 1.2vw, 19px);
      font-weight: 300;
      line-height: 1.6;
      color: #b0afac;
      margin-bottom: 28px;
    }

    .difference-copy .btn-gradient {
      margin-top: 12px;
    }

    .difference-visual {
      position: relative;
      padding: 0;
      min-height: 420px;
      background: #0b0c10;
      display: block;
    }

    .difference-visual img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: left center;
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
      mask-image: linear-gradient(90deg, transparent 0, #000 16%);
    }

    @media (max-width: 900px) {
      .difference-panel {
        grid-template-columns: 1fr;
        border-radius: 20px;
      }

      .difference-copy {
        padding: 44px 28px;
      }

      .difference-visual {
        min-height: 320px;
      }

      .difference-visual img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
        mask-image: linear-gradient(180deg, transparent 0, #000 16%);
      }
    }

    /* Proven, not promised: real gap + divider that fades top and bottom */
    .case-studies-section {
      background: linear-gradient(90deg, #ffffff 0%, #eeeef9 8%, #faf1e3 50%, #f4d3c6 100%);
    }

    .case-grid {
      max-width: 1465px;
      column-gap: 140px;
      margin-top: 64px;
    }

    .case-grid::before {
      width: 1px;
      top: 0;
      bottom: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(28, 26, 24, 0.28) 22%, rgba(28, 26, 24, 0.28) 78%, transparent 100%);
    }

    .case-col,
    .case-col:first-child,
    .case-col:last-child {
      padding: 0;
    }

    .case-label {
      font-size: 15px;
      font-weight: 400;
      letter-spacing: 0.02em;
      margin-bottom: 26px;
    }

    .case-col h3 {
      font-size: clamp(28px, 2.2vw, 40px);
      font-weight: 300;
      line-height: 1.22;
      max-width: 470px;
      margin-bottom: 30px;
    }

    .case-col p {
      font-size: clamp(16px, 1.1vw, 19px);
      font-weight: 300;
      color: #4a4541;
      margin-bottom: 30px;
    }

    .stat-bar {
      background: linear-gradient(180deg, #0d0e10 0%, #17181b 100%);
      border-radius: 18px;
      padding: 26px 30px;
      gap: 0;
      margin-bottom: 44px;
      flex-wrap: nowrap;
    }

    .stat-bar .stat {
      min-width: 0;
      padding: 0 22px;
    }

    .stat-bar .stat:first-child {
      padding-left: 0;
    }

    .stat-bar .stat+.stat {
      border-left: 1px solid rgba(255, 255, 255, 0.14);
    }

    .stat-bar .stat .stat-figure {
      font-size: 17px;
      font-weight: 400;
      margin-bottom: 8px;
    }

    .stat-bar .stat .stat-caption {
      font-size: 13px;
    }

    @media (max-width: 900px) {
      .case-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        column-gap: 0;
      }

      .case-grid::before {
        display: none;
      }

      .stat-bar {
        flex-wrap: wrap;
        gap: 20px 0;
      }

      .stat-bar .stat {
        flex: 1 1 40%;
      }
    }


 

    /* =====================================================
   10. MOBILE PADDING ADJUSTMENTS
   ===================================================== */
    @media (max-width: 768px) {
      .hero {
        padding: 80px 0 60px;
      }

      .engineering-section,
      .difference-section,
      .case-studies-section,
      .insights-section {
        padding: 64px 0;
      }

      .site-footer {
        padding: 48px 24px 32px;
      }

      .section-header {
        margin-bottom: 40px;
      }

      .section-header h2 {
        margin: 12px 0 16px;
      }

      .case-grid {
        margin-top: 40px;
      }

      .insights-grid {
        margin-top: 40px;
      }
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-intro { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .spice-card { min-height: 92px; padding: 16px 16px 16px 18px; gap: 14px; }
  .spice-letter { width: 44px; font-size: 48px; }
  .spice-body { max-width: none; }
  .spice-body p { font-size: 12px; }

  .video-card { flex-basis: 150px; }
  .video-card .video-meta { opacity: 1; transform: none; }   /* no hover on touch */
  .video-card .play-icon { display: none; }
  .video-card img { filter: grayscale(0.4); }

  .marquee-wrap { gap: 8px; }
  .marquee-track { gap: 8px; padding-right: 8px; }
  .marquee { --speed: 35s; }

  .benefit-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin-inline: auto; }
  .benefit-actions .btn { justify-content: center; }

  .steps { grid-template-columns: 1fr; }
  .step { min-height: 96px; }

  .video-modal__close { top: -46px; }
}



/* ==========================================================
   Responsive fixes: tablet + mobile (desktop untouched)
   Pages: capacity, services, ai-data-transformation,
   cloud-infrastructure-operations
   ========================================================== */
@media (max-width: 1024px) {
  /* Hero: clear the fixed header, drop forced line breaks */
  body .hero { padding-top: 130px; }
  body .hero-inner p br,
  body .section-header p br,
  body .section-head1 p br { display: none; }

  /* Engagement / capability cards: 2 per row */
  body .card-grid { gap: 20px; }
  body .card-grid .card { width: calc(50% - 10px); min-height: 340px; }

  /* Section heading (Heading module) */
  body .section-head1 .title { font-size: clamp(28px, 5vw, 40px); }

  /* Side gutters for full-width modules */
  body .svc-difference .svc-container,
  body .svc-difference1 .svc-container,
  body .svc-case-studies .svc-container { padding: 0 24px; }

  /* Difference panels: stop long buttons forcing overflow */
  body .svc-difference .svc-difference-panel,
  body .svc-difference1 .svc-difference-panel { grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); }
  body .svc-difference .svc-btn-gradient,
  body .svc-difference1 .svc-btn-gradient { white-space: normal; max-width: 100%; }

  /* Stats row (Our Reach) */
  body .svc-case-studies .svc-case-grid--row .svc-case-col,
  body .svc-case-studies .svc-case-grid--row .svc-case-col:first-child,
  body .svc-case-studies .svc-case-grid--row .svc-case-col:last-child { padding: 0 12px; }
  body .svc-case-studies .svc-case-grid--row .svc-case-col h3 { margin-left: auto; margin-right: auto; }

  /* Case study stat bars: keep on one row */
  body .svc-case-studies .svc-stat-bar { flex-wrap: nowrap; gap: 0; }
  body .svc-case-studies .svc-stat-bar .svc-stat { flex: 1 1 0; padding: 0 12px; }
  body .svc-case-studies .svc-stat-bar .svc-stat:first-child { padding-left: 0; }
  body .svc-case-studies .svc-stat-bar .svc-stat-caption { min-height: 0; }

  /* Insights: hide decorative background track behind text */
  body .svc-insights .svc-insights__bg { display: none; }

  /* Guide image: don't let it fill the whole screen */
  body .guide-grid img { max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 900px) {
  body .svc-difference .svc-difference-panel,
  body .svc-difference1 .svc-difference-panel { grid-template-columns: minmax(0, 1fr); }
  body .svc-difference .svc-difference-visual,
  body .svc-difference1 .svc-difference-visual { min-height: 0; }
  body .svc-difference .svc-difference-visual img,
  body .svc-difference1 .svc-difference-visual img {
    position: relative;
    inset: auto;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
  }
  body .svc-case-studies .svc-case-grid.svc-case-grid--row { gap: 40px; }
  body .svc-case-studies .svc-case-grid--row .svc-case-col h3 { margin-bottom: 0; }
}

@media (max-width: 767px) {
  body .hero { padding-top: 120px; }

  body .card-grid .card { width: 100%; min-height: 260px; }

  body .svc-difference .svc-container,
  body .svc-difference1 .svc-container,
  body .svc-case-studies .svc-container { padding: 0 16px; }
  body .svc-difference .svc-difference-copy,
  body .svc-difference1 .svc-difference-copy { padding: 36px 22px; }

  body .svc-case-studies .svc-case-grid.svc-case-grid--row { gap: 32px; }

  /* Stat bars: 2 x 2 on phones */
  body .svc-case-studies .svc-stat-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  body .svc-case-studies .svc-stat-bar .svc-stat,
  body .svc-case-studies .svc-stat-bar .svc-stat:first-child { padding: 0 12px; border-left: none; }
  body .svc-case-studies .svc-stat-bar .svc-stat:nth-child(odd) { padding-left: 0; }
  body .svc-case-studies .svc-stat-bar .svc-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14); }
}


/* ==========================================================
   Responsive fixes (tablet + mobile) - solution pages:
   solution, ai-driven-cloud-transformation, ai-powered-legacy-modernization
   ========================================================== */
@media (max-width: 1024px) {
  /* Long eyebrow labels must wrap instead of running off-screen */
  body .cd-eyebrow-label { white-space: normal; text-align: center; line-height: 1.6; }

  /* How it works: consistent side gutters */
  body .hiw-section { padding-left: 24px; padding-right: 24px; }
  body .hiw-card-desc br { display: none; }
}

@media (max-width: 900px) {
  /* Impact panels: dark scrim so text over photos stays readable */
  body .impact-panel { position: relative; isolation: isolate; min-height: 0; }
  body .impact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(8, 9, 12, .88) 0%, rgba(8, 9, 12, .7) 55%, rgba(8, 9, 12, .45) 100%);
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  /* Section headings: scale down on phones */
  body .section-title { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.25; }

  /* Challenge / Approach slider: use the full width */
  body .better-delivery-section .container { padding-left: 0; padding-right: 0; }
  body .better-delivery-section .slide-col { padding: 28px 22px; }
  body .better-delivery-section .slide-image { min-height: 240px; }

  /* Proven teaser: match gutters used elsewhere */
  body .proven-teaser-section { padding-left: 20px; padding-right: 20px; }

  /* How it works cards: single column, no sticky stacking on phones */
  body .hiw-section { padding-left: 16px; padding-right: 16px; padding-bottom: 40px; }
  body .hiw-card {
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    top: auto;
    animation: none;
    transform: none;
    filter: none;
    padding: 14px;
    margin-bottom: 20px;
  }
  body .hiw-card-copy { padding: 22px 10px 26px; }
  body .hiw-card-image { height: 220px; }
}


/* ==========================================================
   Responsive fixes (tablet + mobile) - careers pages:
   careers, consultant-careers, corporate-careers
   ========================================================== */
@media (max-width: 1024px) {
  /* People at Aditi intro */
  body .impact-intro .title { line-height: 1.25; margin: 24px 0; }
  body .impact-intro .lead { font-size: 18px; line-height: 1.65; }

  /* Support beyond the role */
  body .svc-hero { padding-left: 24px; padding-right: 24px; }
  body .svc-hero-sub br { display: none; }

  /* Aditi advantage cards: let the text wrap inside the card */
  body .spice-card .spice-body { flex: 1 1 auto; min-width: 0; }
  body .spice-card .spice-body p { white-space: normal; }

  /* Hiring process heading */
  body .hiring .section-head .title { font-size: 3rem; line-height: 1.15; }
}

@media (max-width: 767px) {
  body .impact-intro { padding: 10px 20px 0; }
  body .impact-intro .lead { font-size: 17px; }
  body .video-card { flex-basis: 210px; }

  body .svc-hero { padding: 72px 20px; }

  /* Your journey intro text: use the full width */
  body .hiw-container > p {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 17px;
    transform: none;
  }

  /* Aditi advantage */
  body .spice .container { padding-left: 0; padding-right: 0; }
  body .spice .section-head1 .title br { display: none; }
  body .spice .section-head1 .lead { max-width: 100%; }
  body .spice-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px; min-height: 0; }
  body .spice-card .spice-letter { white-space: normal; width: auto; font-size: 30px; line-height: 1.15; }
  body .spice-card .spice-letter br { display: none; }
  body .spice-card .spice-body,
  body .spice-card .spice-body p { text-align: left; font-size: 14px; }
  body .spice-card .spice-body p br { display: none; }

  /* Hiring process: smaller heading, 2 x 2 steps */
  body .hiring .section-head .title { font-size: clamp(34px, 10vw, 44px); }
  body .hiring .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body .hiring .step { min-height: 140px; min-width: 0; }

  /* CTA buttons: equal width when stacked */
  body .full-cta__actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}


/* -----------------------------------------------------
   MOBILE ONLY — faster, smoother scroll animations
   (desktop untouched)
   ----------------------------------------------------- */
@keyframes hiwCardExitMobile {
  to { transform: scale(.93); opacity: .45; }
}

@media (max-width: 767px) {
  /* Reveal-on-scroll: shorter duration + compressed stagger */
  .hero-breadcrumb,
  .full-cta__content.is-visible .full-cta__eyebrow {
    animation-duration: .4s !important;
    animation-delay: 0s !important;
  }
  .hero-inner.is-visible .hero-eyebrow-wrap,
  .better-delivery-section.is-visible .eyebrow,
  .cd-container.is-visible .cd-eyebrow-wrap,
  .accordion-showcase__intro.is-visible .accordion-showcase__eyebrow,
  .insights-showcase__intro.is-visible .insights-showcase__eyebrow,
  .full-cta__content.is-visible .full-cta__heading {
    animation-duration: .4s !important;
    animation-delay: .05s !important;
  }
  .hero-inner.is-visible h1,
  .better-delivery-section.is-visible .section-title,
  .cd-container.is-visible .cd-card:first-child,
  .cd-container.is-visible .cd-heading,
  .transform-cta-copy.is-visible a,
  .transform-cta-copy.is-visible h2,
  .transform-cta-copy.is-visible p,
  .impact-grid.is-visible .impact-panel:first-child,
  .proven-teaser-header.is-visible .proven-teaser-eyebrow,
  .accordion-showcase__intro.is-visible .accordion-showcase__heading,
  .insights-showcase__intro.is-visible .insights-showcase__heading,
  .full-cta__content.is-visible .full-cta__subheading,
  .svc-section-header.is-visible span {
    animation-duration: .4s !important;
    animation-delay: .1s !important;
  }
  .hero-inner.is-visible .hero-lede,
  .cd-container.is-visible .cd-card:nth-child(2),
  .proven-teaser-header.is-visible .proven-teaser-heading,
  .accordion-showcase__intro.is-visible .accordion-showcase__subheading,
  .insights-showcase__intro.is-visible .insights-showcase__subheading,
  .full-cta__content.is-visible .full-cta__actions {
    animation-duration: .4s !important;
    animation-delay: .15s !important;
  }
  .hero-inner.is-visible .video-hero__actions,
  .full-cta__content.is-visible .full-cta__text {
    animation-duration: .4s !important;
    animation-delay: .2s !important;
  }
  .cd-container.is-visible .cd-card:nth-child(3),
  .impact-grid.is-visible .impact-panel:nth-child(2),
  .proven-teaser-col.is-visible .proven-teaser-label,
  .svc-section-header.is-visible h2 {
    animation-duration: .4s !important;
    animation-delay: .25s !important;
  }
  .cd-container.is-visible .cd-card:nth-child(n+4),
  .proven-teaser-col.is-visible .proven-teaser-title,
  .proven-teaser-col.is-visible .proven-teaser-description,
  .proven-teaser-col.is-visible .proven-teaser-link,
  .proven-teaser-col.is-visible .proven-teaser-text,
  .svc-case-grid.is-visible .svc-case-label,
  .svc-case-grid.is-visible h3,
  .svc-case-grid.is-visible p,
  .svc-case-grid.is-visible .svc-stat-bar {
    animation-duration: .4s !important;
    animation-delay: .3s !important;
  }

  /* How It Works stacked cards: GPU-only props (no filter repaint), shorter scroll range */
  body .hiw-card {
    animation-name: hiwCardExitMobile;
    animation-range: exit -5% exit 30%;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: none;
  }
}