
/* ========================================
   CHANGE SYRACUSE
   GLOBAL STYLES
======================================== */

:root {
  --navy: #062c49;
  --dark-navy: #041f35;
  --orange: #ff6900;
  --dark-orange: #c84e00;
  --yellow: #ffbd19;
  --cream: #fff8ee;
  --light-blue: #eaf5fc;
  --white: #ffffff;
  --text: #344454;
  --gray: #f4f6f8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 5.5vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

h4 {
  font-size: 1rem;
  margin-top: 22px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

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

.section {
  padding: 100px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--dark-orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-heading {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 50px;
}

.section-heading p {
  font-size: 1.1rem;
}


/* ========================================
 BUTTONS
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: background 0.2s,
              transform 0.2s,
              box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.btn-orange {
  background: var(--orange);
  color: var(--dark-navy);
}

.btn-orange:hover {
  background: #ff8a38;
}

.btn-outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--dark-navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.centered {
  justify-content: center;
}

.full-width {
  width: 100%;
}


/* ========================================
 HEADER AND NAVIGATION
======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.navigation {
  min-height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.brand img {
  width: 155px;
  height: auto;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-links a:not(.btn):hover {
  color: var(--dark-orange);
}

.nav-links .btn {
  padding: 10px 23px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.8rem;
}


/* ========================================
 HERO SECTION
======================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      120deg,
      #fff8eb 0%,
      #ffffff 75%
  );
  padding: 100px 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: var(--yellow);
  opacity: 0.12;
  border-radius: 50%;
  right: -200px;
  top: -200px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 65px;
}

.hero h1 {
  margin-bottom: 25px;
}

.hero h1 span {
  display: block;
  color: var(--dark-orange);
}

.hero p {
  max-width: 600px;
  font-size: 1.15rem;
}

.hero-image {
  position: relative;
  padding: 30px;
  background: var(--white);
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(6, 44, 73, 0.08);
}

.hero-image img {
  width: 100%;
}


/* ========================================
 MISSION STRIP
======================================== */

.mission-strip {
  background: var(--navy);
  padding: 40px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 30px;
}

.mission-grid > div {
  padding: 10px 20px;
}

.mission-grid > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-grid h3 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 8px;
}

.mission-grid p {
  color: var(--white);
  margin: 0;
}


/* ========================================
 OUR VISION
======================================== */

.vision-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.vision-graphic {
  background: var(--navy);
  color: var(--white);
  padding: 65px 40px;
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--yellow);
}

.graphic-small {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
}

.graphic-large {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
}

.graphic-line {
  height: 5px;
  width: 70px;
  background: var(--orange);
  margin: 35px 0;
}

.yellow-text {
  color: var(--yellow);
}

.highlight-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  border-left: 5px solid var(--orange);
  padding-left: 20px;
  margin-top: 30px;
}


/* ========================================
 GRID LAYOUTS
======================================== */

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}


/* ========================================
 EARLY CHILDHOOD EDUCATION
======================================== */

.education-section {
  background: var(--gray);
}

.age-card {
  border-radius: 16px;
  padding: 35px 28px;
  border-top: 7px solid;
  box-shadow: 0 5px 20px rgba(6, 44, 73, 0.04);
}

.infant-card {
  background: #fff1dc;
  border-color: var(--orange);
}

.toddler-card {
  background: #e6f3fc;
  border-color: #338dc4;
}

.preschool-card {
  background: #fff5ce;
  border-color: var(--yellow);
}

.age-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.age-label {
  display: inline-block;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.age-card h3 {
  font-size: 1.55rem;
}

.age-card p,
.age-card li {
  font-size: 0.95rem;
}

.safety-note {
  margin: 30px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 0.88rem;
  color: #526171;
}


/* ========================================
 PARENT RESOURCES
======================================== */

.parent-section {
  background: var(--white);
}

.activity-card {
  padding: 30px 22px;
  text-align: center;
  background: var(--white);
  border: 1px solid #e4e8ec;
  border-radius: 14px;
  transition: transform 0.2s,
              box-shadow 0.2s;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6, 44, 73, 0.08);
}

.activity-icon {
  font-size: 2.7rem;
  margin-bottom: 20px;
}

.activity-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.resource-links {
  margin-top: 45px;
  padding: 30px;
  border-radius: 12px;
  background: var(--light-blue);
  text-align: center;
}

.resource-links h3 {
  font-size: 1.15rem;
}

.resource-links a {
  display: inline-block;
  margin: 8px 15px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: underline;
}


/* ========================================
 FREE BOOKS AND TOYS
======================================== */

.program-section {
  background: var(--cream);
}

.program-card {
  background: var(--white);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(6, 44, 73, 0.05);
}

.program-icon {
  font-size: 3.8rem;
  margin-bottom: 15px;
}

.program-card h3 {
  font-size: 1.8rem;
}

.program-card li::marker {
  color: var(--orange);
}

.family-cta {
  text-align: center;
  max-width: 750px;
  margin: 45px auto 0;
  padding: 30px;
}

.family-cta h3 {
  font-size: 1.8rem;
}


