/* Use Poppins for headings */
h1,
h2,
h3,
.section-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #1a1a1a;

}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    border-left: 5px solid #22c55e;
    /* green accent */
}


.carousel-caption h5 {
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
    /* your brand green */
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    /* improves visibility on image */
}

.carousel-caption p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

.carousel-item {
    background-color: #000;
    /* یا rgba(0, 0, 0, 0.8) برای شفافیت */
}

/* --- Carousel indicators (dots) --- */
.carousel-indicators {
    bottom: 25px;
    /* pull them up from the edge */
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #104f91;
    /* inactive dot */
    transition: background-color .3s, transform .3s;
}

.carousel-indicators .active {
    background-color: #22c55e;
    /* your brand green */
    transform: scale(1.15);
    /* subtle zoom */
}

@media (max-width: 991.98px) {
    .carousel-caption {
        display: none;
    }

    #carousel-indicators {
        display: none;
    }
}

.swiper-slide {
    box-sizing: border-box;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;

}

.swiper.ISO-slider {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    /* Ensures overflow doesn't break layout */
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

.about-us-section {
    background-color: #f9fdf9;
}

.section-title span {
    color: #28a745;
    font-weight: 700;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 128, 0, 0.1);
}

.icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 15px;
}

.contact-right-box-info {
    margin-top: 60px;
}

/* Sidebar categories */
.category-sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    height: 100%;
    position: sticky;
    top: 20px;
    text-align: left;
}

.category-sidebar h4 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #22c55e;
    padding-bottom: 0.5rem;
    color: #22c55e;
}

.category-list>li {
    font-family: "Roboto", sans-serif;
    list-style: none;
    margin-bottom: 0.8rem;
    cursor: default;
    /* تغییر به default برای جلوگیری از کلیک روی لی */
    user-select: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    position: relative;
}

.category-list>li a {
    color: #333;
    text-decoration: none;
    flex-grow: 1;
}

.category-list>li:hover {
    background-color: #e7f1ff;
    color: #22c55e;
}

.category-list>li .arrow {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-left: 8px;
    user-select: none;
}

.subcategory-list {
    font-family: "Roboto", sans-serif;
    margin-top: 0.5rem;
    margin-left: 1.2rem;
    list-style: none;
    padding-left: 0;
    color: #555;
    font-weight: 500;
    display: none;
}

.subcategory-list li {
    font-family: "Roboto", sans-serif;
    margin-bottom: 0.5rem;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.subcategory-list li a {
    color: #555;
    flex-grow: 1;
    text-decoration: none;

}

.subcategory-list li:hover {
    background-color: #dbe9ff;
    color: #22c55e;
}


.footer-social-icon a i {
    color: #ffffff;
    /* or use your green: #22c55e */
    font-size: 20px;
    transition: color 0.3s;
    margin: 0 5px;
}

.footer-social-icon a:hover i {
    color: #22c55e !important;
    /* success green */
}

.footer-area h4 {
    color: #ffffff !important;
}

/* product */
.product-info-list li {
    padding: 2px 0;
}

.price {
    font-weight: 600;
    color: #28a745;
    font-size: 16px;
}

.old-price {
    color: #999;
    font-size: 14px;
}

.ul-single-product {
    list-style: none;
    font-size: 14px;
    color: #555;
}

/* product detials */
@media (max-width: 768px) {

    .slider-img,
    .carousel-inner {
        height: 250px;
    }

}

.s_product_text {
    margin-top: 0 !important;
}

table.dataTable {
    width: 100% !important;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

/* contact style */
.contact-section {
    background: #fff !important;
    padding: 60px 0 !important;
}

.contact-title {
    margin-bottom: 30px !important;
    font-weight: 600 !important;
    color: #34495e !important;
}

.contact-textarea {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 15px !important;
    font-size: 1rem !important;
    resize: none !important;
}

.contact-name {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 12px !important;
    font-size: 1rem !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 10px !important;
    font-size: 1rem !important;
    height: auto !important;
    width: 100%;
}

.contact-email {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 12px !important;
    font-size: 1rem !important;
}

.contact-subject {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 12px !important;
    font-size: 1rem !important;
}

.contact-button {
    background-color: #27ae60;
    border: none;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* product slider */
.swiper.product-slider {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    /* Ensures overflow doesn't break layout */
}

/* category style */
.category-card {
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.category-card:hover {
    transform: scale(1.02) !important;
}

.category-card img {
    transition: transform 0.5s ease !important;
}

.category-card:hover img {
    transform: scale(1.1) !important;
}

.category-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

.category-card:hover .category-overlay {
    opacity: 1 !important;
}

.category-name {
    position: relative !important;
    z-index: 2 !important;
    font-size: 1rem !important;
    border-top: 1px solid #dee2e6 !important;
}


/* product card style */
.banner {
    position: relative;
    background: url('../img/contact_us.jpg') no-repeat center center;
    background-size: cover;
    height: 200px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    object-fit: cover !important;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.30);
}

.equipment-banner-inner img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.equipment-banner-inner {
    position: relative;
}

.equipment-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.10);
}



/* about banner style */

.about_banner_inner {
    position: relative;
    background-size: cover;
    height: 200px;
    width: auto;
    align-items: center;
}

.about_banner_inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.30);
}

