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

:root {
  --colour-sky:      #2a6fa8;
  --colour-sky-dark: #1d5080;
  --colour-warm:     #f7f3ee;
  --colour-cream:    #ffffff;
  --colour-text:     #222222;
  --colour-muted:    #555555;
  --colour-border:   #d9d0c7;
  --colour-green:    #2e7d52;

  --font-heading: 'Lora', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --radius:  10px;
  --shadow:  0 4px 24px rgba(0, 0, 0, 0.10);
  --max-w:   780px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--colour-text);
  background-color: var(--colour-warm);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   FADE-IN ANIMATION
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.fade-in-1 { animation-delay: 0.10s; }
.fade-in-2 { animation-delay: 0.28s; }
.fade-in-3 { animation-delay: 0.45s; }
.fade-in-4 { animation-delay: 0.62s; }

/* =============================================
   SKIP LINK (Accessibility)
============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--colour-sky);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================
   HEADER BANNER
============================================= */
header {
  background-color: var(--colour-sky);
  color: #fff;
  text-align: center;
  padding: 1.1rem 1rem 1rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

header .org-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

header .tagline {
  font-size: 0.88rem;
  opacity: 0.88;
  margin-top: 0.2rem;
}

/* =============================================
   HERO BACKGROUND SECTION
============================================= */
.hero-bg {
  position: relative;
  width: 100%;
  background-image: url('background.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: 3.5rem 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

/* Dark overlay for legibility */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(29, 80, 128, 0.72) 0%,
    rgba(20, 55, 90, 0.60) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  color: #fff;
}

.hero-inner .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 0.3rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.hero-inner .status-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}

.hero-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.90);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.hero-inner strong {
  color: #fff;
}

/* =============================================
   MAIN CONTENT
============================================= */
main {
  flex: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

/* =============================================
   SECTION CARDS
============================================= */
.card {
  background: var(--colour-cream);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

/* Coloured left accent bar */
.card { border-left: 4px solid var(--colour-sky); }

.card h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--colour-sky-dark);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8f0f8;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Icon circle badge on headings */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf2fb;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--colour-sky-dark);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  color: var(--colour-muted);
  font-size: 0.97rem;
}

/* =============================================
   CONTACT DETAILS
============================================= */
.contact-list {
  list-style: none;
  margin-top: 0.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.97rem;
  border-bottom: 1px solid #f0ebe4;
  color: var(--colour-text);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list .label {
  font-weight: 600;
  color: var(--colour-sky-dark);
  min-width: 5.75rem;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--colour-sky);
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover,
.contact-list a:focus {
  text-decoration: underline;
  color: var(--colour-sky-dark);
}

address {
  font-style: normal;
  line-height: 1.6;
}

/* =============================================
   FACEBOOK BUTTON
============================================= */
.facebook-section {
  text-align: center;
}

.facebook-section p {
  margin-bottom: 1.25rem;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #1877F2 0%, #0d5fd4 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.38);
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-facebook:hover,
.btn-facebook:focus {
  background: linear-gradient(135deg, #1566d6 0%, #0a50b5 100%);
  box-shadow: 0 8px 28px rgba(24, 119, 242, 0.50);
  transform: translateY(-2px);
  outline: 3px solid #1566d6;
  outline-offset: 3px;
}

.btn-facebook:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-facebook svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: linear-gradient(135deg, #1d5080 0%, #163d63 100%);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  padding: 1.6rem 1.25rem;
  font-size: 0.82rem;
  line-height: 1.8;
  margin-top: auto;
}

footer strong {
  color: #fff;
}

.care-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  background: var(--colour-green);
  color: #fff;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.care-badge svg {
  width: 13px;
  height: 13px;
  fill: #fff;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 520px) {
  .hero-bg       { min-height: 280px; padding: 2.5rem 1rem 2rem; }
  .card          { padding: 1.4rem 1.25rem; }
  .contact-list .label { min-width: 4.5rem; }
  .btn-facebook  { font-size: 0.97rem; padding: 0.85rem 1.75rem; }
}

/* =============================================
   FOCUS STYLES (Accessibility)
============================================= */
:focus-visible {
  outline: 3px solid var(--colour-sky);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================
   PRINT
============================================= */
@media print {
  .hero-bg       { background-image: none; background-color: #1d5080; }
  .btn-facebook  { background: #000; box-shadow: none; }
  header         { background: #000; }
  footer         { background: #000; }
}
