* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #173b2f;
  background-color: #e7f4ea;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 20px;
  background: #ffffff;
  color: #173b2f;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 6px;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  background-color: #174c36;
  padding: 16px 6%;
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 5px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links .active {
  text-decoration: underline;
}

.nav-button {
  background-color: #f4d35e;
  color: #173b2f !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.donate-button {
  background-color: #2f80ed;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.donate-button:hover,
.donate-button:focus {
  background-color: #1f5fbf;
  text-decoration: none !important;
}

.hero {
  position: relative;
  min-height: 85vh;
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, #174c36 0%, #1d6844 48%, rgba(29, 104, 68, 0.35) 58%, rgba(29, 104, 68, 0) 68%),
    url("images/4.png") right bottom / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(23, 76, 54, 0) 0%,
    rgba(23, 76, 54, 0) 47%,
    rgba(0, 0, 0, 0.22) 52%,
    rgba(255, 255, 255, 0.08) 57%,
    rgba(255, 255, 255, 0) 65%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-text,
.hero-card {
  position: relative;
  z-index: 2;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  color: #f4d35e;
  margin-bottom: 16px;
}

.hero h1,
.page-hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p,
.page-hero p {
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.primary {
  background-color: #f4d35e;
  color: #173b2f;
}

.secondary {
  background-color: #ffffff;
  color: #173b2f;
}

.blue-action {
  background-color: #2f80ed;
  color: #ffffff;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-card {
  background-color: #ffffff;
  color: #173b2f;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.hero-card h2 {
  margin-bottom: 16px;
}

.hero-card ul,
.info-box ul,
.price-box ul {
  padding-left: 20px;
}

.hero-card li,
.info-box li,
.price-box li {
  margin-bottom: 10px;
}

.page-hero {
  padding: 90px 6%;
  background: linear-gradient(135deg, #174c36, #2f7d4f);
  color: #ffffff;
}

.section {
  padding: 80px 6%;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: #174c36;
}

.section p {
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.info-box,
.form-box,
.table-card {
  background-color: #ffffff;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(23, 76, 54, 0.12);
}

.service-card h3,
.info-box h3,
.form-box h3 {
  margin-bottom: 14px;
  color: #174c36;
}

.service-card p {
  margin-bottom: 14px;
}

.service-card a,
.text-link {
  color: #1f6f46;
  font-weight: bold;
  text-decoration: underline;
}

.card-soft-yellow {
  background-color: #fff4c7;
}

.card-soft-green {
  background-color: #dff1df;
}

.card-soft-blue {
  background-color: #dcecff;
}

.card-soft-pink {
  background-color: #f7dfdf;
}

.card-soft-cream {
  background-color: #fff8e8;
}

.card-soft-purple {
  background-color: #eadfff;
}

.green-panel {
  background-color: #d2ead8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.referral-section {
  background-color: #174c36;
  color: #ffffff;
  text-align: center;
}

.referral-section h2 {
  color: #ffffff;
}

.referral-section p {
  max-width: 760px;
  margin: 0 auto 28px;
}

.image-gallery,
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.image-gallery img,
.image-row img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(23, 76, 54, 0.16);
}

.image-card {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(23, 76, 54, 0.16);
  background-color: #ffffff;
}

.flyer-image {
  width: 100%;
  max-width: 920px;
  display: block;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(23, 76, 54, 0.16);
}

.price-box {
  background-color: #f4d35e;
  color: #173b2f;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(23, 76, 54, 0.18);
}

.price-box h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-box label {
  font-weight: bold;
  color: #174c36;
}

.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 13px;
  border: 2px solid #c7dccb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
}

.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
  outline: 3px solid #f4d35e;
  border-color: #174c36;
}

.table-wrap {
  overflow-x: auto;
}

.workshop-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
}

.workshop-table th,
.workshop-table td {
  padding: 16px;
  border-bottom: 1px solid #d7e8dc;
  text-align: left;
}

.workshop-table th {
  background-color: #174c36;
  color: #ffffff;
}

.logo-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.logo-strip img {
  max-height: 90px;
  max-width: 200px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 14px;
}

.site-footer {
  background-color: #173b2f;
  color: #ffffff;
  padding: 42px 6% 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  width: 90px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 16px;
}

.footer-links a,
.social-links a {
  color: #ffffff;
  text-decoration: underline;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-partners {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-partners img {
  max-height: 56px;
  max-width: 130px;
  background-color: #ffffff;
  padding: 8px;
  border-radius: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .green-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.4rem;
  }

  .card-grid,
  .card-grid.three,
  .card-grid.two,
  .image-gallery,
  .image-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .card-grid,
  .card-grid.three,
  .card-grid.two,
  .image-gallery,
  .image-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 6%;
  }

  .image-gallery img,
  .image-row img {
    height: 230px;
  }
}