/* case-studies.css - Case Studies Page Hero, Credibility & Full Case Study Browsing / Detail View */

/* ==========================================================================
   CASE STUDIES HERO SECTION
   ========================================================================== */

.cs-hero {
  position: relative;
  min-height: clamp(660px, 72vh, 800px);
  padding-top: calc(var(--header-height) + clamp(36px, 3.8vw, 54px));
  padding-bottom: clamp(48px, 4.8vw, 72px);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background Atmospheric Layers */
.cs-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cs-hero__particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cs-hero__dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(139, 92, 246, 0.16) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 85%);
}

.cs-hero__ambient-glow {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse at center, rgba(130, 70, 230, 0.10) 0%, rgba(100, 50, 180, 0.03) 45%, transparent 75%);
  filter: blur(90px);
  transform: translate(15%, -20%);
  z-index: 0;
  pointer-events: none;
}

.cs-hero__ambient-glow-left {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

/* Two-Column Main Layout Grid (Left ~45% / Right ~55%) */
.cs-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.26fr;
  align-items: center;
  gap: var(--space-3xl);
}

/* ==========================================================================
   HERO LEFT COLUMN - EDITORIAL HEADLINE & CTAS
   ========================================================================== */

.cs-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

/* Eyebrow Badge */
.cs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-purple-border);
  background: var(--color-purple-pill-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C4B5FD;
  margin-bottom: var(--space-lg);
  box-shadow: 0 0 12px var(--color-primary-glow);
}

.cs-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

/* Main Display Headline */
.cs-hero__title {
  font-size: clamp(2.8rem, 4.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.cs-hero__title-line {
  display: block;
}

.cs-hero__title-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #D8B4FE 35%, #8B5CF6 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Supporting Description */
.cs-hero__description {
  font-size: 1.05rem;
  font-weight: 400;
  color: #9A9A9A;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--space-2xl);
}

/* CTA Group */
.cs-hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cs-hero__btn-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--transition-fast);
}

.btn:hover .cs-hero__btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO RIGHT COLUMN - ASYMMETRIC ORGANIC BRAND CONSTELLATION
   ========================================================================== */

.cs-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.cs-constellation {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 440px;
  margin-left: auto;
}

.cs-constellation__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, rgba(109, 40, 217, 0.03) 50%, transparent 72%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.cs-constellation__node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  user-select: none;
  z-index: 2;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.cs-constellation__node:hover {
  transform: translateY(-3px) scale(1.04);
  z-index: 10;
}

.cs-constellation__img {
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(0.92);
  opacity: 0.82;
  transition: filter 0.28s ease, opacity 0.28s ease;
}

.cs-constellation__node:hover .cs-constellation__img {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(167, 139, 250, 0.5));
}

/* 7 Asymmetric Organic Constellation Coordinates (No boxes, no grid, no symmetry) */

/* 1. Anchor Logo: Royal Caribbean (Central anchor, subtle natural offset) */
.cs-constellation__node--anchor {
  top: 172px;
  left: 170px;
  z-index: 5;
}

