/* ==========================================================================
   CSR & PASHUSHALA FOUNDATION STYLES
   ========================================================================== */

.csr-hero {
  position: relative;
  background: var(--teal-ddd);
  color: #fff;
  height: 400px;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  box-sizing: border-box;
}

.csr-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.78;
}

.csr-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 34, 0.65) 0%, rgba(8, 33, 44, 0.45) 50%, rgba(10, 42, 54, 0.25) 100%);
  z-index: 1;
}

.csr-hero .wrap {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Partner Intro & Impact Metrics */
.csr-intro-section {
  padding: 64px 0 30px;
  background: #ffffff;
}

.csr-partner-box {
  background: linear-gradient(135deg, rgba(9, 128, 152, 0.05) 0%, #ffffff 60%);
  border: 1px solid rgba(9, 128, 152, 0.22);
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 16px 40px -20px rgba(10, 42, 54, 0.08);
  margin-bottom: 40px;
  position: relative;
}

.csr-partner-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #5edbf2);
  border-radius: 18px 18px 0 0;
}

.csr-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(9, 128, 152, 0.1);
  color: var(--teal);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.csr-partner-box h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 18px;
}

.csr-lead-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #3f555f;
  margin-bottom: 20px;
  white-space: pre-line;
}

.csr-sub-lead {
  font-size: .96rem;
  line-height: 1.68;
  color: #556c76;
  margin-bottom: 32px;
}

.csr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
}

.csr-stat-item {
  display: flex;
  flex-direction: column;
}

.csr-stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 6px;
}

.csr-stat-lbl {
  font-size: .82rem;
  font-weight: 600;
  color: #566c75;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Visual Story Split Card */
.csr-story-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px -20px rgba(10, 42, 54, 0.08);
  margin-bottom: 64px;
}

.csr-story-img-wrap {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--teal-ddd);
}

.csr-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.csr-story-split:hover .csr-story-img-wrap img {
  transform: scale(1.03);
}

.csr-story-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 42, 54, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.csr-story-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5edbf2;
  box-shadow: 0 0 8px #5edbf2;
}

.csr-story-content {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.csr-story-content .kicker {
  color: var(--teal);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.csr-story-content h3 {
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 18px;
}

.csr-story-content p {
  font-size: .98rem;
  line-height: 1.7;
  color: #4f6671;
  margin-bottom: 24px;
}

.csr-highlights {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.csr-highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all .25s ease;
}

.csr-highlight-item:hover {
  border-color: rgba(9, 128, 152, 0.3);
  transform: translateX(4px);
}

.csr-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(9, 128, 152, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.csr-highlight-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
}

.csr-highlight-text strong {
  display: block;
  font-size: .94rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.csr-highlight-text span {
  font-size: .86rem;
  color: #556c75;
  line-height: 1.45;
}

/* Core Initiatives Pillars Section */
.csr-pillars-section {
  padding: 64px 0 76px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.csr-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.csr-section-head .kicker {
  justify-content: center;
  margin-bottom: 12px;
}

.csr-section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 14px;
}

.csr-section-head p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #556c75;
  margin: 0;
}

.csr-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.csr-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(10, 42, 54, 0.03);
  position: relative;
  overflow: hidden;
}

.csr-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background .25s ease;
}

.csr-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 128, 152, 0.38);
  box-shadow: 0 18px 40px -10px rgba(9, 128, 152, 0.18), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.csr-pillar-card:hover::before {
  background: linear-gradient(90deg, var(--teal), #5edbf2);
}

.csr-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(9, 128, 152, 0.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all .25s ease;
}

.csr-pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  transition: stroke .25s ease;
}

.csr-pillar-card:hover .csr-pillar-icon {
  background: var(--teal);
  color: #fff;
  transform: scale(1.06);
}

.csr-pillar-card:hover .csr-pillar-icon svg {
  stroke: #ffffff;
}

.csr-pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.csr-pillar-card p {
  font-size: .9rem;
  line-height: 1.6;
  color: #556c75;
  margin-bottom: 20px;
  flex-grow: 1;
}

.csr-pillar-tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal);
  background: rgba(9, 128, 152, 0.07);
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 2px solid var(--teal);
  align-self: flex-start;
  margin-top: auto;
}

/* Medical Spotlight Section */
.csr-medical-section {
  padding: 72px 0 68px;
  background: #ffffff;
}

.csr-medical-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.csr-medical-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px -14px rgba(10, 42, 54, 0.15);
  border: 1px solid var(--line);
}

.csr-medical-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.csr-medical-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 42, 54, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.csr-medical-content .kicker {
  margin-bottom: 12px;
}

.csr-medical-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 18px;
}

.csr-medical-content p {
  font-size: 1rem;
  line-height: 1.72;
  color: #4b636d;
  margin-bottom: 24px;
}

.csr-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  gap: 12px;
}

.csr-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
}

.csr-checklist li svg {
  width: 20px;
  height: 20px;
  fill: var(--teal);
  flex-shrink: 0;
}

/* Call to Action */
.csr-action-banner {
  background: var(--teal);
  color: #ffffff;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.csr-action-banner .kicker {
  color: #ffffff;
  justify-content: center;
}

.csr-action-banner .kicker:before {
  background: #ffffff;
}

.csr-action-banner h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 14px;
}

.csr-action-banner p {
  color: #fff;
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.65;
  white-space: pre-line;
}

.csr-action-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.csr-action-buttons .btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .25s ease;
}

.csr-action-buttons .btn-light {
  background: #ffffff;
  color: var(--teal);
}

.csr-action-buttons .btn-light:hover {
  background: var(--teal-ddd);
  color: #ffffff;
  transform: translateY(-2px);
}

.csr-action-buttons .btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.csr-action-buttons .btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1040px) {
  .csr-story-split,
  .csr-medical-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .csr-story-img-wrap,
  .csr-medical-media img {
    min-height: 320px;
  }

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

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

@media (max-width: 680px) {
  .csr-partner-box {
    padding: 28px 22px;
  }

  .csr-story-content {
    padding: 28px 20px;
  }

  .csr-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .csr-pillars-grid {
    grid-template-columns: 1fr;
  }

  .csr-story-img-wrap,
  .csr-medical-media img {
    min-height: 240px;
  }
}
