body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f8;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar {
  height: 40px;
  background-color: #1976d2;
  width: 100%;
}

/* Background Shapes */
.bg-shape-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f2f5 100%);
  z-index: -1;
}

.bg-shape-right {
  display: none; /* specific shape not needed with radial gradient */
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* Ensure the main content takes up enough space to push footer off-screen initially */
  min-height: calc(100vh - 40px); /* 100vh minus top-bar height */
}

/* Card Styling */
.card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
  border: 2px solid #000; /* Add solid border to match mobile/desktop consistency */
}

.card-header {
  background-color: #1976d2; /* Blue header */
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 18px 18px 0 0; /* Match card border radius */
}

.card-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-body {
  padding: 30px 20px;
}

/* Check Icon */
.check-icon-container {
  margin-bottom: 5px;
}

.check-icon-container i {
  color: #32cd32; /* Match button green */
  font-size: 5rem;
  font-weight: 900;
}

/* Typography */
.subtitle {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0 0;
  font-weight: 500;
  text-transform: uppercase;
}

.amount {
  font-size: 4rem;
  color: #0d47a1; /* Darker blue for amount */
  font-weight: 900;
  margin: 5px 0;
  line-height: 1;
}

.grant-support {
  font-size: 1.1rem;
  color: #333;
  margin: 0 0 25px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Steps */
.steps-container {
  text-align: left;
  margin: 0 auto 25px;
  display: inline-block;
  font-size: 1.1rem;
}

.step {
  margin-bottom: 12px;
  color: #000;
  font-weight: 700;
}

.step-label {
  color: #00bcd4; /* Cyan/Teal for "Step X" */
  font-weight: 700;
}

.step-text {
  font-weight: 700;
}

.step-text-multi {
  display: inline-block;
  vertical-align: top;
}

/* CTA Button */
.cta-button {
  display: block;
  background-color: #32cd32; /* Lighter/Brighter Green */
  color: #ffffff;
  text-decoration: none;
  padding: 15px 0;
  border-radius: 8px; /* Slightly more rounded */
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
  width: 100%; /* Full width button */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #43a047;
}

/* Free Text */
.free-text {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  font-style: italic;
}

.free-text i {
  margin-left: 5px;
}

/* Footer */
.footer {
  background-color: #1976d2; /* Footer Blue */
  color: #ffffff;
  padding: 40px 20px;
  font-size: 0.75rem;
  text-align: center;
  margin-top: auto; /* Push footer to bottom */
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.copyright {
  margin-bottom: 20px;
}

.copyright a {
  color: #ffffff;
  text-decoration: underline;
  margin: 0 5px;
}

.disclaimer {
  margin-bottom: 15px;
  line-height: 1.4;
  opacity: 0.9;
}

.disclaimer-link {
  margin-bottom: 15px;
  word-break: break-all;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  /* Ensure body doesn't fit everything in one screen if content is short */
  body {
    min-height: 110vh; /* Force scroll */
    background-color: #f4f6f8; /* Maintain gray background on mobile */
  }

  .main-content {
    padding: 20px 10px; /* Less side padding on small screens */
    align-items: flex-start; /* Align to top */
    padding-top: 20px;
    /* Ensure the main content forces the footer off the screen */
    min-height: calc(100vh - 40px);
  }

  .card {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #000;
    background-color: #fff;
  }

  .card-header {
    border-radius: 18px 18px 0 0; /* Match card radius minus border */
    padding: 15px 10px;
  }

  .card-header h2 {
    font-size: 1.1rem;
  }

  .card-body {
    padding: 20px 10px;
  }

  .amount {
    font-size: 3.5rem; /* Keep it large on mobile too */
    color: #0d47a1; /* Darker blue */
    margin-bottom: 0;
  }

  .cta-button {
    font-size: 1.3rem;
    padding: 15px 0;
  }

  .steps-container {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .step {
    margin-bottom: 8px;
  }

  .footer {
    margin-top: auto;
    padding-bottom: 20px;
  }
}
