
    body {
      margin: 0;
      font-family: "Inter", sans-serif;
      background-color: #fbf9ea;
      color: #44523b;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    h1,h2,h3,h4 {font-family:"Poppins", "Inter", sans-serif;}
   header {
	  position: fixed;
	  width: 100%;
	  top: 0;
	  left: 0;
	  z-index: 1000;
	  background-color: #fbf9ea;
	  padding: 1.5rem 1rem;
	  border-bottom: 2px solid #c7d3a6;
	  transition: padding 0.3s ease, box-shadow 0.3s ease;
	}

	header.shrink {
	  padding: 0.5rem 1rem;
	  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	}

	.header-spacer {
	  height: 88px; /* Изначально такая же высота, как у header с padding */
	  transition: height 0.3s ease;
	}

	header.shrink + .header-spacer {
	  height: 48px; /* Та же высота, что у сжатого header */
	}
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
	
	.nav-links a {
	  color: #44523b;
	  text-decoration: none;
	  font-weight: 500;
	  position: relative;
	  padding: 0.25rem 0;
	  transition: color 0.3s ease;
	}

	.nav-links a:hover {
	  color: #1d270e;
	}

	.nav-links a.active::after {
	  content: "";
	  position: absolute;
	  bottom: -4px;
	  left: 0;
	  width: 100%;
	  height: 2px;
	  background-color: #c7d3a6;
	  border-radius: 1px;
	}
    .logo-placeholder {
      width: 140px;
      height: 60px;
    }
    .nav-links {
      display: flex;
      gap: 1rem;
    }
    .auth-buttons button {
      margin-left: 0.5rem;
      padding: 0.4rem 0.8rem;
      background-color: #ebeed5;
      color: #1d270e;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .mobile-menu {
      display: none;
    }
        /* Toggle button style */
    .menu-toggle-button {
    margin-right: 1rem;
    display: none;
    padding: 0.4rem 0.8rem;
    background-color: #ebeed5;
    color: #1d270e;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    }

    /* Mobile menu panel */
  .mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    background-color: #fbf9ea;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    }

    .mobile-menu-panel.open {
    transform: translateX(0);
    }
    .mobile-menu-panel nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        }
    .mobile-menu-panel nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  color: #44523b;
  border-bottom: 1px solid #e0e0c8;
  transition: color 0.2s;
}

.mobile-menu-panel nav a:hover {
  color: #1d270e;
}

    .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    }

    .mobile-auth button {
    padding: 0.6rem;
    background-color: #ebeed5;
    border: 1px solid #c7d3a6;
    border-radius: 6px;
    color: #1d270e;
    font-weight: 500;
    cursor: pointer;
    }

    /* Overlay */
    .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 82, 59, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    }

    /* Close button inside panel */
    .close-button {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #44523b;
    }

    /* When active */
    .mobile-menu-open #mobile-menu {
    left: 0;
    }

    .mobile-menu-open #mobile-menu-overlay {
    opacity: 1;
    pointer-events: all;
    }


 .hero {
  background-color: #ebeed5;
  padding: 3rem 1rem;
  text-align: left;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 400px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-family: "Poppins", sans-serif;
  margin-bottom: 1rem;
  color: #1d270e;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #44523b;
}

.hero-img-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.donation-box {
  width: 100%;
  height: 460px;
  object-fit: contain;
}

    .section {
      padding: 2rem 1rem;
    }
    .section h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    .how-it-works .row {
      display: flex;
      gap: 2rem;
      align-items: center;
      margin-bottom: 2rem;
    }
    .how-it-works .row:nth-child(even) {
      flex-direction: row-reverse;
    }
    .placeholder-img {
      width: 300px;
      aspect-ratio: 3 / 2;
      flex-shrink: 0;
    }
    .how-text {
      flex: 1;
    }
   .features {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 2rem;
	  justify-content: space-between;
	}

	.feature {
	  flex: 1 1 calc(25% - 1.5rem); /* Уменьшено значение */
	  max-width: calc(25% - 1.5rem);
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  text-align: center;
	}

	.feature-placeholder {
	  width: 100%;
	  aspect-ratio: 3 / 2;
	  margin-bottom: 1rem;
	}
	.free-for-all {
	  background-color: #ebeed5;
	}

	.free-content {
	  display: flex;
	  align-items: center;
	  gap: 2rem;
	  flex-wrap: wrap;
	}

	.free-text {
	  flex: 1 1 400px;
	  text-align: left;
	}

	.free-text h2 {
	  text-align: left;
	  margin-top: 0;
	}

	.free-text p {
	  font-size: 1.1rem;
	  line-height: 1.6;
	}

	.free-img {
	  flex: 0 0 300px;
	  aspect-ratio: 3 / 4;
	  border-radius: 8px;
	}
    .free-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        border-radius: 8px;
        object-fit: cover;
        }
	
	
    footer {
      margin-top: auto;
      background-color: #d0d3be;
      text-align: center;
      padding: 1rem;
      font-size: 0.9rem;
    }
    @media (max-width: 768px) {
      .nav-links,
      .auth-buttons {
        display: none;
      }
        .menu-toggle-button {
            display: inline-block;
        }
        .nav-links,
        .auth-buttons {
            display: none;
        }
      .how-it-works .row {
        flex-direction: column;
      }
      .how-it-works .row:nth-child(even) {
        flex-direction: column;
      }
      .features {
        flex-direction: column;
      }
      .feature {
        max-width: 100%;
      }
    }
