/* Industry Solutions Page Styles */

.hero {
  height: 520px;
  background: url("../images/industry-banner1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  text-align: left;
}
/* Customer Pain Points Section */
.customer-pain-points {
  padding: 80px 0;
  background-color: #f9fafb;
  position: relative;
  overflow: hidden;
}

.customer-pain-points h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #061b1f;
  margin-bottom: 80px;
}

.pain-points-grid {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 24px; /* Increased gap slightly */
}

.pain-point-item {
  flex: 1;
  background: #fff;
  padding: 30px 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(231, 239, 254, 0.1); /* Cyan glow shadow */
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  /* Default position (top) */
  margin-bottom: 60px;
  overflow: hidden; /* For the gradient overlay */
}

/* Add cyan gradient glow at the top */
.pain-point-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Adjust height of the glow */
  background: linear-gradient(
    180deg,
    rgba(231, 239, 254, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* Staggered layout: even items are pushed down */
.pain-point-item:nth-child(even) {
  margin-top: 60px;
  margin-bottom: 0;
}

/* Highlight style for the "Human Bottleneck" item as shown in design */
.pain-point-item.highlight {
  border: none;
  /* border-bottom removed, using ::after instead */
  box-shadow: 0 15px 40px rgba(24, 24, 245, 0.15); /* Stronger blue shadow */
}

/* Highlight item title is blue */
.pain-point-item.highlight h3 {
  color: #1818f5;
}

/* Hover effects for all items */
.pain-point-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(24, 24, 245, 0.15);
}

.pain-point-item:hover h3 {
  color: #1818f5;
}

/* Blue bar expanding from center */
.pain-point-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #1818f5;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.pain-point-item:hover::after {
  transform: scaleX(1);
}

.pain-point-item h3 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 15px;
  white-space: nowrap; /* Prevent title wrapping */
  position: relative;
  z-index: 1;
}

.pain-point-item .separator {
  width: 40px;
  height: 4px;
  background-color: #1818f5;
  margin: 0 auto 20px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.pain-point-item p {
  font-size: 14px;
  line-height: 1.8; /* Increased line height for better readability */
  color: #666;
  text-align: justify;
  position: relative;
  z-index: 1;
}

/* Wave Background Line */
.wave-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px; /* Increased height container */
  transform: translateY(-20%);
  z-index: 1;
  pointer-events: none;
}

.wave-bg svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(231, 239, 254, 0.6)); /* Glowing effect */
}

.wave-bg path {
  stroke: rgb(231, 239, 254);
  stroke-width: 6; /* Thicker line */
  fill: none;
  stroke-linecap: round;
}

/* Solutions Tabs Module */
.solutions-tabs-module {
  padding: 80px 0;
  background-color: #f9fafb;
}

.solutions-header {
  text-align: center;
  margin-bottom: 50px;
}

.solutions-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: #061b1f;
  margin-bottom: 20px;
}

.solutions-header p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.solutions-container {
  display: flex;
  gap: 40px;
  height: 444px;
  align-items: stretch;
}

/* Left Tabs */
.solutions-tabs {
  width: 320px;
  background: #fff; /* Changed to white */
  border-radius: 16px;
  padding: 30px 0; /* Remove horizontal padding to allow full-width items */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Add shadow for depth */
  display: flex;
  flex-direction: column;
  gap: 8px; /* Slightly reduced gap */
  min-height: 444px;
}

.solutions-tabs .tab-item {
  padding: 18px 30px; /* Increased padding */
  font-size: 16px;
  color: #666; /* Softer default color */
  cursor: pointer;
  border-radius: 0; /* Rectangular items */
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 0;
  text-align: left; /* Left align */
  white-space: nowrap;
  border-left: 4px solid transparent; /* Prepare for active state */
}

.solutions-tabs .tab-item:hover {
  color: #1818f5;
  background: #f5f9ff;
}

.solutions-tabs .tab-item.active {
  background: #eff8ff;
  color: #1818f5;
  font-weight: bold;
  box-shadow: none;
  border-left-color: #1818f5; /* Blue indicator */
}

.solutions-tabs .tab-item .en-text {
  color: #999; /* Softer English text */
  margin-left: 10px;
  font-weight: normal;
  font-size: 14px;
}

.solutions-tabs .tab-item.active .en-text {
  color: #1818f5; /* Active English text matches blue */
  opacity: 0.7;
}

