@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');



/* ============== Default Element Style ================ */
body {
    font-family: "Roboto Flex", sans-serif;
    font-size: 1rem;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: "Roboto Flex", sans-serif;
    font-size: clamp(25px, 4vw, 70px);
    font-weight: 600;
    line-height: 1.2em;
}

h2 {
    font-size: clamp(22px, 4vw, 35px);
    font-weight: 600;
    line-height: 1.1em;
    font-family: "Roboto Flex", sans-serif;
}

h3 {
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2em;
    font-weight: 600;
    font-family: "Roboto Flex", sans-serif;
}

h4 {
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.2em;
    font-weight: 600;
    font-family: "Roboto Flex", sans-serif;
}

h5 {
    font-size: clamp(18px, 2.5vw, 23px);
    line-height: 1.2em;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 600;
}

h6 {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.4em;
    font-family: "Roboto Flex", sans-serif;
}

p, a {
    font-style: normal;
    font-size: clamp(15px, 2vw, 16px);
    font-family: "Roboto Flex", sans-serif;
    color: #2F2F2F;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a, a:hover, a:focus {
    text-decoration: none !important;
}

img {
    border-style: none;
}

.padding-100 {
    padding: 120px 0px;
}

.padding-top {
    padding-top: 120px;
}

.padding-bottom {
    padding-bottom: 120px;
}

.btn-brown {
    background-color: #7f3e2a;
    color: #fff;
    padding: 14px 28px;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

    .btn-brown::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #fff;
        transition: all 0.4s ease-in-out;
        transform: translateX(-50%);
    }

    .btn-brown:hover {
        background-color: #9c5742;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(126, 62, 42, 0.3);
    }

        .btn-brown:hover::after {
            width: 80%;
        }

    .btn-brown.border-btnn {
        background-color: #fff;
        color: #884231;
        padding: 14px 28px;
        border: 1px solid #884231;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }

        .btn-brown.border-btnn::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0%;
            height: 2px;
            background-color: #884231;
            transition: all 0.4s ease-in-out;
            transform: translateX(-50%);
        }

        .btn-brown.border-btnn:hover {
            background-color: #f5f5f5;
            color: #884231;
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(136, 66, 49, 0.25);
        }

            .btn-brown.border-btnn:hover::after {
                width: 80%;
            }

@media(max-width: 1400px) and (min-width: 1200px) {
    .btn-brown, .btn-brown.border-btnn {
        padding: 14px 20px;
    }
}

@media(max-width: 1200px) and (min-width: 768px) {
    .btn-brown, .btn-brown.border-btnn {
        padding: 14px 12px;
    }
}


.text-brown {
    color: #884231;
}

.bg-brown {
    background-color: #854C3B;
}

/* header */

#header .navbar-nav .dropdown-item {
    transition: 0.3s ease-in-out !important;
}

    #header .navbar-nav .dropdown-item:hover {
        background: #7f3e2a !important;
        color: #fff !important;
    }


.top-bar {
    background: #2b2b2b;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

    .top-bar a {
        color: #fff;
        text-decoration: none;
        /* margin-left: 15px; */
    }

.navbar-brand img {
    max-height: 75px;
}

.navbar-nav .nav-link {
    color: #2F2F2F;
    font-weight: 500;
    padding: 10px 15px;
}

    .navbar-nav .nav-link:hover, #footer p a:hover, #footer a:hover {
        color: #7f3e2a !important;
    }

    .navbar-nav .nav-link.active {
        color: #a70a0a;
    }

.social-icons a {
    position: relative;
    padding: 0 12px;
    color: #fff;
    text-decoration: none;
}

    .social-icons a:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 26px;
        background-color: #fff;
    }



/*footer*/

#footer {
    background: url('../img/mercury-footer-bg.png'), url(../img/mercury-footer-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 576px) {
    .list-dot {
        list-style: disc;
    }
}

.content-shift {
    margin-left: 60px;
}


.content-shift-left {
    margin-left: -40px;
}

@media(max-width: 1200px) {
    .content-shift {
        margin-left: 0px;
    }

    .content-shift-left {
        margin-left: -50px;
    }
}

@media(max-width: 992px) {
    .content-shift-left {
        margin-left: 0px;
    }
}

.border-blacks {
    border: 1px solid #2F2F2F;
    opacity: unset !important;
}


/*home*/

.underline-heading {
    text-decoration: underline;
}


/* chaitali */
.inner-heading {
    padding-top: 70px;
    padding-bottom: 70px;
}

