@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;800&display=swap");

.robotics .title {
    /* font-family: "Orbitron", sans-serif !important; */
    /* font-size: 28px !important; */
    /* font-weight: 700; */
    /* letter-spacing: 1.5px; */
    font-family: font-bold !important;
    text-shadow: 0px 8px 5px rgba(70, 57, 54, 0.15);
    line-height: 1.1;
    color: transparent;
    /* color: transparent;
    text-stroke: 1.5px var(--primary-clr);
    -webkit-text-stroke: 1.5px var(--primary-clr); outline color */
}

.reveal-text .char {
    display: inline-block;
    opacity: 0.15;
    transform: translateX(-7px);

    /* Gradient on the span itself */
    background: linear-gradient(120deg, #23b24b, #6cbd45, #92c73d);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.reveal-text .space {
    display: inline-block;
    width: 0.3em; /* preserves word spacing */
}

.robotics-section + .robotics-section {
    margin-top: 150px;
}

.robotics-section + .robotics-section.without-heading-margin-top {
    margin-top: 10px;
}

#robotics-surgery-banner {
    margin-top: 30px;
    position: relative;
}

#robotics-surgery-banner:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 90%;
    height: 20px;
    border-radius: 507px;
    opacity: 0.3;
    background: #000;
    filter: blur(10px);
    z-index: -1;
}

.robotics .section-heading {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 0px 10px;
    margin-bottom: 50px;
}

.robotics .section-heading .robot-arm {
    position: absolute;
    width: 60px;
    left: 0;
    top: 30%;
    transform: translate(-50%, -100%);
    filter: invert(49%) sepia(50%) saturate(1711%) hue-rotate(99deg)
        brightness(99%) contrast(73%);
    /* filter: invert(10%) sepia(98%) saturate(5002%) hue-rotate(236deg)
        brightness(77%) contrast(78%); */
}

.robotics .section-heading .robot-arm.right-side {
    left: unset;
    right: 0;
    transform: translate(50%, -100%) rotateY(180deg);
}

.robotics .section-heading .robot-arm.in-center {
    width: 75px;
    left: unset;
    top: 0;
    right: 50%;
    transform: translate(50%, -112%) rotateY(180deg);
}

.folded-card {
    position: relative;
    background: #fff;
    box-shadow: 0 0 3px #00000040;
    padding: 30px 50px;
    border-radius: 3px;
}

.folded-card.grid-system {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 25px;
    text-align: justify;
}

.folded-card:before,
.folded-card:after {
    bottom: 26px;
    box-shadow: 0 22px 8px #00000080;
    content: "";
    height: 28px;
    position: absolute;
    width: 48%;
    z-index: -1;
}

.folded-card:before {
    left: 2%;
    transform: rotate(-3deg);
}

.folded-card:after {
    right: 2%;
    transform: rotate(3deg);
}

/* Hospital Gradient with Padding */
.robotic-gradient {
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    color: white;
    padding: 50px;
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../images/robotics/robotic-banner.jpg");
    z-index: -1;
}

.robotic-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -2;
}

.robotic-gradient-content {
    position: relative;
    z-index: 2;
}

.robotic-flex-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

    .child-box {
        width: calc(33.3% - 20px);
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px 30px;
        color: #fff;
        font-family: font-semibold;
        letter-spacing: 0.5px;
        text-transform: uppercase;

        img {
            width: 70px;
            height: 70px;
            filter: invert(100%) sepia(0%) saturate(7479%) hue-rotate(70deg)
                brightness(99%) contrast(107%);
            display: block;
            margin-bottom: 18px;
        }

        p {
            line-height: 1.2;
            font-size: 18px;
        }
    }
}

.glass-card {
    height: 240px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 2.2);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
}

.glass-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
    );
}

.new-adm-why-study-container {
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    padding: 45px 50px;
    background: rgba(250, 250, 250);
    display: grid;
    grid-template-columns: 540px 1fr;
    align-items: center;
    gap: 30px;
}

.new-adm-why-study-container .why-study-title {
    position: relative;
    color: #fff;
    /* height: 305px; */
    height: 90%;
}

