* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full-page background with a subtle cyan overlay */
html,
body {
  /* 1. Remove the browser’s default gap */
  margin: 0;

  /* 2. Let the page flex with any screen size */
  height: 100%;

  /* 3. Typography (unchanged) */
  font-family: Georgia, "Times New Roman", Times, serif;

  /* 4. Two-layer background:
        • bottom layer  – your photo
        • top layer     – translucent colour wash             */
  background:
    /* overlay colour (15 % opacity) */
    linear-gradient(rgba(200, 255, 255, 0.15),
                    rgba(200, 255, 255, 0.15)),
    /* image layer */
    url("../Image/DonatePageimage/image1.jpg") center / cover no-repeat fixed;
}


/* Header */
.main-header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding-bottom: 5px;
  position: relative;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #376847;
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #376847;
  bottom: -5px;
  left: 0;
}

.register-icon img {
  height:50px;
}

/* Hero Section */
.hero-section {

  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}



.hero-section h1 {
  font-size: 36px;
  font-family: Georgia, serif;
}

.hero-section h2 {
  font-size: 20px;
  font-family: Georgia, serif;
}

.hero-section h2 span {
  color: #114f1a;
}

/* Donation Box */
.donation-box {
  max-width: 800px;
  margin: 10px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 2px;
  text-align: center;
}

.donation-banner {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.donation-text h3 {
  font-size: 20px;
  font-family: Georgia, serif;
  margin-bottom: 15px;
}

.donation-text p {
  font-size: 14px;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.5;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.progress-bar {
  background: #ccc;
  height: 20px;
  border-radius: 15px;
  position: relative;
}

.progress {
  background: #4CAF50;
  height: 100%;
  border-radius: 15px;
  transition: width 0.4s ease-in-out;
}

.progress-circle {
  position: absolute;
  top: -25px;
  right: 0;
  background: white;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 12px;
  border: 1px solid #ccc;
}

/* Donation Input */
#donationInput {
  width: 60%;
  padding: 10px;
  margin: 20px auto;
  display: block;
  border: 1px solid #aaa;
  border-radius: 8px;
}

/* Button */
.donate-btn {
  background: #4CAF50;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  width: 300px;
}

.popup-content button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  margin-top: 10px;
}