/* ==========================================================================
   Case Study Stylesheet - My EventSathi & Project Detail Page
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --cs-navy-950: #050d18;
  --cs-navy-900: #081424;
  --cs-navy-850: #0b1a2d;
  --cs-navy-800: #0f223a;
  --cs-navy-700: #142a47;
  --cs-navy-card: #0c1a2d;

  --cs-gold-300: #fef08a;
  --cs-gold-400: #fde047;
  --cs-gold-500: #eab308;
  --cs-gold-600: #ca8a04;
  --cs-gold-700: #a16207;

  --cs-gold-grad: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
  --cs-gold-btn: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  --cs-gold-btn-hover: linear-gradient(135deg, #fef08a 0%, #facc15 100%);

  --cs-border-dark: rgba(255, 255, 255, 0.08);
  --cs-border-gold: rgba(234, 179, 8, 0.28);
  --cs-border-light: #e2e8f0;

  --cs-text-light: #ffffff;
  --cs-text-muted: #94a3b8;
  --cs-text-subtle: #cbd5e1;
  --cs-text-dark: #0f172a;
  --cs-text-dark-muted: #64748b;

  --cs-red: #ef4444;
  --cs-green: #10b981;
}

.rp-case-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--cs-text-dark);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.rp-case-page * {
  box-sizing: border-box;
}

.cs-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */

.cs-gold-text {
  background: var(--cs-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cs-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cs-gold-600);
  margin-bottom: 12px;
}

.cs-eyebrow-dark {
  color: #64748b;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-gold-400);
}

.cs-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.cs-section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cs-text-dark);
  margin: 0 0 12px;
}

.cs-section-header p {
  font-size: 15px;
  color: var(--cs-text-dark-muted);
  margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.cs-btn:hover {
  transform: translateY(-2px);
}

.cs-btn-gold {
  background: var(--cs-gold-btn);
  color: #0b1728 !important;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.3);
}

.cs-btn-gold:hover {
  background: var(--cs-gold-btn-hover);
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.45);
}

.cs-btn-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cs-btn-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.cs-btn-outline-dark {
  background: #ffffff;
  color: var(--cs-navy-900) !important;
  border: 1.5px solid #cbd5e1;
}

.cs-btn-outline-dark:hover {
  border-color: var(--cs-navy-900);
  background: #f8fafc;
}

/* ==========================================================================
   Project Sub-Navigation Bar
   ========================================================================== */

.cs-subnav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(8, 20, 36, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.cs-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cs-subnav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.cs-subnav-brand span {
  background: var(--cs-gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cs-subnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-subnav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cs-text-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.cs-subnav-links a:hover,
.cs-subnav-links a.active {
  color: var(--cs-gold-400);
}

.cs-subnav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cs-gold-400);
  border-radius: 2px;
}

.cs-subnav-cta .cs-btn {
  padding: 9px 20px;
  font-size: 12.5px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.cs-hero {
  position: relative;
  background: #081424;
  background: radial-gradient(circle at 75% 25%, #24354b 0%, #0c1c2e 45%, #060e1a 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  overflow: hidden;
}

/* Warm festive bokeh & ambient sparkles */
.cs-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cs-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cs-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.cs-hero-content {
  max-width: 540px;
}

.cs-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 16px 0 10px;
}

.cs-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--cs-gold-400);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.cs-hero-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--cs-text-subtle);
  margin: 0 0 32px;
}

.cs-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Device Mockups (Laptop + Phone) */
.cs-hero-mockup-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MacBook Frame */
.cs-laptop-frame {
  position: relative;
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.65));
}

.cs-laptop-display {
  background: #000000;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0;
  border: 2px solid #334155;
  border-bottom: none;
  position: relative;
}

.cs-laptop-notch {
  width: 60px;
  height: 5px;
  background: #1e293b;
  border-radius: 0 0 4px 4px;
  margin: 0 auto 5px;
}

.cs-laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1728;
  border-radius: 4px 4px 0 0;
}

.cs-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 40%, #475569 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.cs-laptop-notch-cut {
  width: 80px;
  height: 4px;
  background: #334155;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* iPhone Frame */
