/* Industries Hero Section */
.industries-hero {
  position: relative;
  min-height: 300px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 120px 0 var(--space-5);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.industries-hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
  text-align: center;
  margin: 0 auto;
}

.industries-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-3);
  font-weight: 800;
}

.industries-hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.9;
}

.industries-hero-shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--secondary-color);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.1;
  z-index: 1;
}

/* Industries Intro Section */
.industries-intro {
  text-align: center;
  padding: var(--space-6) 0 var(--space-4);
}

.industries-intro p {
  max-width: 800px;
  margin: 0 auto var(--space-3);
  font-size: 1.1rem;
}

/* Industries Grid */
.industries-grid {
  padding: 0 0 var(--space-6);
}

.industry-card {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.industry-card:nth-child(odd) {
  flex-direction: row-reverse;
}

.industry-image {
  flex: 1 1 400px;
  position: relative;
  min-height: 300px;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 74, 173, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.industry-card:hover .industry-overlay {
  opacity: 0.8;
}

.industry-content {
  flex: 1 1 400px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.industry-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-3);
  font-size: 1.8rem;
}

.industry-content p {
  margin-bottom: var(--space-3);
}

.industry-roles {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
  columns: 2;
}

.industry-roles li {
  margin-bottom: var(--space-1);
  break-inside: avoid;
}

.industry-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .industry-card:nth-child(odd) {
    flex-direction: column;
  }
  
  .industry-card {
    flex-direction: column;
  }
  
  .industry-content {
    padding: var(--space-4);
  }
  
  .industry-roles {
    columns: 1;
  }
  
  .industry-content .btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .industry-image {
    min-height: 200px;
  }
}