:root {
  --primary-color: #0b2240;
  /* Navy Blue from typical campaign */
  --secondary-color: #cc0000;
  /* Red */
  --bg-color: #f8fafc;
  --text-color: #1e293b;
  --light-text: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.nav-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 70px;
}

.logo {
  position: absolute;
  left: 2rem;
  top: -45px;
  z-index: 1010;
}

.logo img {
  height: 200px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.donate-btn {
  background-color: var(--secondary-color);
  color: var(--light-text) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(204, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .nav-container {
    justify-content: center;
  }
  
  .nav-links li:last-child {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Shift left */
  position: relative;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: 85% 20%;
  /* Shifted so the face is higher and more to the right */
  color: var(--light-text);
  text-align: left;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Ombre effect: darker on the left, transparent on the right */
  background: linear-gradient(to right, rgba(11, 34, 64, 0.85) 0%, rgba(11, 34, 64, 0.5) 25%, rgba(11, 34, 64, 0.1) 45%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 2rem;
  margin-left: 5%;
  /* Shift left */
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 9999px;
  transition: all 0.3s ease;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

.btn-primary:hover {
  background-color: #a30000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

/* Main Content Sections */
.section {
  padding: 5rem 2rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cards */
.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Image blocks */
.image-block {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-block:hover img {
  transform: scale(1.05);
}

/* Typography styles */
.highlight-text {
  color: var(--secondary-color);
  font-weight: 700;
}

.lead-text {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
}

/* Priorities Specific */
.priority-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.priority-item:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.paid-for {
  border: 1px solid var(--light-text);
  padding: 1rem 2rem;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--light-text);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo {
    top: -5px;
    left: 1rem;
  }

  .logo img {
    height: 110px;
    max-width: 100%;
    object-fit: contain;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1020;
  }

  .hero {
    background-position: 70% 20%;
    align-items: flex-end;
    padding-bottom: 2rem;
  }

  .hero::before {
    background: linear-gradient(to top, rgba(11, 34, 64, 0.9) 0%, rgba(11, 34, 64, 0.6) 20%, transparent 40%);
  }

  .hero-content {
    margin-left: 0;
    padding: 1rem;
    text-align: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .image-block {
    margin-bottom: 2rem;
  }
}

/* Take Action Forms & Grids */
.take-action-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 2.5rem;
}

.action-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.action-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary-color);
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .take-action-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {

  .action-form-row-2,
  .action-form-row-3 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .take-action-cards-grid>div {
    padding: 1.5rem !important;
    border-radius: 18px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}