@media (min-width: 1400px) {
    .inner-heading {
        padding-top: 45px;
        padding-bottom: 50px;
    }
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #884231;
}

    .timeline ul li::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: inherit;
        z-index: 1;
        transition: background .5s ease-in-out
    }

    .timeline ul li div {
        position: relative;
        bottom: 0;
        width: 410px;
        padding: 15px;
        background: #fff;
        border: 1px solid #000000;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
        visibility: hidden;
        opacity: 0;
        transition: .5s ease-in-out
    }

        .timeline ul li div::before {
            content: "";
            position: absolute;
            bottom: 7px;
            width: 0;
            height: 0;
            border-style: solid;
        }

    .timeline ul li:nth-child(odd) div {
        left: 45px;
        transform: translate3d(200px,0,0)
    }

        .timeline ul li:nth-child(odd) div::before {
            left: -15px;
            border-width: 8px 14px 8px 0;
            border-color: transparent #884231 transparent transparent;
        }

    .timeline ul li:nth-child(2n) div {
        left: -439px;
        transform: translate3d(-200px,0,0)
    }

        .timeline ul li:nth-child(2n) div::before {
            right: -15px;
            border-width: 8px 0 8px 14px;
            border-color: transparent transparent transparent #884231;
        }

.time {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #884231;
}

.timeline ul li.in-view::after {
    background: #884231;
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
    text-align: justify;
    background: #FFF0E4;
    border: 1px solid #884231;
}

@media screen and (max-width:900px) {
    .timeline ul li div {
        width: 250px
    }

    .timeline ul li:nth-child(2n) div {
        left: -289px
    }
}

@media screen and (max-width:600px) {
    .timeline ul li {
        margin-left: 20px
    }

        .timeline ul li div {
            width: calc(100vw - 91px)
        }

        .timeline ul li:nth-child(2n) div {
            left: 45px
        }

            .timeline ul li:nth-child(2n) div::before {
                left: -15px;
                border-width: 8px 15px 8px 0;
                border-color: transparent #000 transparent transparent
            }
}

.timeline-clippy ul li::after {
    width: 40px;
    height: 40px;
    border-radius: 0;
}

.timeline-rhombus ul li::after {
    clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
}

.timeline-rhombus ul li div::before {
    bottom: 12px;
}

.timeline-star ul li::after {
    clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.timeline-heptagon ul li::after {
    clip-path: polygon(50% 0%,90% 20%,100% 60%,75% 100%,25% 100%,0% 60%,10% 20%);
}

.timeline-infinite ul li::after {
    animation: 4s infinite scaleAnimation;
}

@keyframes scaleAnimation {
    0%,100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.25);
    }
}

.mt_neg_loc {
    margin-top: -40px;
    margin-bottom: 30px;
}

.icon-wrapper {
    width: 24px;
    min-width: 24px;
    text-align: center;
    margin-right: 10px;
}

.box_contact {
    border: 1px solid #884231;
    padding: 45px 35px;
}

@media(max-width: 768px) {
    .box_contact {
        padding: 25px 20px;
    }
}

.form-control {
    border-radius: 0px;
}

    .form-control:focus, .form-select:focus {
        color: #854c3b;
        border-color: #854c3b;
        outline: 0;
        box-shadow: 0 0 0 .15rem #79554840;
    }

/*home*/

#hm-banner {
    background-size: cover;
    background: url(../img/hm-banner.png);
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    background-position: center;
    background-repeat: no-repeat;
}

    #hm-banner p {
        color: #fff;
    }

h2 {
    color: #884231;
}

h3 {
    color: #884231;
}

.btn-brown {
    display: inline-block;
}

.innovative-solutions-image {
    animation: rollingAnimation 60s linear infinite;
}

@keyframes rollingAnimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.category-card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    overflow: hidden;
}

.bg-blue {
    background-color: #382695;
}

.text-box.gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 135px;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    align-items: center;
    background: linear-gradient(to bottom, #00000000 0%, #000000cc 95%);
}

.category-card:hover .text-box.gradient {
    height: 100% !important;
    border-radius: 0px;
    align-items: center;
    background: linear-gradient(to bottom, #00000000 0%, #000000cc 95%);
}

.text-box.brown {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95px;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    align-items: center;
    background: #884231;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .text-box.brown {
        height: 95px;
    }
}

@media (max-width: 1399px) and (min-width: 992px) {
    .text-box.brown {
        height: 60px;
    }
}

@media (max-width: 992px) {
    .text-box.brown {
        height: 50px;
    }
}

.category-card:hover .text-box.brown {
    height: 100% !important;
    border-radius: 0px;
    align-items: center;
    background: #8842318f
}

.category-card .text-box * {
    transition: all 0.5s ease-in-out;
}