.cs-constellation__img--anchor {
  max-height: 52px;
  max-width: 195px;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

/* 2. KIMS Hospitals (Top-Left) */
.cs-constellation__node--kims {
  top: 22px;
  left: 30px;
  z-index: 4;
}

.cs-constellation__img--kims {
  max-height: 42px;
  max-width: 145px;
  opacity: 0.85;
}

/* 3. Wockhardt (Top-Right, offset) */
.cs-constellation__node--wockhardt {
  top: 15px;
  right: 35px;
  z-index: 4;
}

.cs-constellation__img--wockhardt {
  max-height: 48px;
  max-width: 120px;
  opacity: 0.85;
}

/* 4. Travezy (Mid-Left, floating naturally) */
.cs-constellation__node--travezy {
  top: 155px;
  left: 10px;
  z-index: 3;
}

.cs-constellation__img--travezy {
  max-height: 38px;
  max-width: 130px;
  opacity: 0.78;
}

/* 5. Celebrity Cruises (Mid-Right, staggered elevation) */
.cs-constellation__node--celebrity {
  top: 140px;
  right: 15px;
  z-index: 3;
}

.cs-constellation__img--celebrity {
  max-height: 44px;
  max-width: 165px;
  opacity: 0.85;
}

/* 6. Acktive Vision (Lower Mid-Left) */
.cs-constellation__node--acktive {
  top: 305px;
  left: 55px;
  z-index: 3;
}

.cs-constellation__img--acktive {
  max-height: 40px;
  max-width: 155px;
  opacity: 0.80;
}

/* 7. Maheshwari (Lower-Right, vertically offset) */
.cs-constellation__node--maheshwari {
  top: 280px;
  right: 35px;
  z-index: 3;
}

.cs-constellation__img--maheshwari {
  max-height: 46px;
  max-width: 165px;
  opacity: 0.85;
}

/* ==========================================================================
   MOBILE & TABLET HORIZONTAL CLIENT STRIP (<= 992px)
   ========================================================================== */

.cs-hero__mobile-strip {
  display: none;
}

@keyframes csMarqueeInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cs-hero__mobile-strip .client-strip {
  width: 100%;
  padding-top: clamp(45px, 4vw, 50px);
  padding-bottom: 8px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.cs-hero__mobile-strip .client-strip__heading {
  font-size: clamp(0.68rem, 0.62rem + 0.28vw, 0.82rem);
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: clamp(1.2px, 0.12em, 2px);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-bottom: 16px;
}

.cs-hero__mobile-strip .client-strip__marquee {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.cs-hero__mobile-strip .client-strip__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  will-change: transform;
  animation: csMarqueeInfinite 38s linear infinite;
}

.cs-hero__mobile-strip .client-strip__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.cs-hero__mobile-strip .client-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 64px;
  padding: 6px 10px;
}

.cs-hero__mobile-strip .client-strip__logo {
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(0) invert(0.92);
  display: block;
}

.cs-hero__mobile-strip .client-strip__logo--wide {
  max-height: 36px;
  max-width: 150px;
}

.cs-hero__mobile-strip .client-strip__logo--square {
  max-height: 38px;
  max-width: 95px;
}

.cs-hero__mobile-strip .client-strip__logo--compact {
  max-height: 32px;
  max-width: 115px;
}

/* ==========================================================================
   SECTION 2: BALANCED & COHESIVE EDITORIAL CREDIBILITY / TESTIMONIAL
   ========================================================================== */

.cs-credibility {
  position: relative;
  padding-top: clamp(56px, 5.5vw, 80px);
  padding-bottom: clamp(56px, 5.5vw, 80px);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Atmospheric Soft Purple Backlight */
.cs-credibility__glow {
  position: absolute;
  top: 50%;
  left: 60%;
  width: 800px;
  height: 550px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(120, 70, 220, 0.09) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Centered Eyebrow Section Identifier (Above entire section) */
.cs-credibility__eyebrow-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto 48px auto;
}

.cs-credibility__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.38rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-purple-border);
  background: var(--color-purple-pill-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C4B5FD;
  box-shadow: 0 0 12px var(--color-primary-glow);
}

.cs-credibility__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

/* Two-Column Grid: Left (~50%) Editorial Stats | Right (~45%) Testimonial */
.cs-credibility__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Left Column: Scaled 2x2 Editorial Composition */
.cs-credibility__left {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 550px;
}

.cs-editorial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 215px 195px;
  gap: 18px;
  width: 100%;
}

.cs-editorial-item {
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
  height: 100%;
}

