/* Test and report  */
#tests {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.test_container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  color: #6b7280;
  line-height: 1.6;
}

/* Grid */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

/* Cards */
.test-card {
  background:linear-gradient(to bottom, rgba(236, 254, 255, 0.5), #ffffff);
  padding: 36px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.test-head {
  display: flex;
  align-items: center;
  padding-right:100px;
  gap: 16px;
  margin-bottom: 18px;
}

.test-head h3 {
  font-size: 22px;
  margin: 0;            /* REMOVE default margin */
  line-height: 1.2;
  
 
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.red { background: #ff0000; color: #ff0303; }
.yellow { background: #ffea01; color: #f3a704; }
.blue { background: #dbeafe; color: #2563eb; }
.green { background: #15fb65; color: #16a34a; }
.purple { background: #7a10eb; color: #7c3aed; }
.orange{background: #e6640d; color: #ee770e; }

.test-card ul {
  list-style: none;
  
}

.test-card li {
  /* display: flex; */
  align-items: center;
  gap: 10px;
  color: #4b5563;
  margin-bottom: 10px;
}

.test-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #06b6d4;
  border-radius: 50%;
}


/* test card dropdown CSS */
.test-list {
  list-style: none;
  padding: 0;
}

.dropdown-btn {
  width: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 8px 0;
}

.dropdown-menu {
  display: none;
  padding-left: 20px;
  margin-top: 6px;
}

.dropdown-menu li {
  cursor: pointer;
  padding: 6px 0;
  color: #2563eb;
}

.dropdown-menu li:hover {
  text-decoration: underline;
}

.dropdown-btn {
  width: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 8px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Arrow icon */
.dropdown-btn::after {
  content: "▾";              /* down arrow */
  font-size: 18px;
  color: #06b6d4;
  transition: transform 0.3s ease;
}





























/* OPEN STATE */
.dropdown.open .dropdown-menu {
  display: block;
}





















/* Buttons */
.buttons {
  display: flex;
  gap: 14px;
}

.btn-outline {
  padding: 10px 20px;
  border-radius: 10px;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
}

.btn-primary {
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, #06b6d4, #0d9488);
  color: #fff;
  border: none;
  cursor: pointer;
}



.stats-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
}

.stats-container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.stat-card p {
  font-size: 15px;
  color: #6b7280;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #fff;
}

/* Icon Colors */
.icon.cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.icon.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.icon.indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}




/* PDF Modal Fullscreen */
.pdf-modal {
  display: none; /* hidden initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* on top of everything */
}

.pdf-content {
  width: 90%;
  max-width: 900px;
  height: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.pdf-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}
