:root {
  --font: "Figtree", sans-serif;
  --font-two: "Nunito", sans-serif;
  --font-three: "Caveat", cursive;
  --gray: #667471;
  --gray-rgb: 102, 116, 113;
  --base: #fa4b1c;
  --base-rgb: 250, 75, 28;
  --black: #0e2c27;
  --black-rgb: 14, 44, 39;
  --primary: #ffc107;
  --primary-rgb: 255, 193, 7;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --extra: #f1f9fb;
  --secondary: #26cc8c;
  --purple: #7b5cff;
  --blue: #2bb3e8;
  --pink: #ef5da8;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(14, 44, 39, 0.08);
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray);
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--base);
  text-decoration: none;
  transition: 0.4s ease;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-two);
  color: var(--black);
  line-height: 1.25;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-lite {
  padding: 80px 0;
}

.bg-extra {
  background: var(--extra);
}

.sec-title {
  margin-bottom: 50px;
}

.sec-title.center {
  text-align: center;
}

.sec-kicker {
  display: inline-block;
  color: var(--base);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-kicker.hand {
  font-family: var(--font-three);
  text-transform: none;
  font-size: 28px;
  letter-spacing: 0;
  font-weight: 700;
}

.sec-title h2 {
  font-size: 42px;
  max-width: 640px;
}

.sec-title.center h2 {
  margin: 0 auto;
}

.thm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-two);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  background: var(--base);
  border: 1px solid var(--base);
  padding: 7px 8px 7px 22px;
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  text-transform: capitalize;
}

.thm-btn .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: 0.4s ease;
}

.thm-btn:hover {
  color: var(--white);
}

.thm-btn:hover .icon {
  transform: translateX(3px);
}

.thm-btn.light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.thm-btn.light .icon {
  background: var(--base);
  color: var(--white);
}

.thm-btn.outline {
  background: transparent;
  color: var(--black);
  border-color: var(--base);
}

.thm-btn.outline .icon {
  background: var(--base);
  color: var(--white);
}

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

.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

.site-header.is-sticky {
  position: fixed;
  background: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-sticky .topbar {
  display: none;
}

.topbar {
  background: var(--base);
}

.topbar-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.topbar-inner a,
.topbar-mail {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-welcome {
  color: var(--white);
}

.topbar-social {
  display: flex;
  gap: 8px;
}

.topbar-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
}

.topbar-social a:hover {
  background: var(--white);
  color: var(--base);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.logo img {
  width: 188px;
  height: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  font-family: var(--font-two);
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--base);
}

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

.search-btn,
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  color: var(--base);
}