.cs-editorial-item--stat-large {
  background: linear-gradient(135deg, rgba(22, 18, 34, 0.70) 0%, rgba(12, 10, 20, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 28px 22px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-editorial-item--stat-large:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 18px var(--color-primary-glow);
}

.cs-stat-hero__number-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 6px;
  line-height: 1;
}

.cs-stat-hero__num {
  font-size: clamp(3.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.cs-stat-hero__plus {
  font-size: 2.4rem;
  font-weight: 700;
  color: #C4B5FD;
  margin-left: 2px;
  line-height: 1;
}

.cs-stat-hero__label-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cs-stat-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

.cs-stat-hero__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.cs-stat-hero__sub {
  font-size: 0.76rem;
  color: #7A7A7A;
  line-height: 1.35;
}

.cs-media-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  background: rgba(16, 14, 24, 0.8);
}

.cs-media-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 350ms ease, filter 350ms ease;
}

.cs-editorial-item:hover .cs-media-card__img {
  transform: scale(1.03);
  filter: brightness(0.96) contrast(1.08);
}

.cs-media-card__overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}

.cs-media-card__tag {
  display: inline-block;
  padding: 0.24rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  color: #F5F3FF;
  letter-spacing: 0.02em;
}

.cs-editorial-item--rating {
  background: linear-gradient(135deg, rgba(20, 16, 32, 0.65) 0%, rgba(12, 10, 20, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cs-editorial-item--rating:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 18px var(--color-primary-glow);
}

.cs-rating-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cs-rating-badge__orbit {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.10), inset 0 0 10px rgba(139, 92, 246, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cs-rating-badge__orbit-dot {
  position: absolute;
  top: 9px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C4B5FD;
  box-shadow: 0 0 6px #C4B5FD;
}

.cs-rating-badge__score-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.cs-rating-badge__score {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cs-rating-badge__max {
  font-size: 0.82rem;
  font-weight: 600;
  color: #A78BFA;
  margin-left: 2px;
}

.cs-rating-badge__stars {
  font-size: 0.65rem;
  color: #C4B5FD;
  letter-spacing: 2px;
  margin-top: 2px;
}

.cs-rating-badge__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #8A8A8A;
  letter-spacing: 0.01em;
}

/* Right Column: Audio Testimonial Plaque */
.cs-credibility__right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cs-testimonial-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 428px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(24, 20, 36, 0.88) 0%, rgba(13, 12, 20, 0.90) 100%);
  border: 1px solid rgba(145, 90, 255, 0.18);
  border-radius: 22px;
  padding: 38px 36px 30px 36px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6), 0 0 28px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.cs-testimonial-panel:hover {
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 34px rgba(139, 92, 246, 0.22);
}

.cs-testimonial-panel__glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cs-testimonial__body {
  position: relative;
  z-index: 1;
}

.cs-testimonial__quote-mark {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  color: #A78BFA;
  opacity: 0.85;
  margin-bottom: 2px;
  user-select: none;
}

.cs-testimonial__quote {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #F5F5F5;
  font-weight: 400;
  margin: 0 0 24px 0;
}

.cs-audio-player {
  background: rgba(12, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition-fast);
}

.cs-audio-player:hover {
  border-color: rgba(167, 139, 250, 0.3);
}

.cs-audio-player__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.45);
  transition: all var(--transition-fast);
}

.cs-audio-player__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.65);
}

.cs-audio-player__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-left: 2px;
}

.cs-audio-player__btn.is-playing .cs-audio-player__icon {
  margin-left: 0;
}

.cs-audio-player__waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}

.cs-waveform-bar {
  flex: 1;
  background: rgba(167, 139, 250, 0.28);
  border-radius: 2px;
  min-height: 4px;
  transition: height 0.15s ease, background-color 0.15s ease;
}

.cs-waveform-bar.is-played {
  background: #A78BFA;
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.35);
}

.cs-audio-player__btn.is-playing ~ .cs-audio-player__waveform .cs-waveform-bar {
  animation: csWavePulse 1.1s ease-in-out infinite alternate;
}

.cs-audio-player__btn.is-playing ~ .cs-audio-player__waveform .cs-waveform-bar.is-played {
  background: #C4B5FD;
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.55);
}

@keyframes csWavePulse {
  0% {
    height: 4px;
  }

  50% {
    height: 22px;
  }

  100% {
    height: 6px;
  }
}

