/* ============================================
   medical-camp.css
   Page-specific styles for Medical Camp page
   Requires: style.css (site-wide styles)
   Colour scheme: Emerald green — health, care, community
   Distinct from orange / teal / amber / blue-purple siblings
   ============================================ */

:root {
  --primary      : #2e7d52;
  --primary-dark : #1f5c3a;
  --primary-light: #5aad7e;
  --bg           : #f3faf6;
  --card-bg      : #ffffff;
  --text         : #333333;
  --muted        : #666666;
  --border       : #a8d9bc;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 40px;
  font-size: 0.88rem;
  color: var(--muted);
  background: #edf7f1;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO ===== */
.dept-hero {
  background: linear-gradient(135deg, #1a4d32 0%, #2e7d52 55%, #5aad7e 100%);
  padding: 55px 40px 45px;
  position: relative;
  overflow: hidden;
}
.dept-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.dept-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.dept-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.dept-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.dept-hero h1 { font-size: 2.4rem; color: #fff; margin-bottom: 10px; }
.dept-hero p  { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 650px; }

.dept-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat-box {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 22px;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  min-width: 110px;
}
.stat-box strong { display: block; font-size: 1.6rem; font-weight: 700; }
.stat-box span   { font-size: 0.8rem; opacity: 0.85; }

/* ===== FEATURED HIGHLIGHT ===== */
.highlight-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 0;
}
.highlight-card {
  background: #fff;
  border-radius: 20px;
  border: 2px solid var(--primary);
  box-shadow: 0 8px 28px rgba(46,125,82,0.13);
  padding: 30px 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.highlight-card::before {
  content: '★ FEATURED';
  position: absolute;
  top: 16px; right: -32px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 44px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}
.highlight-icon {
  width: 64px; height: 64px; min-width: 64px;
  background: linear-gradient(135deg, #2e7d52, #5aad7e);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.highlight-body h3    { font-size: 1.3rem; color: var(--primary); margin-bottom: 6px; }
.highlight-body p     { color: #555; font-size: 0.97rem; margin-bottom: 14px; line-height: 1.7; }
.highlight-meta       { display: flex; flex-wrap: wrap; gap: 12px; }
.meta-chip {
  display: flex; align-items: center; gap: 6px;
  background: #edf7f1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.83rem;
  color: #555;
}
.amount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2e7d52, #5aad7e);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 25px;
  margin-bottom: 12px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg);
  padding: 60px 40px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: #d4f0e2;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.about-text h2 {
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-text p {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.service-chip {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 25px;
  transition: 0.2s;
}
.service-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== INFO CARD ===== */
.info-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 20px rgba(46,125,82,0.1);
  padding: 28px;
  position: sticky;
  top: 24px;
}
.info-card h3 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #d4f0e2;
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #edf7f1;
  font-size: 0.88rem;
  color: #555;
}
.info-row:last-child { border-bottom: none; }
.info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.info-row strong {
  display: block;
  font-size: 0.74rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

/* ===== PHOTO GALLERY — 2x2 grid ===== */
.gallery-section {
  background: #fff;
  padding: 60px 40px 70px;
  border-top: 1px solid #d4f0e2;
}
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-inner h2 {
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.3;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.photo-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 20px rgba(46,125,82,0.08);
  background: #fff;
  transition: 0.3s;
}
.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(46,125,82,0.15);
  border-color: var(--primary);
}

.photo-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #c8e6d4, #edf7f1);
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.photo-card:hover .photo-wrap img { transform: scale(1.04); }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #c8e6d4, #edf7f1);
  padding: 20px;
  text-align: center;
}
.ph-icon  { font-size: 3rem; }
.ph-label { font-size: 0.92rem; font-weight: 600; color: var(--primary); }
.ph-hint  {
  font-size: 0.76rem;
  color: #aaa;
  font-family: monospace;
  background: rgba(255,255,255,0.75);
  padding: 4px 10px;
  border-radius: 8px;
  margin-top: 4px;
}

.photo-caption { padding: 18px 22px 20px; }
.photo-caption h4 {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 5px;
}
.photo-caption p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .about-inner     { grid-template-columns: 1fr; gap: 30px; }
  .photo-grid      { grid-template-columns: 1fr; }
  .about-section   { padding: 40px 20px; }
  .gallery-section { padding: 40px 20px 50px; }
  .highlight-section { padding: 30px 20px 0; }
  .highlight-card  { flex-direction: column; }
  .dept-hero       { padding: 40px 20px 30px; }
  .dept-hero h1    { font-size: 1.8rem; }
  .dept-stats      { gap: 16px; }
  .breadcrumb      { padding: 14px 20px; }
  .info-card       { position: static; }
}