:root {
  --primary-red: #e30613;
  --dark-red: #b30000;
  --light-red: #ff4d4d;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-red) !important;
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  color: var(--dark-gray) !important;
}

.nav-link:hover {
  color: var(--primary-red) !important;
}

.btn-primary {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  padding: 10px 25px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
}

.btn-outline-primary {
  color: var(--primary-red);
  border-color: var(--primary-red);
  padding: 10px 25px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 150px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-red);
  margin: 15px auto;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.process-step {
  text-align: center;
  padding: 20px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.eligibility-criteria {
  background-color: var(--light-gray);
  padding: 60px 0;
}

.criteria-list {
  list-style: none;
  padding-left: 0;
}

.criteria-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.criteria-list li:before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-red);
  position: absolute;
  left: 0;
}

.blood-types {
  padding: 60px 0;
}

.blood-type-card {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.blood-type-card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blood-type {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 10px;
}

.cta-section {
  background: linear-gradient(rgba(227, 6, 19, 0.9), rgba(179, 0, 0, 0.9)),
    url("https://images.unsplash.com/photo-1582719188393-bb71ca45dbb9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
      no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5:after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-red);
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary-red);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: #adb5bd;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }
}
.section-title {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(rgba(227, 6, 19, 0.9), rgba(179, 0, 0, 0.9));
  margin: 10px auto;
  border-radius: 2px;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  background: linear-gradient(rgba(227, 6, 19, 0.9), rgba(179, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-top i {
  font-size: 4rem;
  color: white;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.location-icon {
  color: #e74c3c;
  margin-right: 5px;
}

.no-centers {
  padding: 3rem 1rem;
  text-align: center;
  color: #7f8c8d;
}

.no-centers i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #bdc3c7;
}
