
/* CARD */
.lab-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* HEADER */
.lab-header h2 {
  color: var(--primary-blue);
  font-weight: 800;
  letter-spacing: 1px;
}

.divider {
  width: 70px;
  height: 4px;
  background: var(--accent-red);
  margin: 12px auto 35px;
  border-radius: 10px;
}

/* LAB LIST */
.lab-list-box {
  background: #f9fbff;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-blue);
  margin-bottom: 40px;
}

.lab-list-box li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* GRID */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* CARD ITEM */
.lab-item {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.4s;
}

/* LEFT BORDER ANIMATION */
.lab-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 4px;
  background: var(--accent-red);
  transition: 0.4s;
}

.lab-item:hover::before {
  height: 100%;
}

/* HOVER */
.lab-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* TITLE */
.lab-item h3 {
  color: var(--primary-blue);
  font-size: 18px;
  margin-bottom: 10px;
}

.lab-item h3 span {
  margin-right: 6px;
}

/* TEXT */
.lab-item p {
  color: #444;
  line-height: 1.7;
  font-size: 14px;
}

/* IMAGE */
.lab-item img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0;
  transition: 0.3s;
}

.lab-item:hover img {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width:768px){
  .lab-card {
    padding: 20px;
  }
}