.work-heading {
  font-size: clamp(70px, 6vw, 100px);
  font-weight: 600;
}






/* Section-1 CSS */

.UttarPradesh .section-1 {
  background: url(/assets/images/hero/hero-uttar-pradesh-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}

.Telangana .section-1 {
  background: url(/assets/images/hero/hero-telangana-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}

.Punjab .section-1 {
  background: url(/assets/images/hero/hero-punjab-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}

.Maharashtra .section-1 {
  background: url(/assets/images/hero/hero-maharashtra-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}

.MadhyaPradesh .section-1 {
  background: url(/assets/images/hero/hero-madhya-pradesh-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}

.AndhraPradesh .section-1 {
  background: url(/assets/images/hero/hero-andhra-pradesh-desktop.jpg),
    linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
  background-size: 48% auto, 100% 100%;
  background-position: calc(100% + 85px) calc(0% - 150px), center center;
  background-repeat: no-repeat;
}
.fullList .section-1 {
  background: unset;
  align-items: end;
  justify-content: center;
  min-height: 30vh;
}

.state .hero-image-section{
    display: none;
}


@media (max-width: 1024px) {
.state .hero-image-section{
    display: block;
}

  .state .section-1 {
   background: unset;
   min-height: unset;
  }

  .state .hero-content {
    padding-top: 25px;
}

.state .header-logo-text{
    display: none;
}

  .fullList .section-1 {
    min-height: 25vh;
  }
}

.fullList .section-8 {
  margin: 0;
}

@media (max-width: 768px) {
  .section-1 {
    gap: 0;
  }

  .fullList .section-1 {
    min-height: 30vh;
  }
}

@media (max-width: 480px) {

  .fullList .section-1 {
    min-height: 27vh;
  }
}









.community-affected-section {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 6%;
}

.community-affected-section .dropdown-container {
  margin: 30px 0;
}

.community-affected-section select {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 12px 40px 12px 20px;
  font-size: var(--font-base);
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  min-width: 250px;
}

.community-affected-section select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 60px;
  margin: 100px 0 60px;
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.metric-label {
  font-size: var(--font-base);
  font-weight: 400;
}

.source-text {
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.6;
  color: var(--lightgrey);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .work-heading {
    font-size: clamp(40px, 9.12vw, 70px);
  }

  .work br {
    display: block;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0;
  }

  .community-affected-section select {
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
  }
}

.legend {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 100px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-base);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.village-plant {
  background-color: var(--lightblue);
}

.clinic-plant {
  background-color: var(--blue);
}

.school-plant {
  background-color: var(--lightgrey);
}

#content-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out,
    margin 0.5s ease-in-out;
  opacity: 0;
  margin-bottom: 0;
}

#content-container.show {
  max-height: unset;
  opacity: 1;
  margin-bottom: 60px;
}

.state-section {
  margin-bottom: 40px;
}

.state-title {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.location-group {
  /* background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-name {
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--lightblue);
  /* padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.district-block {
  margin: 20px 0 50px;
}

.district-title {
  margin: 10px 0;
  font-weight: 300;
  font-size: var(--font-large);
}

.plant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.plant-row:last-child {
  margin-bottom: 0;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.status-text {
  color: var(--lightgrey);
  font-size: var(--font-small);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .location-group {
    margin: auto;
  }

  #content-container.show {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
.state .hero-image-container {
    height: 50vh;
}

.legend{
    gap: 15px 30px;
}

  .location-group {
    padding: 16px;
  }

  .state-title {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .status-info {
    gap: unset;
    width: 100%;
    justify-content: space-between;
  }

  .legend {
    margin: 30px 0 50px;
  }

  .location-group {
    padding: 16px;
    margin: unset;
  }
}
