/* ============================================================
   CUSTOM PORTFOLIO SLIDER
============================================================ */

.custom-portfolio-slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}


/* ============================================================
   SLIDE
============================================================ */

.custom-portfolio-slide-item {
    width: 100%;
    position: relative;
}


/* ============================================================
   CONTENT
============================================================ */

.custom-portfolio-content {
    padding: 30px 20px 30px 0;
}

.custom-portfolio-title {
    margin: 0 0 20px;
    font-size: 42px;
    color:#ea671b;
    line-height: 1.15;
    font-weight: 700;
}

.custom-portfolio-excerpt {
    margin-bottom: 30px;
}

.custom-portfolio-excerpt p {
    margin: 0;
    font-size: 16px;
    color:#ddd;
    line-height: 1.8;
}


/* ============================================================
   READ MORE
============================================================ */

.custom-portfolio-btn-wrap {
    margin-top: 25px;
}

.custom-portfolio-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-portfolio-read-more i {
    transition: transform 0.3s ease;
}

.custom-portfolio-read-more:hover {
    text-decoration: none;
}

.custom-portfolio-read-more:hover i {
    transform: translateX(5px);
}


/* ============================================================
   MOCKUP
============================================================ */

.custom-portfolio-mockup {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}


/* Monitor frame */

.custom-portfolio-monitor-frame {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/*.custom-portfolio-monitor-frame  {*/
/*    width: 100% !important;*/
/*    height: 100% !important;*/
/*    object-fit: fill !important;*/
/*    object-position: top center !important;*/
/*    display: block !important;*/
/*}*/


/* Screen */

/*.custom-portfolio-screen {*/
/*    position: absolute;*/

    /*
     * Adjust these values if your desktop-frame.webp
     * has a different screen position.
     */
/*    top: 6.5%;*/
/*    left: 5.8%;*/
/*    width: 88.4%;*/
/*    height: 79.5%;*/

/*    overflow: hidden;*/
/*    z-index: 1;*/
/*}*/

.custom-portfolio-screen {
    position: absolute !important;
    top: 3.6% !important;
    left: 2.8% !important;
    width: 94.4% !important;
    height: 73.5% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background-color: #000 !important;
}

/* Website image */

/*.custom-portfolio-screen-image {*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: auto;*/
/*    min-height: 100%;*/

/*    object-fit: cover;*/
/*    object-position: top center;*/

/*    transition: transform 8s ease;*/
/*}*/

.custom-portfolio-screen-image  {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: top center !important;
    display: block !important;
}


/* ============================================================
   HOVER WEBSITE SCROLL EFFECT
============================================================ */

.custom-portfolio-mockup:hover .custom-portfolio-screen-image {
    /*transform: translateY(*/
    /*    calc(-1 * (100% - 100vh))*/
    /*);*/
}


/* ============================================================
   OWL CONTROLS
============================================================ */

.custom-portfolio-slider .owl-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.custom-portfolio-slider .owl-nav button {
    width: 48px;
    height: 48px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd !important;
    border-radius: 50%;

    background: #fff !important;

    font-size: 22px !important;

    transition: all 0.3s ease;
}

.custom-portfolio-slider .owl-nav button:hover {
    transform: translateY(-2px);
}

.custom-portfolio-slider .owl-nav button span {
    line-height: 1;
}


/* ============================================================
   DOTS
============================================================ */

.custom-portfolio-slider .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}

.custom-portfolio-slider .owl-dot {
    width: 9px;
    height: 9px;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 50%;

    background: #ccc !important;
}

.custom-portfolio-slider .owl-dot.active {
    width: 25px;
    border-radius: 20px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {

    .custom-portfolio-slider-section {
        padding: 45px 0;
    }

    .custom-portfolio-content {
        padding: 20px 15px 0;
        text-align: center;
    }

    .custom-portfolio-title {
        font-size: 34px;
    }

    .custom-portfolio-excerpt {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .custom-portfolio-btn-wrap {
        display: flex;
        justify-content: center;
    }

    .custom-portfolio-mockup {
        max-width: 750px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .custom-portfolio-slider-section {
        padding: 35px 0;
    }

    .custom-portfolio-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .custom-portfolio-excerpt p {
        font-size: 15px;
        line-height: 1.7;
    }

    .custom-portfolio-mockup {
        width: 95%;
    }

    .custom-portfolio-slider .owl-nav {
        margin-top: 25px;
    }

    .custom-portfolio-slider .owl-nav button {
        width: 42px;
        height: 42px;
        font-size: 18px !important;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .custom-portfolio-title {
        font-size: 24px;
    }

    .custom-portfolio-content {
        padding-left: 5px;
        padding-right: 5px;
    }

    .custom-portfolio-mockup {
        width: 100%;
    }

}