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

html {
  scroll-padding-top: 150px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
}

/* Navigation Bar */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 39, 66, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: 2px solid #F3FAFA;
}

.logo {
  height: 100px;
  /*background: #F3FAFA;*/
  padding: 0px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #182742;
  font-size: 18px;
}

.logo a {
  display: flex;
  height: 100%;
}

.logo img {
  height: 100%;
  width: auto;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F3FAFA;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.btn-volunteer {
  background: #F3FAFA;
  color: #182742;
}

.btn-volunteer:hover {
  background: #e5f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-donate {
  background: #CC3829;
  color: white;
}

.btn-donate:hover {
  background: #b32f21;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 56, 41, 0.4);
}

.btn-donate:disabled {
  background: #aaa;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #F3FAFA;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}



/* Hero Section - Split Screen Design */
.hero-split {
  display: flex;
  min-height: 72vh;
  position: relative;
  overflow: hidden;
}

.hero-split .split-left {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.hero-split .split-left-content {
  flex: 1;
  background: linear-gradient(180deg, #182742 0%, #470D67 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  text-align: center;
}

.hero-split .split-left h1 {
  font-size: 48px;
  font-weight: 600;
  color: #F3FAFA;
  margin-bottom: 25px;
  line-height: 1.1;
}

.hero-split .split-left .subtitle {
  font-size: 30px;
  color: #F3FAFA;
  margin-bottom: 25px;
  font-weight: 300;
  line-height: 1.4;
  font-style: italic;
}

.hero-split .split-left .hero-intro {
  font-size: 18px;
  color: #F3FAFA;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  font-style: normal;
}

.hero-split .split-left .cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

.hero-split .split-right {
  flex: 0 0 52%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1067"><rect fill="%23ccc" width="1600" height="1067"/></svg>');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-split .split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  display: block;
}

.hero-split .split-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(71, 13, 103, 0.15) 0%, transparent 30%);
}



/* Content Section */
.content-section {
  padding: 80px 50px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: auto;
}

.content-section h2 {
  font-size: 42px;
  color: #182742;
  margin-bottom: 30px;
  font-weight: 700;
}

.content-section h3 {
  /*font-size: 42px;*/
  color: #182742;
  margin-bottom: 20px;
  /*font-weight: 700;*/
}

.content-section p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section p.opening {
  color: #555;
}

.content-section ul {
  margin-bottom: 20px;
}

.content-section li
{
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-left: 32px;
}

/* Topic Boxes Grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.topic-box {
  background: linear-gradient(135deg, #182742 0%, #470D67 100%);
  border: 2px solid #F3FAFA;
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.topic-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(204, 56, 41, 0.4);
  border-color: #F3FAFA;
}

.topic-box h3 {
  color: #F3FAFA;
  margin-bottom: 12px;
  font-size: 24px;
}

.topic-summary {
  color: #F3FAFA;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.topic-box .read-more {
  color: #F3FAFA;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  text-align: right;
}

/* Principle Boxes */
.principle-box {
  background: linear-gradient(135deg, #CC3829 0%, #FF8200 100%);
  border: 2px solid #F3FAFA;
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.principle-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 130, 0, 0.4);
  border-color: #F3FAFA;
}

.principle-box h3 {
  color: #F3FAFA;
  margin-bottom: 12px;
  font-size: 24px;
  text-align: center;
}

.principle-box .read-more {
  color: #F3FAFA;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  text-align: right;
}

/* Event Boxes Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.event-box {
  background: #FFFFFF;
  border: 3px solid #470D67;
  border-radius: 10px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(71, 13, 103, 0.3);
  border-color: #182742;
}

.event-box h3 {
  color: #470D67;
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 700;
}

.event-details {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  flex-grow: 1;
}

.event-details .event-date,
.event-details .event-time,
.event-details .event-location {
  margin-bottom: 8px;
  font-weight: 500;
}

.event-box .read-more {
  color: #470D67;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  text-align: right;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 20px;
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  color: #182742;
  font-size: 32px;
  margin-bottom: 20px;
}

.modal-content p,
.modal-content ul {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

.modal-content p {
  margin-bottom: 16px;
}

.modal-content ul {
  margin-top: 15px;
}

.modal-content li {
  margin-left: 32px;
  margin-bottom: 10px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  font-weight: 300;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.close-modal:hover {
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Donate Section */
.donate-section {
  min-height: calc(100vh - 132px);
  background: linear-gradient(180deg, #182742 0%, #470D67 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
}

.donate-section h2 {
  color: #F3FAFA;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 1100px;
}

.donate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate-box:nth-child(1) { grid-column: 1 / 3; }
.donate-box:nth-child(2) { grid-column: 3 / 5; }
.donate-box:nth-child(3) { grid-column: 5 / 7; }
.donate-box:nth-child(4) { grid-column: 2 / 4; }
.donate-box:nth-child(5) { grid-column: 4 / 6; }

.donate-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.donate-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 4px solid white;
  border-radius: 8px;
  overflow: hidden;
  background: #F3FAFA;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.donate-link:hover .donate-image-wrap {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(204, 56, 41, 0.4);
  border-color: #CC3829;
}

.donate-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.donate-image-wrap img.svg {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}

.donate-label {
  color: white;
  font-weight: bold;
  font-size: 18px;
  margin-top: 12px;
  text-align: center;
}

/* Connect Modal Form */
.connect-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.connect-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.connect-field label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.connect-field input[type="email"], .connect-field input[type="text"] {
  padding: 12px 16px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.connect-field input[type="email"]:focus, .connect-field input[type="text"]:focus {
  outline: none;
  border-color: #182742;
}

.connect-form .btn-donate {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.modal-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-form-actions .btn-volunteer {
  border: 2px solid #182742;
}

/* Contact Section */
.contact-section {
  min-height: calc(100vh - 132px);
  background: linear-gradient(180deg, #182742 0%, #470D67 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
}

.contact-section h2 {
  color: #F3FAFA;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.contact-intro {
  color: rgba(243, 250, 250, 0.85);
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.contact-form {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-field-row {
  display: flex;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.contact-field label {
  color: #F3FAFA;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-input {
  padding: 12px 16px;
  border: 2px solid rgba(243, 250, 250, 0.3);
  border-radius: 6px;
  background: rgba(243, 250, 250, 0.08);
  color: #F3FAFA;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.contact-input::placeholder {
  color: rgba(243, 250, 250, 0.45);
}

.contact-input:focus {
  outline: none;
  border-color: rgba(243, 250, 250, 0.8);
  background: rgba(243, 250, 250, 0.12);
}

.contact-field-state {
  flex: 0 0 90px;
}

.contact-field-zip {
  flex: 0 0 130px;
}

.contact-question-group {
  border-top: 1px solid rgba(243, 250, 250, 0.2);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-question-group h3 {
  color: #F3FAFA;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.contact-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #CC3829;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-checkbox span {
  color: #F3FAFA;
  font-size: 16px;
  line-height: 1.4;
}

.contact-form .btn-donate {
  align-self: flex-start;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

/* About section */
.about-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-row .opening {
  flex: 1;
  margin-bottom: 0;
}

.about-photo {
  flex: 0 0 40%;
  width: 40%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

/* Forward Party page */
.fwd-hero {
  background: linear-gradient(180deg, #182742 0%, #470D67 100%);
  padding: 60px 50px;
  text-align: center;
}

.fwd-hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.fwd-group-photo {
  max-width: 500px;
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
}

.fwd-logo {
  height: 280px;
  width: auto;
}

.fwd-hero h2 {
  font-size: 42px;
  font-weight: 700;
  color: #F3FAFA;
  margin-bottom: 16px;
}

.fwd-subtitle {
  font-size: 22px;
  color: #F3FAFA;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
}

/* Forward Party stripe */
.forward-party-stripe {
  display: flex;
  align-items: center;
  background: #e0e0e0;
  padding: 16px 60px;
  text-align: left;
  gap: 20px;
}

.forward-party-logo {
  height: 100%;
  width: auto;
  align-self: stretch;
  max-height: 144px;
}

.forward-party-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.forward-party-headline {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  text-align: center;
}

.forward-party-subtext {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  text-align: center;
}

.btn.btn-forward {
  background: #182742;
  color: #fff;
  margin-top: 10px;
  align-self: center;
}

.btn.btn-forward:hover {
  background: #0f1a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 39, 66, 0.4);
}

/* Footer */
.footer-bar {
  height: 4px;
  background: #000;
}

.site-footer {
  background: #182742;
  padding: 50px 60px 30px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  color: #F3FAFA;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(243, 250, 250, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #F3FAFA;
}

.footer-legal {
  border-top: 1px solid rgba(243, 250, 250, 0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-legal p {
  color: rgba(243, 250, 250, 0.55);
  font-size: 12px;
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-split {
    flex-direction: column-reverse;
  }

  .hero-split .split-left,
  .hero-split .split-right {
    flex: 1;
  }

  .hero-gradient h1,
  .hero-split h1 {
    font-size: 42px;
  }

  nav {
    padding: 15px 25px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 20px 0;
    background: rgba(24, 39, 66, 0.98);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .menu-toggle:checked ~ .nav-items {
    display: flex;
  }

  .nav-link,
  .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .logo {
    height: 60px;
    max-width: 120px;
    padding: 0px 10px;
  }

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

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

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

  .modal-content {
    padding: 30px 20px;
    margin: 10px;
  }

  .donate-section {
    padding: 40px 20px;
  }

  .donate-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .donate-box:nth-child(1) { grid-column: 1 / 3; }
  .donate-box:nth-child(2) { grid-column: 3 / 5; }
  .donate-box:nth-child(3) { grid-column: 1 / 3; }
  .donate-box:nth-child(4) { grid-column: 3 / 5; }
  .donate-box:nth-child(5) { grid-column: 2 / 4; }

  .contact-field-city {
    flex: 1;
  }

  .contact-field-state {
    flex: 0 1 60px;
    max-width: 60px;
  }

  .contact-field-zip {
    flex: 0 1 80px;
    max-width: 80px;
  }

  .about-row {
    flex-direction: column;
  }

  .about-photo {
    flex: none;
    width: 100%;
  }

  .fwd-hero-row {
    flex-direction: column;
    gap: 20px;
  }

  .fwd-group-photo {
    width: 80%;
    max-width: none;
  }

  .fwd-logo {
    height: 120px;
  }

  .forward-party-stripe {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .forward-party-logo {
    max-height: 100px;
    align-self: center;
  }

  .btn.btn-forward {
    align-self: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer {
    padding: 40px 25px 25px;
  }
}
