/*=========================================
ABOUT IMAGE
=========================================*/

.about-image{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    padding:10px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);

    transition:all .45s ease;

}

/*=========================================
GRADIENT BORDER
=========================================*/

.about-image::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    padding:2px;

    background:linear-gradient(
        135deg,
        #ffffff,
        #ffffff,
        #d97706,
        #f59e0b
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

            mask-composite:exclude;

    pointer-events:none;

}

/*=========================================
IMAGE
=========================================*/

.about-image img{

    width:100%;

    height:100%;

    min-height:420px;

    display:block;

    object-fit:cover;

    object-position:center;

    border-radius:18px;

    transition:transform .8s ease;

}

/*=========================================
OVERLAY
=========================================*/

.about-image::after{

    content:"";

    position:absolute;

    inset:10px;

    border-radius:18px;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.18),

        rgba(0,0,0,.05),

        transparent

    );

    transition:.5s;

    pointer-events:none;

}

/*=========================================
SHINE EFFECT
=========================================*/

.about-image span{

    position:absolute;

    top:-120%;

    left:-50%;

    width:40%;

    height:250%;

    background:rgba(255,255,255,.25);

    transform:rotate(25deg);

    transition:1s;

    z-index:3;

}

/*=========================================
HOVER
=========================================*/

.about-image:hover{

    transform:translateY(-8px);

    box-shadow:
        0 35px 80px rgba(217,119,6,.18);

}

.about-image:hover img{

    transform:scale(1.03);

}

.about-image:hover::after{

    background:linear-gradient(

        to top,

        rgba(0,0,0,.30),

        transparent

    );

}

.about-image:hover span{

    left:140%;

}

/*=========================================
DESKTOP
=========================================*/

@media(min-width:1440px){

.about-image img{

    min-height:500px;

}

}

/*=========================================
LAPTOP
=========================================*/

@media(max-width:1200px){

.about-image img{

    min-height:420px;

}

}

/*=========================================
TABLET
=========================================*/

@media(max-width:992px){

.about-image{

    margin-top:40px;

}

.about-image img{

    min-height:360px;

}

}

/*=========================================
MOBILE
=========================================*/

@media(max-width:768px){

.about-image{

    margin-top:30px;

    border-radius:20px;

    padding:8px;

}

.about-image img{

    min-height:280px;

    border-radius:16px;

}

}

/*=========================================
SMALL MOBILE
=========================================*/

@media(max-width:576px){

.about-image{

    padding:6px;

}

.about-image img{

    min-height:240px;

    border-radius:14px;

}

}

/*=========================================
OUR TEAM IMAGE
=========================================*/

.team-grid{

    align-items:center;

    gap:70px;

}

/*=========================================
IMAGE WRAPPER
=========================================*/

.team-image-wrapper{

    position:relative;

}

.team-image-card{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    padding:10px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);

    transition:all .45s ease;
   
    
}

/* Elegant Border */

.team-image-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    padding:2px;

    background:linear-gradient(
        135deg,
        #ffffff,
        #ffffff,
        #d97706,
        #f59e0b
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

            mask-composite:exclude;

    pointer-events:none;

}

/*=========================================
IMAGE
=========================================*/

.team-image{

    width:100%;

    height:auto;

    display:block;

    border-radius:18px;

    transition:transform .7s ease;

}

/*=========================================
OVERLAY
=========================================*/

.team-image-card::after{

    content:"";

    position:absolute;

    inset:10px;

    border-radius:18px;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.18),

        rgba(0,0,0,.05),

        transparent

    );

    opacity:1;

    transition:.5s;

}

/*=========================================
HOVER
=========================================*/

.team-image-card:hover{

    transform:translateY(-8px);

    box-shadow:

        0 35px 80px rgba(217,119,6,.18);

}

.team-image-card:hover .team-image{

    transform:scale(1.03);

}

.team-image-card:hover::after{

    background:linear-gradient(

        to top,

        rgba(0,0,0,.30),

        transparent

    );

}

/*=========================================
SHINE EFFECT
=========================================*/

.team-image-card span{

    position:absolute;

    top:-120%;

    left:-50%;

    width:40%;

    height:250%;

    background:rgba(255,255,255,.25);

    transform:rotate(25deg);

    transition:1s;

}

.team-image-card:hover span{

    left:140%;

}

/*=========================================
DESKTOP
=========================================*/

@media(min-width:1440px){

.team-image{

    max-height:700px;

}

}

/*=========================================
LAPTOP
=========================================*/

@media(max-width:1200px){

.team-grid{

    gap:50px;

}

}

/*=========================================
TABLET
=========================================*/

@media(max-width:992px){

.team-grid{

    grid-template-columns:1fr;

}

.team-image-wrapper{

    margin-bottom:40px;

}

}

/*=========================================
MOBILE
=========================================*/

@media(max-width:768px){

.team-image-card{

    border-radius:20px;

    padding:8px;

}

.team-image{

    border-radius:16px;

}

}

/*=========================================
SMALL MOBILE
=========================================*/

@media(max-width:576px){

.team-image-card{

    padding:6px;

}

.team-image{

    border-radius:14px;

}

}