:root {
    --bg: #0b0f17;
    /* page bg */
    --ring: #ffffff;
    /* control bg */
    --ink: #000000;
    /* control icon */
    --ink-inv: #ffffff;
    /* inverted icon */
    --accent: #3b82f6;
    /* focus ring */
    --shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .2);
}


.frame {
    /* width: min(900px, 92vw); */
    width: 100%;
    height: 500px;
    aspect-ratio: 16/9;
    position: relative;
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000
}

video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* gradient edge like the screenshot (optional) */
.frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, .25));
}

/* right-bottom stacked controls */
.vctrls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2
}

.vbtn {
    --bg: var(--ring);
    --fg: var(--ink);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--bg);
    color: var(--fg);
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 2px 8px rgba(0, 0, 0, .35);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease
}

/* 
.vbtn svg {
    background: #D0D0D0;
    padding: 13px;
    stroke: #fff;
    border-radius: 20px;
} */

.vbtn .videobutton {
    position: absolute;
    height: 100%;
    width: 100%;
}

.vbtn:hover {
    transform: translateY(-1px)
}

.vbtn:active {
    transform: translateY(0) scale(.98)
}

.vbtn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px
}

.vbtn svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round
}

.vbtn.muted {
    position: relative;
}

.vbtn.vbtn[data-tip].muted::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 2%;
    width: 91%;
    height: 4px;
    background: #d0d0d0;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    opacity: 1;
    border-width: 1px;
    padding: 0;
}


/* on hover of the whole frame, lift controls a bit and show labels */
.frame:hover .vctrls {
    transform: translateY(-2px)
}

/* tooltip labels */
.vbtn[data-tip] {
    position: relative
}

.vbtn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    right: 110%;
    top: 50%;
    translate: 0 -50%;
    white-space: nowrap;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    padding: .25rem .45rem;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease
}

.vbtn:hover::after {
    opacity: 1;
}

/* Play pulse when paused */
.vbtn--play.pulse::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .55);
    animation: pulse 1.2s ease-out infinite
}

.w-sm-50 {
    width: 50%;
}

@keyframes pulse {
    0% {
        opacity: .6;
        scale: 1
    }

    70% {
        opacity: 0;
        scale: 1.25
    }

    100% {
        opacity: 0;
        scale: 1.25
    }
}

.home-about-section {
    background-image: url('/images/home-intro-bg.png');
    background-size: 100% 100%;
}

/* progress bar (simple) */
.progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, .25)
}

.progress__bar {
    height: 100%;
    width: 0;
    background: #fff;
    transition: width .1s linear
}

img.possible-product-image {
    position: absolute;
    top: 20px;
    right: 30px;
    height: 300px;
}