.cs-audio-player__time {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C4B5FD;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.cs-testimonial__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  position: relative;
  z-index: 1;
}

.cs-testimonial__author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(109, 40, 217, 0.4));
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #F5F3FF;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.cs-testimonial__author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.cs-testimonial__author-role {
  font-size: 0.78rem;
  color: #9A9A9A;
}

.cs-testimonial__stars {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cs-testimonial__stars-score {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 2px;
}

.cs-testimonial__stars-icons {
  font-size: 0.70rem;
  color: #C4B5FD;
  letter-spacing: 2px;
  line-height: 1;
}

/* ==========================================================================
   SECTION 3: CASE STUDIES BROWSING (FILTERS, FEATURED, MASONRY GRID & DETAIL)
   ========================================================================== */

.cs-portfolio {
  position: relative;
  padding-top: clamp(56px, 5.5vw, 80px);
  padding-bottom: clamp(72px, 6.5vw, 96px);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.cs-portfolio__glow {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translate(-50%, 0);
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.07) 0%, rgba(109, 40, 217, 0.02) 50%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Transition Container */
.cs-grid-view {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  transition: opacity 250ms ease, transform 250ms ease;
}

/* 1. Category Filter Navigation */
.cs-filter-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cs-filter-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: rgba(18, 15, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
  max-width: 100%;
}

.cs-filter-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.cs-filter-list li {
  flex-shrink: 0;
  display: inline-flex;
}

.cs-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9A9A9A;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 220ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cs-filter-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.cs-filter-btn.is-active {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(167, 139, 250, 0.45);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
}

/* General Tag / Badge Styles */
.cs-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

.cs-tag--featured {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(109, 40, 217, 0.45));
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #EDE9FE;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

.cs-tag--category {
  background: rgba(10, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #C4B5FD;
}

/* 2. Grid Header & Counter */
.cs-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.cs-grid-header__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cs-grid-header__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9A9A9A;
  letter-spacing: 0.02em;
}

/* 3. Masonry Case Study Grid */
.cs-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.cs-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 18, 34, 0.75) 0%, rgba(13, 11, 20, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
  outline: none;
}

.cs-card:focus-visible {
  border-color: #A78BFA;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.35), 0 12px 32px rgba(0, 0, 0, 0.6);
}

.cs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(139, 92, 246, 0.2);
}

/* Varied Aspect Ratios for Art-Directed Masonry Feel */
.cs-card--tall .cs-card__media {
  height: 250px;
}

.cs-card--medium .cs-card__media {
  height: 205px;
}

.cs-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(12, 10, 18, 0.9);
}

.cs-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.04);
  transition: transform 350ms ease, filter 350ms ease;
}

.cs-card:hover .cs-card__img {
  transform: scale(1.04);
  filter: brightness(0.98) contrast(1.08);
}

.cs-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 20, 0.95) 0%, rgba(13, 11, 20, 0.2) 60%, transparent 100%);
  pointer-events: none;
}

.cs-card__tag-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.cs-card__body {
  padding: 20px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.cs-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cs-card__desc {
  font-size: 0.86rem;
  color: #9A9A9A;
  line-height: 1.55;
  margin-bottom: 20px;
}

.cs-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  margin-top: auto;
}

.cs-card__metric-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cs-card__metric-val {
  font-size: 1rem;
  font-weight: 800;
  color: #C4B5FD;
}

.cs-card__metric-lbl {
  font-size: 0.72rem;
  color: #8A8A8A;
}

.cs-card__affordance {
  font-size: 0.8rem;
  font-weight: 700;
  color: #C4B5FD;
  opacity: 0.85;
  transition: opacity 200ms ease, transform 200ms ease;
}

.cs-card:hover .cs-card__affordance {
  opacity: 1;
  transform: translateX(2px);
}

/* ==========================================================================
   COMPACT CASE STUDY MODAL PREVIEW (MINI PREVIEW DIALOG)
   ========================================================================== */

