*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #5b31c5;
  --primary-dark: #441f92;
  --lavender: #f3ebff;
  --lavender-light: #f9f6ff;
  --text: #2b2355;
  --muted: #5f5a7a;
  --card: #ffffff;
  --border: rgba(91, 49, 197, 0.15);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--lavender-light);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--lavender-light);
  padding-top: 6.5rem;
}

img {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  padding: 3rem clamp(1.2rem, 2.5vw, 2rem);
}

.hero {
  padding: 4rem clamp(1.5rem, 3vw, 3rem) 4rem;
  background: linear-gradient(180deg, #f9f6ff 0%, #ffffff 70%);
}

.page-hero {
  padding-bottom: 3rem;
}

.page-hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-media.slim img {
  border-radius: 1.25rem;
}

.page-content {
  padding: 2rem clamp(1.2rem, 2.5vw, 2rem) 3rem;
  background-color: var(--lavender-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(160%);
  padding: 1.2rem clamp(1.5rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(91, 49, 197, 0.1);
  box-shadow: 0 2px 8px rgba(6, 2, 14, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 1.5rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  transition: transform 0.2s ease;
}

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

.brand img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  border: none;
  box-shadow: 0 4px 16px rgba(91, 49, 197, 0.15);
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: var(--lavender);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.2s ease;
  position: relative;
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  opacity: 0;
  transform: scaleX(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Footer links active state (match header style) */
.footer-links a {
  position: relative;
  transition: color 0.2s ease;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  opacity: 0;
  transform: scaleX(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-links a.active {
  color: var(--primary);
}
.footer-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 12px 25px rgba(91, 49, 197, 0.12);
}

.btn.primary {
  background-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn.ghost:hover {
  background-color: var(--lavender);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.media-card {
  background-color: #fff;
  border-radius: 2rem;
  padding: 1.25rem;
  box-shadow: 0 25px 60px rgba(67, 40, 105, 0.1);
  max-width: 420px;
  align-self: start;
}

.media-card img {
  height: 280px;
  object-fit: cover;
}

.media-badge {
  background-color: var(--lavender);
  border-radius: 1.25rem;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.section-header {
  max-width: 56rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
}

.partners-section {
  background-color: #fff;
  padding: 3rem clamp(1.2rem, 2.5vw, 2rem);
  border-radius: 2rem;
  border: 1px solid rgba(91, 49, 197, 0.12);
  box-shadow: 0 18px 40px rgba(67, 40, 105, 0.08);
  margin-top: 2rem;
}

.partners-section .card {
  text-align: center;
}

.partners-section .card img {
  width: auto;
  max-width: 180px;
  max-height: 120px;
  margin: 0 auto 1rem;
  object-fit: contain;
  border-radius: 1rem;
}

.partners-section .card h3 {
  margin-top: 0.5rem;
}

.partners-section .card p {
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: stretch;
}


.home-links,
.home-stats,
.gallery-preview {
  background-color: #fff;
}

.home-links .container,
.home-stats .container,
.gallery-preview .container {
  max-width: 1200px;
  margin: 0 auto;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-card {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(67, 40, 105, 0.08);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(67, 40, 105, 0.15);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: start;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list li {
  background-color: var(--lavender);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 500;
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.values-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  font-weight: 500;
}

.values-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.approach-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.approach-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.approach-item {
  padding: 1.25rem;
  background: #ffffff;
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.approach-item:hover {
  box-shadow: 0 8px 20px rgba(91, 49, 197, 0.1);
  transform: translateX(8px);
}

.approach-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

/* Impact Statement Card */
.impact-statement-section {
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.impact-statement-card {
  background: linear-gradient(135deg, #5b31c5 0%, #7d4ed8 100%);
  border-radius: 2rem;
  padding: 4rem clamp(2rem, 3vw, 3rem);
  color: white;
  position: relative;
  overflow: hidden;
}

.impact-statement-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.impact-statement-content {
  position: relative;
  z-index: 1;
}

.impact-statement-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.impact-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-icon {
  font-size: 2.5rem;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .impact-statement-card {
    padding: 2.5rem 1.5rem;
  }

  .impact-statement-card h2 {
    font-size: 1.5rem;
  }

  .impact-text {
    font-size: 1rem;
  }

  .impact-metrics {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .metric {
    padding: 1rem;
  }

  .metric-icon {
    font-size: 2rem;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 1rem 1rem 0.5rem;
}

.gallery-description {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0 1rem 1rem;
  line-height: 1.5;
}

.pill-list li {
  background-color: var(--lavender);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 500;
}

.info-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

.key-points ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.timeline-list article {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background-color: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(67, 40, 105, 0.08);
}

.about {
  background-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.about-grid article {
  background-color: var(--lavender-light);
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.about-grid h3 {
  margin-bottom: 0.75rem;
}

.programs {
  background-color: var(--lavender-light);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card-grid.single-column {
  grid-template-columns: 1fr;
}

.card-grid.single-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(67, 40, 105, 0.08);
}

.card h3,
.home-card h3,
.team-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background-color: var(--lavender);
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  background-color: var(--primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon.sewing::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4h11v2H8v4h8c2.209 0 4 1.791 4 4v5h-2v-5c0-1.103-.897-2-2-2H8v6H2V10c0-3.309 2.691-6 6-6z' fill='white'/%3E%3C/svg%3E");
}

.icon.finance::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a5 5 0 015 5v1h1a4 4 0 014 4v6h-2v-6a2 2 0 00-2-2h-1v1a5 5 0 11-10 0V8a5 5 0 015-5zm3 6V7a3 3 0 00-6 0v1h6zm-3 8a3 3 0 003-3v-1H9v1a3 3 0 003 3z' fill='white'/%3E%3C/svg%3E");
}

.icon.support::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a6 6 0 016 6c0 2.053-.963 3.88-2.445 5.067L12 20l-3.555-5.933A6.998 6.998 0 016 9a6 6 0 016-6z' fill='white'/%3E%3C/svg%3E");
}

.icon.advocacy::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8h2l8-5v18l-8-5H3V8zm15 2h3v4h-3l-4 2V8l4 2z' fill='white'/%3E%3C/svg%3E");
}

.impact {
  background-color: #fff;
}

.impact-intro {
  background-color: var(--lavender-light);
  padding: 3rem clamp(1.5rem, 3vw, 3rem);
}

.intro-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-content p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-content strong {
  color: var(--primary);
  font-weight: 600;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.impact-grid article {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background-color: var(--lavender-light);
  border: 1px solid var(--border);
  text-align: center;
}

.impact-grid .stat-number {
  animation: counter-up 2s ease-out forwards;
  font-size: 2.5rem;
}

@keyframes counter-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gallery-preview .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #fff;
  box-shadow: 0 12px 30px rgba(67, 40, 105, 0.08);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.gallery-caption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--primary);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-grid article {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(67, 40, 105, 0.08);
}

.values {
  background-color: var(--lavender-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-grid article {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.icon.heart::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3A5.5 5.5 0 0112 5.09 5.5 5.5 0 0116.5 3C19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.18L12 21z' fill='white'/%3E%3C/svg%3E");
}

.icon.coins::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4c4.418 0 8 1.79 8 4s-3.582 4-8 4-8-1.79-8-4 3.582-4 8-4zm0 10c2.905 0 5.477-.668 7.094-1.732.571.4.906.877.906 1.399 0 2.21-3.582 4-8 4s-8-1.79-8-4c0-.522.335-?.' fill='white'/%3E%3C/svg%3E");
}

/* fallback if mask path truncated fix -> provide full path */
.icon.coins::after {
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 4c4.418 0 8 1.79 8 4s-3.582 4-8 4-8-1.79-8-4 3.582-4 8-4zm0 6c2.761 0 5-.895 5-2s-2.239-2-5-2-5 .895-5 2 2.239 2 5 2zm0 2c2.905 0 5.477-.668 7.094-1.732.571.4.906.877.906 1.399 0 2.21-3.582 4-8 4s-8-1.79-8-4c0-.522.335-.999.906-1.399C6.523 11.332 9.095 12 12 12zm0 6c2.905 0 5.477-.668 7.094-1.732.571.4.906.877.906 1.399 0 2.21-3.582 4-8 4s-8-1.79-8-4c0-.522.335-.999.906-1.399C6.523 17.332 9.095 18 12 18z'/%3E%3C/svg%3E");
}

.icon.justice::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l7 4v2h-2v6c0 3.315-2.685 6-6 6s-6-2.685-6-6V8H3V6l9-4zm0 4.236L8.618 8H11v8c0 1.105.895 2 2 2s2-.895 2-2V8h2.382L12 6.236z'/%3E%3C/svg%3E");
}

.icon.growth::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h4v2h6V3h4v4h-2.5L15 14l-3-6-2.5 5H5V3zm0 10h3.5l3.5-7 3 6 1.5-4H19v9H5v-4z'/%3E%3C/svg%3E");
}

.footer {
  background-color: #130631;
  color: #fff;
  padding: 2.5rem clamp(1.5rem, 3vw, 3rem);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.footer-tagline {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f0e8ff;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: #f0e8ff;
  transform: translateX(4px);
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p {
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: #f0e8ff;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta p {
  margin-bottom: 0;
}

.footer-social {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem clamp(1rem, 4vw, 2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-links li a:hover {
    transform: translateX(0);
  }
}

/* Chat assistant */
.chat-assistant {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  font-family: inherit;
}

.chat-toggle {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(69, 33, 136, 0.25);
}

.chat-panel {
  position: absolute;
  bottom: 4rem;
  right: 0;
  width: min(320px, 85vw);
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(33, 10, 79, 0.2);
  padding: 1.25rem;
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.chat-header small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.chat-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

.chat-body {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.assistant-message {
  background-color: var(--lavender);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quick-reply {
  width: 100%;
}

@media (max-width: 1024px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  body {
    padding-top: 4.5rem;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    width: calc(100% - 1.5rem);
    top: 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.48);
    padding: 0.7rem 1rem;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(67, 40, 105, 0.1);
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(67, 40, 105, 0.08);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(91, 49, 197, 0.2);
}

.gallery-page {
  background-color: #fff;
}

.gallery-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Team Page Styles */
.team-section {
  padding: 3rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.team-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(91, 49, 197, 0.15);
}

.team-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.75rem;
}

.team-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}

.team-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #5b31c5;
  margin: 0 0 1rem 0;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.team-footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-image {
    height: 250px;
  }
}


