/* ========================================
   MaxRecon - Custom Styles
   ======================================== */

/* === Root Variables === */
:root {
    --primary-color: hsl(211 100% 50%);
    --primary-dark: #1C398E;
    --primary-light: #818CF8;
    --primary-hover: #86b7fe1c;
    --secondary-color: #10B981;
    --dark-bg: #030229;
    --light-bg: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --gradient-accent: linear-gradient(135deg, hsl(211 100% 50%), hsl(233 47% 25%));
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(220 13% 97%));
    --primary-foreground: 0 0% 100%;
    --accent: 211 100% 50%;
}

/* ===== FULLSCREEN GLASS LOADER ===== */

.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999; /* TOP OF ALL */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Glass effect */
  background: rgb(0 0 0 / 8%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Loader container */
.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Blocks animation */
.blocks-flip {
    display: flex;
    gap: 8px;
}

.blocks-flip span {
    width: 12px;
    height: 40px;
    background: hsl(211 100% 50%);
    border-radius: 4px;
    animation: block-flip 1.2s ease-in-out infinite;
}

.blocks-flip span:nth-child(1) { animation-delay: 0s; }
.blocks-flip span:nth-child(2) { animation-delay: 0.2s; }
.blocks-flip span:nth-child(3) { animation-delay: 0.4s; }

.loader-label {
    margin-top: 10px;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    letter-spacing: 0.4px;
}

/* Animation */
@keyframes block-flip {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}



.btn-outline-dark {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}

/* Hover & focus */
.btn-outline-dark:hover,
.btn-outline-dark:focus {
   box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    background-color: white;
    color: black;
}



.btn.gradien-bg {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: translateY(0);   /* important */
}

.btn.gradien-bg:hover,
.btn.gradien-bg:focus {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}


.btn-primary {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: translateY(0);   /* important */
}

.btn-primary:hover,
.btn-primary:focus {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}







/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

img {
    -webkit-user-drag: none;
    /* Safari/Chrome */
    -khtml-user-drag: none;
    /* Konqueror */
    -moz-user-drag: none;
    /* Firefox */
    -o-user-drag: none;
    /* Opera */
    -user-drag: none;
    /* Standard */

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    pointer-events: none;
    /* Optional: disables right-click and interaction */
}


.ptb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.ptb-70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.pt-70 {
    padding-top: 70px;
}

.pb-70 {
    padding-bottom: 70px;
}

.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-top: 50px;
}

.ptb-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.pb-200 {
    padding-bottom: 200px;
}

.mpt-70 {
    padding-top: -70px;
}

.mt-ng2 {
    margin-top: -3rem !important;
}

.mt-ng4 {
    margin-top: -7rem !important;
}

.mt-n4 {
    margin-top: -3rem !important;
}

.primary-dark {
    color: #1C398E;
}

.client-count-text {
    background: linear-gradient(to right, #155DFC 0%, #9810FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




.solution-bg {
    border: 1px solid #DBEAFE;
    background: linear-gradient(to bottom, #EFF6FF 0%, #FFFFFF 100%);
}

.gradien-bg {
    background: linear-gradient(to bottom right,
            #155DFC 0%,
            #1447E6 50%,
            #193CB8 100%);

}

.service-bg {
    background: #EFF6FF;
}

.service-section-bg {
    background: linear-gradient(to right, #1447E6 0%, #1C398E 100%);
}



.dark-bg {
    background: var(--dark-bg);
}

.light-bg {
    background: linear-gradient(to bottom, #F9FAFB 0%, #FFFFFF 100%);
}

.about-badge {
    background: linear-gradient(to right, #DBEAFE 0%, #F3E8FF 100%);
}


.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* === Navigation === */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand p {
    font-size: 12px;
}

.nav-link {
    color: hsla(0, 0%, 0%, 0.8) !important;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}


/* === Hero Section === */
#hero1-section {
    width: 100%;
    min-height: 90svh;
    margin-top: 80px;
    position: relative;
 background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    overflow: hidden;
}



#WhatWeDeliver .deliver-img-card{
height: 230px;
border-radius: 25px;
margin-bottom: 20px;
}

#hero-section {
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

#hero-section .floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
}

#hero-section .floating-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}


#hero-section .icon-top-left {
    top: 120px;
    left: 8%;
}

#hero-section .icon-top-right {
    top: 200px;
    right: 10%;
}

#hero-section .icon-mid-left {
    top: 38%;
    left: 13%;
    transform: translateY(-50%);
}

#hero-section .icon-mid-right {
    top: 35%;
    right: 17%;
    transform: translateY(-50%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #hero-section .icon-top-left {
        left: 5%;
    }

    #hero-section .icon-top-right {
        top: 110px;
        right: 5%;
    }

    #hero-section .icon-mid-left {
        left: 2%;
        top: 50%;
    }

    #hero-section .icon-mid-right {
        right: 2%;
        top: 50%;
    }
}

@media (max-width: 576px) {
    #hero-section .floating-icon {
        width: 50px;
        height: 50px;
    }

    #hero-section .floating-icon img {
        width: 28px;
    }

    #hero-section .icon-top-left,
    #hero-section .icon-top-right {
        top: 10px;
    }

    #hero-section .icon-mid-left,
    #hero-section .icon-mid-right {
        display: none;
        /* Hide side icons on very small screens */
    }
}

