
.yojana-section {
  max-width: 1100px;
  margin: 40px auto;
  background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  padding: 25px 30px;
}

/* Heading */
.yojana-section h2 {
  color: #004aad;
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 5px;
}

/* Table */
.yojana-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
  background: #f8fbff;
  border-radius: 10px;
  overflow: hidden;
}

/* Header Row */
.yojana-table thead tr {
  background-color: #e7f1ff;
  color: #004aad;
}

.yojana-table th, .yojana-table td {
  padding: 12px 10px;
  border: 1px solid #d4e2f8;
}

/* Different background colors for each header */
.yojana-table th:nth-child(1) {
  background-color: #e7f1ff;
}
.yojana-table th:nth-child(2) {
  background-color: #e0f0ff;
  color: #0072ff;
}
.yojana-table th:nth-child(3) {
  background-color: #fbe7f1;
  color: #e61e6e;
}
.yojana-table th:nth-child(4) {
  background-color: #e5f6e5;
  color: #007c2e;
}

/* Hover Effect */
.yojana-table tbody tr:hover {
  background-color: #eef5ff;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .yojana-table thead {
    display: none;
  }

  .yojana-table, .yojana-table tbody, .yojana-table tr, .yojana-table td {
    display: block;
    width: 100%;
  }

  .yojana-table tr {
    margin-bottom: 12px;
    border: 1px solid #d4e2f8;
    border-radius: 8px;
    background: #f8fbff;
    padding: 10px;
  }

  .yojana-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .yojana-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    color: #004aad;
    font-weight: bold;
  }
}


/* -------------------------------------------------------------------------------------- */


/* 🌐 संपूर्ण पृष्ठाची बेस स्टाइल */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
  background-color: #e8f0ff;
}

/* 🧾 सेक्शन बॉक्स */
.table-container {
  background: #ffffff;
  margin: 50px auto;
  width: 90%;
  max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-x: auto;
}

/* शीर्षक */
h2 {
  text-align: center;
  color: #004aad;
  font-weight: 700;
  margin-bottom: 25px;
}

/* 🧮 टेबल बेस डिझाइन */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
  border-radius: 10px;
  overflow: hidden;
}

/* हेडर */
thead {
  background: linear-gradient(90deg, #004aad, #007bff);
  color: white;
}

th {
  padding: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* डेटा सेल्स */
td {
  padding: 10px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  transition: 0.3s ease;
}

/* झेब्रा इफेक्ट */
tbody tr:nth-child(even) td {
  background: #eef4ff;
}

/* Hover Effect */
tbody tr:hover td {
  background: #dbe8ff;
  color: #004aad;
  cursor: pointer;
}

/* टेबल बॉर्डर */
table, th, td {
  border: none;
}

/* मोबाईलसाठी Responsive */
@media (max-width: 600px) {
  table {
    font-size: 13px;
  }
  th, td {
    padding: 8px;
  }
  h2 {
    font-size: 18px;
  }
}