.new-adm-why-study-container .why-study-title span {
    position: absolute;
    font-size: 65px;
    font-family: font-semibold;
    color: var(--secondary-clr);
    text-shadow:
        2px 2px 3px #f8f8f8,
        2px 4px 0px rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.new-adm-why-study-container .why-study-title span:first-child {
    left: 0;
    top: 0;
    color: var(--primary-clr);
}

.new-adm-why-study-container .why-study-title span:nth-child(2) {
    left: 0;
    top: 75px;
}

.new-adm-why-study-container .why-study-title span:nth-child(3) {
    left: 0;
    top: 150px;
    color: var(--primary-clr);
}

.new-adm-why-study-container .why-study-title span:nth-child(4) {
    left: 0;
    top: 225px;
}

.new-adm-why-study-container .why-study-title img {
    width: 140px;
    position: absolute;
    left: 220px;
    z-index: 0;
    top: 10px;
    filter: invert(10%) sepia(98%) saturate(5002%) hue-rotate(236deg)
        brightness(77%) contrast(78%);
}

.why-to-choose-list li {
    background: #fff;
    border-radius: 50px;
    font-size: 18px;
    box-shadow:
        rgba(0, 0, 0, 0.19) 0px 10px 20px,
        rgba(0, 0, 0, 0.23) 0px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-family: font-semibold;
}

.why-to-choose-list li .img-div {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
        rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.why-to-choose-list li .numbering {
    font-size: 25px;
    font-style: italic;
    margin-bottom: 0;
    font-family: font-bold;
    color: var(--primary-clr);
}

.why-to-choose-list li img {
    width: 35px;
    filter: invert(55%) sepia(37%) saturate(7439%) hue-rotate(214deg)
        brightness(92%) contrast(89%);
}

.why-to-choose-list li + li {
    margin-top: 25px;
    position: relative;
}

.why-to-choose-list li + li::before {
    content: "";
    position: absolute;
    left: 10%;
    top: -25px;
    width: 5px;
    height: 25px;
    background: var(--primary-clr);
}

.why-to-choose-list li + li::after {
    content: "";
    position: absolute;
    right: 10%;
    top: -25px;
    width: 5px;
    height: 25px;
    background: var(--primary-clr);
}

.accordion-item {
    border: unset;
}

.accordion-item .accordion-button {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 20px;
    font-family: font-semibold;
    padding-top: 17px;
    box-shadow:
        rgba(0, 0, 0, 0.16) 0px 3px 6px,
        rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.accordion-button {
    font-size: 18px;
    padding: 15px 24px;
    background-color: var(--primary-clr);
    color: #fff;
    border: unset;
    outline: unset;
    gap: 15px;
    justify-content: space-between;
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(256deg)
        brightness(104%) contrast(102%);
    margin-top: -5px;
}

.accordion-body {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 24px;
}

.accordion-item .accordion-body {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    border: unset;
}

.accordion-body h2 {
    font-size: 20px;
    margin-bottom: 0;
}

.accordion-body .dash {
    border-bottom: 2px solid var(--secondary-clr);
    margin: 10px 0 15px;
}

.accordion-body > div {
    display: flex;
    gap: 15px;
    line-height: 1.2;
}

.accordion-body ul {
    margin-bottom: 12px;
    padding: 0;
    list-style: none;
}

.accordion-body ul li {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.accordion-item + .accordion-item {
    margin-top: 20px;
}

.accordion-body.information-li ul li {
    text-align: left;
    margin-top: 5px;
}

.steps-box {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.step-card {
    /* height: 240px; */
    /* background-image: url(../images/robotics/pinned-sticker.png); */
    /* background-size: cover; */
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
        rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 35px 20px 20px;
}

.step-card p.number {
    width: 60px;
    height: 60px;
    border-radius: 20%;
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 2px 4px,
        rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
        rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    display: grid;
    place-items: center;
    font-family: font-semibold;
    font-size: 40px;
    color: #fff;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.2),
        1px -1px 0 rgba(0, 0, 0, 0.2),
        -1px 1px 0 rgba(0, 0, 0, 0.2),
        1px 1px 0 rgba(0, 0, 0, 0.2),
        3px 3px 3px rgba(0, 0, 0, 0.2);
    -webkit-text-stroke: 1.5px var(--primary-clr);
}

.step-card p.title {
    font-size: 16px;
    color: #1a1a1a;
    font-family: font-medium !important;
    text-align: center;
    line-height: 1.3;
}

.step-card p.sub-title {
    font-size: 16px;
    padding: 0 20px;
    line-height: 1.2;
    text-align: center;
}

.rsc-heading-1 {
    font-family: font-semibold;
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
    background: linear-gradient(120deg, #23b24b, #6cbd45, #92c73d, #b3d234);
    background-clip: text;
    -webkit-background-clip: text;
    color: #0003;
}

.rsc-heading-2 {
    font-family: font-semibold;
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    margin-top: 30px;
    background: linear-gradient(120deg, #23b24b, #6cbd45, #92c73d, #b3d234);
    background-clip: text;
    -webkit-background-clip: text;
    color: #0003;
    padding: 0 50px;
}

.doctors-wrap .doctor-card.full-width {
    width: 100%;
}

.robotic-surgery-expert-video-card {
    box-shadow:
        rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
        rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.robotic-surgery-expert-video-card .video-box {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.robotic-surgery-expert-video-card .video-box img {
    display: block;
    object-fit: cover;
    object-position: left top;
    width: 100%;
    height: 267.4px;
}

.robotic-surgery-expert-video-card .video-box .play-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: rgba(35, 178, 75, 0.7);
    transition: all 0.4s ease-in-out;
}

.robotic-surgery-expert-video-card .video-box .play-div i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 80px;
    height: 80px;
    font-size: 25px;
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4px;
    transition: all 0.4s ease-in;
}

.ripple-animation {
    position: absolute;
    top: 27%;
    left: 40%;
    width: 20%;
    height: 45%;
    border: 1px solid #fff;
    animation: ripple 2.9s linear 0s infinite;
    opacity: 0;
    border-radius: 50%;
}

.border-1 {
    border-width: 1px !important;
}

.ripple-animation.border-2 {
    animation-delay: 1s;
}

.ripple-animation.border-3 {
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
    20% {
        -webkit-transform: scale(1.24);
        -moz-transform: scale(1.24);
        -o-transform: scale(1.24);
        transform: scale(1.24);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(2.1);
        -moz-transform: scale(2.1);
        -o-transform: scale(2.1);
        transform: scale(2.1);
        opacity: 0;
    }
}

.rs-benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 60px;

    .benefit-card {
        position: relative;
        height: 300px;
        --benefit-card-title-height: 120px;

        .benefit-card-title {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, 0);
            width: 80%;
            height: var(--benefit-card-title-height);
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            padding: 0 30px 45px;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            text-transform: uppercase;
            font-size: 19px;
            line-height: 1.2;
            font-family: font-bold;
            letter-spacing: 1px;
            text-shadow: 0px 8px 5px rgba(70, 57, 54, 0.15);
            box-shadow:
                rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
                rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
                rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
            span {
                background: linear-gradient(120deg, #23b24b, #6cbd45, #92c73d);
                background-clip: text;
                -webkit-background-clip: text;
                color: transparent;
            }
        }

        .benefit-card-body {
            position: absolute;
            top: calc(var(--benefit-card-title-height) - 50px);
            left: 0;
            width: 100%;
            height: calc(100% - var(--benefit-card-title-height));
            padding: 0 25px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 17px;
            border-radius: 15px;
            font-family: font-medium;
            box-shadow:
                rgba(0, 0, 0, 0.16) 0px 3px 6px,
                rgba(0, 0, 0, 0.23) 0px 3px 6px;
            background: rgba(250, 250, 250, 0.7);
            line-height: 1.3;
            transform-origin: center top;
        }
    }
}

@media (max-width: 767px) {
    .robotics .section-heading {
        margin-bottom: 35px;
    }

    .folded-card {
        padding: 25px 15px;
    }

    .folded-card .title {
        font-size: 20px;
        padding: 8px 50px;
    }

    .reveal-text .char {
        transform: translateX(0);
        display: inline-block;
    }

    .reveal-text .space {
        display: inline-block;
        width: 0.25em; /* Explicit width for spaces ensures they don't collapse */
    }

    .folded-card.grid-system {
        grid-template-columns: repeat(1, 1fr);
        padding: 25px 15px;
        gap: 10px;
    }

    .section-heading .title {
        font-size: 24px !important;
    }

    .robotic-surgery-expert-video-card {
        margin-top: 25px;
    }

    .ripple-animation {
        top: 29%;
        left: 35%;
        width: 30%;
        height: 40%;
    }

    .robotic-gradient {
        padding: 30px 20px;
    }

    .robotic-flex-row {
        .child-box {
            width: 100%;
        }
    }

    .rs-benefits-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .new-adm-why-study-container {
        padding: 0;
        grid-template-columns: 1fr;
    }

    .new-adm-why-study-container .why-study-title span {
        font-size: 43px;
    }

    .new-adm-why-study-container .why-study-title span:nth-child(2) {
        top: 50px;
    }
    .new-adm-why-study-container .why-study-title span:nth-child(3) {
        top: 100px;
    }
    .new-adm-why-study-container .why-study-title span:nth-child(4) {
        top: 150px;
    }

    .why-to-choose-list {
        margin-top: 200px;
    }

    .why-to-choose-list li {
        font-size: 15px;
        padding: 5px;
        display: grid;
        grid-template-columns: 55px 1fr;
        gap: 15px;
    }

    .why-to-choose-list li + li {
        margin-top: 25px;
        position: relative;
    }

    .new-adm-why-study-container .why-study-title img {
        width: 90px;
        left: 150px;
    }

    .accordion-item .accordion-button {
        font-size: 17px;
    }

    .accordion-button:not(.collapsed) {
        font-size: 17px !important;
    }

    .steps-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .rsc-heading-1,
    .rsc-heading-2 {
        font-size: 18px;
    }

    .rsc-heading-2 {
        padding: 0;
    }
}