/* Background Scroll Locking */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

/* Modal Backdrop Overlay */
.cs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 4, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.cs-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Centered Desktop Modal Container */
.cs-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.3) transparent;
  background: linear-gradient(165deg, rgba(20, 16, 32, 0.98) 0%, rgba(10, 8, 16, 0.99) 100%);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.16);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
  outline: none;
}

.cs-modal.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cs-modal::-webkit-scrollbar {
  width: 6px;
}

.cs-modal::-webkit-scrollbar-track {
  background: transparent;
}

.cs-modal::-webkit-scrollbar-thumb {
  background-color: rgba(167, 139, 250, 0.3);
  border-radius: 4px;
}

/* Top-Right Close Button */
.cs-modal__close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #EDE9FE;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
  z-index: 10;
}

.cs-modal__close-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(167, 139, 250, 0.5);
  color: #FFFFFF;
  transform: scale(1.06);
}

.cs-modal__close-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #A78BFA;
}

/* Modal Body Content */
.cs-modal__body {
  padding: 26px 30px 22px 30px;
}

.cs-modal__content-wrap {
  display: flex;
  flex-direction: column;
}

/* Eyebrow / Category Header */
.cs-modal__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cs-modal__client {
  font-size: 0.80rem;
  font-weight: 500;
  color: #8A8A8A;
  letter-spacing: 0.02em;
}

/* Title & Subtitle */
.cs-modal__title {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  padding-right: 36px;
}

.cs-modal__subtitle {
  font-size: 0.86rem;
  color: #9A9A9A;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Wide Full-Width Horizontal Hero Image */
.cs-modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  max-height: 235px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 10, 18, 0.95);
  margin-bottom: 14px;
}

.cs-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.cs-modal__media-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1), transparent 75%);
  pointer-events: none;
}

/* Description */
.cs-modal__section {
  margin-bottom: 14px;
}

.cs-modal__desc {
  font-size: 0.88rem;
  color: #D4D4D8;
  line-height: 1.55;
  margin: 0;
}

/* Key Result Highlight Box */
.cs-modal__result-box {
  background: linear-gradient(135deg, rgba(28, 22, 44, 0.65) 0%, rgba(16, 13, 26, 0.85) 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 14px;
}

.cs-modal__result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cs-modal__result-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

.cs-modal__result-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #C4B5FD;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-modal__result-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cs-modal__result-primary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cs-modal__result-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cs-modal__result-lbl {
  font-size: 0.86rem;
  font-weight: 600;
  color: #C4B5FD;
}

.cs-modal__submetrics {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cs-modal__submetric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-modal__submetric-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #EDE9FE;
}

.cs-modal__submetric-lbl {
  font-size: 0.70rem;
  color: #8A8A8A;
}

/* Services Delivered */
.cs-modal__services-section {
  margin-bottom: 14px;
  padding-top: 2px;
}

.cs-modal__services-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8A8A8A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cs-modal__services-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #EDE9FE;
  line-height: 1.4;
}

/* Modal Actions Footer */
.cs-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: 2px;
}

.cs-modal__back-btn {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #EDE9FE;
  transition: all 0.2s ease;
}

.cs-modal__back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.cs-modal__contact-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 9999px;
  background: #0E0B1A;
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
  transition: all 0.2s ease;
}

