/* Mission Mukti - Global Styles */
/* Nagpur City Police Humanitarian Initiative */
/* Design System Colors:
  --vermilion:  #fc4c04
  --madison:    #0c2c64
  --sapphire:   #042464
  --rock:       #4c3834
  --cream:      #fdf8f5
  --light-rock: #f5f0ed
  --white:      #ffffff
*/

:root {
  --vermilion: #fc4c04;
  --madison: #0c2c64;
  --sapphire: #042464;
  --rock: #4c3834;
  --white: #ffffff;
  --cream: #fdf8f5;
  --light-rock: #f5f0ed;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--rock); overflow-x: hidden; }

/* ===== NAV — base styles only; full nav CSS is inlined in header.php ===== */
/* (keeps the external file free of nav conflicts) */

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  background: var(--sapphire);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 50px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 50px);
  pointer-events: none;
}

.hero-bg-image {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden;
}
.hero-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-bg-image::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(4,36,100,0.88) 0%, rgba(4,36,100,0.70) 100%);
}
.hero-bg-lines { z-index: 1; }
.hero-circle { z-index: 1; }

.hero-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(252,76,4,0.15);
}

.hero-circle.c1 { width: 600px; height: 600px; right: -150px; top: -150px; }
.hero-circle.c2 { width: 400px; height: 400px; right: -50px; top: -50px; }
.hero-circle.c3 { width: 200px; height: 200px; left: 5%; bottom: 10%; border-color: rgba(255,255,255,0.08); }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 6rem 5% 4rem; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(252,76,4,0.15); border: 1px solid rgba(252,76,4,0.4);
  color: #ff8555; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 2rem;
  animation: fadeUp 0.6s ease forwards;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); display: inline-block; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; color: var(--white);
  line-height: 1.08; margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title em { color: var(--vermilion); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 650px; margin: 0 auto 2.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }
.btn-primary {
  background: var(--vermilion); color: white; border: none;
  padding: 14px 32px; border-radius: 4px; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,76,4,0.4); }
.btn-outline {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 14px 32px; border-radius: 4px; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.5px; cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(252,76,4,0.8), transparent); animation: scrollPulse 1.5s ease-in-out infinite; }

/* ===== SECTION COMMONS ===== */
section { padding: 5rem 5%; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--vermilion); margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
.section-title.light { color: var(--white); }
.section-title.dark { color: var(--sapphire); }
.divider { width: 48px; height: 3px; background: var(--vermilion); margin: 0 0 2rem; }
.divider.center { margin: 0 auto 2rem; }
.page-header { background: var(--sapphire); padding: 8rem 5% 4rem; text-align: center; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

.brand-logo-full {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none !important;
}
.brand-logo-full--xs { height: 36px; width: auto; }
.brand-logo-full--sm { height: 48px; width: auto; }
.brand-logo-full--md { height: 56px; width: auto; }
.brand-logo-full--lg { height: 72px; width: auto; }

.page-header-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 0.5rem 1rem;
  margin: 0 auto 1.25rem;
  border-radius: 4px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.hero-brand-slot {
  display: flex;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.brand-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 0.45rem 0.95rem;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.mission-banner .brand-logo-chip {
  margin: 0 auto 1.75rem;
}

.contact-sidebar-brand .brand-logo-full {
  margin: 0;
}
.contact-sidebar-brand {
  margin-bottom: 1.5rem;
}

/* ===== ABOUT ===== */
#about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-left { position: relative; }

/* Image Panel */
.about-image-panel { position: relative; overflow: hidden; }
.about-image-panel img { width: 100%; height: 440px; object-fit: cover; display: block; }
.about-image-panel::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(4,36,100,0.88) 100%);
  pointer-events: none;
}
.about-img-quote {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2rem 1.8rem; z-index: 2;
}
.about-img-quote .quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 0.5; color: var(--vermilion); opacity: 0.6; display: block; margin-bottom: 0.5rem; }
.about-img-quote p { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: var(--white); line-height: 1.5; margin-bottom: 0.75rem; }
.about-img-quote strong { color: var(--vermilion); font-size: 0.8rem; display: block; }
.about-img-quote span { color: rgba(255,255,255,0.55); font-size: 0.75rem; }

/* Mission Banner */
.mission-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(4,36,100,0.78), rgba(4,36,100,0.68)),
    url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?w=1920&q=80') center/cover no-repeat;
  padding: 6rem 5%; text-align: center; color: white;
}
.mission-banner h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: white; max-width: 700px; margin: 0 auto 1rem; line-height: 1.3; }
.mission-banner p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.7; }
.mission-banner .section-label { color: var(--vermilion); }

