/* ==========================================================================
   BHARATEDGE — SOLUTIONS HUB PAGE (solutions.html)
   Scope: solutions.html only. Loaded after css/style.css, animations.css and
   responsive.css. Reuses the site's tokens (--primary, --accent, --border,
   --shadow-*, --radius-*), the .section-title, .primary-btn/.secondary-btn
   and .cta components. All new selectors are namespaced `.slx-`.
   ========================================================================== */

.slx-sec { position: relative; padding: 112px 0; overflow: hidden; }
@media (max-width: 768px) { .slx-sec { padding: 80px 0; } }

/* ---------- 1. HERO ---------- */
.slx-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: 160px 0 96px;
  background:
    radial-gradient(ellipse 820px 560px at 82% 40%, rgba(20, 100, 145, .45), transparent 62%),
    radial-gradient(ellipse 560px 400px at 4% 100%, rgba(245, 158, 11, .09), transparent 65%),
    linear-gradient(165deg, #0b3c5d 0%, #072b42 52%, #04101c 100%);
}
.slx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(169, 211, 238, .07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(169, 211, 238, .07) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 72% 46%, #000 25%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 85% at 72% 46%, #000 25%, transparent 85%);
}
.slx-hero-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.slx-hero .section-tag { display: inline-block; margin-bottom: 18px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 3px; }
.slx-hero h1 { margin-bottom: 22px; color: #fff; font-size: clamp(34px, 4.3vw, 56px); font-weight: 800; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.slx-hero h1 span { color: var(--accent); }
.slx-hero p.slx-lede { max-width: 560px; margin-bottom: 36px; color: #dbeafe; font-size: 18px; line-height: 1.75; }
.slx-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.slx-hero .primary-btn { background: linear-gradient(135deg, #f8ab25, #d98208); color: #111827; box-shadow: 0 14px 32px rgba(245, 158, 11, .28); }
.slx-hero .primary-btn:hover { background: linear-gradient(135deg, #fbbd4d, #e08d12); }
.slx-hero .secondary-btn { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); }
.slx-hero .secondary-btn:hover { background: #fff; color: var(--primary); }

.slx-collage { position: relative; width: 100%; max-width: 580px; justify-self: end; aspect-ratio: 1 / .92; }
.slx-collage figure { position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(169, 211, 238, .35); border-radius: 14px; background: #072b42; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.slx-collage img { display: block; width: 100%; height: auto; }
.slx-collage .c1 { width: 64%; top: 0; left: 0; }
.slx-collage .c2 { width: 58%; top: 20%; right: 0; z-index: 2; }
.slx-collage .c3 { width: 62%; bottom: 0; left: 12%; z-index: 3; border-color: rgba(245, 158, 11, .6); }
@media (max-width: 960px) {
  .slx-hero { padding: 132px 0 72px; }
  .slx-hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .slx-collage { justify-self: center; max-width: 520px; }
}

/* ---------- 2. QUICK NAV STRIP ---------- */
.slx-jump { background: #fff; border-bottom: 1px solid var(--border); }
.slx-jump ul { list-style: none; display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; padding: 14px 0; scrollbar-width: thin; }
.slx-jump li { flex: 0 0 auto; }
.slx-jump a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; color: var(--secondary); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background var(--transition), color var(--transition); }
.slx-jump a b { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.slx-jump a:hover { background: #eaf2f9; color: var(--primary); }

/* ---------- 3. PORTFOLIO ---------- */
.slx-portfolio { background: linear-gradient(180deg, #fff 0%, #eef5fa 100%); }
.slx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.slx-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); scroll-margin-top: 110px; }
.slx-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.slx-card:hover, .slx-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(245, 158, 11, .5); }
.slx-card:hover::before, .slx-card:focus-within::before { transform: scaleX(1); }
.slx-media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 8 / 5; background: #072b42; }
.slx-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.slx-card:hover .slx-media img { transform: scale(1.05); }
.slx-code { position: absolute; left: 16px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(4, 16, 28, .82); color: var(--accent); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; backdrop-filter: blur(4px); }
.slx-body { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.slx-body h3 { margin-bottom: 10px; color: var(--secondary); font-size: 21px; font-weight: 700; line-height: 1.3; }
.slx-link { color: inherit; }
.slx-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.slx-link:focus-visible { outline: none; }
.slx-card:focus-within { outline: 3px solid rgba(245, 158, 11, .7); outline-offset: 2px; }
.slx-body p { margin-bottom: 18px; color: var(--gray); font-size: 15px; line-height: 1.7; }
.slx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 22px; list-style: none; }
.slx-tags li { padding: 5px 12px; border-radius: 999px; background: #eaf2f9; color: var(--primary); font-size: 12.5px; font-weight: 600; }
.slx-more { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: 14.5px; font-weight: 700; }
.slx-more i { font-size: 12px; color: var(--accent); transition: transform var(--transition); }
.slx-card:hover .slx-more i { transform: translateX(6px); }
@media (max-width: 1080px) { .slx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .slx-grid { grid-template-columns: 1fr; gap: 22px; } .slx-body { padding: 22px 22px 24px; } }

/* ---------- 4. HOW WE DELIVER ---------- */
.slx-deliver { color: #fff; background: linear-gradient(165deg, #0b3c5d 0%, #072b42 55%, #04101c 100%); }
.slx-deliver .section-title h2 { color: #fff; }
.slx-deliver .section-title p { color: rgba(226, 240, 252, .78); }
.slx-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.slx-steps::before, .slx-steps::after { content: ""; position: absolute; top: 33px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; }
.slx-steps::before { background: rgba(169, 211, 238, .25); }
.slx-steps::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.22, .61, .36, 1); }
.slx-steps.is-live::after { transform: scaleX(1); }
.slx-step { position: relative; text-align: center; }
.slx-step-ico { position: relative; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 18px; border: 2px solid rgba(169, 211, 238, .4); border-radius: 50%; background: #08304a; color: #cfe6f7; font-size: 22px; transition: border-color .45s ease, color .45s ease, box-shadow .45s ease; }
.slx-step.is-live .slx-step-ico { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px rgba(245, 158, 11, .12); }
.slx-step h3 { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.slx-step p { color: rgba(226, 240, 252, .72); font-size: 14px; line-height: 1.65; }
.slx-step-n { display: block; margin-bottom: 6px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
@media (max-width: 1100px) {
  .slx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .slx-steps::before, .slx-steps::after { display: none; }
}
@media (max-width: 640px) {
  .slx-steps { grid-template-columns: 1fr; row-gap: 0; }
  .slx-steps::before, .slx-steps::after { display: block; left: 32px; right: auto; top: 33px; bottom: 40px; width: 2px; height: auto; }
  .slx-steps::after { transform: scaleY(0); transform-origin: top; }
  .slx-steps.is-live::after { transform: scaleY(1); }
  .slx-step { display: grid; grid-template-columns: 66px 1fr; gap: 0 20px; text-align: left; padding-bottom: 28px; }
  .slx-step-ico { grid-row: span 2; margin: 0; }
  .slx-step h3 { padding-top: 6px; margin-bottom: 4px; }
}

/* ---------- 5. INDUSTRIES ---------- */
.slx-ind { background: #fff; }
.slx-ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.slx-ind-card { display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius-md) var(--radius-md); background: linear-gradient(180deg, #f6fafd, #fff); }
.slx-ind-card > i { margin-bottom: 18px; color: var(--primary); font-size: 28px; }
.slx-ind-card h3 { margin-bottom: 10px; line-height: 1.3; color: var(--secondary); font-size: 20px; font-weight: 700; }
.slx-ind-card p { margin-bottom: 20px; color: var(--gray); font-size: 14.5px; line-height: 1.7; }
.slx-ind-card h4 { margin: auto 0 10px; color: var(--gray); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.slx-ind-card ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.slx-ind-card a { display: inline-block; padding: 5px 12px; border: 1px solid rgba(11, 60, 93, .22); border-radius: 999px; color: var(--primary); font-size: 12.5px; font-weight: 600; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.slx-ind-card a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slx-ind-more { margin-top: 36px; text-align: center; }
.slx-ind-more a { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; }
.slx-ind-more a i { font-size: 12px; color: var(--accent); transition: transform var(--transition); }
.slx-ind-more a:hover i { transform: translateX(6px); }
@media (max-width: 1100px) { .slx-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .slx-ind-grid { grid-template-columns: 1fr; } }

/* ---------- 6. WHY BHARATEDGE ---------- */
.slx-why { background: linear-gradient(180deg, #eef5fa 0%, #e6eff7 100%); }
.slx-why-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.slx-why-copy > span { display: block; margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 3px; }
.slx-why-copy h2 { color: var(--secondary); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.18; text-wrap: balance; }
.slx-why-copy p { margin: 18px 0 26px; max-width: 460px; color: var(--gray); font-size: 17px; line-height: 1.75; }
.slx-why-copy a { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; }
.slx-why-copy a i { font-size: 12px; color: var(--accent); transition: transform var(--transition); }
.slx-why-copy a:hover i { transform: translateX(6px); }
.slx-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.slx-why-item { padding: 28px 26px 26px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.slx-why-item i { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; background: #eaf2f9; color: var(--primary); font-size: 19px; }
.slx-why-item h3 { margin-bottom: 8px; color: var(--secondary); font-size: 18px; font-weight: 700; }
.slx-why-item p { color: var(--gray); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 1000px) { .slx-why-layout { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .slx-why-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .slx-card, .slx-card::before, .slx-media img, .slx-more i, .slx-steps::after, .slx-step-ico, .slx-jump a { transition: none; }
  .slx-card:hover, .slx-card:focus-within { transform: none; }
  .slx-card:hover .slx-media img { transform: none; }
}
