:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-bg: #f8f9fa;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  --dark-color: #2c3e50;
}
body {
  background-color: var(--light-bg);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
.header {
  background: url("images/research images/lab 2.jpg");
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/approad rates images/lab2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
}
.header-content {
  position: relative;
  z-index: 1;
}
.header h1 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2.8rem;
}
.header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}
i.bi {
  color: #000 !important;
}
.lab-card {
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}
.lab-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}
.lab-card-header {
  background: linear-gradient(135deg, #000000 100%, #000000 100%);
  color: white;
  padding: 1.5rem;
}
.lab-card-body {
  padding: 2rem;
}
.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
}
.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.contact-info i {
  font-size: 1.2rem;
  width: 30px;
  color: #000 !important;
}
.section-title {
  color: var(--dark-color);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(44, 62, 80, 0.1);
  font-weight: 600;
}
.test-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 3rem;
}
.test-table thead {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a2530 100%);
  color: white;
}
.test-table th {
  font-weight: 600;
  padding: 1rem;
}
.test-table td {
  padding: 1rem;
  vertical-align: middle;
}
.main-row {
  background-color: rgba(52, 152, 219, 0.05);
  font-weight: 600;
  color: var(--dark-color);
}
.sub-row {
  background-color: rgba(255, 255, 255, 0.7);
}
.sub-row td:first-child {
  padding-left: 2rem;
}
.cost-badge {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  min-width: 120px;
  text-align: center;
}
.lab-badge {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-left: 10px;
}
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  .lab-card-body {
    padding: 1.5rem;
  }
  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .cost-badge {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