.about_banner h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff !important;
}

.about_banner p {
    font-size: 18px;
    color: #f0f0f0;
}



@media (max-width: 768px) {
    .about_banner_content .row {
        flex-direction: column;
        text-align: center;
    }

    .about_banner a {
        display: inline-block;
        margin: 5px 10px;
    }
}

/* end about banner */
span.select2-selection.select2-selection--single {
    background: none !important;
}

/* contact banner */
.common-banner {
    position: relative;
}

.common-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;

}

.common-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.30); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertically center */
    align-items: center;
    /* horizontally center */
    padding: 20px;
    /* equal padding all sides */
    text-align: center;
}

.common-banner-content h1,
.common-banner-content p {
    color: #fff;
    /* ensure white text */
    margin: 0;
    /* reset default margin */
    padding: 5px 0;
    /* equal top/bottom spacing */
}


.section_gap_bottom_custom {
    padding-bottom: 0 !important;
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.banner h1 {
    font-weight: 700;
    font-size: 2.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.banner p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-title {
    font-weight: 600;
    color: #28a745;
}

.product-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.product-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.product-info {
    padding: 1.2rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.product-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.6rem;
}

.badge-custom {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.btn-view {
    font-size: 0.85rem;
    border-radius: 50px;
    padding: 6px 16px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    transform: scale(1.05);
}

/* start rapid-test-banner */
.rapid-test-banner {
    /* background: linear-gradient(135deg, var(--primary-dark-darker), var(--primary-dark-darker)); */
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 20rem;
}

.rapid-test-banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Equivalent to background-size: cover */
    object-position: center center;
    /* Equivalent to background-position: center center */
    /* opacity: 0.15; */
    z-index: 0;
    /* Ensure it stays behind content */
    pointer-events: none;
    /* Makes it non-interactive like a pseudo-element */
}

.rapid-test-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../img/about_us/about-us-1.webp') no-repeat center center/cover; */
    /* opacity: 0.15; */
}

.rapid-test-banner h1 {
    /* font-size: 2.5rem; */
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    color: var(--secondary-dark);
    padding: 6px 1px;
}

.rapid-test-banner p {
    font-size: 1.5rem;
    /* max-width: 800px; */
    /* margin: 0 auto 30px; */
    position: relative;
    color: var(--dark);
}

/* equipment */

.equipment-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    height: auto;
}

.equipment-banner img {
    width: 100% !important;
    height: 100%;
    /* Adjust height automatically */
    object-fit: contain;
    display: block;

}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0 20px;
    max-width: 700px;
    pointer-events: none;
}