.hero {
  position: relative;
  min-height: 820px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 170px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-copy .paint {
  position: absolute;
  left: -90px;
  top: -70px;
  width: 480px;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
}

.hero-copy h1 {
  color: var(--white);
  font-size: 68px;
  line-height: 1.1;
  margin: 12px 0 18px;
}

.hero-copy h1 span {
  color: var(--base);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-ring {
  width: 470px;
  height: 470px;
  border-radius: 50%;
  border: 2px dashed rgba(250, 75, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(250, 75, 28, 0.25);
}

.hero-ring::before {
  inset: 18px;
}

.hero-ring::after {
  inset: -18px;
  border-style: dashed;
}

.hero-photo {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--base);
  box-shadow: 0 0 0 14px rgba(250, 75, 28, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.heart-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.heart-frame {
  width: 210px;
  height: 200px;
  margin: 0 auto 10px;
  position: relative;
}

.heart-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: path("M105 190 C20 120 5 70 55 35 C80 18 105 35 105 60 C105 35 130 18 155 35 C205 70 190 120 105 190 Z");
}

.heart-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: -18px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(14, 44, 39, 0.15);
}

.heart-icon.orange { background: var(--base); }
.heart-icon.yellow { background: var(--primary); }
.heart-icon.green { background: var(--secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.feature-list {
  margin: 24px 0 28px;
  display: grid;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item .fi {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 20px;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 2px;
}

.founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.founder img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.founder strong {
  display: block;
  color: var(--black);
  font-family: var(--font-two);
}

.founder span {
  font-family: var(--font-three);
  color: var(--base);
  font-size: 22px;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.about-collage .tall {
  grid-row: span 2;
  height: 460px;
}

.about-collage .small {
  height: 222px;
}

.stats {
  background: var(--extra);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hex {
  width: 78px;
  height: 86px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  flex-shrink: 0;
}

.stat-item h3 {
  font-size: 32px;
}

.stat-item p {
  font-weight: 600;
}

.cause-grid,
.blog-grid,
.team-grid,
.service-grid,
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cause-grid.four,
.team-grid.four,
.service-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.tag {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 20px;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.card-body {
  padding: 28px 22px 24px;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-body h3 a {
  color: var(--black);
}

.card-body h3 a:hover {
  color: var(--base);
}

.progress {
  margin: 16px 0 10px;
}

.progress-track {
  height: 8px;
  background: #e9eef0;
  border-radius: 20px;
  overflow: visible;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: 20px;
  position: relative;
}

.progress-tip {
  position: absolute;
  right: 0;
  top: -32px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.progress-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--black);
}

.money {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--black);
  font-size: 14px;
  margin-bottom: 16px;
}

.events-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.event-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-tab {
  border: 0;
  background: var(--extra);
  color: var(--black);
  font-family: var(--font-two);
  font-weight: 800;
  font-size: 18px;
  padding: 18px 22px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.event-tab.active {
  background: var(--primary);
}

.event-panel {
  display: none;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.event-panel.active {
  display: grid;
}

.event-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
}

.event-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
  color: var(--black);
  font-weight: 600;
}

.event-meta i {
  color: var(--base);
  margin-right: 6px;
}

.join-section {
  background: var(--extra);
  overflow: hidden;
}

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.join-form-wrap {
  background: var(--black);
  color: var(--white);
  border-radius: 40px 40px 40px 0;
  padding: 50px 40px;
  position: relative;
}

.join-form-wrap h2,
.join-form-wrap p {
  color: var(--white);
}

.join-form-wrap p {
  opacity: 0.8;
  margin: 10px 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  font-size: 14px;
}

.join-form-wrap .form-group label {
  color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e4ecee;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--black);
  outline: none;
}

.join-form-wrap .form-group input,
.join-form-wrap .form-group select,
.join-form-wrap .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.join-form-wrap .form-group input::placeholder,
.join-form-wrap .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--base);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group .error {
  color: #d64545;
  font-size: 13px;
  display: none;
  margin-top: 4px;
}

.join-form-wrap .form-group .error {
  color: #ffb4a2;
}

.form-group.invalid .error {
  display: block;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #e24c4c;
}

.volunteer-art img {
  max-width: 460px;
  margin: 0 auto;
  object-fit: contain;
}

.team-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-stripe {
  height: 8px;
}

.team-card h3 {
  margin: 16px 0 4px;
  font-size: 20px;
}

.team-card p {
  padding-bottom: 18px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 18px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--extra);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-social a:hover {
  background: var(--base);
  color: var(--white);
}

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

.testi-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--base);
  position: relative;
}

.testi-card.green { border-bottom-color: var(--secondary); }
.testi-card.yellow { border-bottom-color: var(--primary); }
.testi-card.purple { border-bottom-color: var(--purple); }
.testi-card.blue { border-bottom-color: var(--blue); }
.testi-card.pink { border-bottom-color: var(--pink); }

.stars {
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testi-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user h4 {
  font-size: 18px;
}

.quote-mark {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 48px;
  color: rgba(14, 44, 39, 0.08);
}

.cta-banner {
  position: relative;
  background: var(--black) center/cover no-repeat;
  padding: 110px 0;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 44, 39, 0.82);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 46px;
  max-width: 760px;
  margin: 0 auto 18px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 28px;
}

.circles {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.circles.left { left: 6%; top: 20%; }
.circles.right { right: 8%; bottom: 10%; }

.blog-card .card-img {
  height: 240px;
}

.date-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
}

.meta-line {
  display: flex;
  gap: 16px;
  color: var(--base);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--black);
  margin-top: 10px;
}

.read-more:hover {
  color: var(--base);
}

.page-header {
  position: relative;
  background: var(--black) center/cover no-repeat;
  padding: 210px 0 110px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 44, 39, 0.72), rgba(14, 44, 39, 0.88));
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: 56px;
  margin-bottom: 8px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover,
.breadcrumb span {
  color: var(--base);
}

.torn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 54px;
  background: url("../images/torn-white.svg") center bottom / 100% 54px no-repeat;
  z-index: 3;
  pointer-events: none;
}

