/* ===========================
   Preloader
=========================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ===================DropDown Hare======================== */

:root {
    --primary-color: #b41c1c;
    --primary-dark: #8a1515;
    --primary-light: #f8e8e8;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ======== Remove Bootstrap Default Hover Border from Nav Links ======== */
.navbar .nav-link {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: var(--primary-light) !important;
}

/* Navbar Base Styles */
.navbar {
    transition: var(--transition);
    z-index: 9999;
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-scrolled {
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 20px 0px 20px 0px !important;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    transition: var(--transition);
    height: 42px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Nav Links */
.nav-link {
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    /* color: var(--text-dark) !important; */
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
    border: none !important;
}
a:hover {
    border: none !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--primary-dark)
    );
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    /* margin-top: 0.75rem !important; */
    animation: fadeIn 0.2s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-item:hover::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Multi-level dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 54px;
    left: 70%;
    margin-top: -0.5rem;
    margin-left: 0.1rem;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: block;
}

.dropdown-submenu > .dropdown-toggle::after {
    content: "›";
    float: right;
    margin-left: 0.5rem;
    border: none;
    font-weight: bold;
    font-size: 1.2rem;
    transform: rotate(0);
    transition: var(--transition);
}

.dropdown-submenu:hover > .dropdown-toggle::after {
    transform: rotate(90deg);
    color: var(--primary-color);
}

/* CTA Button */
.btn-cta {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
    );
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(180, 28, 28, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(180, 28, 28, 0.4);
    color: white !important;
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s;
}

.btn-cta:hover::before {
    left: 100%;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 12px;
        box-shadow: var(--shadow);
        padding: 1rem;
        margin-top: 1rem;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 1rem;
        margin-top: 0.5rem;
        box-shadow: none;
        border-left: 2px solid var(--primary-light);
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0);
    }

    .dropdown-submenu.show > .dropdown-toggle::after {
        transform: rotate(90deg);
    }

    .nav-link {
        margin: 0.2rem 0;
    }

    .btn-cta {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--primary-light);
}

.navbar-toggler-icon {
    transition: var(--transition);
}

/* Animation for mobile menu */
@media (max-width: 991.98px) {
    .navbar-collapse.collapsing {
        transition: height 0.3s ease;
    }
}

/* ------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

/* Hero Section */
.healthcare-hero {
    color: var(--white);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.healthcare-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.healthcare-cta-btn {
    background-color: var(--accent-color);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid;
}

.healthcare-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    background-color: #d32f2f;
    color: white !important;
}

.healthcare-cta-btn:active {
    transform: translateY(0);
}

.healthcare-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s;
}

.healthcare-cta-btn:hover::before {
    left: 100%;
}

/* Services Section */
.healthcare-services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    text-align: center;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-description {
    color: var(--text-light);
}

/* Clients Section */
.healthcare-clients {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.clients-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    text-align: center;
}

.client-item {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.client-item:hover {
    transform: translateY(-5px);
}

.client-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client-name {
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.healthcare-footer {
    background-color: black;
    padding: 60px 0 30px;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .healthcare-hero {
        padding: 140px 0 80px;
        text-align: center;
    }

    .services-heading {
        font-size: 2rem;
    }
}

/* --------------------------------------------------- */
.testimonial-section {
    background-color: rgb(96, 98, 99); /* bg-light */
    padding: 80px 0;
}
.testimonial-logo {
    max-width: 180px;
    margin-bottom: 15px;
}
.testimonial-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: white; /* Bootstrap primary blue */
}
.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: #fff;
}
.btn-case-study {
    margin-top: 25px;
    background-color: #c82333;
    color: #fff !important;
    font-weight: 600;
    border: none;
    padding: 10px 25px;
}
.btn-case-study:hover {
    background-color: #a71d2a;
    color: white;
}

/* ------------------------------------------------------------------------ */

.feature-section {
    background-color: #f8f9fa; /* bg-light */
    padding: 80px 0;
    text-align: center;
}
.feature-box {
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 40px 25px 25px;
    position: relative;
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.feature-red {
    border-color: #b71c1c;
}
.feature-blue {
    border-color: #0288d1;
}
.feature-orange {
    border-color: #f57c00;
}
.feature-green {
    border-color: #388e3c;
}

.feature-red .feature-icon {
    background-color: #b71c1c;
}
.feature-blue .feature-icon {
    background-color: #0288d1;
}
.feature-orange .feature-icon {
    background-color: #f57c00;
}
.feature-green .feature-icon {
    background-color: #388e3c;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #343a40;
    margin-top: 20px;
    line-height: 1.5;
}
.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #343a40;
    max-width: 900px;
    margin: 0 auto 60px;
}

/* ---------------------------------------------------------------------------- */

