/* General */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #111;
}

#pm-yojana {
  padding: 70px 20px;
  background: linear-gradient(135deg,#f9f9f9,#eef5ff);
}

/* Container */
.yojana-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Left Content */
.yojana-left .yojana-tagline {
  color: #0a3d62;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.yojana-left .yojana-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.yojana-title-main { color: #222; }
.yojana-title-highlight { color: #0a3d62; }

.yojana-left .yojana-description {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Tabs */
.yojana-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.yojana-tabs span {
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.yojana-tabs span:hover {
  background: #f0f0f0;
}

/* Image */
.yojana-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  max-width: 100%;
  margin-top: 30px;
  cursor: pointer;
  transition: transform 0.4s;
}

.yojana-image:hover { transform: scale(1.05); }
.yojana-image img { width: 100%; display: block; transition: transform 0.5s; }

/* Right Content */
.yojana-right {
  background: linear-gradient(135deg,#0a3d62,#7f0000);
  color: #fff;
  padding: 20px; 
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;  
  justify-content: center; 
  min-height: 150px;    
  max-width: 500px;      /* increased width */
  margin: auto;          
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  text-align: center;
}


.yojana-right .stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yojana-right .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.yojana-right .stat-item p { margin: 5px 0 0; font-size: 0.95rem; }


/* Extra Details */
.yojana-extra {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.scheme-highlights,
.ss-power-contribution {
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.scheme-highlights { background: #fff; }
.ss-power-contribution { background: linear-gradient(135deg,#0a3d62,#7f0000); color: #fff; box-shadow:0 6px 18px rgba(0,0,0,0.18); }

.scheme-highlights h3,
.ss-power-contribution h3 { font-size: 1.6rem; margin-bottom: 12px; color: #0a3d62; }


.scheme-highlights ul,
.ss-power-contribution ul { list-style: disc; padding-left: 20px; line-height: 1.7; font-size: 0.95rem; }

.scheme-highlights ul li { color: #444; }
.ss-power-contribution ul li { color: #fff; }

/* Benefits */
.benefits-section {
  grid-column: span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.benefit-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: 0.3s;
  cursor: pointer;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.benefit-card h4 { color: #0a3d62; margin-bottom: 8px; font-size: 1.1rem; }
.benefit-card p { color: #555; font-size: 0.9rem; line-height:1.5; }

/* Responsive Media Queries */

/* Tablets */
@media (max-width: 1024px) {
  .yojana-container { grid-template-columns: 1fr; gap: 40px; }
  .yojana-right { padding: 30px 20px; min-height: auto; }
  .yojana-left .yojana-title { font-size: 2.4rem; }
  .scheme-highlights, .ss-power-contribution { padding: 20px; }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
  #pm-yojana { padding: 50px 15px; }
  .yojana-left .yojana-title { font-size: 2rem; }
  .yojana-left .yojana-description { font-size: 1rem; }
  .yojana-tabs span { font-size: 0.9rem; padding: 8px 14px; }
  .benefit-card { padding: 18px; min-width: 180px; }
}

/* Phones */
@media (max-width: 480px) {
  #pm-yojana { padding: 40px 12px; }
  .yojana-left .yojana-title { font-size: 1.6rem; }
  .yojana-left .yojana-description { font-size: 0.95rem; line-height: 1.6; }
  .yojana-tabs { gap: 8px; }
  .yojana-tabs span { font-size: 0.85rem; padding: 6px 12px; }
  .yojana-right { padding: 25px 15px; }
  .yojana-right .stat-item h3 { font-size: 1.6rem; }
  .yojana-right .stat-item p { font-size: 0.9rem; }
  .apply-btn { font-size: 0.95rem; padding: 10px 20px; }
  .benefits-section { flex-direction: column; gap: 15px; }
}