.category-card:hover .text-box * {
    padding: 0px !important
}

.category-card {
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.image-box img {
    object-fit: cover;
    width: 100%;
}

#our-products h2 {
    margin-top: 0;
    padding-top: 60px
}

/*inner pages*/

#inner-banner {
    background: url('../img/mercury-health-care-milestones.png'), url('../img/mercury-health-care-milestones.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.border-black-line {
    border: 1px solid #000000;
    padding: 12px 20px;
    height: 100%;
}

.img-top {
    margin-top: -55px;
}

#download-product-brochure {
    background: url('../img/product-feature-img.png'), url('../img/product-feature-img.webp') #F0F0F0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.style-design {
    list-style: disc;
}

@media(max-width: 992px) {
    .imgs-mercury-res {
        display: block;
        margin: auto;
        width: 435px;
    }
}

#mercury-labs-certificates .swiper-pagination {
    bottom: -6px !important;
}

#mercury-labs-certificates .swiper-pagination-bullet-active {
    background: #884231 !important;
}

.swiper-button-prev,
.swiper-button-next {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    color: transparent !important;
}

/* Left Arrow */
.custom-swiper-prev {
    background-image: url('../img/left-icon.svg');
}

/* Right Arrow */
.custom-swiper-next {
    background-image: url('../img/right-icon.svg');
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 5px) !important;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 5px) !important;
}

.bg-dark-brown {
    background: #884231;
}

.bgs-brown {
    padding: 40px 0 50px 0;
}

.img-shift-upper {
    margin-top: -50px;
}

@media(max-width: 992px) {
    .space-brown {
        margin-bottom: 70px;
    }
}

@media(max-width: 576px) {
    .space-browns {
        margin-bottom: 100px;
    }
}

.line-brown {
    border: 1px solid #884231;
    opacity: unset !important;
}


.list-style-dots {
    position: relative;
    padding-left: 20px;
}

    .list-style-dots::before {
        content: "";
        width: 7px;
        height: 7px;
        background-color: #7f3e2a;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

.bg-pink {
    background: #FFF7F1;
}

#mercury-product-detail img {
    display: block;
    margin: auto;
    object-fit: cover;
    height: 265px;
}

