/* =====================================================
   Scholarship UK Page – Compatible with main style.css
===================================================== */

/* Page background (soft, consistent with site) */
.scholarship-page {
  background: linear-gradient(180deg, #f8fafc, #eef7ee);
}

/* ================= HERO SECTION ================= */
.scholarship-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 85vh;
  background: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url('../images/scholarship_2.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.scholarship-hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease forwards;
}

.scholarship-hero p {
  max-width: 750px;
  font-size: 1.2rem;
  color: #ffd700;
  margin: auto;
  animation: fadeInUp 1.1s ease forwards;
}

/* ================= SECTIONS ================= */
.scholarship-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.scholarship-section h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: #2e8b57;
  margin-bottom: 20px;
  position: relative;
}

.scholarship-section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #66cc66, #ffd700);
  position: absolute;
  bottom: -8px;
  left: 0;
  border-radius: 10px;
}

/* ================= LISTS ================= */
.scholarship-section ul,
.scholarship-section ol {
  padding-left: 22px;
}

.scholarship-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ================= TYPE CARDS ================= */
.type-card {
  border-left: 5px solid #66cc66;
  padding-left: 20px;
  margin-bottom: 25px;
}

.type-card h3 {
  color: #004aad;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ================= TABLE ================= */
.scholarship-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.scholarship-table thead {
  background: linear-gradient(90deg, #66cc66, #2e8b57);
  color: #ffffff;
}

.scholarship-table th,
.scholarship-table td {
  padding: 14px 16px;
  text-align: left;
}

.scholarship-table tbody tr:nth-child(even) {
  background: #f3f9f3;
}

.scholarship-table tbody tr:hover {
  background: #e6f5e6;
}

/* ================= TIPS ================= */
.scholarship-tips {
  background: linear-gradient(135deg, #fff7cc, #ffef99);
}

.scholarship-tips h2 {
  color: #8b1a1a;
}

/* ================= ANIMATION ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .scholarship-hero h1 {
    font-size: 2.2rem;
  }

  .scholarship-section {
    padding: 25px;
  }

  .scholarship-table th,
  .scholarship-table td {
    font-size: 0.9rem;
  }
}
