/*==================================================
                LABORATORY PAGE
==================================================*/

/*==============================
        PAGE HEADER
==============================*/

.lab-header{

    background:linear-gradient(
        135deg,
        #062741 0%,
        #0B4C78 60%,
        #55ACEE 100%
    );

    color:#fff;

    padding:90px 0;

    text-align:center;

    position:relative;

    overflow:hidden;

}

.lab-header::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-120px;

    left:-120px;

}

.lab-header::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-100px;

    right:-80px;

}

.lab-header h1{

    font-size:3rem;

    font-weight:800;

    animation:fadeDown .8s ease;

}

.lab-header p{

    font-size:1.2rem;

    opacity:.9;

    animation:fadeUp 1s ease;

}

/*==============================
        SECTION
==============================*/

.lab-section{

    background:#f7f9fc;

    padding:80px 0;

}

/*==============================
        CARD
==============================*/

.lab-card{

    background:#fff;

    border:none;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    transition:.4s;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.lab-card:hover{

    transform:translateY(-12px);

    box-shadow:0 22px 45px rgba(0,0,0,.16);

}

.lab-image{

    overflow:hidden;

    position:relative;

}

.lab-image img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.6s;

}

.lab-card:hover img{

    transform:scale(1.08);

}

.lab-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(6,39,65,.45),
        transparent
    );

    opacity:0;

    transition:.4s;

}

.lab-card:hover .lab-image::after{

    opacity:1;

}

/*==============================
        CONTENT
==============================*/

.lab-content{

    padding:25px;

}

.lab-content h4{

    color:#062741;

    font-weight:700;

    margin-bottom:15px;

}

.lab-content p{

    color:#666;

    line-height:1.8;

    margin-bottom:0;

}

/*==============================
        EMPTY
==============================*/

.empty-lab{

    background:#fff;

    padding:70px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.empty-lab i{

    font-size:70px;

    color:#55ACEE;

    margin-bottom:20px;

}

.empty-lab h3{

    color:#062741;

    font-weight:700;

}

.empty-lab p{

    color:#666;

}

/*==============================
        ANIMATIONS
==============================*/

@keyframes fadeDown{

    from{

        opacity:0;

        transform:translateY(-40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================
        RESPONSIVE
==============================*/

@media(max-width:992px){

    .lab-header{

        padding:70px 0;

    }

}

@media(max-width:768px){

    .lab-header h1{

        font-size:2.3rem;

    }

    .lab-image img{

        height:220px;

    }

}

@media(max-width:576px){

    .lab-header{

        padding:60px 0;

    }

    .lab-content{

        padding:20px;

    }

    .lab-image img{

        height:200px;

    }

}