/*==================================================
RESOURCES PAGE
==================================================*/

.resources-page{
    background:#000;
    overflow:hidden;
}

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

.resources-hero{
    position:relative;
    height:500px;
    overflow:hidden;
    background:#050708;
}

.resources-bg{
    position:absolute;
    inset:0;
}

.resources-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.resources-overlay{

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.35) 35%,
            rgba(0,0,0,.65) 100%
        );
}

.resources-hero .container{
    position:relative;
    z-index:5;
    height:100%;
}

.resources-hero-content{

    height:100%;

    display:flex;
    align-items:center;
}

.resources-hero-content h1{

    color:#00C083;

    font-size:var(--fs-6xl);
    font-weight:500;

    margin:0;
}

/*==================================================
DATASHEETS
==================================================*/

.datasheets-section{

    position:relative;

    padding:110px 0 150px;

    background:#000;

    overflow:hidden;
}

/* Bottom separator shadow */

.datasheets-section::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:220px;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,70,70,.35)
        );
    pointer-events:none;
}

/*==================================================
MESH
==================================================*/

.mesh-left{

    position:absolute;

    left:-180px;
    top:-80px;

    width:550px;
    height:550px;

    background:
        url('/images/mesh-grid.png')
        no-repeat center;

    background-size:contain;

    opacity:.55;
}

.mesh-right{

    position:absolute;

    right:-200px;
    bottom:-180px;

    width:550px;
    height:550px;

    background:
        url('/images/mesh-grid.png')
        no-repeat center;

    background-size:contain;

    opacity:.55;
}

/*==================================================
HEADING
==================================================*/

.section-heading{

    position:relative;
    z-index:5;

    text-align:center;

    margin-bottom:90px;
}

.section-heading h2{

    color:#fff;

    font-size:var(--fs-7xl);

    font-weight:300;
}

/*==================================================
GRID
==================================================*/

.resources-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

    align-items:start;
}
/*==================================================
DOWNLOAD
==================================================*/

.resource-download{

    display:flex;

    align-items:center;
    justify-content:center;

    height:70px;

    background:#82da00;

    font-size:1.2rem;
}

.resource-card.blue .resource-download{

    background:
        #68cc00;

    color:#000;
}

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

@media(max-width:1700px){

    .resource-card{
        width:360px;
    }
}

@media(max-width:1500px){

    .resource-card{
        width:320px;
    }
}

@media(max-width:1200px){

    .resources-grid{
         grid-template-columns:repeat(2,1fr);
    }

    .resource-card{

        width:290px;
    }

    .resource-image img{

        width:180px;
    }

}

@media(max-width:991px){

    .section-heading h2{

        font-size:3.5rem;
    }

    .resource-card{

        width:320px;
    }

}

@media(max-width:767px){

    .section-heading{

        margin-bottom:60px;
    }

    .section-heading h2{

        font-size:2.5rem;
    }

    .resource-card{

        width:100%;
        max-width:350px;
    }

}

/*==================================================
CARDS
==================================================*/

.resource-card{

    position:relative;

    border-radius:24px;

    overflow:hidden;

    transition:.5s;

    box-shadow:
        0 25px 80px rgba(0,0,0,.35);

    height:100%;
}

.resource-card.green{

    background:#b4e44f;
}

.resource-card.blue{

    background:#27858b;
}

.resource-card:hover{

    transform:
        translateY(-12px);
}

.resource-image{

    padding:35px 35px 20px;

    text-align:center;
}

.resource-image img{

    width:100%;
    border-radius:24px;
}

.resource-content{

    text-align:center;

    padding:0 25px 25px;
}

.resource-content h4{

    font-size:var(--fs-xl);

    line-height:1.25;

    margin-bottom:5px;

    color:#111;
}

.resource-card.blue h4{

    color:#fff;
}

/*==================================================
VIDEOS
==================================================*/

.videos-section{

    position:relative;

    background:#000;

    padding:120px 0 180px;

    overflow:hidden;
}

/* bottom left mesh */

