/* Industries Hero Section */
.industries-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: var(--neutral-100);
    padding-top: 40px; /* reduced from 80px */
    overflow: hidden;
}


.industries-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/3862130/pexels-photo-3862130.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.industries-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,94,184,0.3) 0%, rgba(18,30,54,0.5) 100%);
    z-index: 2;
}

.industries-hero .container {
    position: relative;
    z-index: 3;
}

.industries-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.industries-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neutral-100);
    margin-bottom: var(--space-md);
}

.industries-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Industries Overview */
.industries-overview {
    padding: var(--space-xxl) 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.industry-item {
    background-color: var(--neutral-100);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.industry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--neutral-100);
    font-size: 2rem;
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
}

.industry-item:hover .industry-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.industry-item h3 {
    margin-bottom: 0;
    transition: color 0.3s ease;
}

/* Industry Detail Sections */
.industry-detail {
    padding: var(--space-xxl) 0;
    scroll-margin-top: 80px;
}

.alt-bg {
    background-color: var(--neutral-200);
}

.industry-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.industry-detail-grid.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.industry-detail-grid.reverse > * {
    direction: ltr;
}

.industry-detail-content h2 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.industry-detail-content p {
    margin-bottom: var(--space-md);
    color: var(--neutral-700);
}

.solution-list {
    margin-top: var(--space-lg);
}

.solution-item {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    border-left: 3px solid var(--primary-color);
}

.solution-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.solution-item p {
    margin-bottom: 0;
}

.industry-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.industry-detail-image img:hover {
    transform: scale(1.03);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .industry-detail-grid.reverse {
        grid-template-columns: 1fr;
    }

    .industries-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industries-hero {
        height: auto;
        padding: 100px 0 60px;
    }

    .industries-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* ===== Header Navigation Styling ===== */

.header {
  width: 100%;
  background-color: #fff;
  padding: 0px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link.active {
  color: #0056b3;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0056b3;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
  }

  .mobile-menu a.active {
    background-color: #f0f0f0;
    color: #0056b3;
  }
}
