.text-justify {
    text-align: justify;
}

.key-about {
    background-color: #fff2f5;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    /* font-family: "Lora", serif; */
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    border: 1px solid #cd304f;
}

.key-about:hover {
    transform: translateY(-5px);
}

.key-about h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #cd304f;
    padding-bottom: 5px;
    font-family: "Lora", serif;
}

.key-links {
    background-color: #fff2f5;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    border: 1px solid #cd304f;
}

.key-links:hover {
    transform: translateY(-5px);
}

.key-links h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #cd304f;
    padding-bottom: 5px;
    font-family: "Lora", serif;
}

.key-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-links ul li {
    margin: 0px 0;
}

.key-links ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.key-links ul li a:hover {
    background-color: #cd304f;
    color: #ffffff;
    transform: translateX(5px);
}

.key-contact {
    background-color: #fff2f5;
    /* soft background */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-width: 300px;
    font-family: 'Arial', sans-serif;
    transition: transform 0.3s;
    border: 1px solid #cd304f;
}

.key-contact:hover {
    transform: translateY(-5px);
}

.key-contact h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #cd304f;
    padding-bottom: 5px;
    font-family: "Lora", serif;
}

.key-contact p a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.key-baner-div {
    width: 100%;
    height: 340px;
    margin-bottom: 30px;
}

.key-baner-div img {
    width: 100%;
    height: 340px;
    /* margin-bottom: 30px; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.main-heading {
    font-size: 28px !important;
}

.box-head {
    font-size: 22px !important;
}

.list-box {
    list-style: none;
    padding-left: 0rem;
}

.list-box li i {
    margin-right: 5px;
    color: #cd304f;
    font-size: 12px;
}

.list-arrow {
    list-style: none;
    padding-left: 0rem;

}

.list-arrow li i {
    margin-right: 5px;
    color: #cd304f;
    /* font-size: 12px; */
}

.list-h {
    line-height: 2;
}



.features-section {
    padding: 70px 20px;
    background: #f9fbfd;
    font-family: "Poppins", sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.feat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.feat-card .icon {
    font-size: 42px;
    margin-bottom: 15px;
    display: inline-block;
}

.feat-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2c38;
    margin-bottom: 10px;
}







/* Why choose css start */
.who-we-serve {
    padding: 60px 20px;
    /* background: #f8fafc; */
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background: #cd304f;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #fff2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon i {
    font-size: 28px;
    color: #cd304f;
}

.service-card p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
}

/* Why choose end */



.cards-section {
    width: 100%;
    /* max-width: 1200px; */
    text-align: center;
    background: #fff2f5;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgb(255 255 255);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card.active {
    border: 2px solid #00e5ff;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #cd304f !important;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    color: rgb(0, 0, 0);
}


/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* .faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #222;
} */

/* FAQ Item */
.faq-item {
    border-radius: 10px;
    margin-bottom: 15px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Question */
.faq-question {
    padding: 18px 22px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f9f9f9;
}

/* Icon */
.faq-question span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
}

.faq-answer p {
    padding: 18px 22px;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* Testimonial css */
.testimonial-section {
    /* background: #f9f9f9; */
    background-image: url(../img/background-lab.webp);
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
    /* background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
}

.hero-overly {
    position: relative;
    z-index: 1;
}

.hero-overly::before {
    position: absolute;
    content: "";
    background-color: rgb(13 35 79 / 60%);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background-repeat: no-repeat;
}


.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: bold;
    color: #111;
}

.testimonial-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-nav span {
    cursor: pointer;
    font-size: 2em;
    color: #ffffff;
    transition: color 0.3s;
}

.testimonial-nav span:hover {
    color: #8b142c;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 15px 20px;
    }

    .section-title {
        font-size: 1.6em;
    }
}

.test-monial {
    color: #ffffff;
    font-size: 35px;
}

/* Testimonial css end */


.pathology {
    height: 100%;
    width: 100%;
}
.pathology img{
    height: 340px;
    width: 100%;
}





@media (max-width: 768px) { 
    .key-about {
    max-width: 100%;
}
.key-links {
    max-width: 100%;
}
.key-contact {
    max-width: 100%;
}
.key-baner-div img {
    width: 100%;
    height: auto;
}
.key-baner-div {
    width: 100%;
    height: auto;
}
.pathology img {
    height: auto;
    width: 100%;
}


}



.body-table {
        background: #cd304f;
    color: rgb(255, 255, 255);
}