* {
    font-family: "roboto", sans-serif;
}

.middle-section .feature h3 {
    margin: 0;
    /* remove default bottom margin */
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    /* keep tight heading line-height used earlier */
    color: #2C2E31;
    display: flex;
    gap: 12px;
    align-items: center;
    /* margin-top: 100px; */
}

/* .row g-4 {
    gap: 40px;
} */

/* Target the paragraph immediately following an h3 within .feature */
.middle-section .feature h3+.banner-p,
.middle-section .feature .banner-p {
    /* remove previous relative positioning */
    position: static !important;
    top: auto !important;

    /* typography */
    font-weight: 500;
    font-style: normal;
    /* 'Medium' is not a valid font-style; use weight */
    font-size: 15px;
    line-height: 23px;
    /* 23px as you requested */
    letter-spacing: 0%;

    /* space below the h3 */
    margin-top: 12px !important;
    /* enforces 12px gap */
    margin-bottom: 0;
    /* keep bottom margin controlled elsewhere */
}

/* Extra: if some other rule is forcing top offset, force reset */
.middle-section .feature .banner-p[style] {
    /* reset inline styles if any (use only if necessary) */
    top: auto !important;
    position: static !important;
}

.middle-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0px 0px 0px 140px;
    box-sizing: border-box;
}

/* Responsive: reduce padding on smaller screens */
@media (max-width: 1200px) {
    .middle-section {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .middle-section {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .middle-section {
        padding: 0 15px;
    }
}


/* .cta-content {
    width: 100%;
    min-height: 500px;
    adjust as needed
    background-image: url('Ai-Chatbot-imgs@logs/mmsm banner hero@3x 4 (1).svg');
    background-size: calc(100% - 240px) auto;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: 24px;
    Flex for centering content
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
} */

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0B4F8F;
    /* width: 352px; */
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #408CD4;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 25px;
    /* keeps text default color */
}

.btn-demo {
    background-color: #fff;
    color: #1a49d8;
    border: none;
    border-radius: 24px;
    padding: 12px 16px 12px 16px;
    font-weight: 500;
    /* cursor: pointer; */
    /* transition: all 0.3s ease; */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 100%;
}

.btn-demo:hover {
    border-radius: 2px;
}

/* Know More Button */
.btn-more {
    background-color: #1a49d8;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 16px 12px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    /* cursor: pointer; */
    /* transition: all 0.3s ease; */
}

.btn-more:hover {
    border-radius: 2px;
}

/* Icon hover animation */
/* .btn-demo:hover img,
.btn-more:hover img {
    transform: scale(1.2) rotate(5deg);
    transition: all 0.3s ease;
} */

.gap-3 {
    display: flex;
    gap: 16px;
}

.check-icon {
    width: 28px;
    height: 28px;
}

.banner-p {
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 0%;
    margin-top: 12px;
    /* ✅ Adds 12px gap below h3 */
}

.doctors-list {
    /* display: flex; */
    gap: 40px;
    display: flex;
}

.healthcare-section img {
    width: 100%;
    height: auto;
    display: block;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.constus {
    width: 16px;
    height: 16px;
}

/* ===== Shivam AI Assistant Section ===== */
/* === Shivam AI Section === */
.shivam-ai-section {
    /* padding: 60px 20px; */
    /* text-align: center; */
    padding: 0px 120px 100px 120px;
}


.my-5 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* 
.video-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  transition: opacity 0.4s ease;
  cursor: pointer;
} */
/* === Headings and Text === */
.shivam-title {
    font-weight: 700;
    font-size: 36px;
    /* background: linear-gradient(90deg, #2C2E31 0%, #2C2E31 50%); */
    background-color: #106FC9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 10px;
    margin-top: 100px;
}

.shivam-subtitle {
    /* font-family: "Public Sans", sans-serif; */
    font-weight: 700;
    font-size: 36px;
    color: #2C2E31;
    margin-bottom: 20px;
}

.shivam-description {
    max-width: 768px;
    color: #2C2E31;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 54px;
    margin-top: 20px;
}

/* === Reset Bootstrap Row/Column Spacing === */
.row {
    margin: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.col-12,
.col-md-4 {
    padding: 0 !important;
}

/* === Video Card Styles === */
/* .video-card {
    width: 379px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 16px;
    border: 3px solid transparent;
} */

/* .video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
} */

/* === YouTube Placeholder === */
/* .video-placeholder {
    background-color: #F9FAFB;
    height: 202px;
    border-radius: 4px;
    margin: 10px;
} */

/* === Remove Bootstrap padding override === */
.p-3 {
    padding: 0 !important;
}

/* === Video Title === */
/* .video-title {
    font-family: "Public Sans", sans-serif;
    color: #2C2E31;
    font-size: 15px;
    margin: 16px 0 0 0;
} */

/* === Responsive Tweaks === */
@media (max-width: 768px) {
    .shivam-title {
        font-size: 28px;
    }

    .shivam-subtitle {
        font-size: 22px;
    }

    .shivam-description {
        font-size: 15px;
        padding: 0 10px;
    }

    .video-placeholder {
        height: 160px;
    }

    /* .video-card {
        width: 100%;
    } */
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1300px;
    }
}



.discharge-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* padding: 40px 0; */
    box-sizing: border-box;
}

