/********** Template CSS **********/
:root {
    --primary: #0098da;
    --secondary: #000000;
    --light: #000000;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



.carousel-item
{
    height:auto;
}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}


#text-slide1
{
    display:inline-block; position:absolute; top:15%; left:15%;
}


#text-slide2
{
    display:inline-block; position:absolute; top:1%; left:18%;

}


#text-slide1 p
{
    font-weight:bold;
    font-size:40px;
    text-align:center;
}

#text-slide1 font
{
     display:block; display:none;
}



#text-slide2 p
{
    font-weight:bold;
    font-size:40px;
    text-align:center;
}

#text-slide2 font
{
     display:block; display:none;
}



@media (max-width: 768px) {
 #text-slide1
{
    display:block; position:absolute; top:15%; left:0%;
}


#text-slide2
{
    display:block; position:absolute; top:1%; left:0%;

}
#text-slide1
{
    display:block; 
}
    #text-slide1 p
{
   display:block; display:none;
    font-weight:bold;
    font-size:40px;
    text-align:center;
}

#text-slide2
{
    display:block; 
}
    #text-slide2 p
{
   display:block; display:none;
    font-weight:bold;
    font-size:40px;
    text-align:center;
}



#text-slide1 font
{
     
     display:block;
    font-weight:bold;
    font-size:20px;
    text-align:center;
}

#text-slide2 font
{
     display:block; 
    font-weight:bold;
    font-size:20px;
    text-align:center;
}

    
     .carousel-item
        {
                 height:250px;
        }


    #header-carousel .carousel-item {
        position: relative;
        min-height: 250px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        
    }
    
            .carousel-control-prev,
        .carousel-control-next {
            width: 10%;
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            position:absolute;
            bottom:500px;
            width: 2rem;
            height: 2rem;
            border-radius: 3rem;
            background-color: var(--primary);
            border: 10px solid var(--primary);
        }
}

.page-header {
    background: url(../img/banner.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    font-size:30px;

}


.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}





/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/

#main-product-box
{
    background:var(--primary);
    width:30%;

}
.team-item {
    position: relative;
    text-align: center;
    height:auto;
}

.team-item img
{
    margin-top:10%;
    height:auto;
    width:100%;

}

#image-dif
{
    background:var(--primary);
    width:30%;
}
#image-dif img
{
    display:block;
    margin-top:60px;


}

#image-dif-1
{
    background:var(--primary);
    width:30%;
}
#image-dif-1 img
{
    display:block;
    margin-top:50px;

}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100%;
    height: 300px;
    
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width:100%;
    height:100%;
    
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;

}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer  div div p{color:white;}

#social-buttion
{
    background:white;
    border:1px solid var(--primary);
}

#social-buttion i
{
   color:var(--primary);
}

#social-buttion:hover
{
    background:var(--secondary);
    border:1px solid var(--secondary);
}
#social-buttion i:hover
{
    color:white;
}



.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}



/* our code */

#p-name:hover
{
    color: var(--primary);
}


#back-to-top-cuatom i
{
    color:white;
}



#back-to-top-cuatom:hover
{
    background:var(--secondary);
}


/* slider about */
.new-other-title
{
    background-image:url('../img/about-slide.jpg');
     background-size:100% 100%;
     height:300PX;
    background-repeat:no-repeat;
}

.new-medicine-title
{
     background-image:url('../img/medicine-bg.jpg');
     background-size:100% auto;
     height:auto;
    background-repeat:no-repeat;
}

.new-nutracutical-title
{
     background-image:url('../img/nutraceutical-bg.jpg');
     background-size:100% auto;
     height:auto;
    background-repeat:no-repeat;
}

.new-surgical-title
{
    background-image:url('../img/surgical-bg.jpg');
     background-size:100% auto;
     height:auto;
    background-repeat:no-repeat;
}
}
.new-global-title
{
    background-image:url('../img/global-slide.jpg');
    background-size:100% auto;
    height:300PX;
    background-repeat:no-repeat;
}

.new-contact-title
{
    background-image:url('../img/CONTACT_US.jpg');
     background-size:100% auto;
     height:300PX;
    background-repeat:no-repeat;
}


.new-products-title
{
    background-image:url('../img/products-banner.jpg');
     background-size:100% auto;
     height:300PX;
    background-repeat:no-repeat;
}


@media (max-width: 768px) 
{
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }
        #image-dif
    {
        background:var(--primary);
        width:94%;
    }

    #main-product-box
    {
        display:inline-block;
        background:var(--primary);
        width:94%;
    
    }

    .team-item img
    {
        display:inline-block;
        margin-top:0%;
        height:auto;
        width:100%;

    }
    .new-other-title
    {
        display:block;
        background-image:url('../img/about-slide1.jpg');
        background-size:100% 80%;
        background-repeat:no-repeat;
        height:250PX;
    }

    .new-global-title
    {
        display:block;
        background-image:url('../img/global-slide.jpg');
        background-size:100% 80%;
        background-repeat:no-repeat;
        height:250PX;
    }
    .new-contact-title
    {
       display:block;
       background-image:url('../img/CONTACT_US.jpg');
       background-size:100% 80%;
       background-repeat:no-repeat;
       height:250PX;
    }


    .new-products-title
    {
       display:block;
       background-image:url('../img/products-banner.jpg');
       background-size:100% 80%;
       background-repeat:no-repeat;
       height:250PX;
    }

    #vision-center
        {
            display:inline-block;
            position:relative;
            left:125px;
        }

   
       

   
}


#vision-cente
{
    position:relative;
    left:35%;
}



/* General Table Styling */
#medicines-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Table Header */
#medicines-table thead {
    background-color:#0098da;
    color: white;
    text-align: left;
    font-size: 16px;
}

#medicines-table th, #medicines-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

#medicines-table th {
    text-transform: uppercase;
}

/* Table Body */
#medicines-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#medicines-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 992px) { /* Tablets */
    #medicines-table {
        font-size: 14px;
    }

    #medicines-table th, #medicines-table td {
        padding: 10px;
    }
}

@media (max-width: 768px) { /* Mobile */
    #table-container {
        width: 100%;
        overflow-x: auto;
    }

    #medicines-table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    #medicines-table thead {
        display: none; /* Hide table headers */
    }

    #medicines-table tbody, #medicines-table tr {
        display: block;
        width: 100%;
    }

    #medicines-table tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    #medicines-table td {
        display: flex;
        justify-content: space-between;
        text-align: left;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    #medicines-table td:last-child {
        border-bottom: none;
    }

    /* Add pseudo-element for table headers */
    #medicines-table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        color: #007bff;
    }
}

 


