.header-layout2 .header-logo img {
    max-width: 250px;
}

.team-card .box-title {
    font-size: 19px;
}

.feature-box-w {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s, box-shadow 0.4s, background 0.4s, color 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e9ecef;
}

.feature-box-w:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    color: #fff;
    /* Changes text color for all child elements */
    background: linear-gradient(135deg,
            #fef3b0,
            /* bright highlight */
            #f6c644,
            /* yellow gold */
            #e0a030,
            /* warm gold */
            #a96e1d
            /* shadow gold */
        );
}

.feature-icon {
    font-size: 3.5rem;
    color: #e8ad37;
    /* Main theme color */
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.feature-box-w:hover .feature-icon {
    color: #ffffff;
    /* Icon color on hover */
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
    transition: color 0.4s;
}

.feature-box-w:hover .feature-title {
    color: #ffffff;
}

.feature-description {
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.4s;
}

.feature-box-w:hover .feature-description {
    color: #ffffff;
}

/* Make the carousel a fixed height (adjust as needed) and center images */
.carousel-item {
    height: 70vh;
    min-height: 300px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.carousel-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.carousel-control-next,
.carousel-control-prev {
    width: 3%;
    background: transparent;
    border: 0px;
}

.project-card {
    margin-bottom: 50px;
}

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

.sterilization-section .project-card .box-title {
    font-size: 30px;
    margin-bottom: 10px;
}

.team-about .checklist ul li {
    font-size: 14px;
}

.team-about .checklist li:not(:last-child) {
    margin-bottom: 10px;
}

.checklist.style3 li:before {

    scale: .8;
}

.skill-card p {
    text-align: justify;
}

.about-area .title-area .sec-title {
    font-size: 35px;
}

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

.service-page .checklist li a {
    color: var(--body-color);
}

.service-page .title-area h2.sec-title {
    font-size: 35px;
}

.service-details-section button.nav-link {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    text-align: center;
    background-color: var(--theme-color);
    font-family: var(--body-font);
    border: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    color: var(--white-color);
    line-height: 1;
    padding: 20px 24px;
    border-radius: 8px;
    -webkit-transition: -webkit-transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.5);
    transition: -webkit-transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.5);
    transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.5);
    transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.5), -webkit-transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.5);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    will-change: transform;
    margin-bottom: 10px;
    text-align: left;
}

.service-details-section button.nav-link.active {
    color: #fff;
    background: var(--title-color);
}


.service-details-section button.nav-link:before,
.service-details-section button.nav-link:after {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, var(--title-color)), color-stop(0, transparent), color-stop(50%, transparent), color-stop(0, var(--title-color)), color-stop(75%, var(--title-color)), color-stop(0, transparent));
    background: linear-gradient(90deg, var(--title-color) 25%, transparent 0, transparent 50%, var(--title-color) 0, var(--title-color) 75%, transparent 0);
    -webkit-transform: translateY(var(--progress, 100%));
    transform: translateY(var(--progress, 100%));
    -webkit-transition: -webkit-transform .4s ease;
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease, -webkit-transform .4s ease;
    z-index: -1
}

.service-details-section button.nav-link:after {
    --progress: -100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(0, transparent), color-stop(25%, transparent), color-stop(0, var(--title-color)), color-stop(50%, var(--title-color)), color-stop(0, transparent), color-stop(75%, transparent), color-stop(0, var(--title-color)));
    background: linear-gradient(90deg, transparent 0, transparent 25%, var(--title-color) 0, var(--title-color) 50%, transparent 0, transparent 75%, var(--title-color) 0)
}

.service-details-section button.nav-link:hover {
    color: var(--white-color);
    -webkit-transition-delay: .4s;
    transition-delay: .4s
}

.service-details-section button.nav-link:hover:before,
.service-details-section button.nav-link:hover:after {
    --progress: 0
}

.service-details-section button.nav-link.style1:before,
.service-details-section button.nav-link.style1:after {
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, var(--white-color)), color-stop(0, transparent), color-stop(50%, transparent), color-stop(0, var(--white-color)), color-stop(75%, var(--white-color)), color-stop(0, transparent));
    background: linear-gradient(90deg, var(--white-color) 25%, transparent 0, transparent 50%, var(--white-color) 0, var(--white-color) 75%, transparent 0)
}

.service-details-section button.nav-link.style1:after {
    background: -webkit-gradient(linear, left top, right top, color-stop(0, transparent), color-stop(25%, transparent), color-stop(0, var(--white-color)), color-stop(50%, var(--white-color)), color-stop(0, transparent), color-stop(75%, transparent), color-stop(0, var(--white-color)));
    background: linear-gradient(90deg, transparent 0, transparent 25%, var(--white-color) 0, var(--white-color) 50%, transparent 0, transparent 75%, var(--white-color) 0)
}