.videos-section::before{

    content:"";

    position:absolute;

    left:0;
    right:0;
    top:0;

    height:180px;

    background:

        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            transparent
        );

    z-index:2;
}

.videos-section::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:200px;

    background:

        linear-gradient(
            to bottom,
            transparent,
            rgba(0,192,131,.08)
        );

    pointer-events:none;
}

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

.video-card{

    position:relative;

    max-width:700px;

    margin:auto;

    border-radius:28px;

    overflow:hidden;

    box-shadow:
        0 40px 100px rgba(0,0,0,.45);
}

.video-card{

    box-shadow:

        0 60px 120px rgba(0,0,0,.55),
        0 0 100px rgba(0,192,131,.08);

    transition:.5s;
}

.video-card:hover{

    transform:
        translateY(-10px);
}

.video-card img{

    width:100%;
}

.video-overlay{

    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,.20),
            rgba(0,192,131,.18)
        );
}

.video-overlay span{

    margin-top:-15px;

    color:#fff;

    font-size:1.15rem;
}

.video-play-btn{

    width:140px;
    height:140px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
}

.video-play-btn svg{

    width:100%;
    height:100%;
}

.video-play-btn .cls-3{

    transform-origin:center;

    animation:
        glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse{

    0%{

        opacity:.6;

        transform:
            scale(.9);
    }

    50%{

        opacity:1;

        transform:
            scale(1.08);
    }

    100%{

        opacity:.6;

        transform:
            scale(.9);
    }

}

.video-card:hover .video-play-btn{

    transform:
        scale(1.08);
}

.video-play-btn{

    transition:.5s;
}


.play-circle{

    width:120px;
    height:120px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            #80ce0a,
            #00C083
        );

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

    box-shadow:
        0 0 70px rgba(128,206,10,.45);

    animation:
        pulseGlow 3s infinite;
}

.play-circle i{

    color:#fff;
    font-size:4rem;
}

.video-overlay span{

    color:#fff;

    font-size:1.3rem;
}

@keyframes pulseGlow{

    0%{
        box-shadow:
            0 0 40px rgba(128,206,10,.35);
    }

    50%{
        box-shadow:
            0 0 80px rgba(128,206,10,.7);
    }

    100%{
        box-shadow:
            0 0 40px rgba(128,206,10,.35);
    }
}

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

@media(max-width:1199px){

    .resources-hero-content h1{
        font-size:3.5rem;
    }

    .section-heading h2{
        font-size:3.2rem;
    }

}

@media(max-width:991px){

    .resources-hero{
        height:420px;
    }

    .resources-hero-content h1{
        font-size:3rem;
    }

    .section-heading h2{
        font-size:2.7rem;
    }

    .datasheets-section{
        padding:100px 0;
    }

    .videos-section{
        padding:100px 0 140px;
    }

}

@media(max-width:767px){

    .resources-hero{

        height:340px;
    }

    .resources-hero-content{

        padding-top:60px;
    }

    .resources-hero-content h1{

        font-size:2.5rem;
    }

    .section-heading{

        margin-bottom:50px;
    }

    .section-heading h2{

        font-size:2.2rem;
    }

    .resource-content h4{

        font-size:1.2rem;
    }

    .play-circle{

        width:90px;
        height:90px;
    }

    .play-circle i{

        font-size:3rem;
    }

    .video-overlay span{

        font-size:1rem;
    }

}

@media(max-width:575px){

    .resources-hero{

        height:300px;
    }

    .resources-hero-content h1{

        font-size:2rem;
    }

    .section-heading h2{

        font-size:1.9rem;
    }

}

#videoModal .modal-dialog{
    max-width:1100px;
}

#videoModal .modal-content{

    background:#000;

    border-radius:30px;

    overflow:hidden;

    box-shadow:
        0 50px 120px rgba(0,0,0,.75);
}

#popupVideo{

    display:block;

    width:100%;
}

.video-card{
    cursor:pointer;
}

.video-card:hover .play-circle{

    transform:scale(1.08);

    box-shadow:
        0 0 100px rgba(128,206,10,.7);
}

.play-circle{
    transition:.45s;
}