/* =============================================
   Gyanshetra — Case Study CSS (v6, red/white theme)
   ============================================= */

:root {
  --red: #d92626;
  --red-dark: #b31f1f;
  --pink-bg: #fdecec;
  --blue: #2f6fed;
  --green: #16a34a;
  --dark: #16181d;
  --text: #4b5563;
  --gray: #6b7280;
  --border: #e5e7eb;
  --cream: #faf5f5;
}

/* ── Force header solid on this page ─────────────────── */
#header.tra-menu { background: #fff !important; box-shadow: 0 2px 12px rgba(0,0,0,.08) !important; }
#header.tra-menu .wsmenu-list > li > a { color: #333 !important; }
#header.tra-menu .navbar-brand img,
#header.tra-menu .desktoplogo .logo-white { display: none !important; }
#header.tra-menu .desktoplogo .logo-black { display: block !important; }
a.free-quo, a.free-quo:hover, a.free-quo:visited,
#header a.free-quo, .wsmenu-list li a.free-quo { color: #fff !important; }

/* ── Generic helpers ─────────────────────────────────── */
.gs-section { padding: 60px 0; }
.gs-white { background: #fff; }
.gs-cream { background: var(--cream); }
.gs-title-center { text-align: center; margin-bottom: 36px; }
.gs-title-center h2 {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 26px; font-weight: 800; color: var(--dark);
}
.gs-title-center h2::before, .gs-title-center h2::after { content: ''; width: 34px; height: 2px; background: var(--border); }
.gs-h2-left { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.gs-h3 { font-size: 19px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.gs-p { font-size: 14.5px; color: var(--text); line-height: 1.8; }

/* ── HERO (white) ──────────────────────────────────────── */
.gs-hero { background: linear-gradient(180deg, var(--pink-bg) 0%, #fff 65%); padding: 130px 0 20px; position: relative; overflow: hidden; }
.gs-hero-badge { display: inline-block; background: var(--pink-bg); border: 1px solid #f6c6c6; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; }
.gs-hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 4px; color: var(--dark); }
.gs-hero-sub { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.gs-hero-desc { font-size: 14.5px; line-height: 1.8; color: var(--text); max-width: 480px; margin-bottom: 22px; }
.gs-tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.gs-tag-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--dark); font-size: 12.5px; font-weight: 700; padding: 8px 15px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.04); }
.gs-tag-pill i { font-size: 14px; }
.gs-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gs-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 12px 24px; border-radius: 7px; text-decoration: none; transition: all .2s; }
.gs-btn-primary:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.gs-btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); color: var(--dark); font-weight: 700; font-size: 13.5px; padding: 12px 24px; border-radius: 7px; text-decoration: none; transition: all .2s; background: transparent; }
.gs-btn-ghost:hover { background: var(--cream); color: var(--dark); text-decoration: none; }

/* Hero visual: single image */
.gs-hero-visual { position: relative; padding: 30px; }
.gs-hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pink-bg) 0%, #fff 70%);
  border-radius: 32px; z-index: 0;
}
.gs-hero-visual::after {
  content: ''; position: absolute; top: -30px; right: -30px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(217,38,38,.16) 0%, rgba(217,38,38,0) 70%);
  border-radius: 50%; z-index: 0;
}
.gs-hero-img { position: relative; width: 100%; display: block; z-index: 1; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.14); }

/* ── STATS BAR ───────────────────────────────────────── */
.gs-stats-wrap { background: #fff; position: relative; z-index: 3; margin-top: -30px; padding-bottom: 0; }
.gs-stats-card {
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.08); border: 1px solid var(--border);
  padding: 26px 10px; display: flex; flex-wrap: wrap;
}
.gs-stat-item { flex: 1 1 16%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-right: 1px solid var(--border); }
.gs-stat-item:last-child { border-right: none; }
.gs-stat-ico { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--red); background: var(--pink-bg); flex-shrink: 0; }
.gs-stat-value { font-size: 15px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.gs-stat-label { font-size: 11px; color: var(--gray); font-weight: 600; }

/* ── CHALLENGE / SOLUTION / KEY FEATURES ─────────────── */
#gs-solution.gs-section { padding-top: 0; padding-bottom: 20px; margin-top: -40px; }
.gs-highlights-sec { padding-top: 20px; padding-bottom: 0; }
.gs-triple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.gs-triple-col { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 26px; height: 100%; }
.gs-check-list { list-style: none; padding: 0; margin: 0; }
.gs-check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.5; }
.gs-check-list li i { color: var(--green); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.gs-check-list.gs-list-red li i { color: var(--red); }
.gs-solution-illustration { text-align: center; margin-top: 20px; }
.gs-solution-illustration .gs-deco-circle {
  width: 110px; height: 110px; border-radius: 50%; background: var(--pink-bg); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 40px;
}
.gs-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.gs-feature-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.gs-feature-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--pink-bg); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.gs-feature-item span { font-size: 12.5px; font-weight: 600; color: var(--dark); }

/* ── PROJECT HIGHLIGHTS ───────────────────────────────── */
.gs-hl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; text-align: center; }
.gs-hl-item { background: var(--pink-bg); border-radius: 14px; padding: 24px 12px; }
.gs-hl-ico { width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--red); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.gs-hl-value { font-size: 20px; font-weight: 800; color: var(--dark); }
.gs-hl-label { font-size: 11.5px; color: var(--gray); font-weight: 600; margin-top: 4px; }

/* ── TECHNOLOGY STACK ─────────────────────────────────── */
.gs-tech-sec { padding-top: 0; padding-bottom: 0; margin-top: -20px; }
.gs-tech-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.gs-tech-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 110px; padding: 20px 10px; background: var(--cream); border: 1px solid var(--border); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.gs-tech-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.gs-tech-item i { font-size: 30px; }
.gs-tech-item span { font-size: 12px; font-weight: 700; color: var(--dark); }