.banner-text-rapid-infec {
    position: absolute;
    top: 50%;
    left: 27%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    max-width: 700px;
    pointer-events: none;
}

.banner-text-rapid-women {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    max-width: 700px;
    pointer-events: none;
}

.banner-text-rapid-infec h1,
.banner-text-rapid-women h1 {
    color: #fff;

}

.banner-text h1 {
    margin: 0;
    font-size: 2.5rem;
}

@media (max-width: 992px) {

    .equipment-banner {
        height: auto;
    }

    .banner-text h1 {
        font-size: 0.7rem !important;
    }

    .banner-text-rapid-infec h1,
    .banner-text-rapid-women h1 {
        font-size: 0.7rem !important;
    }



}

/* .jasmic{

    text-align: center;
    font-size: 2.2rem;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
    color: var(--secondary-dark) !important;
    padding: 6px 1px;
    max-width: 80%;
} */




.equipment-banner p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    color: var(--light);
}

.hero .tagline {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* .subcategories-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 128, 0, 0.6);
    z-index: 1;
}

.subcategories-banner .content {
    position: relative;
    z-index: 2;
} */

.subcategory-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 5px;
    overflow: hidden;
}

.subcategory-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0, 128, 0, 0.3);
}

.subcategory-card img {
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #28a745;
    /* Bootstrap green */
}

/* rapid test product design  */
.rapid-test-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 2px;
    overflow: hidden;
}

.rapid-test-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0, 128, 0, 0.3);
}

.rapid-test-product-card img {
    width: 25%;
    object-fit: cover;
    border-bottom: 3px solid #28a745;
}

.product-details-banner {
    position: relative;
    background: url('../img/product-banner.jpg') no-repeat center center;
    background-size: cover;
    height: 200px;
}

.product-banner .overlay,
.product-details-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 128, 0, 0.6);
    z-index: 1;
}

.product-banner .content,
.product-details-banner .content {
    position: relative;
    z-index: 2;
}

/* .page-title {
    /* margin-top: 40px !important; */
/* }  */

/* title underline */
.title-underline {
    width: 100px;
    height: 2px;
    background-color: #28a745;
    margin-bottom: 14px;
    border-radius: 2px;
    display: inline-block;
}

.main_title {
    margin: 0 !important;
}

/* custom breadcrumb */
.custom-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #6b7280;
    /* Gray-500 */
    gap: 0.5rem;
}

.custom-breadcrumb a {
    color: #3b82f6;
    /* Blue-500 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: #1d4ed8;
    /* Blue-700 */
}

.custom-breadcrumb .separator {
    color: #9ca3af;
    /* Gray-400 */
    margin: 0 0.3rem;
}

.custom-breadcrumb .active {
    color: #111827;
    /* Gray-900 */
    font-weight: 600;
}

.section-margin {
    margin-top: 150px;
}

#slider-bg {
    position: relative;
    background: url('../img/slider-bg-5.jpg') no-repeat center center;
    background-size: cover;

    min-height: 1000px;

}

.hero-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.badge-custom {
    background: #28a745;
    color: #fff;
}

.leb-equi-long-text {
    color: #333 !important;
}

.rpt_table_color {
    color: #333;
}

/* equipment subcategory1 */
.sub-category-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #28a745;
    font-weight: 700;
}

.sub-category-equipment-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.sub-category-equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.sub-category-equipment-image-wrapper {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.sub-category-equipment-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.sub-category-equipment-card:hover .equipment-image {
    transform: scale(1.05);
}

.sub-category-equipment-name {
    padding: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
}

@media (max-width: 576px) {
    .sub-category-equipment-name {
        font-size: 16px;
        padding: 14px;
    }
}

/* end syle equipment subcategory1  */
/* start equipment details slider */
.carousel-equipment-inner img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background-color: #fff;


}

.thumb-equipment-slider {
    margin-top: 15px;

}

.thumb-equipment-slider img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    margin-right: 8px;
}

