/* --------------------------
  industry Section Styles
 -------------------------- */
.industry {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  background-image: 
    url('/images/Industries1.jpg'),
    url('/images/Industries2.jpg'),
    url('/images/Industries3.jpg'),
    url('/images/Industries4.jpg'),
    url('/images/Industries5.jpg'),
    url('/images/Industries6.jpg');
  background-repeat: no-repeat;
  background-size: 17% 100%; /* 100% height, 1/6 width each */
  background-position: 0% 0%, 20% 0%, 38% 0%, 59% 0%, 79.5% 0%, 100% 0%;
}
/* Optional overlay for readability */
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
/* Overlay text container */
.industry-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 123, 255, 0.8);
  color: white;
  padding: 13px 30px;
  font-size: 28px;
  font-weight: bold;
  border-radius: 5px;
}
.home {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px; /* makes it appear above the background overlay */
}
.homes{
 color: #fff;
 font-size: 1.2rem;
}
.home-span{
  color: #3598db;
  font-weight:600;
  font-size: 1.2rem;
}
.home-btn {
  display: inline-block;
  background-color: rgba(224, 224, 224, 0.6);
  color: #020202;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;  /* make sure it's clickable */
}
.home-btn:hover,.industry-content:hover {
  background-color: #0055aa;
  color: #fff;
}
.main-content {
  padding: 0;
  margin: 0 auto;
}
.industry-container {
  max-width: 1080px;
  padding: 20px;
  margin: 0 auto;
}
.industry-container p {
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3c3c3c;
  margin-bottom: 10px;
  line-height: 1.3rem;
}
.industry-container h2 {
  color: #3598db;
  font-size: 1.4rem;
  padding-bottom: 10px;
}
.industry-requirements {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}
.industry-requirements li {
  color: #3c3c3c;
  position: relative;
  padding-left: 35px;
  margin-bottom: 2px;
  font-size: 16px;
}
.industry-requirements li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007BFF;
}
.industry-category-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* For screens up to 1024px (laptops/tablets) */
@media screen and (max-width: 1024px) {
  .industry {
    height: 350px;
    padding: 15px;
  }
  .industry-content {
    font-size: 2rem;
  }
}

/* For screens up to 786px (tablets) */
@media screen and (max-width: 786px) {
  .industry {
    height: 300px;
  }
  .industry-content {
    font-size: 1.6rem;
    padding: 8px;
  }
  .home-btn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}
/* For screens up to 480px (mobile phones) */
@media screen and (max-width: 480px) {
  .industry {
    height: 250px;
    padding: 10px;
  }
  .industry-content {
    font-size: 1.3rem;
    padding: 6px;
  }
  .home-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 10px;
  }
  .industry-container h2 {
    font-size: 1.2rem;
  }
  .industry-requirements li {
    font-size: 14px;
  }
}
