/*
  =============================================
  UNNAYAN BHABNA — WEBSITE STYLESHEET
  =============================================
  To change colors: edit the CSS variables below
  under ":root". No other changes needed.
  =============================================
*/

:root {
  /* ── Brand Colors (from logo) ── */
  --pink:        #D91C81;   /* hot pink / magenta */
  --navy:        #1A2B7F;   /* dark navy blue */
  --sky:         #29ABE2;   /* light blue */
  --green:       #5EB136;   /* lime green */
  --dark-green:  #2D6B3A;   /* dark green */
  --plum:        #7B2163;   /* deep purple */

  /* ── UI Colors ── */
  --primary:     var(--pink);
  --secondary:   var(--navy);
  --text:        #2d2d2d;
  --text-light:  #666;
  --bg:          #f8f9fc;
  --white:       #ffffff;
  --border:      #e0e0e0;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);

  /* ── Typography ── */
  --font-main:   'Segoe UI', Arial, sans-serif;
  --font-size:   16px;
  --line-height: 1.7;

  /* ── Layout ── */
  --max-width:   1140px;
  --nav-height:  72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Spacing ── */
section { padding: 72px 0; }
.section-alt { background: var(--bg); }

/* ── Section Label & Title ── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 48px;
}
.center { text-align: center; }
.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* =============================
   NAVIGATION
   ============================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--primary); display: block; font-size: 0.75rem; font-weight: 400; letter-spacing: 1px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-donate {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}
.nav-donate:hover { background: var(--plum) !important; }

/* Hamburger (mobile) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--secondary); margin: 5px 0;
  transition: transform 0.3s;
}

/* =============================
   HERO
   ============================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--plum) 60%, var(--pink) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--pink); }
.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--plum); text-decoration: none; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); text-decoration: none; }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--plum); text-decoration: none; }

.hero-image { flex: 0 0 320px; text-align: center; }
.hero-image img {
  width: 280px; height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

/* =============================
   STATS BAR
   ============================= */
.stats-bar {
  background: var(--secondary);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; }

/* =============================
   CARDS GRID
   ============================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--primary);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--plum));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* =============================
   ABOUT BLOCK
   ============================= */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
}
.about-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-pink { background: #fce4f3; color: var(--primary); }
.badge-blue { background: #e3f0fb; color: var(--navy); }
.badge-green { background: #e8f5e9; color: var(--dark-green); }

/* =============================
   VALUES GRID
   ============================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-item {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--primary);
}
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.value-item p { font-size: 0.85rem; color: var(--text-light); }

/* =============================
   TWO-COL TEXT
   ============================= */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* =============================
   HIGHLIGHT BOX
   ============================= */
.highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--plum));
  color: var(--white);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}
.highlight-box h3 { font-size: 1.6rem; margin-bottom: 12px; }
.highlight-box p { opacity: 0.9; margin-bottom: 28px; }

/* =============================
   PROGRAM CARDS
   ============================= */
.program-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  border-left: 5px solid var(--primary);
  transition: border-color 0.2s;
}
.program-card:hover { border-color: var(--plum); }
.program-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
  min-width: 40px;
}
.program-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.program-body p { color: var(--text-light); font-size: 0.95rem; }

/* =============================
   ACHIEVEMENT ITEM
   ============================= */
.achievement-item {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
}
.achievement-num {
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.achievement-body h3 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.achievement-body p { color: var(--text-light); font-size: 0.95rem; }

/* =============================
   DONORS LIST
   ============================= */
.donors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.donor-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
}

/* =============================
   CONTACT
   ============================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-row p { font-size: 0.95rem; color: var(--text); }
.contact-row a { color: var(--primary); }

/* Contact Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { height: 120px; resize: vertical; }

/* =============================
   PAGE HERO (inner pages)
   ============================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--plum) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; opacity: 0.7; margin-top: 12px; }
.breadcrumb a { color: var(--sky); }

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; opacity: 0.75; max-width: 280px; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--pink); text-decoration: none; }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* =============================
   PARTNER LOGOS
   ============================= */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  width: 148px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.partner-logo-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.partner-logo-item img {
  height: 52px;
  width: 100%;
  object-fit: contain;
  /* fallback: if logo fails to load, hide broken icon */
}
.partner-logo-item img.error { display: none; }
.partner-logo-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: center;
  line-height: 1.3;
}

/* =============================
   TABLE
   ============================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-block { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --nav-height: 60px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .navbar .container { position: relative; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-image { display: none; }
  .hero-title { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }
  section { padding: 48px 0; }
  .highlight-box { padding: 32px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { justify-content: center; }
}
