body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}

.industries-video-section {
  margin-top: 120px;
}

.industries-video-container {
  width: 100%;
}

.industries-hero-video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .industries-video-section {
    margin-top: 96px;
  }

  .industries-hero-video {
    height: 220px;
  }
}

.card{
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.card-img {
  width: 100%;
  height: clamp(180px, 30vw, 250px);
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.card-bar {
  width: 50px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.bg-primary {
  background-color: #007bff;
}

.bg-danger {
  background-color: #dc3545;
}

.bg-success {
  background-color: #28a745;
}

.bg-warning {
  background-color: #ffc107;
}

/* Hover effect for the card */
.row:hover .card-body {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Hover effect for the image */
.row:hover .card-img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Dark mode visibility fixes for industries page */
body.dark-mode .container.card.border-0.my-5 {
  background: transparent !important;
}

body.dark-mode .card-body {
  background: #121212 !important;
  color: #f5f5f5 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .card-title,
body.dark-mode .card-subtitle,
body.dark-mode .card-description,
body.dark-mode .card-body p,
body.dark-mode .card-body h5 {
  color: #f5f5f5 !important;
}

@media (max-width: 576px) {
  .card-body { padding: 16px; }
}

