/* ============================================================
   CUSTOM PORTFOLIO SLIDER
============================================================ */

.custom-portfolio-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0px 0;
}

.custom-portfolio-slider-inner {
    width: 100%;
    position: relative;
}

.custom-portfolio-carousel {
    width: 100%;
}


/* ============================================================
   SLIDE
============================================================ */

.custom-portfolio-slide {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.custom-portfolio-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 70px;
}


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

.custom-portfolio-grid {
    display: grid;
    grid-template-columns: 38% 62%;
    align-items: center;
    min-height: 580px;
    gap: 20px;
}


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

.custom-portfolio-content {
    position: relative;
    z-index: 5;
    padding: 30px 0;
}

.custom-portfolio-label {
    display:none;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.custom-portfolio-label::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
    display: inline-block;
}


.custom-portfolio-title {
    margin: 0 0 20px !important;
    color:#10251D !important;
    font-size: clamp(32px, 4vw, 58px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px;

    word-break: normal;
}


.custom-portfolio-line {
    width: 60px;
	display:none;
    height: 3px;
    margin-bottom: 25px;
}


.custom-portfolio-excerpt {
    max-width: 520px;

    font-size: 18px;
    line-height: 1.8;
    color:#68756f;
    margin-bottom: 30px;
}

.custom-portfolio-excerpt p {
    margin: 0;
}


/* ============================================================
   BUTTON
============================================================ */

.custom-portfolio-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 7px 7px 7px 22px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    border-radius: 50px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.custom-portfolio-button-icon {
    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    transition:
        transform .35s ease,
        background .35s ease;
}

.custom-portfolio-button:hover {
    transform: translateY(-3px);
}

.custom-portfolio-button:hover .custom-portfolio-button-icon {
    transform: rotate(-45deg);
}


/* ============================================================
   VISUAL AREA
============================================================ */

.custom-portfolio-visual {
    position: relative;

    width: 100%;
    max-width: 780px;

    margin-left: auto;

    padding: 20px;
}


.custom-portfolio-device {
    position: relative;
    width: 100%;

    z-index: 3;

    transform: perspective(1400px) rotateY(-4deg);

    transition:
        transform .6s ease;
}

.custom-portfolio-device:hover {
    transform: perspective(1400px) rotateY(0deg) translateY(-5px);
}


/* ============================================================
   FRAME
============================================================ */

.custom-portfolio-frame {
    position: relative;

    width: 100%;
    height: auto;

    display: block;

    z-index: 3;

    pointer-events: none;
}


/* ============================================================
   SCREEN
============================================================ */

.custom-portfolio-screen {
    position: absolute;

    top: 3.6%;
    left: 2.8%;

    width: 94.4%;
    height: 73.5%;

    overflow: hidden;

    background: #111;

    z-index: 2;

    border-radius: 2px;
}


.custom-portfolio-image {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: cover !important;
    object-position: top center !important;

    transition: transform 8s ease;
}


/* Website image subtle movement */

/* .custom-portfolio-slide:hover .custom-portfolio-image {
    transform: scale(1.04);
} */


/* ============================================================
   GLOW / DECORATION
============================================================ */

.custom-portfolio-glow {
    position: absolute;

    width: 65%;
    height: 65%;

    right: 0;
    top: 15%;

    border-radius: 50%;

    filter: blur(80px);

    opacity: .15;

    z-index: 1;

    pointer-events: none;
}


/* ============================================================
   PLACEHOLDER
============================================================ */

.custom-portfolio-placeholder {
    width: 100%;
    height: 100%;

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

    font-size: 14px;
}


/* ============================================================
   OWL NAVIGATION
============================================================ */

.custom-portfolio-carousel .owl-nav {
    margin: 0 !important;
}


.custom-portfolio-carousel .owl-nav button.owl-prev,
.custom-portfolio-carousel .owl-nav button.owl-next {
    position: absolute;

    top: auto;
    bottom: 20px;

    width: 52px;
    height: 52px;

    margin: 0 !important;

    border-radius: 50% !important;

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

    font-size: 16px !important;

    transition:
        transform .3s ease,
        background .3s ease;
}


.custom-portfolio-carousel .owl-nav button.owl-prev {
    left: 70px;
}


.custom-portfolio-carousel .owl-nav button.owl-next {
    left: 132px;
}


.custom-portfolio-carousel .owl-nav button:hover {
    transform: translateY(-3px);
}


/* ============================================================
   OWL DOTS
============================================================ */

.custom-portfolio-carousel .owl-dots {
    position: absolute;

    right: 70px;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 7px;
}


.custom-portfolio-carousel .owl-dot span {
    width: 7px !important;
    height: 7px !important;

    margin: 0 3px !important;

    border-radius: 50% !important;

    transition:
        width .3s ease,
        border-radius .3s ease;
}


.custom-portfolio-carousel .owl-dot.active span {
    width: 28px !important;

    border-radius: 10px !important;
}


/* ============================================================
   LARGE TABLETS
============================================================ */

@media (max-width: 1199px) {

    .custom-portfolio-container {
        padding: 0 45px;
    }

    .custom-portfolio-grid {
        grid-template-columns: 40% 60%;
        min-height: 520px;
    }

    .custom-portfolio-title {
        font-size: 42px !important;
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {

    .custom-portfolio-slider {
        padding: 50px 0 100px;
    }

    .custom-portfolio-container {
        padding: 0 35px;
    }

    .custom-portfolio-grid {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 20px;
    }

    .custom-portfolio-visual {
        order: 1;

        width: 100%;

        margin: 0 auto;

        max-width: 720px;
    }

    .custom-portfolio-content {
        order: 2;

        text-align: center;

        padding: 10px 20px 20px;
    }

    .custom-portfolio-label {
        justify-content: center;
    }

    .custom-portfolio-line {
        margin-left: auto;
        margin-right: auto;
    }

    .custom-portfolio-excerpt {
        margin-left: auto;
        margin-right: auto;
    }

    .custom-portfolio-button {
        margin: 0 auto;
    }

    .custom-portfolio-carousel .owl-nav button.owl-prev {
        left: 35px;
    }

    .custom-portfolio-carousel .owl-nav button.owl-next {
        left: 97px;
    }

    .custom-portfolio-carousel .owl-dots {
        right: 35px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .custom-portfolio-slider {
        padding: 30px 0 90px;
    }

    .custom-portfolio-container {
        padding: 0 18px;
    }

    .custom-portfolio-grid {
        gap: 5px;
    }

    .custom-portfolio-visual {
        padding: 8px;
    }

    .custom-portfolio-device {
        transform: none;
    }

    .custom-portfolio-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.8px;
    }

    .custom-portfolio-excerpt {
        font-size: 14px;
        line-height: 1.7;
    }

    .custom-portfolio-content {
        padding: 5px 10px 10px;
    }

    .custom-portfolio-carousel .owl-nav button.owl-prev,
    .custom-portfolio-carousel .owl-nav button.owl-next {
        width: 42px;
        height: 42px;

        bottom: 15px;
    }

    .custom-portfolio-carousel .owl-nav button.owl-prev {
        left: 18px;
    }

    .custom-portfolio-carousel .owl-nav button.owl-next {
        left: 68px;
    }

    .custom-portfolio-carousel .owl-dots {
        right: 18px;
        bottom: 32px;
    }

}


/* ============================================================
   SMALL PHONES
============================================================ */

@media (max-width: 480px) {

    .custom-portfolio-slider {
        padding-bottom: 80px;
    }

    .custom-portfolio-container {
        padding: 0 12px;
    }

    .custom-portfolio-title {
        font-size: 27px !important;
    }

    .custom-portfolio-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .custom-portfolio-excerpt {
        font-size: 13px;
    }

    .custom-portfolio-button {
        font-size: 13px;
    }

    .custom-portfolio-button-icon {
        width: 38px;
        height: 38px;
    }

    .custom-portfolio-carousel .owl-dots {
        display: none;
    }

}