.thumb-equipment-slider img.active,
.thumb-equipment-slider img:hover {
    border-color: #28a745;
}

.equipment-carousel-control-prev-icon,
.equipment-carousel-control-next-icon {
    background-image: none;
    color: black;
    /* not applied to image, only for fallback text */
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    /* optional background */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.equipment-carousel-control-prev-icon::before {
    content: '\2039';
    /* Unicode for left arrow */
    font-size: 30px;
    color: black;
}

.equipment-carousel-control-next-icon::before {
    content: '\203A';
    /* Unicode for right arrow */
    font-size: 30px;
    color: black;
}

/* End style equipment details slider */
/* container full description style */
.marginTop {
    margin-top: 80px !important;
}

/* end container full description */
.object-fit-contain {
    object-fit: contain;
}

#hometestkits-table td {
    text-align: center;
    vertical-align: middle;
    border: 3px solid #92cde7
}

#hometestkits-table th {
    text-align: center;
    vertical-align: middle;
    background-color: #0067b2;
    border: 3px solid #92cde7;
    color: #fff;
}

.test-kit-card-header {
    background-color: #0e4d92;
    border-top-right-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
}

/* start dropdown menu for header */
/* --- Base Dropdown Style --- */
.custom-navbar .navbar-nav>.dropdown>.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 1000;
}

.custom-navbar .navbar-nav>.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- Submenu Container --- */
.custom-navbar .dropdown-submenu {
    position: relative;
    top: -50% !important;
}

/* --- Submenu Design & Animation --- */
.custom-navbar .dropdown-submenu>.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);

}

/* --- Show submenu on hover --- */
.custom-navbar .dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* --- Dropdown Link Style --- */
.custom-navbar .dropdown-menu a.dropdown-item {
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* --- Hover Effects --- */
.custom-navbar .dropdown-menu a.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #28a745;
}

/* --- Hide Bootstrap Caret --- */
.custom-navbar .dropdown-toggle::after {
    display: none !important;
}

/* --- Custom Icon Position (Optional) --- */
.custom-navbar .nav-link i {
    margin-left: 6px;
    font-size: 12px;
}

/* Optional: Active dropdown item */
.custom-navbar .dropdown-menu .dropdown-item.active,
.custom-navbar .dropdown-menu .dropdown-item:active {
    background-color: #e6ffe6;
    color: #28a745;
    font-weight: bold;
}


/* end deopdown menue for header */


/* .equiment-banner{
        background-image: url('../img/equipment-lab.png');
        background-repeat: no-repeat;
        background-size: cover;
        height: 200px;
    } */
.flag-icon {
    display: inline-block !important;
    width: 1.333333em !important;
    height: 1em !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid red;
}

/* fix the pagination */
nav.d-flex.justify-items-center.justify-content-between {
    width: 100%;
}

div.d-none.flex-sm-fill.d-sm-flex.align-items-sm-center.justify-content-sm-between {
    justify-content: center !important;
}



/* tiny text editor style */
.leb-equi-long-text ul,
.leb-equi-long-text ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1rem;
}

.leb-equi-long-text ul {
    list-style-type: disc !important;
}

.leb-equi-long-text ol {
    list-style-type: decimal !important;
}

.leb-equi-long-text li {
    margin-bottom: 0.5rem;
}

/* Indented blocks via blockquote or inline styles */
.leb-equi-long-text blockquote,
.leb-equi-long-text .mce-content-body blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #555;
    font-style: italic;
}

/* Support for inline margin or padding from TinyMCE */
.leb-equi-long-text [style*="margin-left"],
.leb-equi-long-text [style*="padding-left"] {
    display: block;
}

/* Optional: fix TinyMCE spacing */
.leb-equi-long-text p {
    margin-bottom: 1rem;
}

.about_us_content {
    position: relative;
    overflow: hidden;
}

.about_us_content img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 800px;
    border: 1px solid #5eff00;
    padding: 10px;
}

.about_us_content_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease-in-out;
}