.dot-time {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .dot-time time::before {
        content: "\2022";
        color: #884231;
        font-size: 20px;
        line-height: 1;
        margin-right: 10px;
    }

.link-hovers:hover {
    color: #884231 !important;
}

.space_around {
    padding: 35px 10px;
}

.borders-blacks {
    border: 1px solid #000 !important;
    padding: 16px 18px;
}

.text-underline {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


.space-brown a .bg-dark-white {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 8px;
}

.space-brown a:hover .bg-dark-white {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.space-brown a .img-shift-upper {
    margin-top: -50px;
    transition: transform 0.35s ease;
}

.space-brown a:hover .img-shift-upper {
    transform: scale(1.08);
}

.space-brown a h5 {
    transition: color 0.35s ease;
}

.space-brown a:hover h5 {
    color: #5a392d;
}

.space-browns a .bg-dark-white {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 8px;
}

.space-browns a:hover .bg-dark-white {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.space-browns a .img-shift-upper {
    margin-top: -50px;
    transition: transform 0.35s ease;
}

.space-browns a:hover .img-shift-upper {
    transform: scale(1.08);
}

.space-browns a h5 {
    transition: color 0.35s ease;
}

.space-browns a:hover h5 {
    color: #5a392d;
}


#policy .dropdown-toggle, #financial-report .dropdown-toggle, #corporate-announcements .dropdown-toggle {
    width: 260px;
    background: #8b3d2b;
}

    #policy .dropdown-toggle.show, #financial-report .dropdown-toggle.show, #corporate-announcements .dropdown-toggle.show
    #policy .dropdown-toggle:hover, #financial-report .dropdown-toggle:hover, #corporate-announcements .dropdown-toggle:hover {
        background: #8b3d2b;
    }


.investor-menu {
    border: 1px solid #8b3d2b;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 276px;
}

    .investor-menu li {
        position: relative;
        list-style: none;
    }

        .investor-menu li a::before {
            content: "\2022";
            position: absolute;
            left: 0px;
            top: 50%;
            transform: translateY(-50%);
            line-height: 0;
            padding-top: 3px;
            color: #fff;
            opacity: 0;
            transition: all 0.5s ease-in-out;
        }

        .investor-menu li a {
            display: block;
            padding: 15px;
            border-top: 1px solid #8b3d2b;
            color: #8b3d2b;
            text-decoration: none;
            background-image: linear-gradient(#8b3d2b, #8b3d2b);
            background-repeat: no-repeat;
            background-size: 0% 100%;
            background-position: left;
            transition: all 0.5s ease-in-out;
        }

@media (max-width: 992px) {
    .investor-menu li a {
        padding: 6px !important;
        width: 260px;
    }

        .investor-menu li a::before {
            display: none;
        }
}

.investor-menu li a:hover,
.investor-menu li a.active {
    background-size: 100% 100%;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px inset;
    padding-left: 25px;
}

    .investor-menu li a:hover::before,
    .investor-menu li a.active::before {
        opacity: 1;
        left: 12px;
    }

.pdf-style {
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #fff;
    text-decoration: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

    .pdf-style:hover {
        transform: translateY(-5px);
        box-shadow: -6px 10px 16px rgba(0, 0, 0, 0.2);
    }

    .pdf-style .pdf-text {
        min-width: 0;
        white-space: normal;
        word-break: break-word;
    }

@media (max-width: 768px) {
    .pdf-style {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 15px;
    }

        .pdf-style .d-flex {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .pdf-style .download-icon {
            align-self: center;
        }

        .pdf-style .pdf-text {
            margin-top: 8px;
            font-size: 14px;
        }
}

.pdf-content-show .dropdown-toggle {
    width: 260px;
    background: #8b3d2b;
}

    .pdf-content-show .dropdown-toggle.show,
    .pdf-content-show .dropdown-toggle:hover {
        background: #8b3d2b;
    }


.btn-browns {
    background: #884231 !important;
    color: #fff !important;
}

.small-txt {
    font-size: 15px !important;
    color: #884231 !important;
}

.form-check-input:checked {
    background-color: #884231 !important;
    border-color: #884231 !important;
}

.styled-tables thead th {
    background: #884231 !important;
    color: #fff;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
}

.styled-tables tbody tr:nth-child(even) {
    background-color: #F1F0EF !important;
}

.styled-tables td, .styled-table th {
    border: 1px solid #d1b9b0;
}

.table {
    --bs-table-bg: none !important
}

.styled-tables tbody tr td:nth-last-child(-n+4) {
    text-align: center;
}



.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 16px;
    border: 1px solid #884231;
}

    .styled-table thead th {
        background-color: #884231;
        color: #fff;
        padding: 12px;
        text-align: left;
        font-weight: bold;
        border: 1px solid #d1b9b0;
    }

    .styled-table tbody td a {
        border-bottom: 1px solid #884231;
        padding: 12px;
        vertical-align: top;
    }

    .styled-table tbody tr:last-child td a {
        border-bottom: 0px solid #884231;
        padding: 12px;
        vertical-align: top;
    }

    .styled-table tbody tr {
        transition: all 0.5s ease-in-out;
    }

        .styled-table tbody tr td a {
            transition: all 0.5s ease-in-out;
        }


    .styled-table th:first-child,
    .styled-table td:first-child a {
        width: 60px;
        text-align: center;
    }

@media screen and (max-width: 768px) {
    .styled-table thead {
        display: none;
    }

    .styled-table {
        border: 0 !important
    }

        .styled-table,
        .styled-table tbody,
        .styled-table tr,
        a {
            border: unset !important
        }

            .styled-table td {
                width: 100%;
                display: flex;
            }

            .styled-table tr {
                display: block margin-bottom: 15px;
                background: #fff;
                border-radius: 6px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            }

            .styled-table td {
                width: 100%
            }

                .styled-table td a {
                    display: flex;
                    justify-content: space-between;
                    padding: 12px;
                    border: 1px solid #ddd;
                    font-size: 14px;
                }

                .styled-table td:last-child a {
                    border-bottom: none;
                }

                .styled-table td::before a {
                    content: attr(data-label);
                    font-weight: bold;
                    color: #884231;
                    flex-basis: 45%;
                    text-align: left;
                }
}


.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-up-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-size: 1rem;
    transition: transform 0.3s ease;
    transform: rotate(-270deg);
}

.accordion-button:focus {
    box-shadow: unset !important;
}

.accordion-item {
    margin-block: 14px;
}

/* Jab accordion open ho tab rotate 90deg */
.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.sub-accordion .accordion-button {
    background: #2F2F2F !important;
    color: #fff
}

    .sub-accordion .accordion-button::after, .parent-accordion .accordion-button::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-arrow-up-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0z'/%3E%3C/svg%3E") !important;
    }

.styled-table tbody tr:nth-child(even) {
    background-color: #F1F0EF;
}

.parent-accordion .accordion-button {
    background: #884231;
    color: #fff
}

.accordion-item {
    border: 0 !important
}

.single-cell td a {
    width: 100% !important
}