.insight-section {
    background-color: #fff; /* हल्का grey background */
    padding: 40px 0;
}
.insight-title {
    font-size: 2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 50px;
    text-align: left;
}
.insight-card {
    /* background-color: #fff; */
    border: none;
    transition: all 0.3s ease;
}
.insight-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
}
.insight-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 4px;
}
.insight-card a {
    text-decoration: none;
    color: #007bbf;
    font-size: 1.05rem;
    line-height: 1.5;
    display: block;
    margin-top: 15px;
    font-weight: 500;
}
.insight-card a:hover {
    color: #005f99;
}

/* ------------------------------------------ */

.form-label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* Form container */
.inquiry-section {
    /* background-color: #f8f9fa; */
    padding: 60px 0;
}

/* Submit button style */
.submit-btn {
    background-color: #007bbf;
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #005f8f;
}

/* Center form properly */
.form-wrapper {
    border-radius: 10px;
    padding: 40px;
}

/* ===== Hospitals & Health Systems Section ===== */

.hospitals-and-health-systems-section {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(0, 82, 147, 0.85) 0%,
        rgba(0, 123, 255, 0.8) 100%
    );
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 95px 0;
    color: #fff;
    overflow: hidden;
}

/* Animated Background Overlay */
.hospitals-and-health-systems-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 82, 147, 0.7) 0%,
        rgba(0, 123, 255, 0.6) 100%
    );
    z-index: 0;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Content Styling */
.hospitals-and-health-systems-section .container {
    position: relative;
    z-index: 2;
}

.hospitals-and-health-systems-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hospitals-and-health-systems-subtitle {
    font-size: 1.4rem;
    color: #e8f4ff;
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.6;
}

/* Enhanced Buttons */
.hospitals-and-health-systems-btn {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hospitals-and-health-systems-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.hospitals-and-health-systems-btn:hover::before {
    left: 100%;
}

.hospitals-and-health-systems-btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: 2px solid #007bff;
    color: #fff;
}

.hospitals-and-health-systems-btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004494);
    border-color: #0056b3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hospitals-and-health-systems-btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.hospitals-and-health-systems-btn-outline:hover {
    background-color: #ffffff;
    color: #0056b3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.stats-container {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.stat-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: #4dabf7;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #e8f4ff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .hospitals-and-health-systems-section {
        padding: 100px 0;
        text-align: center;
    }

    .hospitals-and-health-systems-title {
        font-size: 2.8rem;
    }

    .hospitals-and-health-systems-subtitle {
        font-size: 1.2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hospitals-and-health-systems-button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hospitals-and-health-systems-btn {
        width: 80%;
        margin-right: 0;
    }

    .stats-container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hospitals-and-health-systems-title {
        font-size: 2.2rem;
    }

    .hospitals-and-health-systems-subtitle {
        font-size: 1.1rem;
    }

    .hospitals-and-health-systems-btn {
        width: 100%;
        padding: 12px 25px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }
}

/* Minimal custom CSS only for specific styling not available in Bootstrap */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #21618c;
}

#webinarHero {
    background: linear-gradient(135deg, #1a4a8c 0%, #2c6cb0 100%);
}
.divider-line {
    height: 2px;
    background-color: #dee2e6;
}
#watchNowBtn {
    background-color: #28a745;
    border-color: #28a745;
    padding: 12px 30px;
    font-weight: 600;
}

/* revenue-cycle-outsourcing-solutions */
/* Background Section */
.hero-section {
    position: relative;
    padding: 80px 0;
}

/* White gradient overlay */
.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    padding: 60px 40px;
    max-width: 700px;
    margin-left: 8%;
    border-radius: 5px;
}

/* Text styles */
.hero-section h6 {
    font-weight: 500;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-section h1 {
    font-weight: 700;
    color: #0094d9;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

/* Button styling */
.hero-section .btn-danger {
    background-color: #c8102e;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-section .btn-danger:hover {
    background-color: #a50d26;
}

@media (max-width: 768px) {
    .hero-overlay {
        margin: 0 auto;
        padding: 40px 25px;
        background: rgba(255, 255, 255, 0.95);
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* revenue-cycle-outsourcing. */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}
.sub-text {
    font-size: 1.1rem;
    color: #444;
}
.card h5 {
    color: #00a4e4;
    font-size: 1.6rem;
    font-weight: 500;
}
.card {
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.icon-circle-the-right {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #17a2b8;
    border-radius: 50%;
    margin-right: 20px;
    background-color: #fff;
    flex-shrink: 0;
}

.icon-circle-the-right img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.divider-the-right {
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .icon-circle-the-right {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .col-md-6 h5,
    .col-md-6 p {
        text-align: center;
    }
}