/* ── PLATFORM SCREENSHOTS ─────────────────────────────── */
.gs-screens-sec { padding-top: 0; padding-bottom: 0; margin-top: -20px; }
.gs-screens-grid { display: grid; grid-template-columns: 0.8fr 2.2fr; gap: 30px; align-items: center; }
.gs-screens-row { display: flex; gap: 18px; align-items: flex-start; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.gs-screens-row::-webkit-scrollbar { height: 6px; }
.gs-screens-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gs-screens-row::-webkit-scrollbar-track { background: transparent; }
.gs-screen-item { flex: 0 0 340px; text-align: center; }
.gs-screen-item img { width: 340px; height: 230px; object-fit: cover; object-position: top left; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.gs-screen-item span { display: block; font-size: 11.5px; font-weight: 700; color: var(--gray); margin-top: 8px; }

/* ── DOWNLOAD OUR APP ─────────────────────────────────── */
.gs-download { background: linear-gradient(180deg, #fff 0%, var(--pink-bg) 55%, #fff 100%); position: relative; overflow: hidden; padding-top: 0; padding-bottom: 20px; margin-top: -30px; }
.gs-download::before {
  content: ''; position: absolute; left: 50%; bottom: 40px; width: 640px; height: 260px;
  transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(217,38,38,.14) 0%, rgba(217,38,38,0) 70%);
  z-index: 0; pointer-events: none;
}
.gs-download-head { text-align: center; margin-bottom: 8px; position: relative; z-index: 1; }
.gs-download-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 12px; }
.gs-download-eyebrow i { font-size: 6px; }
.gs-download-title { font-size: 32px; font-weight: 800; color: var(--dark); line-height: 1.3; max-width: 720px; margin: 0 auto 16px; }
.gs-download-accent { color: var(--red); }
.gs-download-desc { font-size: 14.5px; color: var(--text); line-height: 1.8; max-width: 600px; margin: 0 auto; }
.gs-download-btns { display: flex; justify-content: center; gap: 18px; margin: 34px 0 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.gs-store-btn { display: flex; align-items: center; gap: 14px; background: var(--dark); color: #fff; border-radius: 12px; padding: 13px 28px; text-decoration: none; box-shadow: 0 14px 30px rgba(22,24,29,.22); transition: transform .2s, box-shadow .2s; }
.gs-store-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(22,24,29,.28); color: #fff; text-decoration: none; }
.gs-store-btn i { font-size: 30px; }
.gs-store-btn span { display: flex; flex-direction: column; line-height: 1.35; }
.gs-store-btn small { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.7); }
.gs-store-btn strong { font-size: 16.5px; font-weight: 700; }
.gs-download-phones { display: flex; justify-content: center; align-items: center; gap: 0; position: relative; z-index: 1; }
.gs-dl-phone { width: 230px; border: 8px solid var(--dark); border-radius: 30px; overflow: hidden; background: var(--dark); box-shadow: 0 30px 60px rgba(0,0,0,.2); position: relative; transition: transform .25s; }
.gs-dl-phone:hover { transform: translateY(-6px); }
.gs-dl-phone-side { z-index: 1; margin: 30px -22px 0; }
.gs-dl-phone-center { z-index: 2; }
.gs-dl-phone img { width: 100%; display: block; }

/* ── FINAL CTA (red) ──────────────────────────────────── */
.gs-final-cta-wrap { background: #fff; padding: 0 0 60px; margin-top: -20px; }
.gs-final-cta { background: var(--red); border-radius: 20px; padding: 44px 46px; position: relative; overflow: hidden; }
.gs-final-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.gs-final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.gs-final-cta-left { display: flex; align-items: center; gap: 20px; }
.gs-final-cta-ico { width: 58px; height: 58px; border-radius: 14px; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.gs-final-cta h3 { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.gs-final-cta p { color: rgba(255,255,255,.85); font-size: 13.5px; margin: 0; max-width: 440px; }
.gs-final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gs-final-cta-actions .gs-btn-primary { background: #fff; color: var(--red); }
.gs-final-cta-actions .gs-btn-primary:hover { background: #f6f6f6; color: var(--red-dark); }
.gs-final-cta-actions .gs-btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.gs-final-cta-actions .gs-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 991px) {
  .gs-hero { text-align: center; }
  .gs-hero-desc { margin: 0 auto 22px; }
  .gs-tag-row, .gs-hero-actions { justify-content: center; }
  .gs-hero-visual { margin-top: 40px; }
  .gs-stats-card { justify-content: center; }
  .gs-stat-item { flex: 1 1 33%; border-right: none; justify-content: center; }
  .gs-triple-grid { grid-template-columns: 1fr; }
  .gs-hl-grid { grid-template-columns: repeat(3, 1fr); }
  .gs-screens-grid { grid-template-columns: 1fr; }
  .gs-screens-intro { text-align: center; }
  .gs-download-title { font-size: 24px; }
  .gs-dl-phone { width: 170px; }
  .gs-dl-phone-side { margin: 30px -16px 0; }
  .gs-final-cta-inner { justify-content: center; text-align: center; }
  .gs-final-cta-left { flex-direction: column; }
}
@media (max-width: 575px) {
  .gs-hero h1 { font-size: 34px; }
  .gs-hl-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-feature-grid { grid-template-columns: 1fr; }
  .gs-dl-phone { width: 130px; }
  .gs-dl-phone-side { margin: 20px -12px 0; }
  .gs-store-btn { padding: 8px 16px; }
}
