/* ==========================================================================
   Case Studies Page Styles (case.html)
   ========================================================================== */

* {
  box-sizing: border-box;
}

body.case-studies-page {
  background-color: #030712;
  color: #f9fafb;
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header & Header Layout */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: transparent;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b91414, #c5142a);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.brand-text {
  font-size: 1.05rem;
  color: #ffffff;
}

/* Hero Section Styled to Match Home Page Hero */
.cs-hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: #0b0f19;
  overflow: hidden;
  padding: 120px 50px 70px;
  width: calc(100% - 80px);
  max-width: 1600px;
  margin: 24px auto 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 30% 20%, rgba(197, 20, 42, 0.22) 0%, rgba(11, 15, 25, 0.95) 70%);
}

.hero-container-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff4d6d;
  font-weight: 800;
}

.hero-main-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 580px;
}

/* Bullet list inside hero */
.hero-bullets {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.bullet-icon {
  flex: none;
  background-color: #c5142a;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #e71e36, #c5142a);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(215, 38, 56, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Review Badges Overlay */
.hero-badges-overlay {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.rating-badge-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 14px;
  color: #0b0f19;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  min-width: 220px;
}

.rating-score {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rating-score span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5f84;
}

.rating-meta {
  font-size: 0.75rem;
  color: #4b5f84;
  margin-top: 4px;
}

.google-badge .star-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Case Stack Layout */
.cs-stack-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 40px 0 80px;
}

.cs-full-card {
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cs-full-card:hover {
  border-color: #c5142a;
  transform: translateY(-4px);
}

.cs-tag {
  display: inline-block;
  background: rgba(197, 20, 42, 0.2);
  color: #ff4d6d;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.cs-card-header h2 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cs-lead {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Stats Highlight Grid */
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.cs-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cs-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c5142a;
}

.cs-stat-lbl {
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Body Content Breakdown */
.cs-body-content h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 20px 0 8px;
}

.cs-body-content p {
  color: #9ca3af;
  line-height: 1.6;
  font-size: 0.98rem;
}

.cs-body-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.cs-body-content ul li {
  color: #d1d5db;
  padding: 6px 0 6px 24px;
  position: relative;
}

.cs-body-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c5142a;
  font-weight: bold;
}

/* Bottom CTA Banner */
.cs-cta-bottom {
  padding: 80px 0;
  background: linear-gradient(180deg, #0b1329 0%, #030712 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.cs-cta-bottom h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.cs-cta-bottom p {
  color: #9ca3af;
  margin-bottom: 24px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 50;
  text-decoration: none;
}

.whatsapp-float::before {
  content: "💬";
  font-size: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 980px) {
  .hero-container-layout {
    grid-template-columns: 1fr;
  }

  .hero-badges-overlay {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .cs-hero-section {
    padding: 100px 20px 40px;
    width: calc(100% - 32px);
  }

  .cs-full-card {
    padding: 24px;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Full-width dark hero with background photo, like the reference screenshot */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: #0b0f19;
  overflow: hidden;
  padding: 90px 50px 70px;
  width: calc(100% - 80px);
  max-width: 1600px;
  margin: 24px auto 24px;
  border-radius: 24px;
  margin: 24px auto 24px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  object-position: center 20%;
}

/* Gradient mask so the left-aligned copy stays readable over the photo */
.hero-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 15, 25, 0.671) 0%,
      rgba(11, 15, 25, 0.411) 45%,
      rgba(11, 15, 25, 0.253) 100%);
}

.hero-container-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 40px;
}

.hero-copy {
  max-width: 620px;
}

.hero-main-title {
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 560px;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.bullet-icon {
  flex: none;
  background-color: #f2733b;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #22b768, #16a34a);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.35);
  border-radius: 999px;
}

/* Floating review badges, bottom-right of the hero image */
.hero-badges-overlay {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-self: flex-end;
}

.rating-badge-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 14px;
  color: #0b0f19;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  min-width: 168px;
}

.rating-score {
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rating-score span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4b5f84;
}