/* === about-hero Section === */
/* Hero Section - Background Image with Blur (only affects #hero-section) */
#about-hero-section {
    position: relative;
    min-height: 75vh;
    overflow: hidden;
}

#about-hero-section .hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Background Video */
#about-hero-section .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    z-index: 1;
    filter: blur(2px);
}

/* Overlay */
#about-hero-section .overlay {
    position: absolute;
    inset: 0;
    min-height: 75vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Content */
#about-hero-section .content {
    position: relative;
    z-index: 3;
    min-height: 75vh;
}


/* #hero-section .hero-gradient-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    opacity: 0.1;
    filter: blur(40px);
    z-index: 0;
} */


/* healthcare-choose-us section */
#healthcare-choose-us .gradient-card {
    background: linear-gradient(to right, #EFF6FF, white);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*================================================
trusted-partner Area CSS
=================================================*/
#trusted-partners .marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

/* Fade edges for nicer look */
#trusted-partners .marquee-wrapper::before,
#trusted-partners .marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#trusted-partners .marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 4rem;
    /* Space between logos */
}

#trusted-partners .logo-item {
    flex: 0 0 auto;
    background-color: #ffffff;
    border: 1px solid #F3F4F6;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px #adb5bd57;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#trusted-partners .logo-item img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s;
}

/* #trusted-partners .logo-item img:hover {
    filter: grayscale(0%);
} */

/* Pause on hover */
/* #trusted-partners .marquee-wrapper:hover .marquee-track {
            animation-play-state: paused;
        } */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*================================================
trusted-partner Area CSS
=================================================*/
#testimonials-section .carousel-control-prev,
#testimonials-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%;
    opacity: 1;
}

#testimonials-section .carousel-control-prev {
    left: -70px;
}

#testimonials-section .carousel-control-next {
    right: -60px;
}

#testimonials-section .carousel-control-prev-icon,
#testimonials-section .carousel-control-next-icon {
    filter: invert(1);
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

@media (max-width: 768px) {
   #testimonials-section .carousel-control-prev {
    display: none;
}

#testimonials-section .carousel-control-next {
  display: none;
}
}


/*================================================
empowering Area CSS
=================================================*/
#empowering-healthcare-section {
    min-height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Button styling */
#empowering-healthcare-section .btn-outline-light {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Larger heading on big screens */
@media (min-width: 992px) {
    #empowering-healthcare-section h1 {
        font-size: 4.5rem;
    }
}

/* Responsive heading size */
@media (max-width: 768px) {
    #empowering-healthcare-section h1 {
        font-size: 2.5rem;
    }
}

/* Glassmorphism effect for stat cards */
#empowering-healthcare-section .stat-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/*================================================
common hero section Area CSS
=================================================*/
#common-hero-section {
    position: relative;
    background-image: url("../img/service/common-hero.jpg"); /* change path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Black overlay */
#common-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Keep content above overlay */
#common-hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

/*================================================
footer Area CSS
=================================================*/

/* Bootstrap Tabs Styling */
#sevice-tab-section .nav-tabs {
    border-bottom: none;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #E5E7EB;
}

#sevice-tab-section .nav-tabs .nav-link {
    background: #F3F4F6;
    border: 1px solid #F3F4F6;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin: 0;
}

#sevice-tab-section .nav-tabs .nav-link:hover {
    background: #f8fafc;
    color: black !important;
    border-color: 1px solid #155DFC;
    box-shadow: 0 4px 12px #adb5bd57;
}

/* Default icon (black) */
#sevice-tab-section .nav-tabs .nav-link img {
    filter: brightness(0) invert(0);
    transition: filter 0.2s ease;
}

/* Active icon (white) */
#sevice-tab-section .nav-tabs .nav-link.active img {
    filter: brightness(0) invert(1);
}


#sevice-tab-section .nav-tabs .nav-link.active {
    background: #155DFC;
    color: white !important;
    border-color: #155DFC;
}

#sevice-tab-section .nav-tabs .nav-link i {
    font-size: 1rem;
}

#sevice-tab-section .tab-content {
    margin-top: 0;
}

#product-leadership .product-image{
    width: 100%;
    max-height: 400px;
    border-radius: 15px 15px 0px 0px ;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Sticky tabs – only md and up */
@media (min-width: 768px) {
    #sevice-tab-section {
        position: sticky;
        top: 85px;
        z-index: 1020; /* above content, below navbar if fixed */
        background: #fff;
    }
}




/*================================================
footer Area CSS
=================================================*/

#footer {
    background-color: #F9FAFB;
    padding: 60px 0 0;
    border-top: 1px solid black;
}

/* Newsletter Section */
#newsletter-subscription {
    background: linear-gradient(135deg, #1447E6 0%, #1447E6 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}


/* Navigation Links */
#footer .nav-links ul li {
    margin-bottom: 12px;
}

#footer .nav-links ul li a {
    font-size: 0.95rem;
}

#footer .nav-links ul li a:hover {
    color: var(--primary-color) !important;
    /* padding-left: 5px; */
}

/* Footer Bottom */
#footer .footer-bottom {
    padding: 25px 0;
    border-top: 1px solid #e2e8f0;
}

#footer .footer-bottom p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

#footer .footer-bottom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

#footer .footer-bottom a:hover {
    color: var(--primary-color);
}