/* === Base Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; background: #fff; color: #222; }

/* === Header === */
.header, .sub-header {
  background: #c8102e; color: #fff; padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; }
.nav a { color: #fff; text-decoration: none; margin: 0 10px; font-weight: 500; }
.nav a:hover { text-decoration: underline; }

/* === Hero === */
.hero { text-align: center; padding: 3rem 1rem; background: #f9f9f9; }
.hero h2 { color: #c8102e; margin-bottom: .5rem; }

/* === Categories === */
.categories { text-align: center; padding: 2rem 1rem; }
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.card {
  background: #c8102e; color: #fff; padding: 1.5rem; text-decoration: none;
  border-radius: 8px; font-weight: 600; transition: 0.3s;
}
.card:hover { background: #a90f26; }

/* === About === */
.about { padding: 2rem 1rem; background: #f9f9f9; }
.about-content { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.about-content img { width: 150px; border-radius: 8px; }

/* === Subscribe Section === */
.subscribe-section { text-align: center; padding: 2rem 1rem; }
.subscribe-section form { display: flex; flex-direction: column; gap: 1rem; max-width: 350px; margin: auto; }
.subscribe-section input { padding: 0.7rem; border: 1px solid #ccc; border-radius: 5px; }
.subscribe-section button {
  padding: 0.7rem; border: none; background: #c8102e; color: #fff; border-radius: 5px; cursor: pointer;
}
.subscribe-section button:hover { background: #a90f26; }

/* === Footer === */
.footer { text-align: center; padding: 1.5rem; background: #c8102e; color: #fff; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* === Scholarship List Pages === */
.content { padding: 2rem; }
.scholarship { border-bottom: 1px solid #eee; padding: 1rem 0; }
.scholarship h2 { color: #c8102e; margin-bottom: 0.5rem; }
.btn {
  display: inline-block; background: #c8102e; color: #fff; padding: 0.5rem 1rem;
  border-radius: 5px; text-decoration: none;
}
.btn:hover { background: #a90f26; }

/* === Thanks Page === */
.thanks-page { text-align: center; padding: 5rem 1rem; }
.details {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.details h2 {
  color: #c8102e;
  margin-bottom: 15px;
}

.details ul {
  margin: 10px 0 20px 25px;
}

.apply-btn {
  display: inline-block;
  background: #e80d31;
  color: #f4f0f0;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
}

.apply-btn:hover {
  background: #a50d25;
}

/* === Latest Scholarships Section (Updated & Aligned with Site Colors) === */
#latest-scholarships {
  padding: 40px 20px;
  background: #21ef12;
  border-radius: 12px;
  margin: 50px auto;
  max-width: 900px;
}

#latest-scholarships h2 {
  text-align: center;
  color: #c8102e;
  font-size: 26px;
  margin-bottom: 35px;
  font-weight: 700;
}

.latest-scholarship-card {
  background: #0ded0d;
  border-left: 5px solid #c8102e;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 20px 25px;
  margin-bottom: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-scholarship-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.latest-scholarship-card h3 {
  color: #c8102e;
  margin-bottom: 10px;
  font-size: 20px;
}

.latest-scholarship-card p {
  color: #44f10b;
  line-height: 1.6;
  margin-bottom: 12px;
}

.latest-scholarship-card a {
  color: #c8102e;
  text-decoration: none;
  font-weight: 600;
}

.latest-scholarship-card a:hover {
  text-decoration: underline;
}
/* ===== Make Available Scholarships align like Latest Scholarships ===== */
.categories {
  width: 100%;
  padding: 0;
  background-color: transparent;
}

.category-grid {
  display: flex;
  flex-direction: column; /* stack cards vertically */
  align-items: flex-start; /* align everything to the left */
  justify-content: flex-start;
  gap: 18px;
  max-width: 1100px; /* keep same width as latest scholarships */
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.scholarship-card {
  width: 100%; /* make each card take full width */
  text-align: left; /* ensure text starts at left margin */
  background: #ffffff;
  padding: 18px;
  border-radius: 8px;
  border-left: 6px solid #a70000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.scholarship-card h3 {
  color: #a70000;
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
}

.scholarship-card p {
  color: #222;
  margin: 0 0 10px 0;
  line-height: 1.6;
  text-align: left;

  /* === Scholarship Card Styles (Updated) === */
.scholarship-card {
  background: #fff;
  border-left: 6px solid #b00020;
  border-radius: 12px;
  padding: 22px 28px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.scholarship-card h3 {
  color: #b00020;
  font-weight: 700;
  margin-bottom: 12px;
}

.scholarship-card h4 {
  color: #333;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 8px;
}

.scholarship-card p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.scholarship-card ul.key-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}

.scholarship-card ul.key-list li {
  margin-bottom: 6px;
  color: #333;
}

.scholarship-card a {
  color: #b00020;
  font-weight: bold;
  text-decoration: none;
}

.scholarship-card a:hover {
  text-decoration: underline;
}

}



