/* =====================================================================
   Udaan Sewa Sansthan — Soft Pastel Brand Stylesheet
   Same brand hues as the logo, in light/pastel shades.
===================================================================== */
:root {
  --navy:        #4a6fa5;   /* soft slate blue - headings, primary text accent */
  --navy-deep:   #33507d;   /* slightly deeper blue for hover states */
  --maroon:      #e08a76;   /* soft terracotta/rose */
  --maroon-deep: #c96b57;
  --teal:        #8ec3d6;   /* soft sky blue */
  --orange:      #f5941f;   /* warm CTA orange, kept vivid like the logo */
  --orange-deep: #e07f0a;
  --olive:       #a3c76b;   /* soft sage green */
  --olive-deep:  #8bb04e;

  --cream:       #fdf1e3;   /* peach cream background */
  --cream-alt:   #fbeee0;
  --blue-mist:   #eef4fa;   /* soft blue-white section bg */
  --rose-mist:   #fdeeee;   /* soft rose section bg */
  --sage-mist:   #f2f7ea;   /* soft sage section bg */

  --ink:         #4c4c52;   /* soft charcoal instead of pure black */
  --radius:      18px;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fffdfa;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-heading {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

a { text-decoration: none; }
.text-muted { color: #8b8b93 !important; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--maroon-deep);
}

.btn-brand {
  background: var(--navy);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.6rem;
  border-radius: 12px;
  transition: all .25s ease;
}
.btn-brand:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 12px;
  background: transparent;
  transition: all .25s ease;
}
.btn-outline-brand:hover { background: var(--navy); color: #fff; }

.btn-donate {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: .65rem 1.7rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(245,148,31,.28);
}
.btn-donate:hover { color: #fff; background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245,148,31,.35); }

/* ---------------- Navbar ---------------- */
.navbar-brand-custom { padding: .5rem 0; }
.navbar {
  background: #fffdfa !important;
  box-shadow: 0 2px 18px rgba(74,111,165,.08);
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  margin: 0 .35rem;
  position: relative;
}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--maroon-deep) !important; }
.top-strip {
  background: var(--blue-mist);
  color: var(--navy);
  font-size: .82rem;
  padding: 7px 0;
}
.top-strip a { color: var(--navy); opacity: .85; }
.top-strip a:hover { opacity: 1; color: var(--maroon-deep); }

/* ---------------- Hero (soft pastel, illustration-friendly) ---------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--cream) 0%, var(--cream-alt) 60%, var(--blue-mist) 100%);
  color: var(--ink);
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: var(--orange);
  opacity: .10;
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute;
  left: -40px; bottom: -80px;
  width: 220px; height: 220px;
  background: var(--teal);
  opacity: .14;
  border-radius: 50%;
}
.hero h1 { color: var(--navy); font-size: 3rem; }
.hero .lead { font-size: 1.1rem; color: #6a6a72; }
.hero-illustration { position: relative; z-index: 1; }
.hero-stat {
  background: #fff;
  border: 1px solid rgba(74,111,165,.12);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(74,111,165,.08);
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--orange); }

/* ---------------- Cards ---------------- */
.section-title { position: relative; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2.1rem; }
.section-title .accent-line {
  width: 60px; height: 4px; background: var(--orange); border-radius: 4px; margin: 10px 0 0;
}

.card-soft {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(74,111,165,.09);
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(74,111,165,.16); }

.icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  background: var(--teal);
}
.icon-badge.orange { background: var(--orange); }
.icon-badge.olive { background: var(--olive); }
.icon-badge.maroon { background: var(--maroon); }

.badge-cat {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .5px;
  padding: .35em .8em;
  border-radius: 50px;
}

/* Event date block */
.event-date-block {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  width: 68px; height: 68px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.event-date-block .d { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.event-date-block .m { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; }

/* Timeline for internship / process steps */
.step-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--maroon); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Star spotlight */
.star-card {
  background: linear-gradient(135deg, #fff, #fdf3e4);
  border: 1px solid rgba(245,148,31,.25);
  border-radius: var(--radius);
}
.star-photo {
  width: 130px; height: 130px; border-radius: 50%;
  object-fit: cover; border: 4px solid var(--orange);
}

/* Donation amount buttons */
.amount-btn {
  border: 2px solid #eee2d4;
  background: #fff;
  border-radius: 12px;
  padding: .8rem;
  font-weight: 700;
  color: var(--navy);
  transition: all .2s;
  cursor: pointer;
}
.amount-btn.active, .amount-btn:hover { border-color: var(--maroon); background: var(--maroon); color: #fff; }

/* Footer (kept a little deeper for contrast/readability, still on-brand) */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding-top: 60px;
}
footer h5 { color: #fff; }
footer a { color: rgba(255,255,255,.75); }
footer a:hover { color: var(--orange); }
.footer-bottom { background: var(--navy-deep); padding: 14px 0; font-size: .85rem; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-right: 8px;
  transition: background .2s;
}
.social-icon:hover { background: var(--orange); color: #fff; }

/* Admin panel */
.admin-sidebar {
  background: var(--navy);
  min-height: 100vh;
  color: #fff;
}
.admin-sidebar a {
  color: rgba(255,255,255,.75);
  display: block;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  margin-bottom: .2rem;
  font-weight: 500;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.stat-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 6px 20px rgba(74,111,165,.1);
  color: #fff;
  padding: 1.4rem;
}
.stat-card .num { font-size: 1.9rem; font-weight: 800; }

/* Certificate */
.certificate-wrap {
  background: #fffdfa;
  border: 10px solid var(--navy);
  outline: 2px solid var(--orange);
  outline-offset: -18px;
  padding: 60px;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
}
.certificate-wrap .cert-id { position:absolute; bottom: 20px; right: 30px; font-size: .8rem; color:#888; }

/* Receipt */
.receipt-wrap {
  background: #fff;
  border: 1px dashed var(--navy);
  border-radius: var(--radius);
  max-width: 650px;
  margin: 0 auto;
  padding: 40px;
}
.receipt-row { display:flex; justify-content:space-between; padding:.4rem 0; border-bottom:1px dotted #e6e2d8; }

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}

/* small screens */
@media (max-width: 767px) {
  .hero h1 { font-size: 2.1rem; }
  .certificate-wrap { padding: 25px; border-width: 6px; }
  .receipt-wrap { padding: 22px; }
}

.section-padding { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.bg-blue-mist { background: var(--blue-mist); }
.bg-rose-mist { background: var(--rose-mist); }
.bg-sage-mist { background: var(--sage-mist); }
/* kept for backward compatibility with older markup */
.bg-navy-soft { background: var(--blue-mist); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Intern portal */
.progress-ring-wrap { position:relative; width:150px; height:150px; margin:0 auto; }
.attendance-pill {
  display:inline-block; padding:.3em .9em; border-radius:50px; font-weight:700; font-size:.85rem;
}
.attendance-pill.good { background:#e9f5df; color: var(--olive-deep); }
.attendance-pill.low { background:#fdeeee; color: var(--maroon-deep); }
.doc-status-chip { font-size:.72rem; padding:.25em .7em; border-radius:50px; font-weight:600; }
.doc-status-chip.uploaded { background:#e9f5df; color:var(--olive-deep); }
.doc-status-chip.missing { background:#fdeeee; color:var(--maroon-deep); }

/* FAQ accordion tweaks */
.accordion-button:not(.collapsed) { background: var(--blue-mist); color: var(--navy); box-shadow:none; }
.accordion-button:focus { box-shadow: none; }
