/* ============================================================
   NAAFSRI — North American Alliances for Social Relief Inc.
   Global Stylesheet | HTML5 + CSS3 Pure
   Brand Colors: Orange Gradient (#FF6B00 → #FF9A3C → #FFB347)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --orange-dark:    #e05a00;
  --orange-main:    #ff6b00;
  --orange-mid:     #ff8c2a;
  --orange-light:   #ffb347;
  --orange-pale:    #fff3e0;
  --white:          #ffffff;
  --off-white:      #fafaf8;
  --gray-light:     #f4f4f2;
  --gray-mid:       #d0cfc9;
  --gray-text:      #6b6b6b;
  --dark:           #1a1a1a;
  --dark-mid:       #2d2d2d;
  --gradient-main:  linear-gradient(135deg, #e05a00 0%, #ff6b00 40%, #ff9a3c 80%, #ffb347 100%);
  --gradient-hero:  linear-gradient(160deg, rgba(224,90,0,0.88) 0%, rgba(255,107,0,0.72) 50%, rgba(255,179,71,0.55) 100%);
  --shadow-sm:      0 2px 8px rgba(224,90,0,0.12);
  --shadow-md:      0 6px 24px rgba(224,90,0,0.18);
  --shadow-lg:      0 16px 48px rgba(224,90,0,0.22);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading:   'Georgia', 'Times New Roman', serif;
  --font-body:      'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--orange-main); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--dark-mid);
}

/* ---- Utility Classes ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-main);
  background: var(--orange-pale);
  border: 1px solid rgba(255,107,0,0.25);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---- Buttons / CTA ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--orange-main);
}

.btn-outline-orange {
  background: transparent;
  color: var(--orange-main);
  border: 2px solid var(--orange-main);
}
.btn-outline-orange:hover {
  background: var(--orange-main);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange-main);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--orange-pale);
  color: var(--orange-dark);
  transform: translateY(-2px);
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dark-mid);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: var(--orange-light); }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }

/* ---- Navigation ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 46px;
  height: 46px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-mid);
  display: block;
}
.nav-logo-text .brand-sub {
  font-size: 0.68rem;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-mid);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-main);
  background: var(--orange-pale);
}
.nav-cta {
  background: var(--gradient-main) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
  background: var(--gradient-main) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark-mid);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.8);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}
.page-hero-content .tag { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.3); }
.page-hero-content h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 12px; }
.page-hero-content p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.45); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-date { font-size: 0.78rem; color: var(--gray-text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark-mid); }
.card-text  { font-size: 0.9rem; color: var(--gray-text); line-height: 1.65; }
.card-link  { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 700; color: var(--orange-main); }
.card-link:hover { color: var(--orange-dark); }

/* ---- Grid Layouts ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Stats Strip ---- */
.stats-strip {
  background: var(--gradient-main);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; opacity: 0.88; letter-spacing: 0.05em; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient-main);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.88); font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }
.cta-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Announcement Banner ---- */
.announcement-bar {
  background: var(--orange-pale);
  border-bottom: 2px solid var(--orange-light);
  padding: 12px 0;
  text-align: center;
}
.announcement-bar p { font-size: 0.9rem; color: var(--dark-mid); }
.announcement-bar strong { color: var(--orange-main); }
.announcement-bar a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-main), var(--orange-light));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange-main);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange-main);
}
.timeline-date { font-size: 0.8rem; font-weight: 700; color: var(--orange-main); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.timeline-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.timeline-text  { font-size: 0.9rem; color: var(--gray-text); }

/* ---- Accordion / FAQ ---- */
.accordion-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-mid);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-header:hover { background: var(--orange-pale); color: var(--orange-main); }
.accordion-header .icon { font-size: 1.2rem; transition: var(--transition); }
.accordion-item.open .accordion-header { background: var(--orange-pale); color: var(--orange-main); }
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 24px 18px; font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }
.accordion-item.open .accordion-body { display: block; }

/* ---- Form ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark-mid); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--orange-main); box-shadow: 0 0 0 3px rgba(255,107,0,0.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

/* ---- Footer ---- */
.footer {
  background: var(--dark-mid);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { color: var(--white); font-size: 1.1rem; font-family: var(--font-heading); font-weight: 700; margin-bottom: 4px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 12px; margin-bottom: 20px; }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--orange-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.85rem; margin-bottom: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange-light); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--orange-light); }
.ein-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px 24px 24px; box-shadow: var(--shadow-md); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar .container { justify-content: center; }
  .top-bar-left { display: none; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}

/* ---- Misc ---- */
.divider {
  width: 56px; height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.divider-left { margin: 0 0 24px; }

.highlight-box {
  background: var(--orange-pale);
  border-left: 4px solid var(--orange-main);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--dark-mid);
  margin: 24px 0;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-orange { background: var(--orange-pale); color: var(--orange-dark); }
.badge-green  { background: #e8f5e9; color: #2e7d32; }
.badge-blue   { background: #e3f2fd; color: #1565c0; }

.icon-box {
  width: 56px; height: 56px;
  background: var(--orange-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.quote-block {
  border-left: 4px solid var(--orange-main);
  padding: 16px 24px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--dark-mid);
  background: var(--orange-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}
.quote-block cite { display: block; font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--orange-main); margin-top: 10px; }

/* ---- Journey Post Cards ---- */
.journey-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  transition: var(--transition);
}
.journey-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.journey-card-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.journey-card-body { padding: 32px; }
.journey-card-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }

@media (max-width: 768px) {
  .journey-card { grid-template-columns: 1fr; }
  .journey-card-img { height: 220px; }
}

/* ---- Event Cards ---- */
.event-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: flex-start;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-date-box {
  background: var(--gradient-main);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-align: center;
  min-width: 68px;
  flex-shrink: 0;
}
.event-date-box .month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.event-date-box .day   { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.event-body p  { font-size: 0.88rem; color: var(--gray-text); }
.event-meta    { display: flex; gap: 14px; font-size: 0.8rem; color: var(--gray-text); margin-top: 8px; flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- Upcoming Trips Schedule ---- */
.trip-schedule {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trip-schedule-header {
  background: var(--gradient-main);
  padding: 20px 28px;
  color: var(--white);
}
.trip-schedule-header h3 { font-size: 1.15rem; color: var(--white); }
.trip-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--gray-light);
  align-items: center;
  transition: var(--transition);
}
.trip-row:last-child { border-bottom: none; }
.trip-row:hover { background: var(--orange-pale); }
.trip-dates { font-size: 0.82rem; font-weight: 700; color: var(--orange-main); }
.trip-desc  { font-size: 0.9rem; color: var(--dark-mid); }
.trip-status { font-size: 0.75rem; }

@media (max-width: 600px) {
  .trip-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- Donation Progress ---- */
.progress-bar-wrap {
  background: var(--gray-light);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
  margin: 10px 0;
}
.progress-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 50px;
  transition: width 1s ease;
}

/* ---- Team Card ---- */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--orange-pale);
  box-shadow: 0 4px 16px rgba(255,107,0,0.18);
}
.team-name  { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-role  { font-size: 0.82rem; color: var(--orange-main); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.team-bio   { font-size: 0.85rem; color: var(--gray-text); }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }
