/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html.my-custom-class{
      scroll-behavior: smooth;
    height: unset !important;
}

.mt-50p {
    margin-top: 50px;
}

body.newBgimage section {
    float: unset;
}


body.newBgimage {
    background-image: url("https://red-health.hashtechorange.com/wp-content/themes/redhealth/assets/hospital/mainBG.png") !important;
    height: unset !important;
    font-family: "Exo 2", sans-serif;
    color: #fff;
    /* change filename */
    background-position: top left;
    /* height: auto; */
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 768px) {
    body.newBgimage {
        background-image: url("./assets/mobileNewBgImg.png") !important;
        background-position: top center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}


.firstPara {
    margin-bottom: 28px;
}

/* Each slide = full hero section */
.hero-wrapper {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding-bottom: 0px;
}

.redhealth-links-nav.SecondtabStack .stack-tab {
    padding: 0.55rem 0.5rem;
}

.exterPriseBannerSliderMain .dividerSec {
    margin-top: 33px;
    margin-bottom: 30px;
}

.exterPriseBannerSliderMain .leftContentSec .dsrcText {
    margin-bottom: 30px !important;
}

.hero-slider::after {
    content: "";
    position: absolute;
    top: 10%;
    /* top 10% */
    right: 0;
    /* right side */
    width: 45%;
    /* adjust as needed */
    height: 80%;
    /* adjust as needed */
    background-image: url('https://red-health.hashtechorange.com/wp-content/themes/redhealth/assets/hospital/slidermainIcon.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    opacity: 0.1;
    /* 80% opacity */
    pointer-events: none;
}

/* Inner container */
.hero-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT SIDE */
.hero-left {
    flex: 1.1;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 300;
    color: #f5f5f5;
    line-height: 54px;
    margin-bottom: 55px;
}

.hero-subtext {
    margin-top: 30px;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    z-index: 14;
    position: relative;
}

.hero-btn {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 40px;
    border-radius: 15px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: 0.25s ease;
    border: none;
    outline: none;
}

/* PRIMARY BUTTON (Purple gradient border + dark inside) */
.hero-btn.primary {
    position: relative;
    z-index: 1;
    padding: 14px 80px;

}

.hero-btn.primary::before {
    content: "";
    position: absolute;
    inset: 0;
    /* border-radius: 15px; */
    padding: 2px;
    /* border thickness */
    background: linear-gradient(90deg, #cfcfcf, #5a21ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.hero-btn.primary {
    background: rgba(20, 20, 20, 0.8);
}

/* Hover effect: slight glow */
.hero-btn.primary:hover::before {
    background: linear-gradient(90deg, #ffffff, #7f3bff);
    box-shadow: 0 0 15px rgba(125, 60, 255, 0.5);
}

/* SECONDARY BUTTON (plain white text) */
.hero-btn.secondary {
    background: transparent;
}

.hero-btn.secondary:hover {
    opacity: 0.7;
}


/* RIGHT SIDE - ONLY IMAGE */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
}

/* Big person image like in screenshot (standing on bottom) */
.person-image-big {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-image-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relativeClass {
    position: relative;
}

/* Slick dots customization (optional) */
.hero-slider .slick-dots {
    bottom: 20px;
}

.hero-slider .slick-dots li button:before {
    font-size: 10px;
    color: #bbbbbb;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: #ffffff;
}

.bottomSliderStip {
    position: absolute;
    bottom: 3px;
    width: 100%;
    left: 0;
    z-index: 1;
}

/* Logo slider start here  */
.logo-strip {
    padding: 82px 0;
    background: transparent;
    /* or your hero bg */
}


/* Slick track will be flex; this keeps spacing clean */
.logo-slider .logo-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    /* equal gap left/right between logos */
}

/* Equal logo size */
.logo-slider .logo-item img {
    width: 140px;
    /* set your desired common width */
    height: 40px;
    /* set your desired common height */
    object-fit: contain;
    display: block;
    filter: brightness(1);
}

/* Section Third */
.SectionThird {
    padding: 80px 0px;

}

.makeTextCenter {
    text-align: center;
    /* margin-bottom: 30px; */
}

.textRed {
    color: #DD2827;
}

.dsrcText {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.exploreBTN {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #FFF;
}

.achorwpr {
    text-align: center;
}

/* Fourth Section */

.classFourthSection {
    padding: 20px 0px;
    width: 100%;
}

.classFourthSection .fourth-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    /* starts from left */
}

/* Section Fifth */
.sectionFifth {
    padding: 80px 0px 60px 0px;
    width: 100%;
    max-width: 965px;
    margin: 0 auto;
}

.sectionFifth.npdngtop {
    padding-top: 248px;
}

.secondHeading {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
}

.secondHeading.textRed {
    margin-bottom: 0px;
}

.secondHeading.maixedText {
    margin-bottom: 0px;
}

.secondHeading.textWhite {
    margin-bottom: 55px;
}

.dividerSec {
    margin-top: 56px;
    margin-bottom: 64px;
}

.dividerSec.ent {}

.subMainDiscr {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;

}

/* Section wrapper */
.redhealth-links-section {
    width: 100%;
    padding: 24px 0;
}

/* Inner container */
.redhealth-links-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    /* side padding */
}

/* Text base styles (Manrope regular, 16px, lh 24) */
.redhealth-links-inner a {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

/* Left label */
.redhealth-main-label {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Vertical divider */
.redhealth-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* Right links */
.redhealth-links-nav {
    display: flex;
    align-items: center;
    /* space between each link */
    flex-wrap: wrap;
}

.redhealth-link-item {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.redhealth-link-item:hover,
.redhealth-main-label:hover {
    opacity: 1;
}


.ambulanceSection {
    padding: 60px 0;
}

.ambulanceSection-inner {
    max-width: 1240px;
    margin: auto;
    padding: 40px 40px;
    background: #2e2e2e79;
    border-radius: 10px;
    margin-bottom: 80px;
}

.ambulanceSection-title {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #fff;
    margin-bottom: 40px;
}

/* Cards container (when NOT slider) */
.no-slider {
    display: flex;
    gap: 32px;
    /* left-right spacing between cards */
}

/* Card styling */
.ambulanceSection-card {
    background: #111;
    border-radius: 0;
    /* removed radius */
    overflow: hidden;
    flex: 1;
    display: flex !important;
    flex-direction: column;
}

.ambulanceSection-cardImage {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.ambulanceSection-cardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ambulanceSection-cardBody {
    background: #f5f5f5;
    padding: 20px;
    min-height: 140px;
}

.ambulanceSection-cardTitle {
    font-family: "Exo 2", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #111;
    margin-bottom: 6px;
}

.ambulanceSection-cardText {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #333;
}

/* Slick dots */
.ambulanceSection .slick-dots {
    margin-top: 24px !important;
}

.ambulanceSection-slider .slick-slide {
    margin: 0 30px;
    /* horizontal gap */
}

.ambulanceSection-slider .slick-list {
    margin: 0 -16px;
    /* compensate so outer edges align */
}

.sectionSixth {
    text-align: center;
    padding-bottom: 80px;

    margin-top: 100px;
}

/* Make the .sectionSixth-inner sticky */
.sectionSixth-inner {
    position: sticky;
    top: 0;
    /* Keeps it at the top of the viewport */
    z-index: 10;
    padding: 20px;
}

.sectionSixth-title {
    font-family: "Exo 2", sans-serif;
    font-weight: 200;
    font-size: 38px;
    margin-bottom: 40px;
    line-height: 42px;
}

.sectionSixth-text {
    font-family: "Manrope", sans-serif;
    font-weight: 200;
    font-size: 20px;
    line-height: 32px;
}

.sectionSixth-inner {
    margin-bottom: 40px;
    top: 40%;
}

.AbsoluteCard {
    position: relative !important;
    padding: 40px;
    margin-top: 150px;
    overflow: visible;
    width: 90%;
    max-width: 965px;
    min-height: 1100px;
    z-index: 12;
    margin: 0 auto;
    margin-top: 30%;
}

.makeTextCenter.fixBottomPadding {
    margin-bottom: 10px;
}

/* CARD */
.metricCard {
    position: absolute;
    width: 194px;
    height: 196px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.55);
    /* Blur effect as requested */
    -webkit-backdrop-filter: blur(7.5px);
    backdrop-filter: blur(3.5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CDCDCD;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}


/* Gradient border using ::before */
.metricCard::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #f4f4f4 0%, #5a21ff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    filter: blur(.2px);
    opacity: .5 !important;
}

/* ICON */
.metricCard-icon {
    margin-bottom: 28px;
}

.metricCard-iconSvg {
    width: 35px;
    height: 50px;
    object-fit: contain;
}

/* TEXT */
.metricCard-text {
    text-align: center;
}

.metricCard-line1,
.metricCard-line2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 1.4;
}

/* Slightly larger bottom line like design */
.metricCard-line2 {
    margin-top: 4px;
}

/* Card specific positioning */
.card1 {
    top: 60px;
    left: 130px;
}

.card2 {
    top: -54px;
    right: 153px;
}

.card3 {
    top: 277px;
    right: 376px;
}

.card4 {
    top: 478px;
    left: 78px;
}

.card5 {
    top: 428px;
    right: 56px;
}

.card6 {
    top: 659px;
    right: 31%;
}

.card7 {
    top: 819px;
    left: 19%;
}

.card8 {
    top: 958px;
    right: 10%;
}

/* ====== SECTION WRAPPER ====== */
.onboardSection {
    padding: 80px 0;
    color: #ffffff;
    margin-top: 150px;
    margin-bottom: 100px;
}

.onboardSection-inner {
    max-width: 965px;
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== TITLE ====== */
.onboardSection-title {
    text-align: center;
    font-family: "Exo 2", sans-serif;
    font-weight: 200;
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 56px;
}

/* ====== FLOW WRAPPER ====== */
.onboardSection-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* ====== CARD ====== */
.onboardSection-card {
    position: relative;
    width: 255px;
    height: 289px;
    border-radius: 4px;
    background: rgba(3, 3, 3, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
}

/* Inner wrapper that rotates */
.onboardSection-cardInner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Gradient border still on the card container */
.onboardSection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(90deg, #f4f4f4 0%, #4c2bff 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* flip on hover */
.onboardSection-card:hover .onboardSection-cardInner {
    transform: rotateY(180deg);
}

/* Disable flip when there's no back side */
.onboardSection-card:not(:has(.onboardSection-cardBack)) .onboardSection-cardInner {
    transition: none;
    transform: none !important;
}


/* front + back shared base */
.onboardSection-cardFace {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FRONT */
.onboardSection-cardFront {
    position: relative;
    /* background: rgba(3, 3, 3, 0.85); */
    /* background: #000; */
    height: 100%;
}

.onboardSection-cardFront:before {
    width: 100%;
    content: '';
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 21%,
            rgba(0, 0, 0, 1) 54%);
    opacity: 0.31;
    z-index: 1;
}

.onboardSection-cardContent {
    text-align: center;
    padding: 24px 30px;
    color: #CDCDCD;

}

/* BACK */
.onboardSection-cardBack {
    background: #3A1514;
    background: linear-gradient(90deg, rgba(58, 21, 20, 1) 0%, rgba(41, 18, 17, 1) 100%);
    transform: rotateY(180deg);
    padding: 24px 30px;
    z-index: 2;
    height: 100%;
}

.onboardSection-cardBack:before11 {
    width: 100%;
    content: '';
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 21%,
            rgba(0, 0, 0, 0.404) 54%);
    opacity: 1;
    z-index: 3;
}

.onboardSection-cardBackInner {
    text-align: center;
}

/* back title text */
.onboardSection-backTitle {
    font-family: "Exo 2", sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 16px;
}

/* list */
.onboardSection-backList {
    margin: 0;
    /* padding-left: 18px; */
    list-style: disc;
    text-align: left;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.5;
}

.onboardSection-backList li+li {
    margin-top: 6px;
}

/* keep small divider reused */
.onboardSection-cardDivider {
    display: block;
    width: 24px;
    height: 1px;
    margin: 0.75rem auto 1rem;
    background: #ffffff;
    opacity: 0.8;
}


/* gradient border */
.onboardSection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #f4f4f4 0%, #4c2bff 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* card content */
.onboardSection-cardContent {
    text-align: center;
    padding: 24px 30px;
    position: relative;
    z-index: 1;
}

.onboardSection-cardTitle {
    font-family: "Exo 2", sans-serif;
    font-weight: 200;
    font-size: 24px;
    margin-bottom: 10px;
}

.onboardSection-cardDivider {
    display: block;
    width: 24px;
    height: 1px;
    margin: 0 auto 16px;
    background: #ffffff;
    opacity: 0.8;
}

.onboardSection-cardText {
    font-family: "Manrope", sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* ====== ARROWS ====== */
.onboardSection-arrow {
    font-size: 28px;
    line-height: 1;
    font-family: "Exo 2", sans-serif;
    font-weight: 200;
    opacity: 0.9;
}

.formSection {
    padding: 60px 0px;
    max-width: 80%;
    margin: 0 auto;
}

.formSecHeadin {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 32px;
    margin-bottom: 36px;
    text-align: center;
}

.formDescrTxt {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.red-form-page-wrapper {
    width: 100%;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}

.red-form-card {
    max-width: 720px;
    margin: 0 auto 32px;
    background: #171515ba;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
}

.red-form-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== Inputs ===== */
.red-form-input-group {
    width: 100%;
}

.red-form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 15px;
    background: #432525;
    /* dark red fill */
    color: #ffffff;
    box-sizing: border-box;
}

.red-form-input::placeholder {
    color: #e1bcbc;
    opacity: 0.9;
}

.red-form-input:focus {
    box-shadow: 0 0 0 1px #d54b4b, 0 0 12px rgba(213, 75, 75, 0.6);
}

/* ===== Button ===== */
.red-form-button-wrap {
    text-align: center;
}

.red-form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 126px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 2px;
    /* ✅ Add this */
    background-image:
        linear-gradient(#000000, #000000),
        /* inner fill */
        linear-gradient(90deg, #3C3855, #5C2626);
    /* border gradient */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.25s ease;
    margin-top: 20px;
}

.red-form-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
    background-image:
        linear-gradient(#101010, #101010),
        linear-gradient(90deg, #7b5cff, #ff6767);
}

.red-form-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.stactLogoSlider {
    width: 100%;
    height: auto;
}

.sep-client-logo-section {
    margin-bottom: 60px;
    max-width: 965px;
    width: 90%;
    margin: 0 auto;
}

.mt-40p {
    margin-top: 40px;
}

.ambulanceSection-inner.withWhiteBG {
    background-color: #fff;
    border-radius: 5px;
}

.ambulanceSection-inner.withWhiteBG .ambulanceSection-title {
    color: #000;
    margin-bottom: 3px;
}

.ambulanceSection-inner.withWhiteBG .dsrcText {
    color: #000;
    margin-bottom: 30px !important;
}

.ambulanceSection-inner.withWhiteBG .ambulanceSection-card {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    margin: 10px 10px;
}

.enterprise-container {
    max-width: 965px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 0px;
    padding-bottom: 200px;


}

.exterPriseBannerSliderMain {
    /* 🔥 Background image bottom center */
    background-image: url("https://red-health.hashtechorange.com/wp-content/themes/redhealth/assets/hospital/enterPriseSliderBanner.png");
    /* change path */
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    /* or cover / auto depending on need */
    margin-top: 60px;
}


/* Enterprise slider container */
.enterprise-slider-container {
    position: relative;
}


/* Main slider styles */
.enterprise-slider {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.397);
}

/* Individual slide */
.enterprise-slide {
    position: relative;
    padding: 53px 95px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* min-height: 500px; */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #9a969640;
}

/* Slide content */
.enterprise-slide-content {
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}



/* Custom navigation arrows */
.enterprise-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(147, 136, 136, 0.29);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 1.8rem;
}



.enterprise-nav-arrow.enterprise-arrow-prev {
    left: -75px;
}

.enterprise-nav-arrow.enterprise-arrow-next {
    right: -75px;
}

/* Dots styling */
.enterprise-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    list-style: none;
}

.enterprise-dots li {
    margin: 0 8px;
}

.enterprise-dots li button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
    background: transparent;
    color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enterprise-slide-content .dsrcText {
    margin-bottom: 20px;
}

.sliderSectionImg {
    width: 100%;
    height: auto;
}

.sliderSectionImg.firstImg {
    margin-bottom: 30px;
}

.ambulanceSection-slider .slick-track {
    margin-left: 0px;
}

.secondParaLinene {
    margin-bottom: 60px;
}

.firstPara.thirdlinepara {
    margin-bottom: 53px;
}

.my-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 1.8rem;
    border: none;
}

.my-slider-arrow img {
    height: 31px;
}

.my-slider-prev {
    left: -58px;
}

.my-slider-next {
    right: -58px;
}

.slick-arrow.slick-disabled {
    display: none !important;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop default */
.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

/* STACK SECTION */

.stack-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 965px;
    margin: 0 auto;
}

.stack-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 580px;
    /* height: 480px; */
}


.stack-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* height: 100%; */
    padding-top: 46px;
    padding-left: 70px;
    padding-right: 70px;
    padding-bottom: 76px;
    background: #2A2323;
    /* background: #2e2e2e79; */
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.amb-btn-primary {
    text-decoration: none;
    color: #fff;
    background:
        linear-gradient(#000, #000) padding-box,
        /* inner fill */
        linear-gradient(90deg, #3C3855, #5C2626) border-box;
    /* gradient border */
    border: 2px solid transparent;
    border-radius: 2px;
    /* now works */
    display: inline-block;
}



.stack-section .slick-track {
    margin-left: 0px;
}

.stack-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 24px;
    /* margin-bottom: 40px; */
    margin-left: 22px;
    text-align: center;
}

.stack-card .redhealth-main-label {
    margin-bottom: 30px;
    margin-left: 22px;
}

/* MAIN STACK TABS (4 cards) */
.stack-tabs-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.stack-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.stack-tab {
    padding: 0.55rem 1.2rem;
    background: transparent;
    border: none;
    color: #e5e7eb;
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    white-space: nowrap;

}




/* INNER SLIDER – ambulance cards */

.card-slider {
    width: 100%;
    flex: 1 1 auto;
}

.card-slider .slick-list {
    height: 100%;
}

.card-slider .slick-track {
    display: flex !important;
    height: 100%;
}

.card-slider .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.ambulance-card {
    display: flex !important;
    flex: 1 1 auto;
    margin: 0 8px;
}

.ambulance-card-inner {
    /* background: #f9fafb; */
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* height: 100%; */
    transition: box-shadow 0.28s ease;
    padding-bottom: 100px;
    position: relative;
}

.ambulance-img-wrap {
    position: relative;
    width: 100%;
    /* padding-top: 60%; */
    overflow: hidden;
    flex: 1 1 auto;
    background-color: #000;
    border-radius: 2px;
}

.ambulance-img-wrap img {
    /* position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; */
    width: 100%;
    display: block;
}

.ambulance-content {
    background: #f9fafb;
    padding: 1.4rem 1.6rem 1.5rem;
    position: relative;
    flex: 0 0 auto;
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: absolute;
    bottom: -55px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 2px;

    /* min-height: 180px; */
}

/* Hover: only white content block slides up */
.ambulance-card-inner:hover .ambulance-content {
    transform: translateY(-55px);
    border-radius: 2px;
}

.ambulance-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 15px;
    margin-bottom: 0.35rem;
    color: #111827;
}


.ambulance-text {
    font-size: 10px;
    color: #4b5563;
    line-height: 18px;
    transition: color 0.25s ease;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    /* Light */
}

.ambulance-actions {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.6rem;
    opacity: 0;
    visibility: hidden;
    /* Hides the element and prevents it from taking up space */
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    /* Transition visibility delay */
}

.ambulance-card-inner:hover .ambulance-actions {
    opacity: 1;
    visibility: visible;
    /* Makes the element visible */
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0s;
    /* Immediate visibility change */
}


.ambulance-card-inner:hover .ambulance-text {
    color: #000;
}

.amb-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    /* Light */
    font-size: 9px;
    letter-spacing: 0.1px;
    line-height: 22.5px;

    padding: 0.45rem 0.9rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}






.amb-btn-ghost {
    background: transparent;
    display: block;
    margin: auto;
}

.amb-btn.amb-btn-ghost img {
    width: 100%;
}



/* Slick dots */
.card-slider .slick-dots {
    bottom: -28px;
}

.card-slider .slick-dots li button:before {
    font-size: 8px;
    color: #6b7280;
}

.stackCardPara {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    /* Regular */
    font-size: 16px;
    line-height: 24px;
    color: #DFDFDF;
    margin-bottom: 44px !important;
    margin-top: 10px;
    text-align: center;

}


.card-slider .slick-dots li.slick-active button:before {
    color: #ffffff;
}

/* z-index for stacked cards */
.stack-card:nth-child(1) {
    z-index: 1;
}

.stack-card:nth-child(2) {
    z-index: 2;
}

.stack-card:nth-child(3) {
    z-index: 3;
}

.stack-card:nth-child(4) {
    z-index: 4;
}

/* Mobile ≤ 820px */
@media (max-width: 820px) {
    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }
}



/* RESPONSIVE */
@media (max-width: 1440px) {
    .ambulanceSection-cardBody {
        background: #f5f5f5;
        padding: 20px;
        min-height: 160px;
    }
}

/* RESPONSIVE */
@media (max-width: 1166px) {
    .onboardSection-inner {
        max-width: 90%;
    }


}

@media (max-width:1024px) {

    .enterprise-container,
    .sectionFifth,
    .stack-section {
        max-width: 90%;
    }

    .SectionThird,
    .sectionSixth {
        max-width: 90%;
        margin: 0 auto;
    }

    .enterprise-nav-arrow.enterprise-arrow-next {
        right: -34px;
    }

    .enterprise-nav-arrow.enterprise-arrow-prev {
        left: -34px;
    }

    .topWrp {
        max-width: 90%;
        /* margin-left: 53px; */
    }

    .card4 {
        top: 554px;
        left: 0%;
    }

    .card3 {
        top: 320px;
        right: 40%;
    }

    .card3 {
        top: 320px;
        right: 41%;
    }

    .card5 {
        top: 428px;
        right: 1%;
    }

    .card6 {
        top: 698px;
        right: 32%;
    }

    .AbsoluteCard {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0px !important;
        gap: 30px;
        margin-bottom: 0px;
    }

    .metricCard {
        width: 183px;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .my-slider-next {
  right: -32px;  
}
.my-slider-prev {
  left: -32px;   
}

    .my-slider-next img {
  filter: invert(100%) brightness(0%);
}
.my-slider-prev  img{
   filter: invert(100%) brightness(0%);
}

    .metricCard {
        opacity: 1;
        border-radius: 8px;
    }

    .ambulance-card {
        margin: 0px 15px;
    }

    .stack-section {
        min-height: unset !important;
    }

    .stack-card {
        margin-bottom: 50px;
        padding: 20px;
        background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
        border: none;

    }

    .stack-heading,
    .stackCardPara {
        color: #3F3F3F;
    }

    .sectionSixth-inner {
        top: 10%;
    }

    .onboardSection {
        margin-top: 0px;
    }

    .sectionSixth {
        margin-top: 50px;
    }

    .redhealth-links-inner {
        display: none;
    }

    .card-slider .slick-dots {
        bottom: -32px;
    }

    .stack-container {
        width: 90%;
        height: auto !important;
    }


    .sectionFifth {
        width: 90%;
    }

    .ambulanceSection-slider .slick-slide {
        margin: 0px 10px;
    }

    .enterprise-slide {
        min-height: 450px;
        padding: 30px;
    }

    .metricCard {
        position: unset;
    }



    .ambulanceSection-inner {
        padding: 20px 20px;
    }




    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .hero-eyebrow {
        font-size: 2.1rem;
        line-height: 1;
    }

    .redhealth-links-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .redhealth-divider {
        width: 100%;
        height: 1px;
    }

    .redhealth-links-nav {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 8px;
    }

    .redhealth-links-inner a {
        white-space: normal;
        /* allow wrapping on small screens */
    }

    .dividerSec {
        max-width: 100%;
    }

    .onboardSection-flow {
        flex-direction: column;
        gap: 24px;
    }

    .onboardSection-arrow {
        transform: rotate(90deg);
        /* arrow down between stacked cards */
    }

    .onboardSection-card {
        width: 100%;
        max-width: 360px;
    }



    .sectionSixth br {
        display: none;
    }



    .enterprise-nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .enterprise-slide {
        min-height: 400px;
        padding: 25px;
    }

    .amb-btn.amb-btn-ghost img {
        width: 90% !important;
    }

}


@media (max-width: 600px) {
    .ambulance-card-inner {
        padding-bottom: 80px;
    }

    .ambulance-content {
        padding: 1.2rem 1.3rem 1.3rem;
    }

    .stack-tabs {
        justify-content: flex-start;
    }

    .stack-tab {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .stack-section {
        max-width: 90%;
        padding: 20px 0px;
    }

    .stack-card {
        padding: 20px;
        padding-bottom: 20px;
    }

    .stack-container {
        width: 100%;
    }

    .stack-heading {
        font-size: 15px;
        margin-bottom: 10px;
        margin-left: 0px;
        text-align: left;
    }

    .stackCardPara {
        font-size: 12px;
        margin-bottom: 24px;
        margin-top: 0px;
        text-align: left;
    }

    .ambulance-card {
        margin: 0;
    }

    .enterprise-slide-content {
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .topWrp {
        max-width: 80%;
        /* margin-left: 43px; */
    }

    .enterprise-slider-container {
        /* padding: 0 20px; */
    }

    .enterprise-nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .enterprise-slide {
        min-height: 380px;
        padding: 20px;
    }

    .red-form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .red-form-button {
        width: 100%;
        max-width: 320px;
    }

    .hero-eyebrow {
        font-size: 20px;
        line-height: 1.5;
    }

    .hero-subtext {
        font-size: 12px;
    }

    .person-image-big {
        width: 210px;
        height: 300px;
    }



    .onboardSection-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .onboardSection-cardContent {
        padding: 20px;
    }

    .onboardSection-cardTitle {
        font-size: 20px;
    }

    .onboardSection-cardText {
        font-size: 13px;
    }

    .AbsoluteCard {
        grid-template-columns: 1fr 1fr;
        margin: 50px 0px;
        width: 100%;
    }

    .ambulanceSection-title {
        font-size: 20px;
        color: #3F3F3F;
    }

    .hero-btn {
        font-size: 12px;
        padding: 14px 40px;
        border-radius: 10px;
    }

    .hero-btn.primary {
        position: relative;
        z-index: 1;
        padding: 10px 19px;
    }

    .SectionThird {
        max-width: 90%;
        margin: 0 auto;
    }

    .secondHeading,
    .sectionSixth-title,
    .formSecHeadin {
        font-size: 22px;
        line-height: unset;
    }

    .dsrcText br {
        display: none;
    }

    .subMainDiscr,
    . {
        font-size: 20px;
        line-height: unset;
    }

    .sectionFifth {
        max-width: 90%;
    }

    .ambulanceSection .slick-dots {
        bottom: -32px;
    }

    .ambulanceSection {
        padding-bottom: 0px;
    }

    .sectionSixth-text {
        font-size: 14px;
        line-height: 20px;
    }

    .sectionSixth {
        padding-bottom: 0px;
    }

    .formSection {
        max-width: 90%;
    }

    .ambulanceSection-inner {
        background: linear-gradient(226deg, #FFFFFF 0%, #999999 100%);
        border-radius: 5px;
    }

    .ambulanceSection-cardTitle {
        font-size: 16px;
    }

    .metricCard {
        width: 100%;
        padding: 10px;
        height: 177px !important;
    }

    .metricCard-line1,
    .metricCard-line2 {
        font-size: 14px;
    }

    .subMainDiscr {
        font-size: 16px;
        line-height: 22px;
    }

    .dsrcText {
        font-size: 14px;
        line-height: 24px;
    }

    .secondHeading {
        font-size: 16px;
    }

    .amb-btn.amb-btn-ghost img {
        width: 62% !important;
    }

    .onboardSection-card {
        width: 255px;
        max-width: 360px;
    }

    .enterprise-nav-arrow.enterprise-arrow-next {
        right: -20px;
    }

    .enterprise-nav-arrow.enterprise-arrow-prev {
        left: -20px;
    }

    .red-form-button {

        padding: 14px 16px;
    }

}