.cs-modal__contact-btn:hover {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptop (1100px) */
@media (max-width: 1100px) {
  .cs-hero__container {
    gap: var(--space-2xl);
    grid-template-columns: 1fr 1.15fr;
  }

  .cs-hero__title {
    font-size: 3.6rem;
  }

  .cs-constellation {
    height: 390px;
    max-width: 480px;
  }

  .cs-constellation__node--anchor {
    top: 150px;
    left: 140px;
  }

  .cs-constellation__node--kims {
    top: 18px;
    left: 20px;
  }

  .cs-constellation__node--wockhardt {
    top: 12px;
    right: 25px;
  }

  .cs-constellation__node--travezy {
    top: 135px;
    left: 0px;
  }

  .cs-constellation__node--celebrity {
    top: 125px;
    right: 10px;
  }

  .cs-constellation__node--acktive {
    top: 270px;
    left: 40px;
  }

  .cs-constellation__node--maheshwari {
    top: 250px;
    right: 25px;
  }

  .cs-credibility__grid {
    gap: 40px;
  }

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

/* Tablet (992px) */
@media (max-width: 992px) {
  .cs-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .cs-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .cs-hero__content {
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .cs-hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .cs-hero__cta-group {
    justify-content: center;
  }

  .cs-hero__visual {
    display: none;
  }

  .cs-hero__mobile-strip {
    display: block;
  }

  .cs-credibility {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .cs-credibility__eyebrow-wrap {
    margin-bottom: 36px;
  }

  .cs-credibility__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .cs-credibility__left {
    max-width: 520px;
    margin: 0 auto;
  }

  .cs-testimonial-panel {
    max-width: 520px;
    min-height: auto;
    margin: 0 auto;
  }

  /* Portfolio Section Tablet */
  .cs-portfolio {
    padding-top: 65px;
    padding-bottom: 90px;
  }

  .cs-filter-nav {
    justify-content: flex-start;
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    mask-image: linear-gradient(to right, black calc(100% - 36px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 36px), transparent 100%);
    transition: mask-image 200ms ease, -webkit-mask-image 200ms ease;
  }

  .cs-filter-nav.is-scrolled-end {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .cs-filter-list {
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

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

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .cs-hero {
    padding-top: calc(72px + var(--space-xl));
    padding-bottom: var(--space-3xl);
  }

  .cs-hero__title {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .cs-hero__description {
    font-size: 0.95rem;
  }

  .cs-hero__cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .cs-hero__cta-group .btn {
    width: 100%;
  }

  /* Credibility Section Mobile */
  .cs-credibility {
    padding-top: 55px;
    padding-bottom: 65px;
  }

  .cs-credibility__eyebrow-wrap {
    margin-bottom: 30px;
  }

  .cs-editorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }

  .cs-editorial-item--stat-large {
    padding: 22px 20px;
  }

  .cs-media-card {
    height: 160px;
  }

  .cs-testimonial-panel {
    padding: 26px 20px;
    border-radius: 20px;
    min-height: auto;
  }

  .cs-testimonial__quote {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .cs-audio-player {
    padding: 6px 14px 6px 8px;
    margin-bottom: 18px;
  }

  .cs-audio-player__btn {
    width: 38px;
    height: 38px;
  }

  /* Portfolio Section Mobile */
  .cs-portfolio {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .cs-filter-nav {
    justify-content: flex-start;
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
    mask-image: linear-gradient(to right, black calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 30px), transparent 100%);
    transition: mask-image 200ms ease, -webkit-mask-image 200ms ease;
  }

  .cs-filter-list {
    width: 100%;
    max-width: 100%;
    padding: 6px 10px;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .cs-filter-btn {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .cs-masonry-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Mobile Bottom Sheet Modal */
  .cs-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .cs-modal {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    transform: translateY(100%);
  }

  .cs-modal.is-active {
    transform: translateY(0);
  }

  .cs-modal__body {
    padding: 24px 20px 20px 20px;
  }

  .cs-modal__title {
    font-size: 1.45rem;
    padding-right: 32px;
  }

  .cs-modal__media {
    aspect-ratio: 2 / 1;
    max-height: 200px;
    margin-bottom: 12px;
  }

  .cs-modal__img {
    height: 100%;
  }

  .cs-modal__result-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cs-modal__submetrics {
    gap: 12px;
  }

  .cs-modal__submetric {
    border-left: none;
    padding-left: 0;
  }

  .cs-modal__footer {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .cs-modal__footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .cs-hero__title {
    font-size: 2.2rem;
  }

  .cs-testimonial__author {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cs-testimonial__stars {
    align-items: flex-start;
  }
}