/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 103vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  margin-top: -120px; /* header overlap if used */
}
.hero-bg { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:1; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.45); z-index:2; }
.hero-content { position:relative; z-index:3; color:#fff; max-width:900px; padding: 0 20px; }
.hero h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom:0.25em; }
.hero h3 { font-size: clamp(1rem,2.5vw,1.25rem); margin-bottom:0.75em; color: #fff; }
.hero-lead { color: rgba(255,255,255,0.9); font-size:1rem; margin-top:0.5rem; }

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 0.5rem;
}

.btn-primary {
  background: #e26b07;
  color: #fff;
  margin-right: 1em;
}

.btn-secondary {
  border: 2px solid #fff;
  color:  #fff;
  background: transparent;
}

/* ===== INDUSTRIES SECTION ===== */
.industries-tabs {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.industries-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 40px;
}

/* --- Desktop buttons default --- */
.industry-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  padding: 2em 1em;
}

.industry-btn {
  padding: 10px 25px;
  border: 2px solid #e26b07;
  background: none;
  color: #e26b07;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}
.industry-btn.active,
.industry-btn:hover {
  background: #e26b07;
  color: #fff;
}

/* --- Mobile dropdown hidden on desktop --- */
.industry-dropdown-wrap {
  display: none;
  text-align: center;
  padding: 1.5em 1em;
}

.industry-label {
  display: block;
  margin-bottom: 0.5em;
  color: #1a365d;
  font-weight: 600;
}

.industry-dropdown {
  width: 90%;
  max-width: 400px;
  padding: 0.75em 1em;
  border: 2px solid #e26b07;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s ease;
}

.industry-dropdown:focus {
  border-color: #cf5f06;
}

/* --- Mobile view behavior --- */
@media (max-width: 992px) {
  .industry-buttons {
    display: none; /* hide button row */
  }
  .industry-dropdown-wrap {
    display: block; /* show dropdown instead */
  }
}

/* ===== CONTENT BOX ===== */
.industry-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  animation: fadeSlideIn 0.6s ease forwards;
}

.industry-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}
.industry-panel.active {
  display: block;
  animation: fadeSlideIn 0.6s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== GRID ===== */
.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.industry-text h2 {
  color: #1a365d;
  margin-bottom: 1rem;
}
.industry-text p {
  color: #4a5568;
  line-height: 1.7;
}
.industry-text ul {
  list-style: disc;
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: #4a5568;
}
.industry-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-image {
    order: -1;
  }
  .industry-box {
    padding: 25px;
  }
}

/* ===== INDUSTRIES BANNER SECTION ===== */
.industries-banner {
  position: relative;
  width: 100%;
  height: 90vh; /* adjust height as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  transform: translateY(40px);
  transition: all 1s ease;
}

.industries-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.industries-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.industries-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55); /* darkens image for text contrast */
  z-index: 2;
}

.industries-layout {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2em;
}

.industries-layout h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #fff;
}

.industries-layout p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  color: #ddd;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #e26b07;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #cf5f06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Reveal Animations */
.reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translateY(0);
}