.cs-phone-frame {
  position: absolute;
  right: -15px;
  bottom: -25px;
  width: 190px;
  background: #000000;
  border: 3.5px solid #475569;
  border-radius: 34px;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 5;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.cs-phone-frame:hover {
  transform: rotate(0deg) scale(1.03);
}

.cs-phone-notch {
  width: 50px;
  height: 12px;
  background: #000000;
  border-radius: 8px;
  margin: 2px auto 6px;
  z-index: 10;
  position: relative;
}

.cs-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 26px;
  overflow: hidden;
  background: #0b1728;
}

.cs-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Metrics / Stats Strip
   ========================================================================= */

.cs-metrics-bar {
  margin-top: 50px;
  background: rgba(13, 26, 44, 0.88);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 18px;
  padding: 24px 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.cs-metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.cs-metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cs-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-gold-400);
  font-size: 20px;
  flex-shrink: 0;
}

.cs-metric-data strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.cs-metric-data span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--cs-text-muted);
}

/* ==========================================================================
   Project Overview Section
   ========================================================================== */

.cs-overview-section {
  padding: 90px 0;
  background: #ffffff;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cs-overview-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cs-text-dark);
  margin: 0 0 20px;
}

.cs-overview-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--cs-text-dark-muted);
  margin-bottom: 28px;
}

.cs-overview-desc p {
  margin: 0 0 16px;
}

.cs-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 30px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.cs-tag:hover {
  border-color: var(--cs-gold-500);
  color: var(--cs-navy-900);
  background: #fffbeb;
}

.cs-overview-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.cs-overview-photo-card img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cs-overview-photo-card:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   The Challenge vs The Solution Section
   ========================================================================== */

.cs-duo-section {
  padding: 90px 0;
  background: #081424;
  background: radial-gradient(circle at 50% 50%, #0d1e34 0%, #060e1a 100%);
  color: #ffffff;
}

.cs-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cs-duo-card {
  background: #0c1c2e;
  background: linear-gradient(135deg, rgba(16, 34, 58, 0.95) 0%, rgba(10, 22, 38, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 38px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cs-duo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.cs-duo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cs-duo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cs-duo-icon-red {
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  color: var(--cs-red);
}

.cs-duo-icon-green {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: var(--cs-green);
}

.cs-duo-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cs-duo-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cs-text-subtle);
  margin: 0 0 28px;
}

.cs-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: #f1f5f9;
}

.cs-check-icon {
  font-size: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

.cs-check-red {
  color: var(--cs-red);
}

.cs-check-green {
  color: var(--cs-green);
}

.cs-check-gold {
  color: var(--cs-gold-400);
}

/* ==========================================================================
   Features & Functionality Section
   ========================================================================== */

.cs-features-section {
  padding: 90px 0;
  background: #ffffff;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cs-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cs-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 16px 32px rgba(234, 179, 8, 0.08);
}

.cs-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1.5px solid rgba(234, 179, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cs-gold-600);
  margin-bottom: 20px;
}

.cs-feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--cs-text-dark);
  margin: 0 0 10px;
}

.cs-feature-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--cs-text-dark-muted);
  margin: 0;
}

/* ==========================================================================
   Platform Screenshots Section
   ========================================================================== */

.cs-screens-section {
  padding: 90px 0;
  background: #f8fafc;
}

.cs-tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.cs-tab-btn {
  padding: 9px 22px;
  border-radius: 30px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-tab-btn:hover {
  border-color: var(--cs-gold-500);
  color: var(--cs-navy-900);
}

.cs-tab-btn.active {
  background: var(--cs-gold-btn);
  border-color: var(--cs-gold-500);
  color: #0b1728;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.28);
}

/* Screenshot Slider / Showcase */
.cs-screens-slider-wrap {
  position: relative;
}

.cs-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cs-screen-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cs-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(234, 179, 8, 0.4);
}

.cs-screen-media {
  position: relative;
  background: #0f172a;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}

.cs-screen-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cs-screen-card:hover .cs-screen-media img {
  transform: scale(1.03);
}

.cs-screen-overlay-btn {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cs-screen-card:hover .cs-screen-overlay-btn {
  opacity: 1;
}

.cs-screen-info {
  padding: 22px 20px;
}

.cs-screen-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--cs-text-dark);
  margin: 0 0 6px;
}

.cs-screen-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cs-text-dark-muted);
  margin: 0;
}

/* Slider Controls */
.cs-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  z-index: 5;
}

.cs-slider-arrow:hover {
  background: var(--cs-gold-400);
  border-color: var(--cs-gold-500);
  color: #0b1728;
}

