/* Griv View Layout css Here */

    /* .grid-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .card {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 20px;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: box-shadow 0.3s ease;
    }

    .card:hover {
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      transition: box-shadow 0.3s ease;
    }

    .card img {
       width: 70px;
      height: 70px; 
      object-fit: cover;
      margin-bottom: 15px;
      border-radius: 4px;
    }

    .card h3 {
      font-size: 18px;
      margin: 0 0 10px;
      color: #000;
    }

    .card p {
      font-size: 14px;
      color: #444;
      flex-grow: 1;
      margin-bottom: 15px;
    }

    .card a {
      font-size: 14px;
      font-weight: bold;
      color: #0066cc;
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .card a::after {
      content: " →";
      margin-left: 5px;
    } */

 /* Diagnostic icon card Css Here */

.diagnostics-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.diagnostics-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    color: #171e1e;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.learn-more {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.learn-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-card:hover .learn-more i {
    transform: translateX(3px);
}

/* Individual category colors */
.tuberculosis {
    border-color: #8e44ad;
}
.tuberculosis .category-icon {
    background: #8e44ad;
}

.respiratory {
    border-color: #3498db;
}
.respiratory .category-icon {
    background: #3498db;
}

.vector {
    border-color: #16a085;
}
.vector .category-icon {
    background: #16a085;
}

.hpv {
    border-color: #e74c3c;
}
.hpv .category-icon {
    background: #e74c3c;
}

.infectious {
    border-color: #f39c12;
}
.infectious .category-icon {
    background: #f39c12;
}

.genetic {
    border-color: #9b59b6;
}
.genetic .category-icon {
    background: #9b59b6;
}

.reproductive {
    border-color: #e84393;
}
.reproductive .category-icon {
    background: #e84393;
}

.oncology {
    border-color: #88c4ff;
}
.oncology .category-icon {
    background: #88c4ff;
}

.covid {
    border-color: #27ae60;
}
.covid .category-icon {
    background: #27ae60;
}

.bloodborne {
    border-color: #c0392b;
}
.bloodborne .category-icon {
    background: #c0392b;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .diagnostics-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnostics-header {
        margin-bottom: 30px;
    }
}

.banner-container {
    margin-bottom: 60px;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-link:hover .banner-image {
    transform: scale(1.02);
}

/* Grid Layout */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.product-column {
    flex: 1;
    min-width: 300px;
}

.extraction-column {
    max-width: 400px;
}

/* Section Header */
.section-header {
    margin-bottom: 25px;
    text-align: center;
}

.section-title {
    color:#2c3e50;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-subtitle {
    color:#252525;
    font-size: 1rem;
    margin: 0;
}

/* Product Cards */
.product-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.08); */
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-logo-container {
    padding: 20px 20px 10px;
    text-align: center;
}

.product-logo {
    max-height: 60px;
    max-width: 100%;
}

.product-name {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 0 20px 10px;
    font-weight: 600;
    text-align: center;
}

/* .product-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0 20px 15px;
    text-align: center;
} */

.product-image-container {
    padding: 0 20px 20px;
    text-align: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(41 128 185 / 45%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 30px;
}

/* Brochure Button */
.brochure-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.brochure-button {
    display: inline-flex;
    align-items: center;
    background: #2980b9;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(41, 128, 185, 0.3);
}

.brochure-button i {
    margin-right: 10px;
}

.brochure-button:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .products-grid {
        flex-direction: column;
    }
    
    .extraction-column {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
}


/* Related product sectioncss */
.product-showcase {
            max-width: 1320px;
            margin: 40px auto;
        }
        .showcase-header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eaeaea;
        }
        .showcase-header h1 {
            color: #2c3e50;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .showcase-header p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
            border: 1px solid #f1f1f1;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        .product-image {
            height: 180px;
            background: linear-gradient(135deg, #4a90e2 0%, #2c3e50 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        .product-image i {
            font-size: 64px;
            opacity: 0.9;
        }
        .product-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        .product-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            border-bottom: 2px solid #00d6ba;
            padding-bottom: 10px;
        }
        .product-description {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        .product-features {
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px dashed #eaeaea;
        }
        .product-feature {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #12004A;
            font-size: 0.9rem;
        }
        .product-feature i {
            margin-right: 8px;
            font-size: 14px;
        }
        .product-cta {
            margin-top: 20px;
        }
        .btn-product {
            background: #12004A;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            transition: background 0.3s ease;
            width: 100%;
        }
        .btn-product:hover {
            background: #00d6ba;
        }
        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr;
            }
        }


        /* new design css code here */
          .test-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.test-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.test-icon i {
  font-size: 28px;
  color: #000;
}

.test-content {
  margin: 0px 10px 0px 10px;
}

.test-content h5 {
  font-weight: 700;
  text-transform: uppercase;
}

.test-content ul {
  list-style: none;
  padding: 0;
  margin: 0px;
}

.test-content ul li {
  margin: 6px 0;
  font-size: 16px;
}

.test-content ul li i {
  margin-right: 0px;
  color: #000;
  font-size: 0.9rem;
}

ul li a {
  text-decoration: none;
  color: inherit;
}

ul li a:hover {
  color: #00d5b9;
}

.divider {
  border-bottom: 1px solid #898383;
  margin-top: 2rem;
}

section#main-card {
  background: url('../img/ngs-background.png') no-repeat center center;
  background-size: cover;
}