/* ===== CP MESSAGE ===== */
#cp-message { background: var(--sapphire); padding: 5rem 5%; }
.cp-message-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr;
  gap: 5rem; align-items: center;
}
.cp-photo-col { position: relative; }
.cp-photo-frame { position: relative; }
.cp-photo-frame::before {
  content: ''; position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 3px solid var(--vermilion); z-index: 0;
}
.cp-photo-frame img {
  width: 100%; display: block;
  aspect-ratio: 3/4; object-fit: cover; object-position: top center;
  position: relative; z-index: 1;
  filter: grayscale(15%);
}
.cp-photo-badge {
  background: var(--vermilion); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 10px 16px;
  text-align: center; position: relative; z-index: 1;
}
.cp-message-col .section-label { color: var(--vermilion); }
.cp-message-col .section-title { color: white; }
.cp-message-col .divider { background: var(--vermilion); }
.cp-msg-body {
  color: rgba(255,255,255,0.78); line-height: 1.9;
  font-size: 0.97rem; margin-bottom: 1.8rem;
}
.cp-msg-body p { margin-bottom: 1rem; }
.cp-signature {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem; display: flex; flex-direction: column; gap: 4px;
}
.cp-signature strong { color: var(--vermilion); font-size: 1rem; font-family: 'Playfair Display', serif; }
.cp-signature span { color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.5px; }

/* Impact Section */
#impact { background: var(--sapphire); }
#impact .section-title { color: white; }
#impact p { color: rgba(255,255,255,0.75); }
.about-quote-block {
  background: var(--sapphire); padding: 3rem;
  border-left: 4px solid var(--vermilion); position: relative;
}
.quote-mark { font-family: 'Playfair Display', serif; font-size: 8rem; line-height: 0.5; color: var(--vermilion); opacity: 0.3; position: absolute; top: 1.5rem; left: 1.5rem; }
.about-quote-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-style: italic; color: var(--white); line-height: 1.6; position: relative; z-index: 1; margin-bottom: 1.5rem; }
.about-quote-attr { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.about-quote-attr strong { color: var(--vermilion); display: block; font-size: 0.9rem; }
.about-right p { color: var(--rock); line-height: 1.8; font-size: 1rem; margin-bottom: 1.2rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag { background: rgba(12,44,100,0.08); color: var(--sapphire); font-size: 0.8rem; font-weight: 500; padding: 5px 14px; border-radius: 2px; border: 1px solid rgba(12,44,100,0.2); }

/* ===== OBJECTIVES ===== */
#objectives { background: var(--sapphire); }
.objectives-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.objectives-header p { color: rgba(255,255,255,0.65); line-height: 1.7; }
.objectives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5px; max-width: 1200px; margin: 0 auto; background: rgba(252,76,4,0.15); }
.obj-card {
  background: var(--sapphire); padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.obj-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--vermilion); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.obj-card:hover { background: #0d3275; }
.obj-card:hover::before { transform: scaleX(1); }
.obj-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }
.obj-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.75rem; }
.obj-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
#process { background: var(--light-rock); }
.process-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.process-header p { color: var(--rock); opacity: 0.7; line-height: 1.7; }
.process-flow { display: flex; align-items: flex-start; gap: 0; max-width: 1100px; margin: 0 auto; position: relative; }
.process-flow::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--vermilion) 0, var(--vermilion) 20px, transparent 20px, transparent 32px); }
.process-step { flex: 1; text-align: center; padding: 0 1rem; position: relative; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: var(--sapphire); border: 3px solid var(--vermilion); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; position: relative; z-index: 2; }
.step-num span { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); }
.step-icon { display: block; font-size: 1.5rem; margin-bottom: 0.5rem; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--sapphire); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.82rem; color: var(--rock); opacity: 0.75; line-height: 1.6; }

/* ===== PHASES ===== */
#phases { background: var(--cream); }
.phases-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.phases-header p { color: var(--rock); opacity: 0.7; line-height: 1.7; }
.phases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto 2.5rem; }
.phase-card {
  border: 1.5px solid rgba(12,44,100,0.12);
  background: white; overflow: hidden; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.phase-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(4,36,100,0.12); }
