:root {
  --palestine-green: #007A3D;
  --palestine-green-dark: #005c2e;
  --palestine-red: #CE1126;
  --palestine-red-dark: #a80d1e;
  --palestine-black: #1a1a1a;
  --palestine-white: #FFFFFF;
  --section-light: #f8faf8;
  --section-green-tint: #f0f7f2;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ── Focus states ── */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--palestine-green);
}

/* ── Palestinian colours ── */
.bg-palestine-green {
  background-color: var(--palestine-green) !important;
  border-color: var(--palestine-green) !important;
  color: white;
}
.bg-palestine-green:hover {
  background-color: var(--palestine-green-dark) !important;
  border-color: var(--palestine-green-dark) !important;
  color: white;
}
.bg-palestine-red {
  background-color: var(--palestine-red) !important;
  color: white;
}
.hover-green:hover {
  color: var(--palestine-green) !important;
}
.text-palestine-green { color: var(--palestine-green) !important; }
.text-palestine-red { color: var(--palestine-red) !important; }

.btn-outline-danger {
  color: var(--palestine-red);
  border-color: var(--palestine-red);
}
.btn-outline-danger:hover {
  background-color: var(--palestine-red);
  border-color: var(--palestine-red);
  color: white;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--palestine-black);
}

html {
  position: relative;
  min-height: 100%;
}

/* ── Top announcement bar ── */
.top-bar {
  background: var(--palestine-black);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 6px 0;
}
.top-bar a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar a:hover {
  color: var(--palestine-green);
}

/* Top bar social icons — consistent sizing via inline-flex circles */
.top-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  margin-left: 6px;
  transition: background 0.2s;
}
.top-social:hover {
  background: var(--palestine-green);
  color: #fff;
}

/* ── Palestinian flag stripe ── */
.flag-stripe {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--palestine-black) 0%, var(--palestine-black) 25%,
    var(--palestine-white) 25%, var(--palestine-white) 50%,
    var(--palestine-green) 50%, var(--palestine-green) 75%,
    var(--palestine-red) 75%, var(--palestine-red) 100%
  );
}

/* ── Hero section ── */
.hero-section {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center 66%; /* keeps the flags and the march banner in frame */
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,50,20,0.65) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
}
.hero-section h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-section .hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 600px;
}
.hero-section .hero-accent {
  width: 60px;
  height: 4px;
  background: var(--palestine-red);
  border-radius: 2px;
}
@media (max-width: 767px) {
  .hero-section { min-height: 400px; }
  .hero-section h1 { font-size: 2rem; }
}

/* ── Quick-action cards ── */
.action-strip {
  position: relative;
  z-index: 10;
  margin-top: -32px;
}
.action-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.1rem 0.8rem 1rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.action-card .action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 700;
}
.action-icon.icon-green  { background: var(--palestine-green); }
.action-icon.icon-red    { background: var(--palestine-red); }
.action-icon.icon-dark   { background: var(--palestine-black); }
.action-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.action-card p {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0;
}

/* ── Section styling ── */
.section-home {
  padding: 4rem 0;
}
.section-home.bg-tint {
  background: var(--section-green-tint);
}
.section-header {
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}
.section-header .accent-bar {
  width: 40px;
  height: 3px;
  background: var(--palestine-green);
  border-radius: 2px;
}
.section-header .accent-bar.red {
  background: var(--palestine-red);
}

/* ── Card enhancements ── */
.card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
}
.empty-state .empty-icon {
  font-size: 3rem;
  opacity: 0.4;
  margin-bottom: 1rem;
  display: block;
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--palestine-green) 0%, var(--palestine-green-dark) 100%);
  padding: 3.5rem 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
}

/* ── Footer ── */
footer {
  font-size: 0.9rem;
  line-height: 1.7;
}
footer a {
  transition: color 0.2s;
}
footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  margin-right: 8px;
  transition: background 0.2s;
}
footer .social-icons a:hover {
  background: var(--palestine-green);
}