.cs-slider-prev {
  left: -22px;
}

.cs-slider-next {
  right: -22px;
}

/* ==========================================================================
   Technologies Used Section
   ========================================================================== */

.cs-tech-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.cs-tech-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.cs-tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 90px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.cs-tech-badge:hover {
  transform: translateY(-4px);
}

.cs-tech-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.cs-tech-badge:hover .cs-tech-circle {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  border-color: var(--cs-gold-500);
}

.cs-tech-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-align: center;
}

/* Authentic Tech Colors */
.cs-tech-wp { color: #21759b; }
.cs-tech-woo { color: #96588a; }
.cs-tech-php { color: #777bb4; }
.cs-tech-mysql { color: #4479a1; }
.cs-tech-html5 { color: #e34f26; }
.cs-tech-css3 { color: #1572b6; }
.cs-tech-js { color: #eab308; }
.cs-tech-jquery { color: #0769ad; }

.cs-tech-woo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #96588a;
  letter-spacing: -0.5px;
}

.cs-tech-mysql-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #4479a1;
}

.cs-tech-jq-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #0769ad;
}

/* ==========================================================================
   Project Outcome Section
   ========================================================================== */

.cs-outcome-section {
  padding: 80px 0;
  background: #ffffff;
}

.cs-outcome-card {
  background: #081424;
  background: linear-gradient(135deg, #0b1a2d 0%, #060e1a 100%);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 24px;
  padding: 50px 45px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cs-outcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cs-outcome-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 16px;
  letter-spacing: -0.02em;
}

.cs-outcome-info p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cs-text-subtle);
  margin: 0;
}

.cs-outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-outcome-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
}

.cs-outcome-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.cs-outcome-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cs-outcome-video-card:hover img {
  transform: scale(1.05);
}

.cs-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.cs-outcome-video-card:hover .cs-play-overlay {
  background: rgba(8, 20, 36, 0.25);
}

.cs-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cs-gold-btn);
  color: #0b1728;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-outcome-video-card:hover .cs-play-btn {
  transform: scale(1.12);
}

/* ==========================================================================
   Final Thoughts / Conclusion Section
   ========================================================================== */

.cs-conclusion-section {
  padding: 80px 0 100px;
  background: #ffffff;
}

.cs-conclusion-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.cs-conclusion-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--cs-text-dark);
  margin: 8px 0 18px;
  letter-spacing: -0.025em;
}

.cs-conclusion-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cs-text-dark-muted);
  margin: 0 0 32px;
}

.cs-conclusion-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Quote Card */
.cs-quote-card {
  background: #fffbeb;
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 20px;
  padding: 42px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 30px rgba(234, 179, 8, 0.06);
}

.cs-quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--cs-gold-600);
  display: block;
  margin-bottom: 8px;
}

.cs-quote-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
  font-weight: 500;
  margin: 0 0 24px;
  font-style: italic;
}

.cs-quote-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cs-gold-500);
  font-size: 14px;
}

.cs-quote-divider::before,
.cs-quote-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(234, 179, 8, 0.4);
}

/* ==========================================================================
   Lightbox / Media Modal
   ========================================================================== */

.cs-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cs-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cs-modal-box {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1728;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.cs-modal-box img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.cs-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 10;
}

.cs-modal-close:hover {
  background: #ef4444;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .cs-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .cs-hero-actions {
    justify-content: center;
  }

  .cs-phone-frame {
    width: 160px;
    right: 0;
    bottom: -15px;
  }

  .cs-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cs-metric-item:nth-child(2)::after {
    display: none;
  }

  .cs-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-outcome-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cs-conclusion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .cs-subnav-links {
    display: none;
  }

  .cs-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cs-duo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cs-screens-grid {
    grid-template-columns: 1fr;
  }

  .cs-slider-arrow {
    display: none;
  }

  .cs-metrics-bar {
    padding: 20px;
  }

  .cs-outcome-card {
    padding: 30px 24px;
  }

  .cs-hero {
    padding: 40px 0;
  }

  .cs-overview-section,
  .cs-duo-section,
  .cs-features-section,
  .cs-screens-section,
  .cs-outcome-section,
  .cs-conclusion-section {
    padding: 60px 0;
  }
}

@media (max-width: 520px) {
  .cs-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cs-metric-item::after {
    display: none !important;
  }

  .cs-features-grid {
    grid-template-columns: 1fr;
  }

  .cs-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cs-hero-actions .cs-btn {
    width: 100%;
  }

  .cs-conclusion-actions {
    flex-direction: column;
    width: 100%;
  }

  .cs-conclusion-actions .cs-btn {
    width: 100%;
  }

  .cs-phone-frame {
    display: none;
  }
}


/* Portfolio palette: shared with Ranvirsinh Makavana homepage. */
.rp-case-page {
  --cs-navy-950: #041126;
  --cs-navy-900: #071b3a;
  --cs-navy-850: #0b2347;
  --cs-navy-800: #102d55;
  --cs-navy-700: #163969;
  --cs-navy-card: #0b2347;
  --cs-gold-300: #a8ceff;
  --cs-gold-400: #65a8ff;
  --cs-gold-500: #1268ff;
  --cs-gold-600: #1268ff;
  --cs-gold-700: #0d50cc;
  --cs-gold-grad: linear-gradient(135deg, #65a8ff 0%, #1268ff 100%);
  --cs-gold-btn: linear-gradient(135deg, #1268ff 0%, #0d50cc 100%);
  --cs-gold-btn-hover: linear-gradient(135deg, #287aff 0%, #1268ff 100%);
  --cs-border-gold: rgba(18, 104, 255, .28);
  --cs-border-light: #e4edf8;
  --cs-text-dark: #10203d;
  --cs-text-dark-muted: #66738a;
}
.rp-case-page .cs-hero { background: radial-gradient(circle at 75% 25%, #163969 0%, #071b3a 55%, #041126 100%); }
.rp-case-page .cs-hero::before { background: radial-gradient(circle, rgba(18,104,255,.24) 0%, rgba(18,104,255,.06) 45%, transparent 70%); }
.rp-case-page .cs-hero::after { background: radial-gradient(circle, rgba(101,168,255,.14) 0%, transparent 70%); }
.rp-case-page .cs-subnav { background: rgba(7,27,58,.94); }
.rp-case-page .cs-duo-section { background: radial-gradient(circle at 50% 50%, #102d55 0%, #071b3a 100%); }
.rp-case-page .cs-duo-card { background: linear-gradient(135deg, #102d55, #0b2347); }
.rp-case-page .cs-outcome-card { background: linear-gradient(135deg, #0b2347, #071b3a); }
.rp-case-page .cs-metrics-bar { background: rgba(7,27,58,.88); }
.rp-case-page :is(.cs-badge,.cs-metric-icon) { background: rgba(18,104,255,.12); border-color: rgba(101,168,255,.3); }
.rp-case-page :is(.cs-metrics-bar,.cs-overview-photo-card,.cs-outcome-card,.cs-outcome-video-card,.cs-quote-card) { border-color: rgba(18,104,255,.28); }
.rp-case-page :is(.cs-feature-icon,.cs-quote-card) { background: #edf5ff; border-color: rgba(18,104,255,.24); }
.rp-case-page :is(.cs-screens-section,.cs-tag) { background: #f6faff; }
.rp-case-page :is(.cs-feature-card,.cs-screen-card,.cs-tech-circle,.cs-tag) { border-color: #e4edf8; }
.rp-case-page :is(.cs-tag:hover,.cs-tab-btn:hover) { color: #1268ff; background: #edf5ff; }
.rp-case-page :is(.cs-feature-card:hover,.cs-screen-card:hover) { border-color: rgba(18,104,255,.5); box-shadow: 0 16px 32px rgba(18,104,255,.1); }
.rp-case-page :is(.cs-btn-gold,.cs-tab-btn.active,.cs-play-btn,.cs-slider-arrow:hover) { color: #fff !important; box-shadow: 0 4px 20px rgba(18,104,255,.3); }
.rp-case-page .cs-btn-gold:hover { box-shadow: 0 8px 28px rgba(18,104,255,.4); }
.rp-case-page .cs-quote-card { box-shadow: 0 12px 30px rgba(18,104,255,.06); }
.rp-case-page .cs-quote-divider::before,.rp-case-page .cs-quote-divider::after { background: rgba(18,104,255,.4); }
.rp-case-page :is(a,button):focus-visible { outline: 3px solid #65a8ff; outline-offset: 4px; }


/* Remove overlapping phone preview from single project pages. */
.rp-case-page .cs-phone-frame { display: none !important; }
