/*
 * Stylesheet for the Rare Diseases Support website.
 *
 * The design aims to evoke trust, hope and professionalism. A
 * calming blue palette paired with soft neutral backgrounds keeps
 * the pages easy on the eyes while clear typography and generous
 * spacing improve readability. Buttons and links use a pink accent
 * colour to stand out and encourage visitors to take action.
 */

/* Basic resets and typography */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

body {
  background-color: #f9f9f9;
}

a {
  color: #e94e77;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #c33c63;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Header and navigation */
header {
  background-color: #00457c;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links .cta {
  background-color: #e94e77;
  color: #fff;
}

/* Hero section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 69, 124, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 25px;
  background-color: #e94e77;
  color: #fff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #c33c63;
}

/* Section titles */
h2.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00457c;
  text-align: center;
}

/* About section */
.about {
  background-color: #fff;
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1 1 400px;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Work section */
.work {
  background-color: #f0f6fb;
  padding: 60px 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.work-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #00457c;
}

.work-item p {
  font-size: 0.95rem;
}

/* Impact section */
.impact {
  background-color: #fff;
  padding: 60px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.impact-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.impact-item h3 {
  font-size: 2rem;
  margin: 0;
  color: #e94e77;
}

.impact-item p {
  margin-top: 10px;
  font-size: 0.95rem;
}

/* Get involved section */
.involved {
  background-color: #f0f6fb;
  padding: 60px 0;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.involved-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.involved-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #00457c;
}

.involved-item p {
  font-size: 0.95rem;
}

/* Donation page styles */
.donation-page {
  background-color: #fff;
  padding: 60px 0;
}

.donation-page h1 {
  text-align: center;
  color: #00457c;
  margin-bottom: 20px;
}

.donation-page p.intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.donation-option {
  flex: 1 1 350px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.donation-option h2 {
  color: #00457c;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.donation-option form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donation-option label {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.donation-option input, .donation-option textarea, .donation-option select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.donation-option button {
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  background-color: #e94e77;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.donation-option button:hover {
  background-color: #c33c63;
}

/* Footer */
footer {
  background-color: #00457c;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .about-content, .donation-options {
    flex-direction: column;
  }
}