/* Right Content Area */
.solutions-content-wrapper {
  flex: 1;
  position: relative;
  height: 440px; /* Fixed height to prevent jumping */
  background: url("/images/industry-bg.png") no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  padding: 40px; /* Increased padding */
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.solutions-content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.tab-content {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  display: block; /* Changed from flex to block for absolute positioning of image */
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* Content Layout */
.content-main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 2; /* Ensure content is above image */
}

.content-header {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.content-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1818f5 0%, #00d4ff 100%);
  border-radius: 2px;
}

.content-header h3 {
  font-size: 28px;
  font-weight: 600;
  color: #061b1f;
  margin: 0;
  white-space: nowrap;
  line-height: 1.4;
}

.content-header .highlight {
  color: #1818f5;
  position: relative;
  display: inline-block;
}

.content-info-row {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
}

.info-group {
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-group .label {
  font-size: 13px;
  color: #88909b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.info-group .value {
  font-size: 18px;
  font-weight: 600;
  color: #061b1f;
}

.info-group .value.links a {
  color: #1818f5;
  text-decoration: none;
  margin-right: 15px;
  font-size: 14px;
}

.content-cards {
  display: flex;
  gap: 20px;
  margin-top: auto; /* Push to bottom */
}

.solution-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.95); /* Slightly transparent */
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* Subtle shadow */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth hover */
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(231, 239, 254, 0.6); /* Light border */
  backdrop-filter: blur(10px);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(24, 24, 245, 0.1);
  border-color: rgba(24, 24, 245, 0.3);
}

.solution-card h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.solution-card h4::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #1818f5;
  margin-right: 8px;
  border-radius: 2px;
}

.solution-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  text-align: justify;
}

/* Hover Effect: Blue bar expands from center */
.solution-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #1818f5;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.solution-card:hover::after {
  transform: scaleX(1);
}

/* Image Area */
.content-image {
  width: 220px;
  height: 220px;
  position: absolute;
  margin-top: -110px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.content-image:hover {
  transform: translateY(-50%) scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Mock decoration if no image */
.image-placeholder.no-img::before {
  content: "";
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(24, 24, 245, 0.1) 0%,
    rgba(24, 24, 245, 0) 70%
  );
  border-radius: 50%;
}

/* Solution Value Section */
.solution-value {
  padding: 80px 0;
  background-color: #fff;
}

.solution-value h2 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #061b1f;
  margin-bottom: 60px;
}

.value-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Left List */
.value-list {
  flex: 1;
  max-width: 480px;
}

.value-list-item {
  border-bottom: 1px solid #eee;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 10px;
  position: relative;
}

.value-list-item:hover {
  background: #f9f9f9;
}

.value-list-item.active {
  background: #f0f7ff;
  border: 1px solid #1818f5;
  box-shadow: 0 4px 12px rgba(24, 24, 245, 0.1);
}

.value-list-item:first-child {
  border-top: none; /* Removed top border as items are separated now */
}

.item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-header .icon {
  font-size: 16px;
  color: #1818f5;
  font-weight: bold;
  display: none; /* Hide icon as per design usually lists don't have diamond icons in this style, but kept structure if needed */
}

.item-header h3 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.value-list-item:hover .item-header h3 {
  color: #1818f5;
}

.value-list-item.active .item-header h3 {
  color: #1818f5;
  font-weight: 600;
  font-size: 20px;
}

.item-body {
  margin-top: 12px;
  padding-left: 0;
  display: none; /* Hidden by default */
}

.item-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Right Grid */
.value-grid-container {
  flex: 1;
  height: 600px; /* Increased height to accommodate taller cards and layout */
  overflow: hidden;
  position: relative;
  padding: 20px; /* Space for shadows */
}

.value-grid {
  display: flex;
  gap: 20px;
  position: relative; /* Changed from absolute to flow naturally */
  width: 100%;
  justify-content: center;
}

.grid-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-card {
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.grid-card.white {
  background: #fff;
  color: #333;
  border: 1px solid #eef2f6;
}

.grid-card.white h4 {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 500;
}

.grid-card.white .number {
  font-size: 24px;
  font-weight: bold;
  color: #1818f5; /* Blue numbers */
}

.grid-card.blue {
  background: linear-gradient(135deg, #1818f5 0%, #00d4ff 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(24, 24, 245, 0.2);
  min-height: 160px;
}

.grid-card.blue.large {
  min-height: 200px;
}

.grid-card.blue h4 {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  font-weight: 500;
}

.grid-card.blue .number {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

/* Empty Card */
.grid-card.empty {
  background: #fff;
  border: 1px solid #f5f5f5;
  box-shadow: none;
  min-height: 140px;
}

/* Staggered Layout adjustments - Removed specific margins as empty cards provide spacing structure */
.grid-column:nth-child(2) {
  margin-top: 40px;
}

.grid-column:nth-child(3) {
  margin-top: 80px;
}
