/* ── SECTION SETUP ── */
.industries {
  position: relative;
  background: #0b1423;
  padding: 80px 0;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
  width: 100%;
}

/* ── GRID: 5 COLUMNS & 1PX BORDER EFFECT ── */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 1px; /* This creates the thin line between cards */
  padding: 0;
  margin: 0;
  align-items: stretch;
  width: 100%;

}

.industries__grid .card-link {
  text-decoration: none;
  display: flex;
      margin-left: 0px !important;
}

/* ── CARD STYLES ── */
.ind-card {
  position: relative;
  background: #1a2e4a; /* Card background color */
  padding: 3.5rem 2rem; /* Generous padding like screenshot 1 */
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
  flex: 1; 
  height:100%
  
  /* Vertical stacking: Icon top, Text bottom */
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start;
  gap: 2.5rem; /* Precise gap between icon and heading */
  min-height: 280px; 
  box-sizing: border-box;
}

/* Blue Hover State */
.ind-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #10a0b9, #037285);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.ind-card:hover::after { 
  opacity: 1; 
}

/* Numbering (Top Right) */
.ind-card__num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: rgb(255 255 255 / 8%);
    line-height: 1;
    text-transform: uppercase;
    z-index: 1;
    transition: color 0.3s ease;
}

.ind-card:hover .ind-card__num { 
  color: rgba(255, 255, 255, 0.15); 
}

/* ICON STYLING - Restored to Top Left */
.indust-icon {
  position: relative;
  z-index: 2;
  width: 55px; 
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.indust-icon img, 
.indust-icon svg {
  width: auto;
  height: 100%;
  max-width: 100%;
  display: block;
}

/* Force Lined/Teal Style for SVGs */


/* HEADING STYLING */
.ind-card__name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-top: 2rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
  position: relative;
  z-index: 2;

  word-wrap: break-word; /* Ensures text like 'ENVIRONMENTAL' wraps */
  max-width: 100%;
}

/* Red Bottom Bar on Hover */
.ind-card__bar {
  position: absolute;
  bottom: 0; 
  left: 0;
  height: 4px;
  width: 0;
  background: #e74c3c; 
  transition: width 0.3s ease;
  z-index: 3;
}

.ind-card:hover .ind-card__bar { 
  width: 100%; 
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .industries__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .industries__grid { grid-template-columns: 1fr; }
}