/* ===== FONTS ===== */
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy Light';
  src: url('../fonts/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --turquoise: #19a9e7;
  --dark-grey: #30332e;
  --white: #ffffff;
  --text-muted: #3a4554;
  --border-light: #e4ebf3;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Gilroy', sans-serif;
  color: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px;
}

.navbar-inner {
  max-width: 1260px;
  margin: 0 auto;
}

.navbar-bar {
  background: var(--white);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
}

.navbar-logo img {
  width: 155px;
}

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

.nav-link {
  color: #1a1b1f;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.25px;
  padding: 5px 10px;
  line-height: 20px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1a1b1fbf;
}

.nav-link.active {
  color: #1a1b1f;
}

.nav-donate-wrap {
  margin-left: 120px;
}

.nav-menu-wrapper {
  width: 66%;
  display: block;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1b1f;
  margin: 5px 0;
  transition: all 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--turquoise);
  color: var(--white);
  border-radius: 20px;
  padding: 12px 25px;
  font-family: 'Gilroy Light', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: capitalize;
  line-height: 20px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #32343a;
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px 80px;
  background-image: linear-gradient(rgba(14, 14, 14, 0.48), rgba(14, 14, 14, 0.48));
}

.hero.smaller {
  height: 30vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 7%;
}

.hero-content {
  margin-top: 35px;
  text-align: center;
}

.hero-title {
  font-size: 76px;
  line-height: 0.9;
  text-align: center;
}

.hero-subtitle {
  text-align: center;
  font-family: 'Gilroy Light', sans-serif;
  font-size: 25px;
  line-height: 1.45;
}

