.industry-card-modern {
  display: flex;
  flex-direction: row;
  background: linear-gradient(120deg, #f8f9fa 60%, #e8f5e9 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 36px rgba(46, 125, 50, 0.1), 0 1.5px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: stretch;
  position: relative;
  min-height: 270px;
}
.industry-card-modern:nth-child(even) {
  flex-direction: row-reverse;
  background: linear-gradient(120deg, #e8f5e9 60%, #f8f9fa 100%);
}
.industry-card-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 2rem;
  box-shadow: 0 2px 24px 0 rgba(46, 125, 50, 0.07);
  opacity: 0;
  transition: opacity 0.3s;
}
.industry-card-modern:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: 0 20px 48px rgba(46, 125, 50, 0.18), 0 2px 8px rgba(0, 0, 0, 0.07);
  z-index: 2;
}
.industry-card-modern:hover::after {
  opacity: 1;
}
.industry-img-modern {
  flex: 0 0 340px;
  min-width: 220px;
  max-width: 380px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 2rem 0 0 2rem;
}
.industry-card-modern:nth-child(even) .industry-img-modern {
  border-radius: 0 2rem 2rem 0;
}
.industry-img-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
  border-radius: 0;
  filter: grayscale(10%) brightness(0.97) contrast(1.08);
}
.industry-card-modern:hover .industry-img-modern img {
  transform: scale(1.08) rotate(-1deg);
  filter: grayscale(0%) brightness(1.03) contrast(1.12) saturate(1.1);
}
.industry-info-modern {
  flex: 1 1 0%;
  padding: 2.7rem 2.7rem 2.7rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.industry-info-modern h2 {
  font-size: 2.1rem;
  color: var(--primary-color, #2e7d32);
  margin-bottom: 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
}
.industry-info-modern h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color, #2e7d32) 60%,
    #81c784 100%
  );
  border-radius: 2px;
  margin-top: 0.5rem;
}
.industry-info-modern p {
  color: #2c3e50;
  font-size: 1.13rem;
  line-height: 1.8;
  margin-bottom: 0.7rem;
  font-weight: 400;
  opacity: 0.96;
}
.industry-info-modern ul {
  margin: 1.1rem 0 0 0;
  padding: 0 0 0 1.2rem;
}
.industry-info-modern li {
  color: #2c3e50;
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.industry-info-modern li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: linear-gradient(
    135deg,
    var(--primary-color, #2e7d32) 60%,
    #81c784 100%
  );
  border-radius: 50%;
  margin-right: 0.7em;
  position: relative;
  top: -1px;
  box-shadow: 0 1px 4px #b2dfdb44;
}
.industry-info-modern ul li:hover::before {
  box-shadow: 0 0 0 4px #c8e6c9aa;
  background: #388e3c;
}
.industry-card-modern {
  cursor: pointer;
}
.industry-card-modern:active {
  transform: scale(0.98);
}
@media (max-width: 1100px) {
  .industries-modern {
    max-width: 98vw;
  }
  .industry-card-modern {
    min-height: 200px;
  }
  .industry-img-modern {
    max-width: 100%;
    min-width: 0;
    height: 200px;
    border-radius: 2rem 2rem 0 0;
  }
  .industry-card-modern:nth-child(even) .industry-img-modern {
    border-radius: 0 0 2rem 2rem;
  }
  .industry-card-modern,
  .industry-card-modern:nth-child(even) {
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .industry-info-modern h2 {
    font-size: 1.3rem;
  }
  .industry-info-modern {
    padding: 1.2rem 0.7rem;
  }
  .industry-img-modern {
    height: 120px;
  }
  .industry-card-modern {
    min-height: 120px;
  }
}
/* Modern Industries Section (Isolated Styles) */
.industries-modern {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 0 auto 4rem auto;
  max-width: 1000px;
}

.industry-card-modern {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: stretch;
}
.industry-card-modern:nth-child(even) {
  flex-direction: row-reverse;
}
.industry-card-modern:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(46, 125, 50, 0.13);
}
.industry-img-modern {
  flex: 0 0 320px;
  min-width: 220px;
  max-width: 340px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.industry-img-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}
.industry-card-modern:hover .industry-img-modern img {
  transform: scale(1.07);
}
.industry-info-modern {
  flex: 1 1 0%;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.industry-info-modern h2 {
  font-size: 2rem;
  color: var(--primary-color, #2e7d32);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.industry-info-modern p {
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.industry-info-modern ul {
  margin: 1rem 0 0 0;
  padding: 0 0 0 1.2rem;
}
.industry-info-modern li {
  color: #2c3e50;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  position: relative;
}
.industry-info-modern li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary-color, #2e7d32);
  border-radius: 50%;
  margin-right: 0.7em;
  position: relative;
  top: -1px;
}
@media (max-width: 900px) {
  .industries-modern {
    max-width: 98vw;
  }
  .industry-card-modern {
    flex-direction: column;
    align-items: stretch;
  }
  .industry-card-modern:nth-child(even) {
    flex-direction: column;
  }
  .industry-img-modern {
    max-width: 100%;
    min-width: 0;
    height: 220px;
  }
  .industry-info-modern {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .industry-info-modern h2 {
    font-size: 1.3rem;
  }
  .industry-info-modern {
    padding: 1.2rem 0.7rem;
  }
  .industry-img-modern {
    height: 140px;
  }
}