.newsletter {
  background: var(--base);
  padding: 28px 0;
}

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

.newsletter h3 {
  color: var(--white);
  font-size: 28px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: min(520px, 100%);
}

.newsletter-form input {
  flex: 1;
  border: 0;
  border-radius: 30px;
  padding: 14px 20px;
  outline: none;
}

.site-footer {
  background: var(--black) center/cover no-repeat;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  padding: 90px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 24, 0.92);
}

.site-footer .container,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: 50px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 18px;
}

.site-footer p {
  margin: 14px 0 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--base);
  padding-left: 4px;
}

.mini-subscribe {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-subscribe input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 12px 16px;
  outline: none;
}

.mini-subscribe button {
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--base);
  color: var(--white);
  border-radius: 50%;
  margin: 4px;
  cursor: pointer;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--base);
  border-color: var(--base);
}

.gallery-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-mini img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--base);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--base);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(14, 44, 39, 0.55);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  width: min(360px, 86vw);
  height: 100%;
  background: var(--white);
  padding: 24px;
  transform: translateX(-100%);
  transition: 0.35s ease;
  overflow: auto;
}

.mobile-nav.open .mobile-nav-panel {
  transform: none;
}

.mobile-nav-panel .logo img {
  filter: none;
}

.mobile-close {
  float: right;
  border: 0;
  background: var(--extra);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-nav-panel ul {
  margin-top: 30px;
  clear: both;
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  color: var(--black);
  font-weight: 700;
  border-bottom: 1px solid #eef3f4;
}

.search-popup {
  position: fixed;
  inset: 0;
  background: rgba(14, 44, 39, 0.92);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-popup.open {
  display: flex;
}

.search-popup form {
  width: min(640px, 90%);
  display: flex;
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
}

.search-popup input {
  flex: 1;
  border: 0;
  padding: 18px 24px;
  outline: none;
  font-size: 18px;
}

.search-popup button {
  border: 0;
  background: var(--base);
  color: var(--white);
  width: 64px;
  cursor: pointer;
}

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) translateY(-20px);
  background: var(--black);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  max-width: 90%;
  text-align: center;
  border-left: 5px solid var(--secondary);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 18px;
  color: var(--gray);
}

.checkbox-row.invalid {
  outline: 1px solid #e24c4c;
  outline-offset: 6px;
  border-radius: 8px;
}

.checkbox-row input {
  margin-top: 6px;
}

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

.legal h2 {
  font-size: 28px;
  margin: 32px 0 12px;
}

.legal h3 {
  font-size: 20px;
  margin: 22px 0 8px;
}

