/********** Template CSS **********/
:root {
    --primary: #0A4D8C;   /* Professional Blue */
    --secondary: #00A6A6; /* Teal Accent (Healthcare feel) */
    --light: #F4F8FB;
    --dark: #1B2C51;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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,
.btn.btn-secondary {
    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 ***/
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .navbar-brand h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--secondary);
}


/*** Header ***/
/*** Header ***/
.header-carousel .owl-carousel-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 3rem;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Improved overlay readability */
    background: rgba(0, 0, 0, 0.4);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

/*** NAV CONTROLS (SMOOTHER UI) ***/
.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
    transition: 0.3s ease;
}

.header-carousel:hover .owl-nav {
    opacity: 1;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255,255,255,0.1);
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/*** DOTS (MODERN LOOK) ***/
.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 6px;
    width: 14px;
    height: 14px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    top: 3px;
    left: 3px;
    background: #FFFFFF;
    border-radius: 50%;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
}

/*** PAGE HEADER (ENHANCED LOOK) ***/
.page-header {
    background: linear-gradient(rgba(4,99,250,0.8), rgba(4,99,250,0.8)),
                url(../img/header-page.jpg) top center no-repeat;
    background-size: cover;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/*** BREADCRUMB VISIBILITY FIX ***/
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Service ***/
/*** Service (RCM Services Styling) ***/
.service-item {
    transition: .5s;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #e6ecf5;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 .5rem 2rem rgba(4, 99, 250, 0.15);
    border-color: var(--primary);
}

/* Service Button – Now looks like professional CTA */
.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
    font-size: 14px;
    font-weight: 500;
}

/* Expand button with label like “View Details” */
.service-item:hover .btn {
    width: 160px;
    background: var(--primary);
    color: #FFFFFF;
}


/*** Feature (RCM Capability Section) ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
        background: linear-gradient(90deg, #EFF5FF 50%, #FFFFFF 50%);
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* Feature Highlight Cards (optional enhancement for RCM points) */
.feature-text h1,
.feature-text h2 {
    color: var(--dark);
    font-weight: 700;
}

.feature-text p {
    color: #6c757d;
    font-size: 15px;
}

/* Add subtle divider effect */
.feature-text::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 15px;
}


/*** Team ***/
/*** Team (Leadership Styling for RCM Company) ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
    border-radius: 10px;
}

/* Smooth lift effect instead of harsh jump */
.team-item:hover img {
    top: -20px;
}

/* Card base */
.team-item {
    background: #FFFFFF;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 .5rem 2rem rgba(4, 99, 250, 0.15);
    border-color: var(--primary);
}

/* Text section */
.team-item .team-text {
    position: relative;
    height: 110px;
    transition: .5s;
    background: #FFFFFF;
}

/* Expand for leadership details */
.team-item:hover .team-text {
    margin-top: -50px;
    height: 170px;
}

/* Social icons hidden initially */
.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

/* Reveal on hover */
.team-item:hover .team-text .team-social {
    opacity: 1;
}

/* Social buttons refined */
.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #EFF5FF;
    border-radius: 40px;
    transition: .3s;
}

/* Hover effect aligned with branding */
.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment (RCM Contact / Demo Request Styling) ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

/* Clean table appearance */
.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

/* Slightly stronger headers */
.bootstrap-datetimepicker-widget .table th {
    font-weight: 600;
    color: var(--dark);
}

/* Dropdown styling */
.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e6ecf5;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, 0.08);
}

/* Selected date highlight */
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* Today indicator */
.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/* Optional: improve input focus for appointment form */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(4, 99, 250, 0.25);
    border-color: var(--primary);
}
/*** Testimonial ***/
/*** Testimonial (Client Success Stories - RCM) ***/

/* Gradient edges (softened for corporate feel) */
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(239, 245, 255, 1) 0%, rgba(239, 245, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(239, 245, 255, 1) 0%, rgba(239, 245, 255, 0) 100%);
    z-index: 1;
}

/* Responsive gradient width */
@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 180px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 260px;
    }
}

/* Default testimonial card */
.testimonial-carousel .owl-item .testimonial-text {
    background: #FFFFFF;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    transform: scale(.85);
    transition: .5s;
}

/* Active (center) testimonial highlight */
.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
    box-shadow: 0 .5rem 2rem rgba(4, 99, 250, 0.2);
}

/* Smooth transitions */
.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

/* Active text styling */
.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

/* Profile image highlight */
.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
    border: 3px solid #FFFFFF;
}

/* Navigation arrows container */
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 320px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

/* Show arrows on hover */
.testimonial-carousel:hover .owl-nav {
    width: 280px;
    opacity: 1;
}

/* Arrow styling */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 40px;
    transition: .3s;
}

/* Hover effect */
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** Footer ***/
/*** Footer (RCM Corporate Styling) ***/

/* Social Buttons */
.footer .btn.btn-social {
    margin-right: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: .3s;
    background: transparent;
}

/* Hover effect – branded */
.footer .btn.btn-social:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/* Footer Links */
.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    transition: .3s;
}

/* Arrow icon */
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

/* Hover effect */
.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 0.5px;
    box-shadow: none;
}


/* Copyright Section */
.footer .copyright {
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Links inside copyright */
.footer .copyright a {
    color: var(--light);
    font-weight: 500;
}

/* Hover */
.footer .copyright a:hover {
    color: var(--primary);
}


/* Optional: Footer heading refinement */
.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* Optional: subtle paragraph tone */
.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