/* ========================================
 DONATION SECTION
======================================== */

.donate-section {
  background: var(--navy);
  color: var(--white);
}

.donation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.donate-section h2 {
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 4rem);
}

.donate-section .eyebrow {
  color: var(--yellow);
}

.donate-section > .container > div > h3 {
  color: var(--yellow);
  margin-top: 30px;
}

.donation-box {
  background: var(--white);
  color: var(--text);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.donate-section .donation-box h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.7rem;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.amount-btn {
  padding: 16px;
  background: var(--white);
  color: var(--navy);
  border: 2px solid #dce2e8;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: background 0.2s,
              border-color 0.2s;
}

.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--orange);
  background: #fff0e2;
}

.donation-box label {
  font-size: 0.9rem;
  font-weight: 700;
}

.amount-input {
  display: flex;
  align-items: center;
  border: 2px solid #dce2e8;
  border-radius: 8px;
  margin: 8px 0 22px;
  overflow: hidden;
}

.amount-input span {
  padding: 12px 15px;
  background: var(--gray);
  font-weight: 700;
}

.amount-input input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: none;
  color: var(--navy);
  background: var(--white);
}

.donation-note {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
}


/* ========================================
 VOLUNTEER SECTION
======================================== */

.volunteer-section {
  background: var(--light-blue);
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
}

.volunteer-options {
  display: grid;
  gap: 15px;
}

.volunteer-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
}

.volunteer-item > span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.2rem;
}

.volunteer-item h3 {
  margin-bottom: 5px;
}

.volunteer-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}


/* ========================================
 FINAL CALL TO ACTION
======================================== */

.final-cta {
  padding: 75px 0;
  background: var(--orange);
  color: var(--dark-navy);
  text-align: center;
}

.final-cta h2 {
  color: var(--dark-navy);
  margin-bottom: 15px;
}

.final-cta p {
  font-size: 1.2rem;
}


/* ========================================
 FOOTER
======================================== */

.footer {
  background: var(--dark-navy);
  color: #c9d5df;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 40px;
}

.footer-logo {
  width: 170px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
}

.footer h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer p,
.footer a,
.footer-link {
  font-size: 0.9rem;
}

.footer a,
.footer-link {
  display: block;
  margin-bottom: 10px;
}

.footer a:hover,
.footer-link:hover {
  color: var(--yellow);
}

.footer-link {
  background: none;
  border: none;
  color: inherit;
  text-align: left;
}

.footer-bottom {
  text-align: center;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}


/* ========================================
 INFORMATION DIALOG
======================================== */

dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow: auto;
  padding: 40px;
  border: none;
  border-radius: 16px;
  color: var(--text);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
}

dialog::backdrop {
  background: rgba(4, 31, 53, 0.75);
}

dialog h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.close-dialog {
  position: absolute;
  right: 15px;
  top: 8px;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 2rem;
}


/* ========================================
 TABLET RESPONSIVENESS
======================================== */

@media (max-width: 1050px) {

  .nav-links {
      gap: 14px;
  }

  .nav-links a {
      font-size: 0.82rem;
  }

  .hero-grid,
  .vision-grid,
  .donation-grid,
  .volunteer-grid {
      gap: 40px;
  }

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

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

}


/* ========================================
 MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 800px) {

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

  .section {
      padding: 65px 0;
  }

  .navigation {
      min-height: 80px;
  }

  .brand img {
      width: 120px;
  }

  .menu-toggle {
      display: block;
  }

  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: stretch;
      background: var(--white);
      padding: 25px;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
      display: flex;
  }

  .nav-links a {
      font-size: 1rem;
      padding: 8px;
  }

  .hero {
      padding: 60px 0;
  }

  .hero-grid,
  .vision-grid,
  .donation-grid,
  .volunteer-grid,
  .three-column-grid,
  .two-column-grid {
      grid-template-columns: 1fr;
  }

  .hero-content {
      text-align: center;
  }

  .hero-content .button-group {
      justify-content: center;
  }

  .hero-image {
      max-width: 450px;
      margin: 0 auto;
  }

  .hero h1 {
      font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .vision-graphic {
      padding: 45px 30px;
  }

  .mission-grid {
      gap: 10px;
  }

  .mission-grid > div {
      padding: 5px;
  }

  .mission-grid h3 {
      font-size: 1.8rem;
  }

  .mission-grid p {
      font-size: 0.8rem;
  }

  .donation-box,
  .program-card {
      padding: 28px;
  }

}


@media (max-width: 480px) {

  .four-column-grid,
  .footer-grid {
      grid-template-columns: 1fr;
  }

  .button-group {
      flex-direction: column;
  }

  .button-group .btn {
      width: 100%;
  }

  .hero-image {
      padding: 15px;
  }

  .eyebrow {
      font-size: 0.72rem;
  }

  .volunteer-item {
      padding: 20px 15px;
  }

  .footer-grid {
      gap: 25px;
  }

  dialog {
      padding: 35px 25px;
  }

}


/* Respect reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

  html {
      scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
      transition: none !important;
      animation: none !important;
  }

}