.service-details-section button.nav-link.style1:hover {
    color: var(--title-color)
}

.appointment-area-wrapper .sec-title {
    font-size: 35px;
}

.side-icon {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 200;
    left: 20px;
    bottom: 60px;
}

.ftlinks {
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.ftlinks a {
    color: #fff;
    text-align: center;
}

.side-icon>a {
    margin-top: 10px;
}

.side-icon>a:last-child {
    width: 48px;
    height: 48px;
    background-color: #F44336;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-icon>a:last-child>i {
    color: #fff;
    font-size: 22px;
}

.mb-contact {
    display: none;
}

@media(max-width:767px) {
    .side-icon {
        display: none;
    }

    .mb-contact {
        position: fixed;
        bottom: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100vw;
        z-index: 99999999999999;
    }

    .mb-contact .contact {
        width: 48%;
        text-align: center;
    }

    .mb-contact .contact:first-child {
        background-color: #F44336;
    }

    .mb-contact .contact {
        padding: 10px;
        display: block;
        margin: 1%;
        border-radius: 5%;
        box-shadow: 2px 1px 2px #ccc;
    }

    .mb-contact .contact:last-child {
        background-color: #4caf50;
    }

    /*.mb-contact .contact:nth-child(2) {
            background-color: #999;
            }*/

    .mb-contact .contact>a {
        color: #fff;
        font-size: 16px;
    }

    .bottom-footer-text {
        padding-bottom: 45px;
    }

}

.footer-layout2 .social-links a {
    color: #fff;
}


.footer-layout2 .social-links a.facebook {
    background-color: #1877F2;
}

.footer-layout2 .social-links a.instagram {
    background-color: #E4405F;
}


.footer-layout2 .social-links a.linkedin {
    background-color: #0A66C2;
}


.footer-layout2 .social-links a.whatsapp {
    background-color: #25D366;
}



.footer-layout2 .social-links a.youtube {
    background-color: #CD201F;
}
/* header social link */
.header-social-links.social-links a {
    color: #fff;
}


.header-social-links.social-links a.facebook {
    background-color: #1877F2;
}

.header-social-links.social-links a.instagram {
    background-color: #E4405F;
}


.header-social-links.social-links a.linkedin {
    background-color: #0A66C2;
}


.header-social-links.social-links a.whatsapp {
    background-color: #25D366;
}



.header-social-links.social-links a.youtube {
    background-color: #CD201F;
}

/* end */

.main-menu ul li:has(.sub-menu.custom-sub-menu) li.sub-menu-item>a:after {
    content: "\f107";
    position: absolute;
    font-family: var(--icon-font);
    margin-left: 4px;
    font-weight: 600;
    top: 0;
    right: -15px;
    font-size: 14px;
}



@media(max-width:768px) {
    .fs-18 {
        font-size: 16px;
        line-height: 1.555;
    }

    .counter-box-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5px;
    }

    .counter-box {

        margin-bottom: 20px !important;
        padding-bottom: 20px !important;
    }

    .counter-box:last-child {
        border-bottom: 1px solid #dedfe3;
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .about-area.space {
        padding-bottom: 0;
    }

    .testi-card .box-text {
        min-height: auto;
        max-height: fit-content;
    }

    .team-card .box-title {
        font-size: 16px;
        min-height: 40px;
    }

    .team-card .box-content {
        padding: 10px;
    }

    .team-card .box-content {
        flex-direction: column;
    }

    .th-team .team-desig {
        line-height: 1.3;
        font-size: 13px;
        margin-bottom: 20px;
        min-height: 50px;
        max-height: 50px;

    }

    .contact-info-area {
        padding: 40px 0;
    }

    .slider-controller {
        margin-top: 0;
    }

    .th-menu-wrapper .th-menu-toggle {

        top: 10px;
    }

    .carousel-item {
        min-height: auto;
        height: auto;
    }

    .header-layout2 .header-top {
        display: none;
    }

    .checklist.style3 li {
        font-weight: 600;
        font-size: 15px;

        letter-spacing: normal;
        padding-left: 40px;
    }

    .footer-layout2.style2 .widget-area {
        margin-top: 0;
    }

    .footer-layout2 .widget-area {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-layout2 {
        padding-bottom: 60px;
    }

    /* .service-details-section .nav {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .service-details-section button.nav-link {
        white-space: nowrap;
        width: 100%;
        overflow-x: auto;
    } */

        .header-logo {
            padding-top: 5px;
            padding-bottom: 5px;
        }
}