.hero-cta {
  position: absolute;
  bottom: -2%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cta-box {
  background: var(--turquoise);
}

.hero-cta-text {
  text-align: center;
  margin: 0;
  padding: 15px 60px;
  line-height: 1.45;
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 5vw;
  background: var(--white);
}

.section.dark {
  background: var(--dark-grey);
}

.section-container {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-container.large {
  max-width: 1205px;
}

/* ===== ACTION GRID (Home - Learn/Volunteer/Share/Donate) ===== */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.action-card h3 {
  color: var(--dark-grey);
  font-size: 38px;
  line-height: 1.45;
}

.action-card p {
  color: var(--dark-grey);
  font-family: 'Gilroy Light', sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

/* ===== STATS SECTION ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
}

.stats-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.stats-header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stats-header-left .stat-number {
  font-family: 'Gilroy Light', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.stats-header-left .stat-number strong {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
}

.stats-header-left .subhead {
  font-size: 74px;
  line-height: 69px;
}

.stats-header-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-header-right p {
  font-family: 'Gilroy Light', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 45px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.stat-card h5 {
  color: var(--dark-grey);
  font-size: 38px;
}

.stat-card p {
  color: var(--dark-grey);
  font-family: 'Gilroy Light', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 10px;
}

/* ===== WAYS TO HELP ===== */
.ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.ways-image-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ways-image {
  width: 574px;
  border-radius: 0;
}

.ways-content {
  width: 100%;
  padding: 0 15px;
}

.ways-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.ways-number {
  color: var(--dark-grey);
  font-size: 4.9rem;
  font-weight: 700;
  line-height: 1.45;
  flex-shrink: 0;
}

.ways-text {
  color: var(--dark-grey);
  font-family: 'Gilroy Light', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  margin: 10px 0 20px 10px;
}

.ways-text span {
  font-family: 'Gilroy', sans-serif;
}

.ways-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

/* ===== QUOTE SECTION ===== */
.quote-text {
  text-align: center;
  font-size: 38px;
  line-height: 1.45;
  max-width: 940px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-hero-title {
  color: var(--white);
  font-size: 76px;
  text-align: center;
  line-height: 0.9;
}

.founders-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.founders-image {
  border-radius: 20px;
  width: 452px;
  flex-shrink: 0;
}

.founders-content {
  padding: 0 15px;
}

.founders-content .subhead {
  color: var(--dark-grey);
  font-size: 74px;
  line-height: 69px;
}

.founders-content p {
  color: var(--dark-grey);
  font-family: 'Gilroy Light', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 10px;
}

/* Mission grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
}

.mission-header {
  grid-column: 1 / -1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mission-header .subhead {
  font-size: 74px;
  line-height: 69px;
}

.mission-header .maintext {
  font-family: 'Gilroy Light', sans-serif;
  font-size: 16px;
  text-align: center;
}

.mission-card {
  background: var(--white);
  border-radius: 20px;
  padding: 45px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.mission-card h5 {
  color: var(--dark-grey);
  font-size: 38px;
}

.mission-card p {
  color: var(--dark-grey);
  font-family: 'Gilroy Light', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 10px;
}

/* ===== CONTACT PAGE ===== */
.contact-body {
  padding-top: 10vw;
  padding-bottom: 10vw;
}

.contact-hero-title {
  color: var(--white);
  font-family: 'Gilroy', sans-serif;
  font-size: 5.6rem;
  line-height: 1.45;
}

.contact-section {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 5vw;
  padding: 100px 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 15px;
}

.contact-label {
  color: var(--turquoise);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 0;
}

.contact-heading {
  margin-top: 0;
  font-family: 'Gilroy', sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.45;
  color: #000;
}

.contact-description {
  opacity: 0.75;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #000;
}

.contact-method-wrap {
  display: flex;
  align-items: center;
  margin: 10px 0;
  margin-right: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: #3b2ae5;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  transition: opacity 0.2s;
}

.contact-method:hover {
  opacity: 0.8;
}

.contact-icon {
  background: var(--turquoise);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin-right: 10px;
  padding: 4px;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

.contact-text {
  color: #000;
  font-family: 'Gilroy', sans-serif;
  font-weight: 300;
  margin-bottom: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 30px 40px;
}

.footer-inner {
  max-width: 940px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo img {
  width: 120px;
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 40px;
}

.footer-block.mobile-only {
  display: none;
}

.footer-title {
  color: var(--dark-grey);
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.footer-link {
  color: #1a1b1f;
  font-family: 'Gilroy Light', sans-serif;
  margin-top: 20px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #1a1b1fbf;
}

.footer-divider {
  background: var(--border-light);
  width: 100%;
  height: 1px;
  margin: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-credit {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-credit span {
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media screen and (min-width: 1920px) {
  .section-container.large {
    flex-direction: row;
  }

  .stat-card p,
  .ways-text {
    font-size: 20px;
  }

  .footer-link {
    font-size: 20px;
  }

  .ways-image {
    width: 764px;
  }

  .contact-section {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-heading {
    font-size: 38px;
  }
}

@media screen and (max-width: 991px) {
  .nav-menu-wrapper {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu-wrapper.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    padding: 10px 5px;
    display: block;
    text-align: center;
  }

  .nav-donate-wrap {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .navbar-bar {
    position: relative;
  }

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

  .stats-header {
    grid-column: 1 / -1;
  }

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

  .ways-image {
    width: 100%;
    max-width: 574px;
  }

  .section-container.large {
    flex-direction: column;
  }

  .stats-header-left .subhead {
    font-size: 54px;
    line-height: 48px;
  }

  .section.dark {
    padding-left: 30px;
    padding-right: 30px;
  }

  .quote-text {
    font-size: 27px;
  }

  .ways-content {
    width: auto;
  }

  .founders-content {
    width: auto;
  }

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

  .mission-header {
    grid-column: 1;
  }

  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-content {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  .hero-title,
  .about-hero-title {
    font-size: 46px;
  }

  .hero {
    padding: 60px 15px;
  }

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

  .stats-header-left .subhead {
    font-size: 35px;
  }

  .footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-copyright,
  .footer-credit {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .ways-image {
    width: 100%;
    max-width: 495px;
  }

  .founders-section {
    flex-direction: column;
    gap: 20px;
  }

  .founders-image {
    width: 80%;
    max-width: 452px;
  }
}

@media screen and (max-width: 479px) {
  .hero-title,
  .about-hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .navbar-logo img {
    width: 96px;
  }

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

  .action-card {
    text-align: center;
  }

  .action-card p {
    text-align: center;
  }

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

  .stats-header {
    grid-template-columns: 1fr;
  }

  .stats-header-left .subhead {
    text-align: center;
    font-size: 13vw;
    line-height: 1.45;
  }

  .stats-header-left .stat-number,
  .stats-header-right p {
    text-align: center;
  }

  .stat-card {
    align-items: center;
  }

  .stat-card p {
    text-align: center;
    padding: 0 10px;
  }

  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .section.dark {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ways-item {
    flex-direction: column;
  }

  .ways-text {
    text-align: center;
    padding: 0 10px;
    margin-left: 0;
  }

  .ways-number {
    line-height: 0.7;
  }

  .ways-image {
    width: 258px;
  }

  .founders-section {
    flex-direction: column;
    gap: 20px;
  }

  .founders-image {
    width: 80%;
    margin-bottom: 35px;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-block {
    align-items: center;
    margin-top: 40px;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-copyright {
    text-align: center;
    font-family: 'Gilroy Light', sans-serif;
  }

  .contact-method-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-method {
    margin-bottom: 10px;
  }

  .contact-heading {
    text-align: center;
    font-size: 28px;
  }

  .contact-section {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .mission-card {
    padding-left: 0;
    padding-right: 0;
  }
}
