/* Industries Section CSS - Prefix: .industries- */

.industries-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  font-family: 'Inter', sans-serif;
}

.industries-container {
  max-width: 1280px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.industries-header {
  text-align: center;
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 50px;
}

.industries-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #A31D24;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.industries-title {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 20px;
}

.industries-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* Category Filters */
.industries-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.industries-filter-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industries-filter-btn:hover {
  background-color: #F1F5F9;
  color: #A31D24;
  border-color: #CBD5E1;
}

.industries-filter-btn-active {
  background-color: #A31D24;
  color: #FFFFFF !important;
  border-color: #A31D24;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.industries-card {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 250px;
}

.industries-card:hover {
  transform: translateY(-6px);
  background-color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  border-color: rgba(163, 29, 36, 0.15);
}

/* Card details slide-up wrapper */
.industries-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industries-card-icon-wrapper {
  font-size: 32px;
  color: #A31D24;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.industries-card:hover .industries-card-icon-wrapper {
  transform: scale(1.1);
}

.industries-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.industries-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
  transition: all 0.3s ease;
}

/* Hidden highlights details on hover */
.industries-hover-details {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #111827;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industries-card:hover .industries-hover-details {
  bottom: 0;
}

.industries-hover-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  border-left: 3px solid #A31D24;
  padding-left: 10px;
}

.industries-hover-list {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industries-hover-item {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.industries-hover-bullet {
  width: 4px;
  height: 4px;
  background-color: #A31D24;
  border-radius: 50%;
}

/* Filtering animations */
.industries-card-hidden {
  display: none !important;
}

/* Responsiveness */
@media (max-width: 991.98px) {
  .industries-section {
    padding: 70px 0;
  }
  .industries-title {
    font-size: 32px;
  }
}
