/* Section 2: Operational Excellence */
.hero-section {
  position: sticky;
  top: 0;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
}

.op-section {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100dvh;
  background-color: #0b141d;
  color: white;
  z-index: 10;
  margin-top: 800px;
}

.op-section::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(to bottom, transparent, #030e17);
  z-index: 3;
  pointer-events: none;
}

.op-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #030e17;
}

.overlay-flipped {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    120% 120% at 15% 85%,
    transparent 0%,
    rgba(3, 14, 23, 0.1) 25%,
    rgba(3, 14, 23, 0.7) 60%,
    #030e17 90%
  );
  z-index: 1;
  pointer-events: none;
}

.op-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Left Column */
.op-left {
  flex: 1;
  max-width: 500px;
}

.op-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #a8947a;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.op-title {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.op-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.op-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.op-list li.active {
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.op-list .num {
  font-weight: 300;
  width: 22px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.op-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

/* Right Column (Cards) */
.op-right {
  flex: 0.9;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.op-card {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.active-card {
  background: linear-gradient(135deg, #0a3254 0%, #051b2e 100%);
  border: 1px solid transparent;
  height: 280px;
}

.collapsed-card {
  height: 110px;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.collapsed-card .card-content {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  transition: all 0.4s ease;
}

.collapsed-card .badge {
  margin-bottom: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.active-card .badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid transparent;
}

.active-card .card-content {
  justify-content: flex-start;
  padding: 1.5rem;
}

.active-card .card-desc {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s ease;
}

.collapsed-card .card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.4s ease;
}

.card-img-container {
  width: 40%;
  height: 100%;
}

.active-card .card-img-container {
  width: 250px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 1rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.op-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(100%);
  border-radius: 12px;
}

.active-card .op-image {
  filter: grayscale(0%);
}

.collapsed-card .card-img-container {
  width: 200px;
  padding: 0.5rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.collapsed-card .card-img-container img,
.collapsed-card .card-img-container div {
  border-radius: 12px;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



@media (max-width: 900px) {
  .op-container {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }

  .op-left {
    max-width: 100%;
    margin-bottom: 0;
    flex: none;
  }

  .op-label {
    font-size: 0.6rem;
    margin-bottom: 0.4rem;
  }

  .op-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .op-list {
    margin-bottom: 1rem;
  }

  .op-list li {
    padding: 0.4rem 0;
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .op-desc {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  .op-right {
    max-width: 100%;
    width: 100%;
    gap: 0.8rem;
  }

  .active-card {
    height: 170px;
  }

  .collapsed-card {
    height: 75px;
  }

  .card-content {
    padding: 0.8rem;
  }

  .collapsed-card .card-content {
    padding: 0.5rem 0.8rem;
  }

  .badge {
    font-size: 0.6rem;
    padding: 2px 8px;
    margin-bottom: 0.3rem;
  }

  .collapsed-card .badge {
    margin-bottom: 0.2rem;
  }

  .active-card .card-desc {
    font-size: 0.75rem;
    -webkit-line-clamp: 4;
    line-height: 1.3;
  }

  .collapsed-card .card-desc {
    font-size: 0.65rem;
    -webkit-line-clamp: 2;
    line-height: 1.3;
  }

  .active-card .card-img-container {
    width: 140px;
    padding: 0.4rem;
  }

  .collapsed-card .card-img-container {
    width: 110px;
    padding: 0.3rem;
  }

  .btn-hero-glass,
  .op-section .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}