.phase-card-top {
  background: var(--sapphire);
  padding: 1.5rem;
  color: white;
}
.phase-num {
  font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900;
  color: var(--vermilion); line-height: 1;
}
.phase-badge {
  background: var(--vermilion); color: white;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px; display: inline-block;
}
.phase-date { font-size: 0.85rem; opacity: 0.9; margin-top: 0.5rem; }
.phase-location { font-size: 1rem; font-weight: 600; margin-top: 0.25rem; }
.phase-rescued { margin-top: 1rem; }
.phase-rescued-num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--vermilion); line-height: 1; }
.phase-rescued-label { font-size: 0.75rem; opacity: 0.8; }
.phase-image {
  width: 100%;
  overflow: hidden;
}
.phase-image img {
  display: block;
  transition: transform 0.3s ease;
}
.phase-card:hover .phase-image img {
  transform: scale(1.05);
}
.phase-card-body { padding: 1.8rem 2rem; }
.phase-detail-list { list-style: none; }
.phase-detail-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(12,44,100,0.06); font-size: 0.875rem; color: var(--rock); line-height: 1.5; }
.phase-detail-list li:last-child { border-bottom: none; }
.phase-detail-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); flex-shrink: 0; margin-top: 6px; }
.phase-partners { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1.5px solid rgba(12,44,100,0.08); }
.phase-partners-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; color: var(--vermilion); text-transform: uppercase; margin-bottom: 0.6rem; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.partner-tag { background: rgba(12,44,100,0.05); color: var(--sapphire); font-size: 0.72rem; padding: 3px 10px; border-radius: 2px; border: 1px solid rgba(12,44,100,0.12); }
.highlight-box { background: var(--sapphire); padding: 1.5rem 2rem; border-left: 4px solid var(--vermilion); max-width: 1200px; margin: 0 auto; }
.highlight-box p { font-family: 'Playfair Display', serif; font-style: italic; color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; }
.highlight-box p::before { content: '"'; color: var(--vermilion); font-size: 1.5rem; margin-right: 4px; }

/* Gallery Grid on Phases Page */
.phase-gallery { max-width: 1200px; margin: 3rem auto 0; }
.phase-gallery h3 { text-align: center; font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--sapphire); margin-bottom: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== IMPACT ===== */
#impact { background: var(--sapphire); text-align: center; }
.impact-header { max-width: 700px; margin: 0 auto 3.5rem; }
.impact-header p { color: rgba(255,255,255,0.65); line-height: 1.7; }
.impact-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(252,76,4,0.15); max-width: 900px; margin: 0 auto 2rem; }
.stat-box { background: var(--sapphire); padding: 2.5rem 1.5rem; transition: background 0.3s; }
.stat-box:hover { background: #0d3275; }
.stat-box.featured { background: var(--vermilion); }
.stat-box.featured:hover { background: #e03a00; }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.stat-box.featured .stat-num { font-size: clamp(3rem, 6vw, 4.5rem); }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.82rem; letter-spacing: 0.5px; }
.stat-box.featured .stat-label { color: rgba(255,255,255,0.85); }
.impact-tagline { color: rgba(255,255,255,0.5); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== PARTNERS ===== */
#partners { background: var(--light-rock); }
.partners-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.partners-header p { color: var(--rock); opacity: 0.7; line-height: 1.7; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5px; background: rgba(12,44,100,0.1); max-width: 1200px; margin: 0 auto; }
.partner-card { background: var(--cream); padding: 2rem 1.5rem; text-align: center; transition: background 0.3s; }
.partner-card:hover { background: white; }
.partner-card-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire);
}
.partner-card-icon svg { width: 40px; height: 40px; display: block; }
.partner-card-name { font-weight: 600; font-size: 0.9rem; color: var(--sapphire); line-height: 1.4; }

/* ===== CHALLENGES ===== */
#challenges { background: var(--rock); }
.challenges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto; align-items: center; }
.challenges-list { list-style: none; margin-top: 1.5rem; }
.challenges-list li { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; gap: 1rem; align-items: flex-start; color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.6; }
.ch-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--vermilion); line-height: 1; flex-shrink: 0; }
.forward-box { background: rgba(252,76,4,0.1); border: 1px solid rgba(252,76,4,0.3); padding: 2.5rem; }
.forward-box h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.4rem; margin-bottom: 1.2rem; }
.forward-list { list-style: none; }
.forward-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.7); font-size: 0.9rem; padding: 8px 0; line-height: 1.6; }
.forward-list li::before { content: '→'; color: var(--vermilion); flex-shrink: 0; font-weight: 700; }

