/* Minimal reset & base */
:root {
  --blue: #0d4481;
  --darkblue: rgba(2, 30, 70);
  --blue-alpha: rgba(11, 97, 214, 0.85);
  --black: #111;
  --orange: #e86a3c;
  --night: #072a4d;
  --yellow: #d4a92b;
  --lightyellow: #ddb12f;
  --muted: #6b6b6b;
  --max-width: 1100px;
  --accent-contrast: #fff;
}

* {
  box-sizing: border-box;
  cursor: default;
  scroll-behavior: smooth;
}
* p {
  font-size: 1.15rem;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111;
  line-height: 1.45;
  background: #fff;
  scroll-behavior: smooth;
}
.banner-pos {
  position: absolute;
  width: 100%;
}
.cancer-banner {
  width: 100%;
  background-color: rgb(223, 132, 99);
  color: var(--night);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
}
/* Header */
.header {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1200;
  background: transparent;
}
.header.scrolled {
  background: linear-gradient(
    180deg,
    rgba(40, 100, 200, 0.7),
    rgba(10, 60, 140, 0.5)
  );
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  position: fixed;
  transition-duration: 800ms ease;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
span {
  display: block;
  position: relative;
  top: -65px;
  height: 0;
  visibility: hidden;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
#site-logo {
  height: 5rem;
  display: flex;
  cursor: pointer;
}
/* Desktop nav */
.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--accent-contrast);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  font-weight: 600;
  border-radius: 8px;
  transition: 180ms, color 180ms;
  cursor: pointer;
}
.nav a:hover {
  color: var(--yellow);
}
/* Menu button for mobile */
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* deca */
.deca {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 6rem;
  color: var(--accent-contrast);
  text-align: center;
  background-image: url(../Resources/Header\ bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  background-position: center;
}
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.deca-title {
  font-size: 4rem;
  max-width: 900px;
  margin: 0 auto 0.6rem;
}
.deca-sub {
  font-size: 1.7rem;
  margin-bottom: 2.2rem;
}
.deca-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--yellow);
  color: var(--darkblue);
  font-weight: 700;
  font-size: 1rem;
}
/* Sections */
.section {
  padding: 8rem 1rem 6rem;
}
.section--light {
  background: var(--blue);
}
#vendorsection--accent {
  background: #f7f8fb;
}
.festwrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}
.festwrap h1 {
  color: var(--accent-contrast);
}
.festlead {
  padding-right: 4rem;
  padding-left: 4rem;
  color: var(--accent-contrast);
}
.donate-pg {
  background-color: rgb(223, 132, 99);
}
.donate-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.donate-info {
  margin-right: 10rem;
}
.NPCF-logo {
  height: 8rem;
}
/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 2.5rem;
}
.feature {
  background: var(--accent-contrast);
  color: var(--black);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(2, 30, 70, 0.4);
  text-align: center;
  border: 5px solid var(--yellow);
}

/* Steps */
.steps {
  margin-top: 1rem;
  padding-left: 1.1rem;
}
/* Contact layout */
#contactbg {
  background-image: url(../Resources/Blue\ Sky\ Cropped.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  background-position: bottom;
}
.contact-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contactpara {
  padding-right: 2rem;
}
.contact-info {
  margin-right: 8rem;
}
.form-content {
  width: 175%;
  margin-top: 2rem;
}
.contact-form {
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}
.contact-form label {
  display: block;
  margin-bottom: 0.75rem;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 2px solid var(--yellow);
  font-size: 0.95rem;
  font-family: Inter, system-ui, -apple-system, "Helvetica Neue", Arial;
}
#form-name {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.form-status {
  margin-top: 0.5rem;
  color: var(--muted);
}
#form-status {
  font-weight: bolder;
}
/* Footer */
.footer-info a {
  color: var(--yellow);
  text-decoration: none;
}
.decaemail {
  padding-bottom: 0.3rem;
}
.decaemail h3 a {
  font-weight: 400;
  font-size: small;
}
.footer-info {
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--accent-contrast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-info p {
  font-size: 0.8rem;
}
.footer-info h3 {
  font-size: 1rem;
}
.footer-wrap {
  background: #041c35;
}
.site-footer {
  background: var(--darkblue);
  color: #fff;
  padding: 2rem 1rem;
}
.footer-logo {
  height: 10rem;
}
/* Mobile menu popup */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(7, 18, 35, 0.65);
  align-items: center;
  justify-content: center;
}
.mobile-menu[aria-hidden="false"] {
  display: flex;
}
.mobile-menu-inner {
  width: 90%;
  max-width: 360px;
  background: var(--yellow);
  border-radius: 10px;
  padding: 1rem;
  position: relative;
}
.mobile-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
}
.mobile-nav a {
  display: block;
  padding: 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
}

/* Utility */
.lead {
  color: black;
  font-size: 1.2rem;
  margin-top: 0.6rem;
  margin-right: 25rem;
}
.muted {
  color: var(--muted);
}

/* small helper for details tag */
details summary {
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 8px;
  background: #fff;
}
/* Mobile styles */
@media (max-width: 855px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .deca {
    padding-top: 5.5rem;
    min-height: 72vh;
  }
  .header-inner {
    padding: 0.5rem 1rem;
  }
  .deca-title {
    padding-top: 5rem;
  }
  .donate-content {
    display: block;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .donate-info {
    margin-right: 0;
  }
  .d-img {
    margin: 0 auto;
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
  }
  .c-link {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
  }
  .info-pad {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .lead {
    margin-right: 0;
  }
  .contact-wrap {
    display: block;
  }
  .contact-info {
    margin-right: 0;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .form-content {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .contactpara {
    padding-left: 0;
    padding-right: 0;
  }
  span {
    top: 15px;
  }
}
@media (max-width: 690px) {
  #site-logo {
    height: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .festlead {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  span {
    top: 45px;
  }
  .footer-info {
    display: block;
  }
  .footer-logo {
    margin-top: 2rem;
  }
  .footer-wrap {
    display: flex;
    justify-content: center;
  }
  .footer-img {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .cancer-banner h3 {
    font-size: smaller;
    text-align: center;
  }
  .deca-title {
    font-size: 2.3em;
  }
  .deca-sub {
    font-size: 0.8em;
    margin-bottom: 0;
  }
  .deca-ctas {
    display: block;
    margin-top: 0;
  }
  .deca-ctas a {
    margin-top: 1.5rem;
  }
  .festwrap h1 {
    font-size: 1.5em;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .festlead {
    font-size: 1em;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .feature h2 {
    font-size: 1em;
  }
  .feature p {
    font-size: 1em;
  }
  .donate-content h1 {
    font-size: 1.5em;
  }
  .donate-info {
    font-size: 1em;
  }
  .NPCF-logo {
    height: 5rem;
  }
  .info-pad h1 {
    font-size: 1.5em;
  }
  .lead {
    font-size: 1em;
  }
  .contactpara {
    font-size: 1em;
  }
  .contact-form h2 {
    font-size: 1.15em;
  }
  .contact-form {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  #form-name {
    display: block;
  }
  .footer-logo {
    height: 7rem;
  }
  .footer-info h3 {
    font-size: 0.9em;
  }
  .footer-info p {
    font-size: 0.6em;
  }
}