.legal p,
.legal li {
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal ul li,
.legal ol li {
  list-style: disc;
}

.legal ol li {
  list-style: decimal;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.contact-form-box {
  background: var(--extra);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.info-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-card .ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(38, 204, 140, 0.4);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.event-list {
  display: grid;
  gap: 24px;
}

.event-item {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 260px 1fr 110px;
  overflow: hidden;
}

.event-item img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.event-item-body {
  padding: 24px;
}

.event-item-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-two);
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  line-height: 1.2;
  padding: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e8eef0;
  border-radius: 18px;
  padding: 28px 22px;
  transition: 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.hex-icon {
  width: 70px;
  height: 76px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  margin-bottom: 16px;
}

.impact-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  min-height: 280px;
}

.impact-side {
  background: var(--base);
  color: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-side h3,
.impact-mid h3 {
  color: var(--white);
  font-size: 26px;
  margin: 12px 0;
}

.impact-mid {
  background: center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.impact-mid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 44, 39, 0.7);
}

.impact-mid * {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--base);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.hands-cta {
  text-align: center;
  padding: 80px 0 100px;
  background: var(--extra) url("../images/hands-mark.svg") center/contain no-repeat;
  position: relative;
}

.hands-cta h2 span {
  color: var(--secondary);
}

.cta-portrait {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  margin: 28px auto -70px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.cta-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.article img.featured {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 22px;
}

.article h1 {
  font-size: 36px;
  margin: 10px 0 16px;
}

.article h2 {
  font-size: 26px;
  margin: 28px 0 10px;
}

.article p {
  margin-bottom: 16px;
}

blockquote {
  background: #eef4f8;
  border-left: 4px solid var(--base);
  padding: 22px 24px;
  border-radius: 12px;
  margin: 24px 0;
  font-style: italic;
  color: var(--black);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 30px;
}

.tags a {
  background: var(--extra);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
}

.comment {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #eef2f3;
}

.comment img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.sidebar-cats a,
.recent-post {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f3;
  color: var(--gray);
}

.recent-post {
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.recent-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.recent-post h4 {
  font-size: 15px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--extra);
  color: var(--black);
  font-weight: 700;
}

.pagination .active,
.pagination a:hover {
  background: var(--base);
  color: var(--white);
}

.amount-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.amount-picks button {
  border: 1px solid #e4ecee;
  background: var(--white);
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  color: var(--black);
}

.amount-picks button.active {
  background: var(--base);
  border-color: var(--base);
  color: var(--white);
}

.freq {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.freq button {
  flex: 1;
  border: 0;
  background: var(--extra);
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.freq button.active {
  background: var(--base);
  color: var(--white);
}

.faq-item {
  border: 1px solid #e8eef0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 0;
  padding: 16px 20px;
  font-weight: 800;
  font-family: var(--font-two);
  color: var(--black);
  cursor: pointer;
  font-size: 17px;
}

.faq-item .faq-body {
  display: none;
  padding: 0 20px 16px;
}

.faq-item.open .faq-body {
  display: block;
}

.form-success-inline {
  display: none;
  background: rgba(38, 204, 140, 0.12);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 12px;
  font-weight: 700;
}

.form-success-inline.show {
  display: block;
}

@media (max-width: 1199px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-copy h1 { font-size: 48px; }
  .hero-ring { width: 380px; height: 380px; }
  .hero-photo { width: 280px; height: 280px; }
  .cause-grid.four,
  .team-grid.four,
  .service-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .hero,
  .about-grid,
  .join-grid,
  .events-layout,
  .event-panel.active,
  .contact-layout,
  .blog-layout,
  .impact-row,
  .event-item {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 180px; text-align: center; }
  .hero-copy { max-width: none; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hearts-grid,
  .stats-grid,
  .cause-grid,
  .blog-grid,
  .donate-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topbar-welcome { display: none; }
  .page-header h1 { font-size: 40px; }
  .about-collage .tall { height: 320px; }
  .event-item { grid-template-columns: 1fr; }
  .event-date { min-height: 90px; }
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .hearts-grid,
  .stats-grid,
  .cause-grid,
  .blog-grid,
  .donate-grid,
  .testi-grid,
  .team-grid,
  .service-grid,
  .cause-grid.four,
  .team-grid.four,
  .service-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row,
  .newsletter-inner,
  .newsletter-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    width: 100%;
  }
  .hero-copy h1 { font-size: 36px; }
  .sec-title h2,
  .cta-banner h2 { font-size: 30px; }
  .topbar-inner { justify-content: space-between; }
  .thm-btn { width: auto; }
  .contact-form-box { padding: 22px; }
}