.rating-meta {
  font-size: 0.72rem;
  color: #4b5f84;
  margin-top: 4px;
}

.google-badge .star-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-top: 4px;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(2, 2, 78);
  font-weight: 700;
}



.projects,
.services,
.process,
.testimonials,
.contact-section {
  position: relative;
  padding: 110px 0;
}

section:not(.hero):not(.logo-band):not(.performance-strip)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 80px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 42px;
}

.section-heading h2,
.process-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}


/* Site Footer Base */
.site-footer {
  background-color: #ffffff;
  color: #00205B;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid #e2e8f0;
}

/* Top Dual CTA Row */
.footer-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8f9fa;
}

.cta-card {
  display: flex;
  align-items: center;
  padding: 24px 40px;
  text-decoration: none;
  gap: 20px;
  border-right: 1px solid #e2e8f0;
  transition: background-color 0.3s ease;
}

.cta-card:last-child {
  border-right: none;
}

.cta-card:hover {
  background-color: #f1f5f9;
}

.cta-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cta-info h4 {
  color: #00205B;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}

.cta-info p {
  color: #00205B;
  opacity: 0.8;
  font-size: 14px;
}

.cta-arrow {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00205B;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Partner Marketplace Bar */
.footer-partners-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 20px;
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #00205B;
}

.badge-avatar {
  font-size: 28px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.partner-tag {
  font-size: 16px;
  font-weight: 800;
  color: #00205B;
  opacity: 0.85;
}

.partner-tag span {
  font-size: 12px;
  font-weight: 600;
  color: #c5142a;
}

/* Main Footer Area */
.footer-main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
  gap: 40px;
}

/* Brand Column */
.footer-logo {
  font-size: 26px;
  font-weight: 900;
  color: #00205B;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: #c5142a;
}

.brand-description {
  font-size: 14px;
  line-height: 1.6;
  color: #00205B;
  opacity: 0.8;
  margin: 16px 0 24px 0;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #c5142a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Footer Links Column */
.col-title {
  color: #c5142a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #00205B;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #c5142a;
  opacity: 1;
}

/* Revenue Stat Column */
.stat-amount {
  font-size: 38px;
  font-weight: 900;
  color: #c5142a;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 800;
  color: #00205B;
  letter-spacing: 0.5px;
}

/* Responsive Scaling */
@media (max-width: 992px) {
  .footer-cta-row {
    grid-template-columns: 1fr;
  }
  .cta-card {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-partners-bar {
    padding: 24px;
  }
}

@media (max-width: 980px) {

  .hero-container-layout,
  .split-layout,
  .contact-wrap,
  .service-grid,
  .project-grid,
  .testimonial-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges-overlay {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .mini-metrics,
  .field-row {
    grid-template-columns: 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
    row-gap: 18px;
    padding: 18px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

/* ==========================================================================
   Proof & Testimonials Section Styles
   ========================================================================== */

.proof-testimonials-section {
  padding: 90px 0;
  background: #070c18;
  position: relative;
}

.proof-testimonials-section .section-header {
  margin-bottom: 56px;
  text-align: center;
}

.proof-testimonials-section .section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
  font-weight: 800;
  margin: 12px 0 16px;
}

.proof-testimonials-section .section-subtitle {
  color: #9ca3af;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Grid Layout */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Card Container */
.proof-card {
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 20, 42, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Card Header & Badges */
.proof-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-badge.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.platform-badge.email {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.platform-badge.x-twitter {
  background: rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-badge.review-card {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.verified-tag {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
}

/* Card Text */
.proof-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0 0 10px;
}

.proof-quote-text {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.55;
  margin: 0 0 20px;
}

/* Screenshot Preview Wrapper */
.proof-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #030712;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.proof-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.proof-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Zoom Hover Overlay */
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 41, 0.75);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proof-image-wrapper:hover .image-overlay {
  opacity: 1;
}

.zoom-icon {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  background: #c5142a;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(197, 20, 42, 0.4);
}

/* Lightbox Modal */
.proof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.proof-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  margin-top: 16px;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}