/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== LAYOUT & CONTAINERS ===== */
.scheme-page {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.scheme-hero {
  text-align: center;
  padding-bottom: 30px;
}

.scheme-hero h1 {
  color: #ab183d;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.scheme-hero p {
  color: #444;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* ===== FORM ===== */
.scheme-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.scheme-form input, 
.scheme-form select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e6edf7;
  min-width: 180px;
  font-size: 1rem;
}

.scheme-form button {
  background: linear-gradient(180deg, #ab183d, #e6007e);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== SCHEME LIST ===== */
.scheme-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Only 2 columns */
  gap: 24px;
  margin: 30px auto;
}


.scheme-card {
  background: #fdf2f5;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(171,24,61,0.2);
  transition: transform .25s;
}

.scheme-card:hover {
  transform: translateY(-4px);
}

.scheme-card h2 a {
  color: #ab183d;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}

.scheme-card p {
  font-size: 1rem;
  color: #444;
  margin-top: 8px;
  line-height: 1.6;
}

.im {
  text-align: center;
}

/* ===== SCHEME IMAGE FIX (Bigger, Balanced) ===== */
.scheme-card .im {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 10px;
}

.scheme-card img.scheme-img {
  max-width: 100%;
  height: 100%;
  border-radius: 10px;
}


/* ===== BUTTONS ===== */
.view-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(180deg, #ab183d, #e6007e);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
  font-size: 1rem;
}

.view-btn:hover {
  background: linear-gradient(180deg, #e6007e, #ab183d);
  transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.pagination {
  text-align: center;
  margin: 30px 0;
  font-family: 'Poppins', sans-serif;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ab183d, #e6007e);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.pagination a:hover {
  background: linear-gradient(180deg, #e6007e, #ab183d);
  transform: translateY(-2px);
}

.pagination span {
  display: inline-block;
  margin: 0 10px;
  font-weight: 500;
  color: #444;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 720px) {
  body {
    font-size: 15px;
  }

  .scheme-hero h1 {
    font-size: 1.6rem;
  }

  .scheme-list {
    grid-template-columns: 1fr;
  }

  .pagination a, .pagination span {
    padding: 8px 12px;
    font-size: 14px;
    margin: 3px;
  }
}

@media(max-width: 720px) {
  .scheme-list {
    grid-template-columns: 1fr;  /* only 1 column on mobile */
  }

 
}

