/* ===== Google Fonts ===== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@300;400;500;600&display=swap");

:root {
  --primary: #c0569f;
  --primary-light: #d58fbd;
  --primary-dark: #a03d86;
  --primary-soft: #f5e6f1;
  --primary-ultra: #fdf4fa;
  --white: #ffffff;
  --gray-100: #f9f9f9;
  --gray-200: #f0ebee;
  --gray-300: #e0d5db;
  --gray-500: #9e8e98;
  --gray-700: #5a4f57;
  --gray-900: #1e141b;
  --shadow-sm: 0 2px 10px rgba(192, 86, 159, 0.08);
  --shadow-md: 0 6px 28px rgba(192, 86, 159, 0.14);
  --shadow-lg: 0 18px 52px rgba(192, 86, 159, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  /* font-family: 'DM Sans', sans-serif; */
  background:
    radial-gradient(
      circle at top left,
      rgba(213, 143, 189, 0.18),
      transparent 35%
    ),
    linear-gradient(180deg, #fffdfd 0%, #f9f1f6 100%);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* ===== PAGE WRAPPER ===== */
.our-work-page {
  width: 100%;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 70px max(24px, calc((100vw - 1140px) / 2));
  gap: 48px;
  overflow: hidden;
  background: #f8edf4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background:
    radial-gradient(circle at 16% 30%, rgba(255,255,255,0.65), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(213,143,189,0.18), transparent 22%); */
  pointer-events: none;
}

/* Decorative blob */
.hero-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(192, 86, 159, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  animation: fadeUp 0.7s ease both;
}

.hero-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(192, 86, 159, 0.12);
  border: 1px solid rgba(192, 86, 159, 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

/* .hero-content h1 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.45;
  font-weight: 300;
  max-width: 440px;
} */

.hero-figure {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-figure img {
  width: min(100%, 540px);
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(160, 61, 134, 0.2));
}

/* ===== SHARED SECTION SHELL ===== */
.section-inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

/* ===== SECTION HEADING ===== */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* .responsive-heading {
    font-size: 20r;
}

/* Mobile */
@media (max-width: 768px) {
    .responsive-heading {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .responsive-heading {
        font-size: 20px;
    }
} */

.section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-heading h2 {
  /* font-family: 'Playfair Display', serif; */
  font-size: clamp(1.2rem, 2.5vw, 2.3rem);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--gray-500);
  font-size: 0.97rem;
  line-height: 1.72;
}

/* ===== ECOSYSTEM SECTION ===== */
.ecosystem-section {
  padding: 76px 0 36px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}

/* ===== FEATURE CARDS ===== */
.feature-card-work {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(213, 143, 189, 0.2);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--primary);
  background: var(--primary-soft);
  margin-top: 3px;
}

.feature-card-work h3 {
  /* font-family: 'Playfair Display', serif; */
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 2px;
}

.feature-card-work p {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 14px;
}

.feature-card-work ul {
  list-style: none;
  margin-bottom: 18px;
}

.feature-card-work li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--gray-700);
  font-size: 0.88rem;
}

.feature-card-work li::before {
  content: "◉";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.feature-card-work-large {
  height: 750px;
  display: flex;
  flex-direction: column;
}

.feature-card-work-small {
  display: flex;
  flex-direction: column;
}

.feature-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary-soft), #eef7fb);
}

.feature-image-large {
  flex: 1;
  height: auto;
  min-height: 420px;
  margin-top: 8px;
}

.side-cards {
  display: grid;
  gap: 18px;
}

.card-dots {
  display: flex;
  gap: 8px;
  padding: 2px 8px;
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(192, 86, 159, 0.22);
}

.card-dots .active {
  background: var(--primary);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  padding: 60px 0 28px;
}

.impact-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-chip {
  appearance: none;
  cursor: pointer;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(213, 143, 189, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-700);
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-chip.active,
.filter-chip:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===== IMPACT GRID ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(213, 143, 189, 0.18);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeUp 0.5s ease both;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.impact-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-soft), #eef7fb);
}

.impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(192, 86, 159, 0.9);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
}

.impact-badge-right {
  left: auto;
  right: 14px;
  background: rgba(100, 30, 80, 0.75);
}

.impact-body {
  padding: 18px 20px 22px;
}

.impact-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.impact-body h3 {
  /* font-family: 'Playfair Display', serif; */
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.25;
}

.impact-body p {
  font-size: 0.87rem;
  color: var(--gray-700);
  line-height: 1.72;
}

.impact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.impact-link::before {
  content: "⊚";
  font-size: 0.9rem;
}

.impact-link:hover {
  gap: 10px;
}

/* Hidden cards when filtering */
.impact-card.hidden {
  display: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
  width: min(1140px, calc(100% - 32px));
  margin: 20px auto 60px;
  padding: 56px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 60%,
    #8a3070 100%
  );
  box-shadow: 0 24px 56px rgba(192, 86, 159, 0.28);
  position: relative;
  overflow: hidden;
}

/* Decorative circle in CTA */
.cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-section h2 {
  /* font-family: 'Playfair Display', serif; */
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  /* font-family: 'DM Sans', sans-serif; */
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TABLET (max 960px) ===== */
@media (max-width: 960px) {
  .hero-section {
    flex-direction: column;
    padding: 50px 24px;
    gap: 32px;
    min-height: auto;
  }

  .hero-figure {
    justify-content: center;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    min-height: auto;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MOBILE (max 640px) ===== */
@media (max-width: 640px) {
  .hero-section {
    padding: 36px 18px;
  }

  .hero-content h1 {
    font-size: 1.2rem;
  }

  .section-heading h2 {
    font-size: 1rem;
  }

  .ecosystem-section,
  .impact-section {
    padding: 48px 0 20px;
  }

  .section-inner {
    width: calc(100% - 18px);
  }

  .feature-card {
    padding: 20px 18px;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-body h3 {
    font-size: 1.1rem;
  }

  .impact-image {
    height: 180px;
  }

  .impact-filters {
    gap: 8px;
  }

  .filter-chip {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* .cta-section {
    padding: 40px 20px;
    margin: 20px 9px 40px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  } 

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  } */
}
