/* ===========================
   Sankalp Charitable Trust
   Navy & Forest Theme
   =========================== */

:root {
  --primary:      #1B4F8A;   /* deep navy */
  --primary-dark: #0D2E54;
  --accent:       #2E7D32;   /* forest green */
  --accent-light: #A5D6A7;
  --cream:        #F5F5F0;
  --warm-bg:      #EEF2F7;
  --text:         #0D1B2A;
  --text-light:   #4A5E72;
  --white:        #FFFFFF;
  --border:       #C5D5E8;
  --shadow:       rgba(27,79,138,0.12);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--primary-dark);
  color: var(--accent-light);
  font-size: 0.82rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--accent-light); }
.top-bar a:hover { color: var(--white); }

/* ---- SOCIAL ICONS ---- */
.social-icons { display: flex; align-items: center; gap: 8px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  transition: transform 0.15s, opacity 0.15s;
}
.social-icon:hover { transform: translateY(-2px); opacity: 0.88; }
.social-icon svg { display: block; }

/* Top bar — small icons with brand colors */
.social-icons .social-icon { width: 28px; height: 28px; border-radius: 6px; }
.social-icons .si-yt  { background: #FF0000; color: #fff; }
.social-icons .si-fb  { background: #1877F2; color: #fff; }
.social-icons .si-ig  { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: #fff; }
.social-icons .social-icon svg { width: 15px; height: 15px; fill: #fff; }

/* Footer — larger icons */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social .social-icon { width: 38px; height: 38px; border-radius: 9px; }
.footer-social .si-yt  { background: #FF0000; }
.footer-social .si-fb  { background: #1877F2; }
.footer-social .si-ig  { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.footer-social .social-icon svg { width: 19px; height: 19px; fill: #fff; }

/* ---- NAVBAR ---- */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img { height: 66px; }
.logo-name {
  display: flex;
  flex-direction: column;
}
.logo-name strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.01em;
}
.logo-name span {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.btn-donate-nav {
  background: var(--primary);
  color: var(--white) !important;
  border: none !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  transition: background 0.2s !important;
}
.btn-donate-nav:hover { background: var(--accent) !important; color: var(--text) !important; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--primary); transition: 0.3s; }

/* ---- CONTAINER ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-light); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ---- SECTION HEADINGS ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 2.1rem;
  color: var(--primary-dark);
  line-height: 1.25;
}
.section-header p {
  color: var(--text-light);
  max-width: 580px;
  margin: 12px auto 0;
  font-size: 1rem;
}
.divider {
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2A6CB0 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(200,150,12,0.08)"/><circle cx="10" cy="80" r="30" fill="rgba(200,150,12,0.06)"/></svg>');
  background-size: cover;
}
.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: rgba(200,150,12,0.25);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--primary-dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}
.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---- MISSION SECTION ---- */
.mission-section { padding: 80px 0; background: var(--warm-bg); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mission-text h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 16px; }
.mission-text p { color: var(--text-light); margin-bottom: 16px; }
.mission-points { list-style: none; margin: 20px 0 28px; }
.mission-points li {
  padding: 8px 0;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mission-points li::before {
  content: '✦';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.mission-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  padding: 50px 40px;
  color: var(--white);
  text-align: center;
}
.mission-visual .big-quote {
  font-size: 5rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: serif;
}
.mission-visual blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}
.mission-visual cite {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent-light);
  font-style: normal;
  font-family: 'Poppins', sans-serif;
}

/* ---- CAUSES PREVIEW ---- */
.causes-section { padding: 80px 0; background: var(--cream); }
.causes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cause-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cause-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow); }
.cause-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 32px;
  text-align: center;
  font-size: 2.8rem;
}
.cause-body { padding: 24px; }
.cause-body h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 10px; }
.cause-body p { color: var(--text-light); font-size: 0.92rem; }
.cause-progress { margin-top: 18px; }
.progress-bar {
  background: var(--border);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));  /* saffron → green */
  border-radius: 10px;
  transition: width 1s;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
  font-family: 'Poppins', sans-serif;
}

/* ---- TEAM SECTION ---- */
.team-section { padding: 80px 0; background: var(--warm-bg); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow); }
.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.team-photo-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif;
}
.team-info { padding: 20px; }
.team-info h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 4px; }
.team-role {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.team-info p { font-size: 0.87rem; color: var(--text-light); line-height: 1.55; }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #1B5E20 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { font-size: 2.1rem; color: var(--primary-dark); margin-bottom: 12px; }
.cta-band p { color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 28px; opacity: 0.85; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- CONTACT ---- */
.contact-section { padding: 80px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info h2 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; color: var(--primary-dark); font-size: 0.95rem; margin-bottom: 2px; }
.contact-item-text span { color: var(--text-light); font-size: 0.92rem; }
.contact-form h3 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; min-height: 130px; }
.map-embed { margin-top: 40px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); }
.map-embed iframe { width: 100%; height: 320px; display: block; border: none; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 90px 0 70px;
  color: var(--white);
  text-align: center;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,46,84,0.82) 0%, rgba(27,79,138,0.72) 100%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.6rem; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.75); font-family: 'Poppins', sans-serif; font-size: 0.9rem; }
.page-hero .breadcrumb a { color: var(--accent-light); }

/* ---- FOOTER ---- */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 52px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-col h4 {
  color: var(--accent-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact-item span:first-child { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .mission-grid { grid-template-columns: 1fr; }
  .causes-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: 0 8px 20px var(--shadow); gap: 14px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-inner { position: relative; }
  .causes-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 1.6rem; }
}
