/* =========================================================
LABORATORIUM HERO
========================================================= */

.lab-hero{
    position: relative;
    overflow: hidden;
    height: calc(100vh - 88px);
    min-height: 640px;
    max-height: calc(100vh - 88px);
    display: flex;
    align-items: flex-end;
    padding: 36px 0 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.96), transparent 30%),
        radial-gradient(circle at bottom right, rgba(11,44,102,.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f3f8ff 46%, #e3f1ff 100%);
}

.lab-hero::before{
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.94) 92%);
    z-index: 2;
    pointer-events: none;
}

.lab-hero .container{
    position: relative;
    z-index: 3;
    max-width: 1320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lab-hero .row.align-items-end{
    flex: 1;
    align-items: center !important;
}

.lab-hero-content{
    position: relative;
    z-index: 4;
    padding-top: 0;
    padding-bottom: 36px;
}

.lab-hero-content h1{
    font-size: 56px;
    font-weight: 800;
    color: var(--color1);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.lab-hero-content p{
    font-size: 17px;
    line-height: 1.9;
    color: var(--color1);
    max-width: 580px;
    margin-bottom: 42px;
}

/* FEATURES */

.lab-hero-features{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
    width: 100%;
    max-width: 560px;
}

.lab-hero-feature-item{
    text-align: center;
}

.lab-hero-feature-icon{
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: rgba(232,242,255,.95);
    color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 28px rgba(11,44,102,.08);
    transition: var(--transition);
}

.lab-hero-feature-item:hover .lab-hero-feature-icon{
    transform: translateY(-7px);
    background: var(--color1);
    color: var(--color4);
}

.lab-hero-feature-item h4{
    font-size: 13px;
    font-weight: 800;
    color: var(--color1);
    margin-bottom: 9px;
}

.lab-hero-feature-item span{
    display: block;
    font-size: 11.5px;
    line-height: 1.65;
    color: var(--color5);
}

/* VISUAL */

.lab-hero-visual{
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.lab-hero-img{
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 0;
    height: 78%;
    max-height: 78%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.lab-hero-img img{
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

/* ANIMATION */

.fade-up{
    opacity: 0;
    animation: labFadeUp .85s ease forwards;
}

.fade-left{
    opacity: 0;
    animation: labFadeLeft .9s ease forwards;
}

@keyframes labFadeUp{
    from{
        opacity: 0;
        transform: translateY(42px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes labFadeLeft{
    from{
        opacity: 0;
        transform: translateX(44px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */

@media(max-width:1199px){

    .lab-hero{
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 40px 0 0;
    }

    .lab-hero .container{
        height: auto;
    }

    .lab-hero-content{
        padding-top: 0;
        padding-bottom: 58px;
    }

    .lab-hero-content h1{
        font-size: 46px;
    }

    .lab-hero-content p{
        margin-bottom: 42px;
    }

    .lab-hero-features{
        width: 100%;
        max-width: 560px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lab-hero-visual{
        min-height: 520px;
    }
}

@media(max-width:991px){

    .lab-hero{
        text-align: center;
        padding: 34px 0 0;
    }

    .lab-hero-content{
        padding-top: 8px;
        padding-bottom: 36px;
    }

    .lab-hero-content h1{
        font-size: 40px;
    }

    .lab-hero-content p{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 34px;
    }

    .lab-hero-features{
        max-width: 720px;
        margin: 0 auto;
    }

    .lab-hero-visual{
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .lab-hero-img{
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        max-height: none;
        margin-bottom: -2px;
        justify-content: center;
        pointer-events: auto;
        z-index: 4;
    }

    .lab-hero-img img{
        width: auto;
        height: auto;
        max-height: 430px;
        object-position: bottom center;
    }
}

@media(max-width:768px){

    .lab-hero-content h1{
        font-size: 34px;
    }

    .lab-hero-content p{
        font-size: 15px;
        line-height: 1.8;
    }

    .lab-hero-features{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lab-hero-feature-item{
        padding: 20px;
        background: rgba(255,255,255,.74);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(11,44,102,.06);
    }

    .lab-hero-feature-icon{
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin-bottom: 14px;
    }

    .lab-hero-img img{
        max-height: 340px;
    }
}

@media(max-width:480px){

    .lab-hero-content h1{
        font-size: 31px;
    }

    .lab-hero-img img{
        max-height: 300px;
    }
}

/* =========================================================
LAB MAIN SECTION
========================================================= */

.lab-main-section{
    position:relative;
    overflow:hidden;
    padding:72px 0 82px;
    background:
        radial-gradient(circle at top left, rgba(32,160,160,.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(11,44,102,.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 50%, #eef7ff 100%);
}

.lab-section-heading{
    margin-bottom:36px;
}

.lab-section-heading h2{
    font-size:30px;
    font-weight:800;
    color:var(--color1);
    margin-bottom:12px;
}

.lab-section-heading p{
    max-width:720px;
    margin:0 auto;
    font-size:14px;
    line-height:1.7;
    color:var(--color5);
}

/* CARD */

.lab-card{
    height:100%;
    overflow:hidden;
    background:rgba(255,255,255,.9);
    border:1px solid rgba(11,44,102,.08);
    border-radius:22px;
    box-shadow:0 16px 40px rgba(11,44,102,.08);
    transition:var(--transition);
}

.lab-card:hover{
    transform:translateY(-7px);
    box-shadow:0 24px 54px rgba(11,44,102,.12);
}

.lab-card-img{
    height:230px;
    overflow:hidden;
}

.lab-card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .55s ease;
}

.lab-card:hover .lab-card-img img{
    transform:scale(1.07);
}

.lab-card-body{
    position:relative;
    margin-top:-34px;
    background:rgba(255,255,255,.96);
    border-radius:22px 22px 0 0;
    padding:26px 26px 28px;
    min-height:280px;
}

.lab-card-title{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.lab-card-title i{
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(15,158,158,.10);
    color:#0f9e9e;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
}

.lab-card-title h3{
    font-size:17px;
    font-weight:800;
    color:var(--color1);
    margin:0;
}

.lab-card-body p{
    font-size:13px;
    line-height:1.8;
    color:var(--color5);
    margin-bottom:18px;
}

.lab-card-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px 16px;
}

.lab-card-list span{
    font-size:11.8px;
    font-weight:600;
    color:var(--color1);
    display:flex;
    align-items:flex-start;
    gap:8px;
}

.lab-card-list i{
    color:#0f9e9e;
    margin-top:2px;
}

/* SUPPORT */

.lab-support-card{
    height:100%;
    min-height:430px;
    border-radius:22px;
    padding:36px 34px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.95), transparent 40%),
        linear-gradient(135deg, #eefaff 0%, #f8fcff 100%);
    border:1px solid rgba(11,44,102,.07);
    box-shadow:0 16px 40px rgba(11,44,102,.07);
}

.lab-support-card h3{
    text-align:center;
    font-size:22px;
    font-weight:800;
    color:var(--color1);
    margin-bottom:34px;
}

.lab-support-item{
    display:grid;
    grid-template-columns:46px 1fr;
    gap:18px;
    margin-bottom:30px;
}

.lab-support-item:last-child{
    margin-bottom:0;
}

.lab-support-item i{
    width:42px;
    height:42px;
    border-radius:12px;
    background:rgba(15,158,158,.10);
    color:#0f9e9e;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.lab-support-item h4{
    font-size:14px;
    font-weight:800;
    color:var(--color1);
    margin-bottom:8px;
}

.lab-support-item p{
    font-size:12.5px;
    line-height:1.6;
    color:var(--color5);
    margin:0;
}

/* RECOMMEND */

.lab-recommend-box{
    margin-top:40px;
    border-radius:24px;
    padding:30px 34px;
    background:
        radial-gradient(circle at left, rgba(32,160,160,.10), transparent 35%),
        linear-gradient(135deg, #eefaff 0%, #ffffff 55%, #eef7ff 100%);
    border:1px solid rgba(11,44,102,.07);
    box-shadow:0 16px 42px rgba(11,44,102,.07);
    display:grid;
    grid-template-columns:120px 1fr 1.5fr;
    align-items:center;
    gap:28px;
}

.lab-recommend-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    border:10px solid rgba(15,158,158,.18);
    color:#0f9e9e;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
}

.lab-recommend-content h3{
    font-size:21px;
    font-weight:800;
    color:var(--color1);
    margin-bottom:12px;
}

.lab-recommend-content p{
    font-size:13px;
    line-height:1.75;
    color:var(--color5);
    margin:0;
}

.lab-recommend-content strong{
    color:#0f9e9e;
}

.lab-recommend-flow{
    display:grid;
    grid-template-columns:1fr 28px 1fr 28px 1fr;
    align-items:center;
    gap:18px;
}

.lab-recommend-flow div{
    min-height:96px;
    border-radius:16px;
    padding:20px 18px;
    background:rgba(15,158,158,.08);
    border:1px solid rgba(15,158,158,.20);
    color:#0f9e9e;
    font-size:15px;
    line-height:1.45;
    font-weight:800;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:8px;
    overflow-wrap:anywhere;
}

.lab-recommend-flow div span{
    display:block;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
    color:var(--color5);
}

.lab-recommend-flow .purple{
    background:rgba(117,82,200,.08);
    border-color:rgba(117,82,200,.18);
    color:#5635a7;
}

.lab-recommend-flow .final{
    background:transparent;
    border:none;
    color:var(--color1);
    gap:12px;
}

.lab-recommend-flow .final i{
    font-size:28px;
    color:#7552c8;
}

.lab-recommend-flow > i{
    text-align:center;
    color:var(--color1);
}

/* RESPONSIVE */

@media(max-width:1199px){
    .lab-card-list{
        grid-template-columns:1fr;
    }

    .lab-recommend-box{
        grid-template-columns:90px 1fr;
    }

    .lab-recommend-flow{
        grid-column:1 / -1;
        grid-template-columns:1fr 24px 1fr 24px 1fr;
        gap:14px;
    }

    .lab-recommend-flow div{
        min-height:92px;
        padding:18px 14px;
    }
}

@media(max-width:991px){
    .lab-main-section{
        padding:62px 0 70px;
    }

    .lab-card-body{
        min-height:auto;
    }

    .lab-support-card{
        min-height:auto;
    }

    .lab-recommend-box{
        grid-template-columns:1fr;
        text-align:center;
    }

    .lab-recommend-icon{
        margin:0 auto;
    }
}

@media(max-width:768px){
    .lab-main-section{
        padding:52px 0 60px;
    }

    .lab-section-heading h2{
        font-size:25px;
    }

    .lab-card-img{
        height:210px;
    }

    .lab-card-body{
        padding:24px 22px;
    }

    .lab-card-title{
        align-items:flex-start;
    }

    .lab-support-card{
        padding:30px 24px;
    }

    .lab-recommend-flow{
        grid-template-columns:1fr;
        gap:16px;
    }

    .lab-recommend-flow div{
        min-height:auto;
        padding:20px;
    }

    .lab-recommend-flow > i{
        width:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        transform:rotate(90deg);
    }
}

@media(max-width:480px){
    .lab-card-img{
        height:190px;
    }

    .lab-card-title h3{
        font-size:15px;
    }

    .lab-recommend-box{
        padding:26px 20px;
    }
}
