/*-----------------------------------------------------------------------------------
  Polar Auto - CSR Activity Styles
  Corporate Social Responsibility Design System Integration
  Aligned with Polar Auto Brand:
  - Heading Font: 'Open Sans', sans-serif
  - Body Font: 'Inter', sans-serif
  - Primary Color: #0D8754 (Polar Auto Green)
-----------------------------------------------------------------------------------*/

:root {
  --csr-primary: #0D8754;
  --csr-primary-deep: #0A6836;
  --csr-primary-surface: #F0FDF4;
  --csr-primary-border: #BBF7D0;
  --csr-navy: #182848;
  --csr-navy-subtle: #F1F5F9;
  --csr-amber: #D97706;
  --csr-amber-subtle: #FEF3C7;
  --csr-magenta: #BE185D;
  --csr-magenta-subtle: #FCE7F3;
  --csr-surface-ground: #F8FAFC;
  --csr-surface-card: #FFFFFF;
  --csr-border-subtle: #E2E8F0;
  --csr-text-primary: #0F172A;
  --csr-text-secondary: #475569;
  --csr-text-muted: #64748B;
  --csr-ff-heading: 'Open Sans', sans-serif;
  --csr-ff-body: 'Inter', sans-serif;
}

/* CSR Base & Section Layout */
.csr-page {
  font-family: var(--csr-ff-body);
  color: var(--csr-text-secondary);
  background-color: var(--csr-surface-ground);
  overflow-x: hidden;
}

.csr-section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 991px) {
  .csr-section {
    padding: 50px 0;
  }
}

.csr-bg-white {
  background-color: #FFFFFF;
}

.csr-bg-ground {
  background-color: var(--csr-surface-ground);
}

/* Top Hero Section */
.csr-hero-section {
  padding: 80px 0 60px;
  background: var(--csr-surface-ground);
  position: relative;
  overflow: hidden;
}

.csr-hero-glow-1 {
  position: absolute;
  top: -50px;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 135, 84, 0.08) 0%, rgba(240, 253, 244, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.csr-hero-glow-2 {
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(24, 40, 72, 0.06) 0%, rgba(241, 245, 249, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.csr-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--csr-primary-surface);
  color: var(--csr-primary-deep);
  border: 1px solid var(--csr-primary-border);
  margin-bottom: 16px;
}

.csr-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--csr-primary);
  box-shadow: 0 0 0 rgba(13, 135, 84, 0.4);
  animation: csrPulse 2s infinite;
}

@keyframes csrPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 135, 84, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(13, 135, 84, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 135, 84, 0);
  }
}

.csr-hero-title {
  font-family: var(--csr-ff-heading);
  font-size: 46px;
  font-weight: 800;
  color: var(--csr-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .csr-hero-title {
    font-size: 32px;
  }
}

.csr-hero-subtitle {
  font-family: var(--csr-ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--csr-primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  .csr-hero-subtitle {
    font-size: 19px;
  }
}

.csr-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--csr-text-secondary);
  max-width: 880px;
  margin-bottom: 0;
}

/* Section Header Structure */
.csr-section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .csr-section-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.csr-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.csr-cat-tag {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}

.csr-cat-tag.magenta {
  background-color: var(--csr-magenta-subtle);
  color: var(--csr-magenta);
}

.csr-cat-tag.navy {
  background-color: var(--csr-navy-subtle);
  color: var(--csr-navy);
}

.csr-cat-tag.amber {
  background-color: var(--csr-amber-subtle);
  color: var(--csr-amber);
}

.csr-cat-tag.green {
  background-color: var(--csr-primary-surface);
  color: var(--csr-primary-deep);
}

.csr-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--csr-text-muted);
}

.csr-meta-chip .material-symbols-outlined {
  font-size: 16px;
  color: var(--csr-text-muted);
}

.csr-section-title {
  font-family: var(--csr-ff-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--csr-text-primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .csr-section-title {
    font-size: 26px;
  }
}

.csr-section-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--csr-text-secondary);
  margin-bottom: 0;
  max-width: 720px;
}

/* Impact Pillar Badge Box */
.csr-impact-pillar-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--csr-surface-card);
  border: 1px solid var(--csr-border-subtle);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
}

.csr-bg-ground .csr-impact-pillar-box {
  background: #FFFFFF;
}

.csr-bg-white .csr-impact-pillar-box {
  background: var(--csr-surface-ground);
}

.csr-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.csr-pillar-icon.magenta {
  background-color: var(--csr-magenta-subtle);
  color: var(--csr-magenta);
}

.csr-pillar-icon.navy {
  background-color: var(--csr-navy-subtle);
  color: var(--csr-navy);
}

.csr-pillar-icon.green {
  background-color: var(--csr-primary-surface);
  color: var(--csr-primary-deep);
}

.csr-pillar-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--csr-text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.csr-pillar-value {
  font-family: var(--csr-ff-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--csr-text-primary);
  line-height: 1.3;
}

/* CSR Content Cards */
.csr-card {
  background: var(--csr-surface-card);
  border: 1px solid var(--csr-border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.csr-bg-white .csr-card {
  background: var(--csr-surface-ground);
}

.csr-bg-ground .csr-card {
  background: #FFFFFF;
}

.csr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(13, 135, 84, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.csr-card-img-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #E2E8F0;
}

.csr-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.csr-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.csr-card-body-tight {
  padding: 14px 16px;
}

.csr-label-subtle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.csr-label-subtle.magenta { color: var(--csr-magenta); }
.csr-label-subtle.navy { color: var(--csr-navy); }
.csr-label-subtle.amber { color: var(--csr-amber); }
.csr-label-subtle.green { color: var(--csr-primary-deep); }

.csr-card-title {
  font-family: var(--csr-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--csr-text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
}

.csr-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--csr-text-secondary);
  margin-bottom: 0;
}

.csr-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--csr-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--csr-text-muted);
}

/* Deliverables Highlight Box */
.csr-deliverables-box {
  background: var(--csr-primary-surface);
  border: 1px solid var(--csr-primary-border);
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.csr-deliverables-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--csr-primary-deep);
  font-family: var(--csr-ff-heading);
  font-size: 16px;
  font-weight: 700;
}

.csr-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.csr-deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--csr-text-secondary);
}

.csr-deliverables-list li .material-symbols-outlined {
  color: var(--csr-primary);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.csr-deliverables-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--csr-primary-deep);
}

/* Expanded Showcase Container (Gurukul Outdoor) */
.csr-expanded-showcase {
  background: var(--csr-navy-subtle);
  border: 1px solid var(--csr-border-subtle);
  border-radius: 16px;
  padding: 30px;
  margin-top: 32px;
}

.csr-expanded-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .csr-expanded-header {
    flex-direction: row;
    align-items: center;
  }
}

.csr-expanded-title {
  font-family: var(--csr-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--csr-navy);
  margin: 4px 0 0 0;
}

.csr-mini-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--csr-border-subtle);
  height: 100%;
}

.csr-mini-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.csr-mini-card-body {
  padding: 12px 14px;
}

.csr-mini-card-title {
  font-family: var(--csr-ff-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--csr-text-primary);
  margin-bottom: 3px;
}

.csr-mini-card-text {
  font-size: 13px;
  color: var(--csr-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
  vertical-align: middle;
  line-height: 1;
}