/* ===== GET INVOLVED ===== */
#involved { background: var(--cream); }
.involved-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.involved-header p { color: var(--rock); opacity: 0.7; line-height: 1.7; }
.involved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(12,44,100,0.1); max-width: 1200px; margin: 0 auto; }
.involve-card { background: white; padding: 2.5rem 2rem; transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.involve-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.involve-card.red::after { background: var(--vermilion); }
.involve-card.blue::after { background: var(--sapphire); }
.involve-card.green::after { background: #1a7a4a; }
.involve-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,44,100,0.1); }
.involve-card:hover::after { transform: scaleX(1); }
.involve-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: rgba(12,44,100,0.06); line-height: 1; margin-bottom: 1rem; }
.involve-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.involve-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--sapphire); margin-bottom: 0.75rem; font-weight: 700; }
.involve-desc { color: var(--rock); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; opacity: 0.8; }
.involve-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; letter-spacing: 0.5px; }
.involve-cta.red { color: var(--vermilion); }
.involve-cta.blue { color: var(--sapphire); }
.involve-cta.green { color: #1a7a4a; }
.involve-cta::after { content: '→'; transition: transform 0.2s; }
.involve-card:hover .involve-cta::after { transform: translateX(4px); }

/* ===== COMMISSIONER ===== */
#commissioner { background: var(--sapphire); padding: 5rem 5%; }
.commissioner-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; }
.comm-avatar { width: 120px; height: 120px; border-radius: 50%; background: rgba(252,76,4,0.2); border: 3px solid var(--vermilion); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.comm-avatar span { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--vermilion); }
.comm-quote { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 1rem; }
.comm-quote::before { content: '"'; color: var(--vermilion); font-size: 2rem; }
.comm-attr { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.comm-attr strong { color: var(--vermilion); display: block; font-size: 0.9rem; }

/* ===== GALLERY PAGE ===== */
#gallery { background: var(--cream); }
.gallery-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.gallery-tab {
  background: white; border: 1.5px solid rgba(12,44,100,0.2);
  padding: 0.75rem 1.5rem; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600; color: var(--sapphire);
  cursor: pointer; transition: all 0.2s;
}
.gallery-tab:hover { border-color: var(--vermilion); color: var(--vermilion); }
.gallery-tab.active { background: var(--vermilion); color: white; border-color: var(--vermilion); }
.gallery-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.gallery-card { background: white; border: 1.5px solid rgba(12,44,100,0.12); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.gallery-card.hidden { display: none; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,44,100,0.1); }
.gallery-card img { width: 100%; height: 250px; object-fit: cover; }
.gallery-card-caption { padding: 1rem; }
.gallery-card-caption h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--sapphire); margin-bottom: 0.25rem; }
.gallery-card-caption span { font-size: 0.75rem; color: var(--vermilion); text-transform: uppercase; letter-spacing: 1px; }
.gallery-placeholder { background: var(--sapphire); height: 250px; display: flex; align-items: center; justify-content: center; color: var(--vermilion); font-size: 3rem; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(4,36,100,0.95); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90%; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 85vh; display: block; }
.lightbox-close { position: absolute; top: -40px; right: 0; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; padding: 1rem; cursor: pointer; font-size: 1.5rem; transition: background 0.2s; }
.lightbox-nav:hover { background: var(--vermilion); }
.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }
.lightbox-caption { position: absolute; bottom: -50px; left: 0; right: 0; text-align: center; color: white; font-size: 1rem; }

/* ===== VOLUNTEER FORM ===== */
.volunteer-form-container { background: white; padding: 2.5rem; border: 1.5px solid rgba(12,44,100,0.12); border-radius: 8px; }

/* ===== CONTACT PAGE ===== */
#contact { background: var(--light-rock); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--sapphire); margin-bottom: 1rem; }
.contact-info p { color: var(--rock); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.contact-item-icon { width: 48px; height: 48px; background: var(--sapphire); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--vermilion); font-size: 1.2rem; flex-shrink: 0; }
.contact-item-content h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--sapphire); margin-bottom: 0.25rem; }
.contact-item-content p { margin-bottom: 0; font-size: 0.9rem; }
.contact-form { background: white; padding: 2.5rem; border: 1.5px solid rgba(12,44,100,0.12); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--sapphire); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1.5px solid rgba(12,44,100,0.2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--rock);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--vermilion); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { background: #d4edda; color: #155724; padding: 1rem; border-left: 4px solid #28a745; margin-bottom: 1.5rem; }
.form-error { background: #f8d7da; color: #721c24; padding: 1rem; border-left: 4px solid var(--vermilion); margin-bottom: 1.5rem; }

/* ===== FOOTER ===== */
footer { background: var(--sapphire); border-top: 3px solid var(--vermilion); padding: 3rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-logo-img { height: 52px; width: auto; display: block; object-fit: contain; object-position: left center; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-heading { color: var(--vermilion); font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--vermilion); }
.footer-contact p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.8; }
.footer-contact p strong { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.emergency-btn { background: var(--vermilion); color: white; font-size: 0.85rem; font-weight: 700; padding: 8px 20px; border-radius: 2px; text-decoration: none; letter-spacing: 1px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  /* Layout stacks */
  .about-grid, .challenges-grid, .commissioner-inner, .cp-message-grid { grid-template-columns: 1fr; }
  .phases-grid, .involved-grid, .contact-grid { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: repeat(2, 1fr); }
  .process-flow { flex-direction: column; gap: 2rem; }
  .process-flow::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .brand-logo-full--lg { height: 56px; }
  .brand-logo-full--md { height: 48px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .gallery-masonry { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
