/* CSS for this specific page */

.hero-section {
    padding: 19rem 0 !important;
/*    padding-top: 19rem !important;*/
}

.testing-section {
    background-color: #2c2c2c;
    padding: 80px 0;
    margin-bottom: -1.5rem;
}

.testing-section h3,
.testing-section h4,
.testing-section p {
    color: #fff;
}

.testing-section .small-img {
    max-width: 85%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.testing-section .small-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.testing-section h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
}

.btn-learn {
    background-color: #00877f; /* teal */
    color: #ffffff; /* white text */
    border: 2px solid #00877f; /* matching border */
    font-size: 1.1rem; /* slightly larger text */
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem; /* spacing between text & icon */
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-learn i {
        transition: transform 0.25s ease;
    }

    .btn-learn:hover {
        background-color: #00bba9; /* brighter teal on hover */
        color: #fff;
        transform: translateY(-2px); /* subtle lift */
        box-shadow: 0 4px 12px rgba(0, 187, 169, 0.4);
    }

        .btn-learn:hover i {
            transform: translateX(3px); /* arrow moves slightly */
        }



.testing-description {
    padding-bottom: 5rem;
    padding-left: 1rem !important;
}

.testing-description h3 {
    font-size: 2.5rem;
    font-weight: 600;
}

.btn-inquire {
    background-color: #28a745;
    color: #fff;
    border: 2px solid #28a745;
    font-size: 1rem;
    padding: 0.5rem 1rem; /* More balanced padding */
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Slightly more space */
    text-decoration: none;
    transition: all 0.3s ease;
    /* Ensure consistent spacing */
    box-sizing: border-box;
}

    .btn-inquire:hover {
        background-color: #2ecc71; /* lighter/brighter green on hover */
        color: #fff;
        transform: translateY(-2px); /* subtle lift */
        box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
    }


.testing-description .small-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ddd;
}

.testing-card {
    background: transparent;
    transition: all 0.3s ease;
}

.testing-card:hover {
    transform: translateY(-4px);
}

/* Section headings */
.section h2,
.section h3 {
    font-weight: 600;
    color: #a7d7c5;
    /* soft mint/teal - better than too bright */
}

/* Section paragraphs */
.section p,
.section .lead {
    color: #cfd8d5;
    /* lighter gray for good contrast on dark bg */
    font-size: 1.125rem;
    line-height: 1.6;
    padding-bottom: 3rem;
}



@media (max-width: 767px) {
    .testing-description {
        text-align: left;
        margin-left: 0rem !important;
        margin-right: 2.9rem;
    }

    .testing-description h3 {
        font-size: 1.5rem;
    }

    .testing-section {
        padding-bottom: 2rem;
        margin-bottom: -2rem !important;
        padding-top: 5rem !important;
    }


}