.about_us_paragraph {
    padding: 0 5%;
    color: #000 !important;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .about_us_content_overlay {
        position: static !important;
        background-color: #fff;
        padding: 1rem;
    }

    .about_us_content img {
        max-height: none;
    }
}


.key-values {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* cursor: pointer; */
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* Spacing between cards */
}

/* Hover effects common to all cards */
.key-values:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.key-values:hover .card-title,
.key-values:hover .card-text {
    color: white !important;
}

/* Set the text to appear above the background */
.card-title,
.card-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* Background overlay for hover effect */
.key-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 12px;
}

.key-values:hover::before {
    opacity: 1;
}

/* Different gradient backgrounds for each card */
/* You can reorder these as needed or add more */
.key-0:hover::before {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #001676 0%, #2630be 100%);
}

.key-1:hover::before {
    /* background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); */
    background: linear-gradient(135deg, #660071 0%, oklch(54.596% 0.22574 350.158) 100%);
}

.key-2:hover::before {
    background: linear-gradient(135deg, #001841 0%, #023db4 100%);
}

.key-3:hover::before {
    background: linear-gradient(135deg, #783b01 0%, #ab681b 100%);
}

.key-4:hover::before {
    background: linear-gradient(135deg, #113700 0%, #12a408 100%);
}

.key-5:hover::before {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.key-6:hover::before {
    background: linear-gradient(135deg, #845fdc 0%, #f19bd9 100%);
}

.key-values-titles {
    border: #008435 solid 4px;
    border-radius: 11%;
    border-style: solid;
}

/* start zoom box style */
.zoom-box {
    overflow: hidden;
}

.zoom-box img {
    transition: transform 0.2s ease;
    transform-origin: center center;
}

/* start banner styles */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #eee;
}

.banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.banner-wrapper .container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;

}



.banner-wrapper h1 {
    font-size: 32px;
    color: #fff;
    margin: 0;
}

.banner-header-center {
    justify-content: center;
}

.banner-header-center h1 {
    color: #2c3e50;
    font-size: 2.5rem !important;
}

/* banner style */

/* home style for mobile */
@media (max-width: 576px) {
    #home-category {
        margin-top: -60px !important;
    }
}

/*start rapid test color code  */
.infectious_disease {
    background-color: #00b2d8 !important;
}

.human_health {
    background-color: #81439c !important;
}

.drugs_of_abuse {
    background-color: #ee7a22;
}

.cardiac_marker {
    background-color: #e33950;
}

.tumor_markers {
    background-color: #5d8e44 !important;
}

#secondary-color {
    color: var(--secondary-dark) !important;
    text-shadow: none !important;
}

/* End rapid test color code */
@media(max-width:576px) {
    #breadCrumn-mt {
        margin-top: 5px !important;
    }

    #rapid-test-subcategory-mobile {
        margin-top: 15px !important;
    }

    #rapid-test-product-mt-mobile {
        margin-top: 10px !important;
    }

    #equipment-subcategory-mt-mobile {
        margin-top: -45px !important;
    }

    #equipment-product-mt-mobile {
        margin-top: -30px !important;
        padding: 0 !important;
    }

    #equipment-m-mobile {
        margin-bottom: 0 !important;
    }

    .hero-section {
        padding: 0 !important;
    }

    .page-title {
        margin-top: 15px !important;
    }

    .about-section {
        padding: 0 0 !important;
        margin-top: 30px !important;
    }

    #product-found-mobile {
        margin: 0 !important;
        padding: 0 !important;
    }

    #page-title {
        margin-top: 10px !important;
    }
}



/* End zoom box style */
#near {
    margin-top: -40%;
    margin-right: -15%;
}

#product-dropdown-menu {
    margin-top: -20%;
}

@media (max-width: 767.98px) {
    .banner-header-left {
        justify-content: center;
    }

    .banner-header-left h1 {
        font-size: 24px;
    }

    .banner-header-center h1 {
        font-size: 24px !important;

    }

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