.line-text-module {
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-text-module .text {
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #016481;
    padding: 20px;
}

.line {
    width: 400px;
    height: 2px;
    background-color: #1e3a8a;
    animation: move 2s infinite;
    border: 2px solid transparent;
    border-image-source: linear-gradient(270deg, #016481 0%, #fff 100%);
    border-image-slice: 1;
}

.line.right {
    border-image-source: linear-gradient(270deg, #ffffff 0%, #016481 100%);
}

.text {
    padding: 0 15px;
    color: #1e3a8a;
    font-size: 24px;
    font-weight: bold;
}

.home-category-card {
    padding: 5px;
}

.home-category-img {
    margin-bottom: 10px;
}

.home-category-card,
.home-category-img,
.card-bottom {
    border: 0.92px solid #C2C2C2;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.division-label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 12px;
    text-align: center;
    border-radius: 44px;
    padding: 6px 15px;
    position: absolute;
    top: 12px;
    right: 12px;
}

.division-label.pink-label {
    background: #F9EAEF;
    color: #BF2D61;
}

.division-label.blue-label {
    background: #E4F9FF;
    color: #016380;
}

.division-label.purple-label {
    background: #FFEDF3;
    color: #663E93;
}

.division-label.yellow-label {
    background: #FFEFB8;
    color: #413F3F;
}

.card-content {
    text-align: left;
    padding: 12px;
    border-radius: 16px;
    /* margin: 5px; */
}

.card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.card-content p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #757577;
    padding-top: 8px;
}

.home-category-card:hover .card-bottom {
    border-color: transparent;
}

.home-category-card:hover .card-content {
    background-image: url('/images/card-hover.png');
    background-size: 100% 100%;
}

.home-category-card:hover .card-content h3,
.home-category-card:hover .card-content p {
    color: #fff;
}

.arrow {
    /* width: 50px;
height: 50px; */
    display: none;
    position: absolute;
    right: 7px;
    bottom: 2px;
    align-items: center;
    justify-content: center;
    /* background-color: #fff; */
    padding: 0;
    border-top-left-radius: 16px;
}

.arrow svg {
    width: 27px;
    height: 27px;
    border-radius: 100px;
    padding: 5px;
    /* background-color: var(--token-ee5ffa32-176c-49f9-ad45-dd55368bee3b, rgb(237, 228, 252)); */
    background-color: #006380;
    transition: all 300ms;
    transform: rotate(-40deg);
}

.home-category-card:hover .arrow {
    display: flex;
}

.top-corner,
.bottom-corner {
    height: 20px;
    width: 20px;
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #fff;
    overflow: hidden;
    transform: rotate(270deg);
}

.top-corner {
    top: 115px;
    right: 8px;
}

.bottom-corner {
    top: 158px;
    right: 53px;
}


.bottom-corner .semicircle {
    background-color: #e6edf5;
}

.top-corner .semicircle {
    background-color: #d3dae4;
}

.home-cta-section {
    background: linear-gradient(98.54deg, #016380 24.08%, #024C62 94.08%);
    position: relative;
    padding: 3rem 2rem;
    z-index: 2;
}

.home-cta-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('/images/cta-bg-logo.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.home-cta-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    color: #FFFFFF;
    width: 100%;
}


.gallery {
    display: flex;
    gap: 10px;
    list-style-type: none;
}

.gallery-item {
    position: relative;
    width: 95%;
    height: 300px;
    overflow: hidden;
    /*cursor: pointer;*/
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    border: 0.92px solid #fff;
    border-radius: 30px;
    margin: 10px auto;
    padding: 10px;
    outline: 0.92px solid #C2C2C2;
    outline-offset: 7px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: blur(90px);
    /* backdrop-filter: blur(100px); */
    /* Initial blur */
    transition: transform 0.6s ease-in-out, filter 0.6s ease-in-out;
    /* Adding transition for blur */
}

.gallery-item:hover .gallery-image {
    /*transform: scale(1.1);*/
    transform: scale(1.1);
    filter: blur(0);
    /* Removing blur on hover */
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #000;
    padding: 6px 35px;
    border-radius: 30px;
    visibility: visible;
    opacity: 1;
    width: fit-content;
    white-space: nowrap;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

.gallery-overlay a {
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    top: 80%;
    /* Moves the label below the image */
    opacity: 1;
    /* Hides the label when hovered */
    background-color: #016481;
    color: #fff;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.gallery-item:hover .gallery-overlay:hover {
    color: #016481;
    background-color: #fff;
}

.gallery-overlay span {
    font-size: 18px;
    font-weight: bold;
}



.map-section {
    background: linear-gradient(98.54deg, #016380 24.08%, #024C62 94.08%);
    color: #fff;
}

.form-section {
    background: linear-gradient(98.54deg, #0162808a 24.08%, #024c623d 94.08%);
    color: #fff;
}

.form-section h4 {
    font-family: Montserrat;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 50px;
    line-height: 1.5;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #fff;
}

.map-section h4 {
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 38px;
    vertical-align: middle;
    color: #fff;
    width: 60%;
    margin-bottom: 10px;
}

.map-section p {
    font-weight: 400;
}

.measurable-outcome-slider {
    position: absolute;
    top: 54px;
    right: 20px;
    width: 600px;
    border-radius: 30px;
}

.data-slide img {
    border-radius: 12px;
}

.slick-track,
.slick-list {
    height: 300px;
    border-radius: 12px;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #fff;
}

.logo-grid-image {
    width: 600px;
    display: block;
    margin: 2rem auto 0;
}

/* Footer Form CSS */

.form-section {
    background-image: url('../images/form-section-bg.png');
    background-size: 100% 100%;
}

.form-card {
    background-image: url('../images/form-bg.png');
    background-size: 100% 100%;
}

.form-card label {
    display: none;

}

.form-card textarea,
.form-card input {
    resize: none;
    color: #000;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 15px;
    border-radius: 10.74px;
    border: 0.89px solid #C2C2C2;
}

.form-card textarea::placeholder,
.form-card input::placeholder {
    color: #757577;
}

.form-card textarea:focus,
.form-card input:focus {
    outline: none;
    box-shadow: none;
    border-color: #016380;
}

.get-in-touch-btn {
    color: #016481;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-bottom: -16px;
}

.send-message-btn {
    background: #01648166;
    border-color: #01648166 !important;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    border-radius: 49.6px;
    padding: 10px 50px;
    position: absolute;
    right: 10px;
    bottom: 3px;
    z-index: 1;
}

/* Footer Form CSS */

/* compact on very small screens */
@media (min-width:1600px) {
    .arrow svg {
        width: 35px;
        height: 35px;
    }

    .home-category-card .card-content {
        padding: 20px 15px;
    }

    .arrow {
        right: 10px;
    }
}

@media (max-width:1025px) {
    .send-message-btn {
        font-size: 16px;
    }

    .measurable-outcome-slider {
        width: 600px;
        top: 170px;
    }

    .slick-track,
    .slick-list {
        height: 300px;
    }

    .line-text-module .text {
        width: 60%;
    }

    img.possible-product-image {
        height: 300px;
    }

    .card-content h3 {
        font-size: 17px;
    }

    .card-content p {
        font-size: 14px;
    }

    .arrow {
        right: -4px;
    }

    .home-cta-heading {
        font-size: 28px;
        line-height: 1.5;
    }
}

@media (max-width:900px) {
    .gallery-item {
        height: 200px;
    }

    .gallery-overlay {
        /* white-space: normal; */
        padding: 10px 30px;
    }

    .gallery-overlay span {
        font-size: 13px;
    }

    .map-section h4,
    .map-section h4,
    .form-section h4 {
        font-size: 28px;
    }

    .measurable-outcome-slider {
        width: 400px;
    }

    .slick-track,
    .slick-list {
        height: 200px;
    }

    .line-text-module .text {
        padding: 15px;
    }

    .frame {
        height: 350px;
    }
}


@media (max-width:600px) {
    body .container {
        width: 93%;
    }

    .home-cta-heading {
        text-align: center;
        padding-top: 1rem;
    }

    .home-cta-section {
        padding: 3rem 0 1rem;
    }

    .home-cta-section .row {
        flex-direction: column-reverse;
    }

    .home-cta-section::before {
        top: unset;
        bottom: -15px;
        left: 0;
        transform: none;
        background-position: center bottom;
        height: 100%;
    }

    .w-sm-50 {
        width: 100%;
    }

    .send-message-btn {
        font-size: 16px;
        padding: 12px 26px;
        right: 5px;
    }

    .get-in-touch-btn {
        font-size: 16px;
    }

    .big-site-logo {
        width: 40%;
    }

    .home-about-section .section-title {
        width: 50%;
        line-height: 1.5;
    }

    .ophthalmic-section .section-title,
    .category-gallery-section .section-title {
        width: 100%;
    }

    img.possible-product-image {
        height: 200px;
    }

    .home-cta-content {
        margin-bottom: 2rem;
        text-align: center;
    }

    .home-cta-heading {
        margin: auto;
    }

    .gallery-overlay span {
        font-size: 16px;
    }

    .gallery-item {
        height: 300px;
    }

    .map-section h4,
    .map-section h4,
    .form-section h4 {
        font-size: 25px;
        width: 100%;
    }

    .measurable-outcome-slider {
        position: relative;
        top: unset;
        right: unset;
        width: 350px;
        margin: auto;
    }

    .line-text-module {
        padding: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .map-section .line {
        width: 100px;
    }

    .line-text-module .text {
        padding: 0 5px;
        font-size: 15px;
    }

    .logo-grid-image {
        padding-bottom: 2rem;
    }


    .form-section h4 {
        color: #016380 !important;
        text-align: center;
        font-size: 22px;
    }

    .form-section .container {
        background-image: url('../images/form-bg-gradient.png');
        margin: 0 !important;
        width: 100%;
        padding-bottom: 2rem;
    }

    .form-section {
        background-image: url('../images/form-section-mobile-bg.png');
        background-size: 100%;
        background-repeat: no-repeat;
        padding: 30rem 0 0;
    }
}

@media (max-width:480px) {
    .vbtn {
        width: 34px;
        height: 34px
    }

    .vbtn svg {
        width: 16px;
        height: 16px
    }

    .vbtn:hover::after {
        display: none
    }
}