.discharge-container {
    text-align: center;
    /* max-width: 790px; */
    /* margin: 0 auto 40px auto; */
    padding: 0 20px;
}

.discharge-title {
    /* font-family: 'Public Sans', sans-serif; */
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0;
    color:#106FC9;
    /* margin-top: -42px; */
    /* margin-left: 495px;
  margin-right: 494px; */
    margin-bottom: 20px;
    text-align: center;
}

.discharge-description {
    /* font-family: 'Public Sans', sans-serif; */
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    max-width: 790px;
    /* margin-left: 325px;
  margin-right: 325px; */
    margin-bottom: 40px;
    text-align: center;
}

/* ✅ Responsive behavior */
@media (max-width: 1200px) {
    .discharge-title {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .discharge-description {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .discharge-title {
        font-size: 28px;
    }

    .discharge-description {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 480px) {
    .discharge-title {
        font-size: 24px;
    }

    .discharge-description {
        font-size: 14px;
    }
}

/* === GLOBAL WRAPPER ALIGNMENT (fixes uneven desktop alignment) === */
.section-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}


/* === CTA Banner === */
.cta-content {
    width: 100%;
    /* max-width: 1200px; */
    height: 345px;
    /* background-image: url('images/bg-banner-AI-images.png'); */
    background-image: url('../images/bg-banner-AI-images.png');

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: cover;
    border-radius: 24px;
    /* margin: 0 auto 100px auto; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* padding: 40px 20px; */
    box-sizing: border-box;
}

/* === Discharge Video === */
.discharge-video {
    display: flex;
    justify-content: center;
    /* margin: 0 auto 100px auto; */
    width: 100%;
    /* max-width: 1200px; */
}

.discharge-video iframe {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: none;
    margin: 0px 120px 100px 120px;
}

/* ✅ Responsive Tweaks */
@media (max-width: 1280px) {
    .shivam-video-row {
        /* flex-wrap: wrap; */
        gap: 32px;
    }

    .video-card {
        max-width: 360px;
    }

    .discharge-video iframe {
        /* width: 95%; */
        /* aspect-ratio: 16 / 9; */
    }
}

@media (max-width: 992px) {
    .cta-content {
        max-width: 95%;
        /* height: 340px; */
        padding: 40px;
        margin-bottom: 80px;
        border-radius: 20px;
    }

    .shivam-video-row {
        flex-wrap: wrap;
        gap: 28px;
    }

    .video-card {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .shivam-video-row {
        flex-direction: column;
        align-items: center;
        margin: 0 20px 60px;
    }

    .video-card {
        width: 90%;
        max-width: 420px;
    }

    .cta-content {
        height: auto;
        /* min-height: 320px; */
    }

    .discharge-video iframe {
        width: 95%;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 576px) {
    .cta-content {
        width: 100%;
        /* height: 280px; */
        padding: 20px 15px;
        border-radius: 16px;
        /* background-size: contain; */
    }

    .video-title {
        font-size: 14px;
    }

    .video-card {
        width: 100%;
    }
}


/* Optional smaller icon for mobile */
@media (max-width: 600px) {
  .youtube-icon {
    width: 50px;
    height: 50px;
  }
}
/* Hidden checkbox used as toggle */
.play-toggle {
  display: none;
}

/* === Video Row === */
.shivam-video-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 42px;
  flex-wrap: nowrap;
  width: 100%;
 font-family: "roboto", sans-serif;
 cursor: pointer;
}

/* === Individual Card === */
.video-card {
  flex: 1 1 380px;
  max-width: 380px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* === Video Placeholder === */
.video-placeholder {
  position: relative;
  width: calc(100% - 20px);
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  overflow: hidden;
  margin: 10px;
  background: #000;
}

/* === Thumbnail Layer === */
.thumb-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* === Thumbnail Image === */
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 9px;
}

/* === YouTube Icon === */
.youtube-icon {
  position: absolute;
  top: 80%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.video-placeholder:hover .youtube-icon {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

/* === Video Frame (hidden initially) === */
.video-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === On Play (checkbox checked) === */
.play-toggle:checked ~ .thumb-layer {
  opacity: 0;
  pointer-events: none;
}

.play-toggle:checked ~ .video-frame {
  opacity: 1;
  pointer-events: all;
}

/* === Video Title === */
.video-title {
  /* font-family: "Public Sans", sans-serif; */
  color: #2C2E31;
  font-size: 12px;
  line-height: 20px;
  margin: 0 20px 16px;
  text-align: center;
}
