:root {
    --primary-color: #00aad4;
    --accent-color: #ffc107;
    --text-dark: #333;
    --bg-light: #f4f4f4;
    --transition: all 0.3s ease;
    --wcp-navy: #1a365d;    /* Deep professional blue */
    --wcp-gold: #ffc107;    /* Warm accent gold for headers/hover */
    --wcp-white: #ffffff;
    --wcp-light-gray: #f7fafc;
    --wcp-text-muted: #cbd5e0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* Adjust this to match your header's height */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

main {
    max-width: 1100px !important;
    margin: auto !important;
    padding: 10px;
}

.container { 
    max-width: 1100px;
    height: 100%;
    margin: auto;
}

.width-padding { width: 90%; }

/* Navigation */
#main-header {
    display: block; /* Custom elements are inline by default */
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps it above other content like images */
    width: 100%;
    height: 120px;
    background: white;
    border-bottom: 8px solid #00aad4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.25s;
}

#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.nav-menu ul { display: flex; list-style: none; gap: 20px; align-items: right; }
.nav-menu-item {
  display: block;
  color: #454545;
  text-align: center;
  height: 48px;
  padding: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.1s;
}

.nav-menu-item:hover {
  color: #00aad4;
  border-bottom: 4px solid #00aad4 !important;
}

.nav-menu-item.active {
  color: #00aad4;
  border-bottom: 4px solid #00aad4 !important;
}

.btn-donate { 
    background: var(--primary-color);
    color: white; 
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-donate:hover {
    background: #004494;
}

.btn-donate i {
    margin-right: 8px; /* Adds space between icon and text */
    font-size: 1.1em;   /* Makes the icon slightly smaller to match text weight */
    vertical-align: middle;
}

#wcp-hamburger-menu {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin:0;
  color: #454545;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
}

#wcp-hamburger-menu:hover {
  color: #2596be !important;
}

#wcp-dropdown-menu {
  display: none;
  width: 100%;
  background-color:#fff
}

.wcp-dropdown-item {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  color: #454545;
  text-align: center;
  text-decoration: none;
  font-family: 'Roboto';
  font-size: 18px;
  font-weight: bold;
  transition: transform .2s;
}

.wcp-dropdown-item:hover {
  color: #2596be;
  background-color:#eee
}

.fluid-height { padding:8px; height:100%; }
.logo { width:auto; max-height:100%; }

/* Grid System */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("images/Emergency Shelter and Kitchen Buildings.jpg") center/cover;
    background-attachment: fixed;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

a.cta-button:link, a.cta-button:visited {
  width: 240px;
  margin: 10px auto 0;
  padding: 8px 10px;
  color: white;
  background-color: var(--primary-color);
  border: 3px solid white;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  display: block;
  transition: 0.3s ease;
}

a.cta-button:hover, a.cta-button:active {
  background: #004494;
}

/* Mission Statement */
.mission-container {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1100px;
    height: 280px;
    margin: auto;
}

.mission-container > div {
    flex: 50%;
    height: 140px;
    margin: 0;
}

.mission-title {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #00aad4;
    font-size: 48px;
    line-height: 1;
    font-weight: bold;
}

.mission-statement {
    padding: 10px;
    margin: 0;
    text-align: left;
    font-size: 18px;
    line-height: 1.25;
}

.wcp-align-top {
    position: relative;
    align-self: flex-start;
    border-bottom-style: solid;
    border-bottom-color: #00aad4;
}

.wcp-align-bottom {
    position: relative;
    align-self: flex-end;
}

/* Utility */
.section-title {
    margin-bottom: 2rem;
    color: #00aad4;
    text-align: center;
    font-size: 48px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
}
.section-padding { padding: 3rem 0; }
.gray-bg { background: var(--bg-light); }
.card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.card h3 { margin-top: 10px; margin-bottom: 10px; font-size: 30px; line-height: 1.0; color: #10478a; }
.card img { width: 100%; border-radius: 8px;  box-shadow: 0 4px 6px rgba(0,0,0,0.5); }
.square { aspect-ratio: 1 / 1; }

/* Impact Section Layout */
.impact-section {
    padding: 3rem 0;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* The Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Individual Card Styling */
.impact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px; /* Matches the infographic's soft corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px); /* Subtle interaction effect */
}

.card-icon {
    width: 60px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #004a99;
    margin-bottom: 10px;
}

.impact-card h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
}

.impact-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Footer Link */
.report-link {
    color: #004a99;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.stat-number {
    color: #10478a;
    text-align: center;
    font-size: 48px;
    line-height: 1;
    font-weight: bold;
}

.stat-label {
    text-align: center;
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
}

@media screen and (max-width: 1000px) {
    .mission-container > div { flex: 100% !important; }
    .mission-title { width: 100%; text-align: center; }
    .mission-statement { text-align: center; }
    .wcp-align-top { align-self: auto !important; }
    .wcp-align-bottom { align-self: auto !important; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } /* Add JS toggle for mobile */
    #wcp-hamburger-menu { display: block; }
}

.contact-container {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 20px; }

label { display: block; font-weight: bold; margin-bottom: 5px; }

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Crucial for alignment */
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-submit:hover { background: #004494; }

.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.success { background: #dff0d8; color: #3c763d; }
.error { background: #f2dede; color: #a94442; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
}

.tilt-container {
  position: relative; /* So glare can be absolute */
  overflow: hidden;    /* Keeps glare inside the card corners */
  width: 300px;
  transition: transform 0.1s ease; /* Smooths the movement */
  transform-style: preserve-3d;
  perspective: 1000px; /* Adjust depth here */
}

.tilt-container img {
  width: 100%;
  border-radius: 10px;
  pointer-events: none; /* Prevents image dragging from breaking the hover */
}

.glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* A soft white radial gradient */
  background: radial-gradient(
    circle at 50% 50%, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0) 80%
  );
  opacity: 0;
  pointer-events: none; /* So it doesn't block mouse events */
  z-index: 1;
  transition: opacity 0.3s ease;
}

.news-section {
  display: flex;
  justify-content: center;
  align-items: self-start;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.wcp-header-space {
  height: 138px;
  transition: 0.25s;
}

@media screen and (max-width: 1000px) {
  .wcp-header-space {
    height: 96px;
  }
}