/* ===== DESKTOP STYLES (Default) ===== */
* {
    font-family: "roboto", sans-serif;
}

.middle-section .feature h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #2C2E31;
    display: flex;
    gap: 12px;
    align-items: center;
}

.middle-section .feature h3+.banner-p,
.middle-section .feature .banner-p {
    position: static !important;
    top: auto !important;
    font-weight: 500;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 0%;
    margin-top: 12px !important;
    margin-bottom: 0;
}

.middle-section .feature .banner-p[style] {
    top: auto !important;
    position: static !important;
}

.middle-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0px 0px 0px 140px;
    box-sizing: border-box;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0B4F8F;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #408CD4;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 25px;
}

.btn-demo {
    background-color: #fff;
    color: #1a49d8;
    border: none;
    border-radius: 24px;
    padding: 12px 16px 12px 16px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 100%;
}

.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%;
}

.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;
}

.doctors-list {
    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-section {
    padding: 0px 120px 100px 120px;
}

.my-5 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.shivam-title {
    font-weight: 700;
    font-size: 36px;
    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-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;
}

.row {
    margin: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.col-12,
.col-md-4 {
    padding: 0 !important;
}

.discharge-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.discharge-container {
    text-align: center;
    padding: 0 20px;
}

.discharge-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0;
    color: #106FC9;
    margin-bottom: 20px;
    text-align: center;
}

.discharge-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    max-width: 790px;
    margin-bottom: 40px;
    text-align: center;
}

.section-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.cta-content {
    width: 100%;
    height: 345px;
    background-image: url('mmsmbaner.png');
    /* background-position: center; */
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.discharge-video {
    display: flex;
    justify-content: center;
    width: 100%;
}

.discharge-video iframe {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    border: none;
    margin: 0px 120px 100px 120px;
}

.play-toggle {
    display: none;
}

.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;
}

.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 {
    position: relative;
    width: calc(100% - 20px);
    aspect-ratio: 16 / 9;
    border-radius: 9px;
    overflow: hidden;
    margin: 10px;
    background: #000;
}

.thumb-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 9px;
}

.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 {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-toggle:checked~.thumb-layer {
    opacity: 0;
    pointer-events: none;
}

.play-toggle:checked~.video-frame {
    opacity: 1;
    pointer-events: all;
}

.video-title {
    color: #2C2E31;
    font-size: 12px;
    line-height: 20px;
    margin: 0 20px 16px;
    text-align: center;
}

.cta-content-section {
    margin: 0px 120px 100px 120px;
}

;
/* ===== LAPTOP DEVICES (1024px - 1439px) ===== */
@media (max-width: 1439px) and (min-width: 1024px) {
    .middle-section {
        padding: 0px 0px 0px 100px;
    }

    .shivam-ai-section {
        padding: 0px 100px 80px 100px;
    }

    .discharge-video iframe {
        margin: 0px 100px 80px 100px;
        height: 500px;
    }

    .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;
    }

    .video-card {
        flex: 1 1 320px;
        max-width: 320px;
    }
}

/* ===== TABLET LANDSCAPE (768px - 1023px) ===== */
@media (max-width: 1023px) and (min-width: 768px) {
    .middle-section {
        padding: 0 60px;
    }

    .shivam-ai-section {
        padding: 0px 60px 60px 60px;
    }

    .discharge-video iframe {
        margin: 0px 60px 60px 60px;
        height: 400px;
    }

    .shivam-video-row {
        /* flex-wrap: wrap; */
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 32px;
    }

    .video-card {
        flex: 1 1 calc(50% - 32px);
        max-width: calc(50% - 32px);
    }

    .cta-content {
        /* height: 280px; */
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 32px;
        margin-top: 80px;
    }
}

