:root {
    --primary-blue: #0E289C;
    --primary-cyan: #0df8de;
    --text-dark: #333;
    --text-gray: #666;
    --border-light: #e9ecef;
}

body {
    font-family: 'Poppins', sans-serif;
}

.product-banner {
    padding: 20px 0 !important;
    border-bottom: 1px solid #e9ecef;
}

.product-main {
    background: #fff;
}

.main_card{
    border-style: solid;
  border-width: 5px 0 0 0;
  border-color: #DFEAFF;
  border-radius: 10px;
  box-shadow: 0px 16px 10px 0px rgba(230, 230, 230, 0.5);
}
.product-info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
}

.product-header-info {
    margin-bottom: 20px;
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.product-name a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #0920a0;
    text-decoration: none;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.product-details-grid {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.detail-label {
    font-weight: 600;
    color: #333;
    min-width: 180px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--primary-blue);
    font-weight: 500;
}

.price-action-card {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    padding: 15px 25px;
    position: relative;
    height: fit-content;
}

.price-action-card .price-display {
    text-align: right;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.price-action-card .current-price {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.price-action-card .original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.collection-options-inline {
    margin-bottom: 20px;
}

.collection-option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}

.collection-option-item i {
    font-size: 16px;
}

.add-to-cart-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 200px;
    font-size: 16px;
}

.add-to-cart-button:hover {
    background: #0920a0;
    transform: translateY(-1px);
}

/* Parameters Accordion */
.parameters-accordion-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-title {
    background: var(--primary-blue);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 18px 25px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion-button:not(.collapsed) {
   background: lightslategray;
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    background-color: #fff;
    color: #0e289c;
    border-top: 1px solid #0e289c;
}
.parameter-test-item span{
    color: #0e289c !important;
}
.parameters_accordion_content{
    background: var(--primary-blue);
    padding: 10px 20px;
}

.parameter-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.parameter-test-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.test-number {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    width: 25px;
    flex-shrink: 0;
}

.parameter-link {
    color: #0e289c;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}

.parameter-link:hover {
    transform: translateX(5px);
    text-decoration: none;
}

/* Overview Section */
.overview-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.overview-title {
    background: var(--primary-blue);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.overview-breadcrumb {
    background: #f8f9fa;
    padding: 15px 25px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.overview-content {
    padding: 30px 25px;
}

.overview-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.overview-description {
    color: #555;
    line-height: 1.6;
}

.overview-description p {
    margin-bottom: 20px;
}

.overview-list {
    padding-left: 20px;
    margin-bottom: 25px;
}

.overview-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.overview-list strong {
    color: var(--primary-blue);
}

/* More Information Section */
.more-information {
    border-top: 1px solid #e9ecef;
    padding: 30px 20px;
}

.more-info-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 14px;
}

.info-value {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}
.sample-report-download-btn{
    text-decoration: none;
    color: #0a237a;
    font-weight: 600;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .overview-content {
        padding: 20px 15px;
    }

    .overview-title,
    .overview-breadcrumb {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.product-subtitle {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.price-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
}

.original-price {
    font-size: 22px;
    text-decoration: line-through;
    color: #999;
    margin-left: 15px;
}

.discount-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    border: none;
    text-align: center;
    width: 50px;
    padding: 8px;
    font-weight: 600;
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.availability.in-stock {
    color: #28a745;
}

.availability.out-stock {
    color: #dc3545;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.add-to-cart-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    flex: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 40, 156, 0.3);
    color: white;
}

.wishlist-btn {
    background: #fff;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.collection-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-blue);
}

.collection-info h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.collection-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collection-info li {
    padding: 5px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.collection-info i {
    color: var(--primary-blue);
    width: 16px;
}

.parameters-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
}

.parameters-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    padding: 20px 30px;
    margin: 0;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parameters-content {
    padding: 30px;
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.parameter-category {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.parameter-category:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
}

.parameter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parameter-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parameter-list li:last-child {
    border-bottom: none;
}

.parameter-list li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    width: 20px;
    height: 20px;
    background: #f0f8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Feature Cards Section */

.feature-card {
    background: #e8f0fe;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: left;
    height: 120px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #e8f0fe;
    border: 2px solid #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 30px;
    height: 30px;
}

.feature-title {
    color: #1565c0;
    font-weight: 600;
    font-size: 14px !important;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 768px) {
    .feature-title {
    font-size: 13px !important;
}
    .price-action-card{
        width: 100%;
    }
    .product-hero {
        padding: 20px 0 40px;
    }

    .product-header {
        padding: 20px;
    }

    .product-title {
        font-size: 24px;
    }

    .current-price {
        font-size: 28px;
    }

    .collection-options {
        flex-direction: column;
    }

    .parameters-grid {
        grid-template-columns: 1fr;
    }
}

/* Review Section */
.review-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.review-title {
    background: var(--primary-blue);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.review-content {
    padding: 30px 25px;
}

.no-reviews-text {
    color: #666;
    margin-bottom: 15px;
}

.review-prompt {
    color: #333;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}

.form-notice {
    margin-bottom: 20px;
}

.form-notice p {
    color: #666;
    font-size: 14px;
}

.required {
    color: #dc3545;
}

.rating-section {
    margin-bottom: 20px;
}

.rating-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.star-rating {
    display: flex;
    gap: 10px;
    align-items: center;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    font-size: 16px;
    transition: color 0.3s ease;
}

.star-rating label:hover,
.star-rating input[type="radio"]:checked + label {
    color: #ffc107;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.submit-review-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: #0920a0;
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-title {
    background: var(--primary-blue);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.faq-section .accordion-item:last-child {
    border-bottom: none;
}

.faq-section .accordion-button {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 18px 25px;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: lightslategray;
    color: #fff;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-section .accordion-body {
    padding: 25px;
    background-color: #fff;
    color: #0e289c;
    border-top: 1px solid #0e289c;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .review-content,
    .faq-section .accordion-body {
        padding: 20px 15px;
    }

    .review-title,
    .faq-title {
        padding: 15px;
    }
}
@media (max-width: 576px) {
    .feature-card{
    padding: 10px;
    height: auto;
}
.feature-icon {
    width: 35px;
    height: 35px;
}
.feature-title {
        font-size: 9px !important;
    }
}

/* Most Searched Tests Section */

.search-heading {
    text-align: center;
    margin-bottom: 40px;
}

.search-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.test-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(203, 203, 203, 0.5);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(203, 203, 203, 0.7);
}

.test-name {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: left;
}

.test-name a {
    color: #333;
    text-decoration: none;
}

.test-name a:hover {
    color: var(--primary-blue);
}

.test-parameters {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    text-align: left;
}

.parameter-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

.parameter-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}

.test-price {
    margin-bottom: 20px;
    text-align: left;
}

.test-price .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.test-price .current-price {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.test-features {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-item i {
    color: #66BB6A;
    font-size: 16px;
}

.feature-item span {
    font-size: 15px;
    color: #66BB6A;
    font-weight: 500;
}

.book-now-btn {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background: #0920a0;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .test-card {
        padding: 20px;
    }

    .search-title {
        font-size: 24px;
    }
}

/* Category Link Hover Effect */
.info-value a {
    transition: all 0.3s ease;
}

.info-value a:hover {
    color: #0a237a !important;
    text-decoration: underline !important;
}

/* Review Notification Styling */
.review-notification {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: slideDown 0.3s ease-out;
}

.review-notification i {
    font-size: 20px;
}

.review-notification.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.review-notification.alert-success i {
    color: #28a745;
}

.review-notification.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.review-notification.alert-danger i {
    color: #dc3545;
}

.review-notification .btn-close {
    margin-left: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Review Items Styling */
.reviews-list {
    margin-bottom: 30px;
}

.reviews-summary {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reviews-summary h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-value {
    font-size: 24px;
    font-weight: bold;
    color: #0b2baa;
}

.review-item {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.review-header strong {
    color: #333;
    font-size: 16px;
}

.review-date {
    font-size: 14px;
}

.review-rating {
    margin-bottom: 10px;
}

.review-rating i {
    font-size: 16px;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

.no-reviews-text {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}
 @media (max-width: 768px) {
    .add-to-cart-button{
        width: 100%;
    }
    .product-banner {
        padding: 20px 0 !important;   
}
.accordion-title,.accordion-button,.overview-title,.faq-title,.review-title{
        font-size: 16px !important;
        padding: 10px 15px !important;
    }
    .accordion-header .accordion-button{
        font-size: 14px !important;
    }
 }
 @media (max-width: 500px) {
    .detail-row:first-child{
        flex-direction: column;
    }
 }
 @media (max-width: 415px) {
             .product-name {
                font-size: 22px !important;
             }
        }