:root {
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: #1f2933;
  background: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.password-page {
  align-items: center;
  justify-content: center;
  background: #15803d;
  color: #ffffff;
}

.password-page .password-container {
  width: calc(100% - 40px);
  max-width: 500px;
  padding: 60px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.password-page .logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 30px;
}

.password-page h1 {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.password-page p {
  margin-bottom: 32px;
  font-size: 1.125rem;
  opacity: 0.9;
}

.password-page .password-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.password-page input[type="password"] {
  padding: 14px 18px;
  color: #ffffff;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
}

.password-page input[type="password"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.password-page input[type="password"]:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.password-page button {
  padding: 14px 28px;
  color: #1e40af;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.password-page button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.password-page .error {
  margin-top: -8px;
  color: #fecaca;
  font-size: 0.9375rem;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #d9e2ec;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.site-name {
  color: #102a43;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #334e68;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #102a43;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
}

.facebook-link img {
  width: 28px;
  height: 28px;
}

.nav-logout {
  margin: 0;
}

.nav-logout button {
  padding: 0;
  color: #334e68;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-logout button:hover {
  color: #102a43;
}

.btn-donate {
  background: #c53030;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-donate:hover {
  background: #9b2c2c;
}

main {
  flex: 1;
}

.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:  #15803d;
  color: #ffffff;
}

.hero .container {
  max-width: 1100px;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo img {
  height: clamp(250px, 25vw, 375px);
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
}

.eyebrow {
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  font-size: 0.875rem;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
}

.intro {
  max-width: 650px;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: #ffffff;
  color: #1e40af;
}

.btn-primary:hover {
  background: #f7fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 48px;
  text-align: center;
  color: #102a43;
}

.vision-section {
  background: #f7fafc;
}

.vision-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334e68;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.values-section {
  background: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  background: #f7fafc;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #15803d;
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  margin: 0 0 16px;
  color: #102a43;
  font-size: 1.25rem;
}

.value-card p {
  margin: 0;
  color: #486581;
  line-height: 1.6;
}

.purpose-section {
  background: #edf2f7;
}

.purpose-content {
  max-width: 900px;
  margin: 0 auto;
}

.purpose-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334e68;
  margin-bottom: 48px;
  text-align: center;
}

.purpose-list h3 {
  font-size: 1.5rem;
  color: #102a43;
  margin: 0 0 32px;
}

.purpose-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid #16a34a;
}

.purpose-item h4 {
  margin: 0 0 12px;
  color: #102a43;
  font-size: 1.25rem;
}

.purpose-item p {
  margin: 0;
  color: #486581;
  line-height: 1.7;
}

.contact-section {
  background:  #15803d;
  color: #ffffff;
  text-align: center;
}

.contact-section .section-title {
  color: #ffffff;
}

.contact-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-page {
  padding: 80px 0;
  background: #f7fafc;
}

.contact-page-content {
  width: min(100%, 700px);
  margin: 0 auto;
}

.contact-page h1 {
  margin-bottom: 16px;
  color: #102a43;
  text-align: center;
}

.contact-page-intro {
  margin: 0 0 40px;
  color: #334e68;
  font-size: 1.125rem;
  line-height: 1.7;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #102a43;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: #1f2933;
  font: inherit;
  background: #ffffff;
  border: 1px solid #9fb3c8;
  border-radius: 6px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #15803d;
  outline: 2px solid rgba(21, 128, 61, 0.2);
  outline-offset: 1px;
}

.contact-submit,
.btn-contact-return {
  justify-self: start;
  padding: 14px 28px;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #15803d;
  border: none;
  border-radius: 6px;
  text-decoration: none;
}

.contact-submit:hover,
.btn-contact-return:hover {
  background: #166534;
}

.form-confirmation {
  margin-bottom: 24px;
  padding: 32px;
  color: #166534;
  background: #dcfce7;
  border-left: 4px solid #15803d;
}

.form-confirmation h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.form-confirmation p {
  margin: 0;
  line-height: 1.6;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  color: #991b1b;
  background: #fee2e2;
  border-left: 4px solid #dc2626;
}

.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.resource-item {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.resource-item h2 {
  margin: 0 0 12px;
  color: #102a43;
  font-size: 1.3rem;
}

.resource-item p,
.resource-message {
  color: #486581;
  line-height: 1.6;
}

.resource-link {
  color: #166534;
  font-weight: 700;
}

.admin-login-page {
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
}

.admin-login-panel {
  width: min(100% - 40px, 440px);
  padding: 40px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.admin-login-panel h1,
.admin-page h1,
.admin-panel h2 {
  margin-top: 0;
  color: #102a43;
}

.admin-login-panel > p,
.admin-page-header p {
  color: #486581;
  line-height: 1.6;
}

.admin-login-form,
.admin-resource-form {
  display: grid;
  gap: 20px;
}

.admin-submit,
.admin-logout,
.admin-delete {
  padding: 12px 18px;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #15803d;
  border: none;
  border-radius: 6px;
}

.admin-submit:hover {
  background: #166534;
}

.admin-edit,
.admin-cancel {
  display: inline-block;
  padding: 12px 18px;
  color: #166534;
  font-weight: 700;
  text-decoration: none;
  background: #dcfce7;
  border-radius: 6px;
}

.admin-cancel {
  color: #334e68;
  background: #e9eef4;
}

.admin-page {
  padding: 64px 0;
  background: #f7fafc;
}

.admin-page-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.admin-logout,
.admin-delete {
  background: #c53030;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-list-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #d9e2ec;
}

.admin-list-item h3 {
  margin: 0 0 8px;
  color: #102a43;
  font-size: 1rem;
}

.admin-list-item a,
.contacts-table a {
  color: #166534;
  overflow-wrap: anywhere;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions form {
  margin: 0;
}

.admin-edit-page {
  width: min(100%, 700px);
  margin: 0 auto;
}

.admin-edit-page h1 {
  margin-bottom: 24px;
  color: #102a43;
}

.contacts-panel {
  margin-top: 24px;
}

.contacts-table-wrap {
  overflow-x: auto;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
  color: #334e68;
  text-align: left;
}

.contacts-table th,
.contacts-table td {
  padding: 14px;
  vertical-align: top;
  border-bottom: 1px solid #d9e2ec;
}

.contacts-table th {
  color: #102a43;
  white-space: nowrap;
}

.site-footer {
  padding: 50px 0 25px;
  background: #102a43;
  color: #cbd5e0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin: 0 0 16px;
}

.footer-section p {
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.footer-link {
  color: inherit;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #243b53;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .site-logo {
    height: 90px;
  }
  
  .site-name {
    font-size: 1.125rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 60px 0;
    min-height: 50vh;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-page {
    padding: 60px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .admin-page-header,
  .admin-list-item {
    flex-direction: column;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-panel,
  .admin-panel {
    padding: 24px;
  }
}