/* ========== ग्रामपंचायत योजना Page Styling ========== */

body {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.section-title {
  text-align: center;
  color: #12083f;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  margin: 30px 30px 20px;
  font-weight: 600;
  text-decoration: none;   
  border-bottom: none;    
}

.info-text {
  text-align: center;
  color: #444;
  font-size: 25px;
  margin-bottom: 25px;
}

/* Responsive 3 → 2 → 1 column grid */
.yojna-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  padding: 10px 15px;
}

/* Card */
.scheme-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 3px solid #ccc;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .scheme-card {
    min-height: auto;
    padding: 18px;
  }

  .scheme-card h3 {
    font-size: 1.1rem;
  }

  .scheme-card p {
    font-size: 0.95rem;
  }

  .visit-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .yojna-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-title {
    font-size: 1.4rem;
    margin: 20px 10px;
  }

  .info-text {
    font-size: 20px;
  }
}


/* Hover shadow */
.scheme-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Titles */
.scheme-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

/* Text */
.scheme-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Visit button */
.visit-btn {
  background: #007bff;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95rem;
  width: fit-content;
  transition: 0.2s;
}

.visit-btn:hover {
  opacity: 0.8;
}

/* Card border colors (exact like image) */
.blue   { border-color: #007bff; }
.green  { border-color: #28a745; }
.yellow { border-color: #f0ad4e; }
.red    { border-color: #dc3545; }
.purple { border-color: #6f42c1; }
.teal   { border-color: #17a2b8; }
.orange { border-color: #eba40d; }
.darkblue{ border-color: #5f0bcc; }

/* Responsive title */
@media (max-width: 600px) {
  .page-title {
    font-size: 1.6rem;
  }
}
