/* ==== Global Variables ==== */
:root {
  --primary-red: #d93025;
  --accent-red: #c70039;
  --dark-red: #a8002f;
  --light-bg: #fff4f6;
  --gray-bg: #f9f9f9;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==== Reset ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

/* ==== Header ==== */
header {
  background-color: var(--primary-red);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

header img {
  height: 60px;
  position: absolute;
  top: 20px;
  left: 20px;
}

header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ==== Hero Section ==== */
.hero {
  background: #ffe6e6;
  padding: 60px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-red);
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: var(--primary-red);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  margin: 10px;
}

.hero .btn:hover {
  background-color: var(--dark-red);
  transform: scale(1.05);
}

/* ==== Section Base Styles ==== */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

section h3 {
  color: var(--primary-red);
  font-size: 24px;
  margin-bottom: 15px;
}

section p,
section ul,
section blockquote {
  font-size: 17px;
}

section ul {
  list-style: disc inside;
  padding-left: 20px;
}

/* ==== Quick Navigation ==== */
.quick-nav {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-card {
  flex: 1 1 250px;
  background-color: var(--light-bg);
  padding: 20px;
  border-left: 4px solid var(--accent-red);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.nav-card h4 {
  color: var(--accent-red);
  margin-bottom: 10px;
}

.nav-card a {
  color: var(--accent-red);
  font-weight: bold;
  text-decoration: none;
}

/* ==== Impact Section ==== */
.impact-numbers {
  background: var(--gray-bg);
}

.impact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.impact-grid div {
  font-size: 20px;
  font-weight: bold;
}

/* ==== About Section ==== */
.about-section {
  margin: 40px 0;
  padding: 20px;
  background-color: var(--gray-bg);
  border-left: 4px solid var(--accent-red);
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.about-section h2 {
  color: var(--accent-red);
  margin-bottom: 10px;
}

/* ==== Categories Section ==== */
.types ul {
  padding-left: 0;
  list-style: none;
}

.types li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* ==== Highlight (CTA Banner) ==== */
.highlight {
  background: #ffeef1;
  padding: 30px;
  border-left: 4px solid var(--accent-red);
  margin: 30px 0;
}

/* ==== Testimonials ==== */
.testimonials {
  background-color: #fff5f5;
  padding: 50px 20px;
  border-top: 1px solid #ffd6d6;
}

.testimonials h3 {
  font-size: 26px;
  color: var(--primary-red);
  margin-bottom: 30px;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 20px;
  border-left: 5px solid var(--primary-red);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-style: italic;
}

.testimonial footer {
  margin-top: 10px;
  font-size: 15px;
  font-style: normal;
  color: #444;
}

/* ==== Partner Section ==== */
.partners {
  background-color: #fffafc;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 80px;
  max-width: 150px;
  object-fit: contain;
  border-radius: 8px;
}

/* ==== Footer ==== */
footer {
  background-color: #222;
  color: #eee;
text-align: center;
  padding: 15px 10px;
  font-size: 14px;
}

/* ==== Form Styling ==== */
form,
.grant-form {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

form label,
.grant-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

form input,
.grant-form input,
form textarea,
.grant-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: var(--accent-red);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
  background-color: var(--dark-red);
  transform: scale(1.05);
}

/* ==== Radio Buttons ==== */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==== Responsive Design ==== */
@media (max-width: 768px) {
  header img {
    position: static;
    display: block;
    margin: 0 auto 10px auto;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .quick-nav,
  .impact-grid,
  .partner-logos {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn, .cta-button {
    width: 90%;
    max-width: 300px;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  header h1 {
    font-size: 22px;
  }

  .hero h2, .about-section h2, .testimonials h3 {
    font-size: 24px;
  }

  .hero p, section p, .impact-stats li {
    font-size: 16px;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .impact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .partner-logos {
    flex-direction: column;
    gap: 20px;
  }

  .cta-button {
    width: 100%;
    padding: 15px;
  }

  form {
    padding: 15px;
  }

  .nav-card {
    flex: 1 1 100%;
  }
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form input[type="file"],
form input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}
.agents {
  background-color: #fff5f5;
  padding: 40px 20px;
  text-align: center;
}

.agents h2 {
  color: #c70039;
  font-size: 28px;
  margin-bottom: 30px;
}

.agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.agent-card {
  background: #fff;
  border-left: 5px solid #c70039;
  border-radius: 10px;
  width: 250px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.agent-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.agent-card h3 {
  color: #c70039;
  margin-bottom: 10px;
}

.apply-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #c70039;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.apply-btn:hover {
  background-color: #a8002f;
}

.payment {
  background-color: #fdf0f3;
  padding: 40px 20px;
  text-align: center;
}

.payment h2 {
  color: #b30000;
  margin-bottom: 20px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.payment-box {
  background: white;
  padding: 20px;
  border-left: 4px solid #c70039;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.payment-box img {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}
.agents {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.agent-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.agent-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-5px);
}

.agent-card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.agent-card h3 {
  margin: 15px 0 5px;
  font-size: 1.2em;
}

.agent-card p {
  font-size: 0.95em;
  margin-bottom: 10px;
}

.apply-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c30000;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background-color: #9e0000;
}
.address-format {
  margin-top: 20px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9;
}