/* ===== TABLET PORTRAIT (600px - 767px) ===== */
@media (max-width: 767px) and (min-width: 600px) {
    .middle-section {
        padding: 0 40px;
    }

    .shivam-ai-section {
        padding: 0px 40px 50px 40px;
    }

    .discharge-video iframe {
        margin: 0px 40px 50px 40px;
        height: 350px;
    }

    .shivam-video-row {
        /* flex-wrap: wrap; */
        gap: 28px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .video-card {
        flex: 1 1 100%;
        max-width: 450px;
    }

    .cta-content {
        height: 250px;
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 28px;
        margin-top: 60px;
    }

    .cta-content h3 {
        font-size: 1.75rem;
    }
}

/* ===== MOBILE LARGE (480px - 599px) ===== */
@media (max-width: 599px) and (min-width: 480px) {
    .shivam-video-row {
        gap: 28px;
        display: flex;
        align-items: baseline;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
    }
}

/* ===== MOBILE MEDIUM (400px - 479px) ===== */
@media (max-width: 479px) and (min-width: 400px) {
    .shivam-video-row {
        gap: 28px;
        display: flex;
        align-items: baseline;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
    }
}

/* ===== MOBILE SMALL (350px - 399px) ===== */
@media (max-width: 399px) and (min-width: 350px) {
    .shivam-video-row {
        gap: 28px;
        display: flex;
        align-items: baseline;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
    }
}

/* ===== MOBILE EXTRA SMALL (320px - 349px) ===== */
@media (max-width: 349px) and (min-width: 320px) {
    .shivam-video-row {
        gap: 28px;
        display: flex;
        align-items: baseline;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
    }
}

/* ===== MOBILE TINY (max-width: 319px) ===== */
@media (max-width: 319px) {
    .shivam-video-row {
        gap: 28px;
        display: flex;
        align-items: baseline;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-content: flex-start;
    }
}

/* ===== MOBILE LARGE (480px - 599px) ===== */
@media (max-width: 599px) and (min-width: 480px) {
    .middle-section {
        padding: 0 30px;
    }

    .shivam-ai-section {
        padding: 0px 30px 40px 30px;
    }

    .discharge-video iframe {
        margin: 0px 30px 40px 30px;
        height: 300px;
        border-radius: 10px;
    }

    .shivam-video-row {
        flex-direction: column;
        gap: 24px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .video-card {
        max-width: 100%;
    }

    .cta-content {
        height: 484px;
        border-radius: 24px;
        width: 69vw;
        margin: 0px 0px 0px -50px;
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 26px;
        margin-top: 50px;
    }

    .shivam-description,
    .discharge-description {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .middle-section .feature h3 {
        font-size: 22px;
    }
}

/* ===== MOBILE MEDIUM (400px - 479px) ===== */
@media (max-width: 479px) and (min-width: 400px) {
    .middle-section {
        padding: 0 20px;
    }

    .shivam-ai-section {
        padding: 0px 20px 30px 20px;
    }

    .discharge-video iframe {
        margin: 0px 20px 30px 20px;
        height: 250px;
        border-radius: 8px;
    }

    .shivam-video-row {
        gap: 20px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .cta-content {
        /* height: 484px;
        border-radius: 16px;
        width: 69vw;
        margin: 0px 0px 0px -50px; */
        height: 484px;
        border-radius: 24px;
        width: 90vw;
        /* margin: 0px 0px 0px -100px; */
    }

    .cta-content-section {
        margin: 0px 20px;
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 24px;
        margin-top: 40px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 15px;
    }

    .middle-section .feature h3 {
        font-size: 20px;
    }

    .banner-p {
        font-size: 14px;
    }
}

/* ===== MOBILE SMALL (320px - 399px) ===== */
@media (max-width: 399px) and (min-width: 320px) {
    .middle-section {
        padding: 0 15px;
    }

    .shivam-ai-section {
        padding: 0px 15px 25px 15px;
    }

    .discharge-video iframe {
        margin: 0px 15px 25px 15px;
        height: 200px;
    }

    .cta-content {
        /* height: 484px;
        border-radius: 16px;
        width: 69vw;
        margin: 0px 0px 0px -50px; */
        height: 484px;
        border-radius: 24px;
        width: 90vw;
        /* margin: 0px 0px 0px -100px; */

    }

    .cta-content-section {
        margin: 0px 20px;
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 22px;
        margin-top: 30px;
    }

    .cta-content h3 {
        font-size: 1.25rem;
    }

    .cta-content p {
        font-size: 14px;
        line-height: 20px;
    }

    .shivam-description,
    .discharge-description {
        font-size: 14px;
        line-height: 20px;
    }

    .middle-section .feature h3 {
        font-size: 18px;
    }

    .video-title {
        font-size: 11px;
    }

    .youtube-icon {
        width: 35px;
        height: 35px;
    }
}

/* ===== MOBILE EXTRA SMALL (max-width: 319px) ===== */
@media (max-width: 319px) {
    .middle-section {
        padding: 0 10px;
    }

    .shivam-ai-section {
        padding: 0px 10px 20px 10px;
    }

    .discharge-video iframe {
        margin: 0px 10px 20px 10px;
        height: 180px;
    }

    .cta-content {
        height: 484px;
        border-radius: 24px;
        width: 69vw;
        margin: 0px 0px 0px -50px;
    }

    .shivam-title,
    .shivam-subtitle,
    .discharge-title {
        font-size: 20px;
        margin-top: 25px;
    }

    .btn-demo,
    .btn-more {
        padding: 10px 14px;
        font-size: 13px;
    }
}