/*================================================================================================
    Start Capabilities CSS
===================================================================================================*/
@import "reset.css";
@import "mobile-menu.css";
@import "header.css";
@import "breadcrumbs.css";
@import "call-action.css";
@import "footer.css";

/* Core Capabilities Intro */
.bx-capabilities-intro {
  padding: 80px 0;
  background-color: #ffffff;
}

/* CNC Machining Section */
.bx-cnc-machining {
  padding: 100px 0;
  background-color: #f8fafc;
  border-top: 1px solid rgba(24, 96, 144, 0.05);
}

.cnc-card {
  background: #ffffff;
  border: 1px solid rgba(24, 96, 144, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.cnc-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.cnc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cnc-content {
  padding: 30px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cnc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bx-primary-color);
  background: rgba(24, 96, 144, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.cnc-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #223035;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.cnc-card:hover .cnc-title {
  color: var(--bx-primary-color);
}

.cnc-detail-box {
  padding: 16px;
  border-radius: 0 12px 10px 0;
  flex-grow: 1;
}

.cnc-detail-box.advantage-box {
  margin-bottom: 0;
}

.cnc-detail-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #223035;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cnc-detail-label i {
  color: var(--bx-primary-color);
}

.cnc-detail-box.advantage-box .cnc-detail-label i {
  color: var(--bx-secondary-color);
}

.cnc-detail-text {
  font-size: 0.92rem;
  color: #556770;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: justify;
}

/* Conventional Machining Section */
.bx-conventional-machining {
  padding: 100px 0 60px 0;
  background-color: #ffffff;
}

/* Banner for Conventional Machining Section */
.conventional-banner-wrap {
  width: 100%;
  height: 550px;
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  border-radius: 10px;
}

.conventional-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .conventional-banner-wrap {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .conventional-banner-wrap {
    height: 250px;
  }
}

.conv-card {
  background: #ffffff;
  border: 1px solid rgba(24, 96, 144, 0.06);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
  height: calc(100% - 24px);
  margin-bottom: 24px;
}

.conv-info h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #223035;
  margin-bottom: 8px;
}

.conv-info p {
  font-size: 0.9rem;
  color: #556770;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Technical Specification Highlight (Added Value) */
.bx-technical-spec {
  background: #0b0f19;
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.bx-technical-spec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(24, 96, 144, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.tech-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

.tech-spec-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.tech-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-spec-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.tech-spec-list li:last-child {
  margin-bottom: 0;
}

.tech-spec-list li span.label {
  color: rgba(255, 255, 255, 0.5);
}

.tech-spec-list li span.value {
  font-weight: 600;
  color: var(--bx-secondary-color);
}

.highlight-text {
  color: var(--bx-primary-color);
}