/********** Template CSS **********/
:root {
    --primary: #b22234;
    --secondary: #999999;
    --light: #F2F8FE;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}




.hourglass-animate {
    background: linear-gradient(45deg, #0d6efd, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Rotation animation */
@keyframes hourglassFlip {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    90% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pulse animation */
@keyframes hourglassPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}




.machine-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

    .machine-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

    .machine-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .machine-card ul {
        padding-left: 18px;
        margin-bottom: 0;
    }

        .machine-card ul li {
            font-size: 14px;
            margin-bottom: 6px;
        }

/* Timeline container */
.why-timeline {
    position: relative;
    padding-left: 40px;
}

    /* Vertical line */
    .why-timeline::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 0;
        width: 2px;
        height: 100%;
        background: #0d6efd;
        opacity: 0.2;
    }

/* Timeline item */
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

/* Dot */
.timeline-dot {
    position: absolute;
    left: 7px;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* Accordion polish */
.accordion-button {
    font-weight: 600;
}

.accordion-body {
    animation: fadeSlide 0.5s ease;
    line-height: 1.6;
    font-size: 0.95rem;
}




/* =========================================
   INFO SLIDER – PREMIUM MEDICAL STYLE
========================================= */

#infoSlider {
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    border-bottom: 1px solid #eaeaea;
}

    /* Slide spacing */
    #infoSlider .carousel-item {
        padding: 70px 0;
    }

    /* Text block */
    #infoSlider .slider-text {
        padding: 30px 35px;
        animation: slideTextIn 0.9s ease both;
    }

        #infoSlider .slider-text h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        #infoSlider .slider-text h5 {
            font-size: 1.1rem;
            letter-spacing: 0.3px;
        }

        #infoSlider .slider-text p {
            font-size: 1rem;
            color: #555;
            line-height: 1.8;
        }

    /* Image card */
    #infoSlider .slider-img {
        padding: 22px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
        animation: slideImageUp 1s ease both;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

/* Image hover lift */
@media (hover: hover) {
    #infoSlider .slider-img:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.15);
    }
}

/* Indicators */
#infoSlider .carousel-indicators {
    bottom: 18px;
}

    #infoSlider .carousel-indicators button {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background-color: #ced4da;
        opacity: 1;
    }

    #infoSlider .carousel-indicators .active {
        background-color: #0d6efd;
    }

/* Arrows */
#infoSlider .carousel-control-prev,
#infoSlider .carousel-control-next {
    width: 6%;
}

#infoSlider .carousel-control-prev-icon,
#infoSlider .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(13, 110, 253, 0.95);
    border-radius: 50%;
    background-size: 55%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

#infoSlider .carousel-control-prev:hover .carousel-control-prev-icon,
#infoSlider .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
}

/* Animations */
@keyframes slideTextIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideImageUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimization */
@media (max-width: 991px) {

    #infoSlider .slider-text {
        text-align: center;
        padding: 20px;
    }

    #infoSlider .slider-img {
        margin-top: 25px;
    }

    #infoSlider .carousel-item {
        padding: 45px 0;
    }
}






















/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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 bottom shadow */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1030; /* ensures it stays above slider */
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
   /* height: 75px;*/
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    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;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}


/*** Roadmap ***/
.roadmap-carousel {
    position: relative;
}

.roadmap-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item .roadmap-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-carousel .roadmap-item .roadmap-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.roadmap-carousel .roadmap-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.roadmap-carousel .roadmap-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

.roadmap-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.roadmap-carousel .owl-nav .owl-prev,
.roadmap-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.roadmap-carousel .owl-nav .owl-prev:hover,
.roadmap-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .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 .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 4px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    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;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: var(--dark);
}