/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== COLOR VARIABLES ===== */
:root {
  --navy:  #1a237e;
  --red:   #c62828;
  --light: #f4f6fa;
  --border: #dde2ec;
  --white: #ffffff;
}

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 64px;
  width: auto;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}

/* ===== NAV ===== */
nav { display: flex; align-items: center; gap: 2px; }

nav a {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: var(--navy);
  color: var(--white);
}

.btn-donate {
  background: linear-gradient(to bottom, #2838a0, #1a237e) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  margin-left: 10px;
  box-shadow: 0 4px 0 #0d1554, 0 6px 8px rgba(0,0,0,0.3);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0d1554, 0 8px 10px rgba(0,0,0,0.3) !important; }
.btn-donate:active { transform: translateY(2px); box-shadow: 0 2px 0 #0d1554, 0 3px 5px rgba(0,0,0,0.2) !important; }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.hero-logo {
  width: 320px;
  margin: 0 auto 28px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  color: #c5cae9;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(to bottom, #2838a0, #1a237e);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 5px 0 #0d1554, 0 7px 10px rgba(0,0,0,0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0d1554, 0 9px 12px rgba(0,0,0,0.35); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #0d1554, 0 4px 6px rgba(0,0,0,0.2); }

.btn-outline {
  background: linear-gradient(to bottom, #2838a0, #1a237e);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 5px 0 #0d1554, 0 7px 10px rgba(0,0,0,0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0d1554, 0 9px 12px rgba(0,0,0,0.35); }
.btn-outline:active { transform: translateY(3px); box-shadow: 0 2px 0 #0d1554, 0 4px 6px rgba(0,0,0,0.2); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px;
  border-bottom: 4px solid var(--red);
}
.page-hero .container { display: flex; align-items: center; gap: 24px; }
.page-hero img { height: 160px; width: auto; background: #fff; border-radius: 50%; padding: 4px; }
.page-hero h1 { font-size: 2rem; font-weight: 800; }
.page-hero p { color: #c5cae9; margin-top: 6px; font-size: 1.25rem; }
.page-hero .btn-donate-hero { display: inline-block; margin-top: 16px; background: linear-gradient(to bottom, #2838a0, #1a237e); color: var(--white); font-size: 1rem; font-weight: 700; padding: 13px 30px; border-radius: 4px; box-shadow: 0 5px 0 #0d1554, 0 7px 10px rgba(0,0,0,0.35); transition: transform 0.1s, box-shadow 0.1s; }
.page-hero .btn-donate-hero:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0d1554, 0 9px 12px rgba(0,0,0,0.35); }
.page-hero .btn-donate-hero:active { transform: translateY(3px); box-shadow: 0 2px 0 #0d1554, 0 4px 6px rgba(0,0,0,0.2); }

/* ===== SECTIONS ===== */
section { padding: 28px 24px; }
section.alt { background: var(--light); }

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-subtitle {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.section-header { margin-bottom: 24px; }

.divider {
  width: 48px;
  height: 4px;
  background: var(--red);
  margin: 12px 0 16px;
  border-radius: 2px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 6px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-2px); }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p { color: #555; font-size: 0.93rem; }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }

/* ===== EVENTS ===== */
.event-list { display: flex; flex-direction: column; gap: 16px; }

.event-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.event-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.event-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}
.event-date .month { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.event-date .day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-info h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.event-info p { font-size: 0.9rem; color: #666; }

/* ===== LEADER GRID ===== */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
}

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--navy);
  margin: 0 auto 16px;
  display: block;
}

.leader-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.leader-card p { font-size: 0.875rem; color: var(--red); font-weight: 600; margin-top: 4px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 36px 24px;
  text-align: center;
}
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }

.btn-white {
  background: linear-gradient(to bottom, #2838a0, #1a237e);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 5px 0 #0d1554, 0 7px 10px rgba(0,0,0,0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #0d1554, 0 9px 12px rgba(0,0,0,0.35); }
.btn-white:active { transform: translateY(3px); box-shadow: 0 2px 0 #0d1554, 0 4px 6px rgba(0,0,0,0.2); }

/* ===== RESOURCE LINKS ===== */
.resource-list { display: flex; flex-direction: column; gap: 12px; }

.resource-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  transition: box-shadow 0.2s;
}
.resource-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.resource-item .icon { font-size: 1.4rem; flex-shrink: 0; }
.resource-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.resource-item p { font-size: 0.85rem; color: #666; }
.resource-item a { margin-left: auto; color: var(--red); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-2px); }
.blog-card-body { padding: 24px; }
.blog-card .tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.blog-card p { font-size: 0.9rem; color: #555; }
.blog-card .date { font-size: 0.8rem; color: #888; margin-top: 12px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #c5cae9;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { height: 100px; width: auto; background: #fff; border-radius: 50%; padding: 4px; }

.footer-tagline {
  color: #c5cae9;
  font-size: 0.95rem;
  text-align: center;
  max-width: 520px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
  margin-top: 8px;
}

.footer-links a {
  color: #c5cae9;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.footer-links a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social a {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--red); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #7986cb;
  text-align: center;
}

/* ===== HAMBURGER ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 { font-size: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-logo { width: 240px; }
  nav a { font-size: 0.78rem; padding: 6px 8px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    flex-direction: column;
    padding: 12px 0;
    z-index: 999;
  }

  #main-nav.open { display: flex; }

  #main-nav a {
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  #main-nav a:last-child { border-bottom: none; }

  #main-nav a:hover, #main-nav a.active {
    background: var(--light);
    color: var(--navy);
  }

  .btn-donate {
    background: var(--red) !important;
    color: var(--white) !important;
    margin: 8px 24px 0 !important;
    border-radius: 4px !important;
    text-align: center;
  }

  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .hero-logo { width: 180px; }
}
