.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1240px;}.e-con{--container-max-width:1240px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;--container-default-padding-top:0px;--container-default-padding-right:30px;--container-default-padding-bottom:0px;--container-default-padding-left:30px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;--container-default-padding-top:0px;--container-default-padding-right:20px;--container-default-padding-bottom:0px;--container-default-padding-left:20px;}}/* Start custom CSS *//* ==================================================
   FEATURED PROJECTS CAROUSEL - SMOOTHER VERSION
   ================================================== */

.featured-projects{
    position: relative;
    overflow: hidden;

    --main-slide-width: 48%;
    --side-slide-width: 24%;

    --main-slide-height: 460px;
    --side-slide-height: 355px;

    --edge-cut: 120px;   /* how much side slides stay outside */
    --edge-fade: 95px;   /* outer white mask width */
}

/* make the swiper area wider than the visible container */
.featured-projects .swiper{
    overflow: visible !important;
    width: calc(78% + (var(--edge-cut) * 2));
    margin-left: calc(var(--edge-cut) * -1);
    margin-right: calc(var(--edge-cut) * -1);
    padding: 18px 0 10px;
}

/* smoother wrapper movement */
.featured-projects .swiper-wrapper{
    align-items: center;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1) !important;
    
    /* FIX: Constant height, prevents pushing above/below containers */
    min-height: var(--main-slide-height);
}

/* default side slides */
.featured-projects .swiper-slide{
    width: var(--side-slide-width) !important;
    flex-basis: var(--side-slide-width) !important;
    height: var(--side-slide-height) !important;
    flex-shrink: 0;

    position: relative;
    overflow: hidden;
    z-index: 1;

    opacity: .96;
    filter: brightness(.82) saturate(.88);

    transform: translate3d(0,0,0);
    backface-visibility: hidden;
    will-change: width, height, transform, opacity, filter;

    /* FIX: Smoother and slightly slower transition */
    transition:
        width 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        flex-basis 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.6s ease,
        filter 0.6s ease;
}

/* active center slide */
.featured-projects .swiper-slide-active{
    width: var(--main-slide-width) !important;
    flex-basis: var(--main-slide-width) !important;
    height: var(--main-slide-height) !important;

    opacity: 1;
    filter: none;
    z-index: 5;
}

/* fill slide */
.featured-projects .swiper-slide > *,
.featured-projects .project-card{
    width: 100%;
    height: 100%;
    min-height: 100%;
}

/* main image container */
.featured-projects .project-card{
    position: relative !important;
    overflow: hidden;
    padding: 0 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    isolation: isolate;
    transform: translateZ(0);
}

/* dark bottom overlay */
.featured-projects .project-card::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(4,8,25,0.02) 20%,
        rgba(4,8,25,0.14) 52%,
        rgba(3,6,20,0.92) 100%
    );
}

/* white side shading on left/right slides */
.featured-projects .swiper-slide-prev .project-card::after,
.featured-projects .swiper-slide-next .project-card::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.featured-projects .swiper-slide-prev .project-card::after{
    background: linear-gradient(
        to right,
        rgba(255,255,255,.90) 0%,
        rgba(255,255,255,.62) 18%,
        rgba(255,255,255,0) 48%
    );
}

.featured-projects .swiper-slide-next .project-card::after{
    background: linear-gradient(
        to left,
        rgba(255,255,255,.90) 0%,
        rgba(255,255,255,.62) 18%,
        rgba(255,255,255,0) 48%
    );
}

/* keep content above overlays */
.featured-projects .project-card > .e-con-inner,
.featured-projects .project-card > .elementor-element{
    position: relative;
    z-index: 3;
}

/* logo */
.featured-projects .project-logo{
    position: absolute !important;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: min(42%, 290px);
    max-width: 290px;
    transform: translate(-50%, -50%);
}

.featured-projects .project-logo img{
    width: 100%;
    height: auto;
    display: block;
}

/* title */
.featured-projects .project-title{
    position: absolute !important;
    left: 32px;
    right: 32px;
    bottom: 18px;
    z-index: 5;
    margin: 0;
}

.featured-projects .project-title,
.featured-projects .project-title *,
.featured-projects .project-title .elementor-heading-title{
    color: #fff !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* smaller text/logo on side slides */
.featured-projects .swiper-slide:not(.swiper-slide-active) .project-title{
    left: 18px;
    right: 18px;
    bottom: 15px;
}

.featured-projects .swiper-slide:not(.swiper-slide-active) .project-title,
.featured-projects .swiper-slide:not(.swiper-slide-active) .project-title *,
.featured-projects .swiper-slide:not(.swiper-slide-active) .project-title .elementor-heading-title{
    font-size: 14px;
}

.featured-projects .swiper-slide:not(.swiper-slide-active) .project-logo{
    width: min(48%, 190px);
}

/* outer white fade masks like the reference */
.featured-projects::before,
.featured-projects::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--edge-fade);
    z-index: 20;
    pointer-events: none;
}

.featured-projects::before{
    left: 0;
    background: linear-gradient(
        to right,
        #f3f3f3 0%,
        rgba(243,243,243,.96) 35%,
        rgba(243,243,243,0) 100%
    );
}

.featured-projects::after{
    right: 0;
    background: linear-gradient(
        to left,
        #f3f3f3 0%,
        rgba(243,243,243,.96) 35%,
        rgba(243,243,243,0) 100%
    );
}

/* arrows */
.featured-projects .elementor-swiper-button{
    width: 34px !important;
    height: 58px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50% !important;
    transform: translateY(-50%);
    color: #26346c !important;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(0,0,0,.18);
    z-index: 30;
}

.featured-projects .elementor-swiper-button-prev{
    left: 6px !important;
}

.featured-projects .elementor-swiper-button-next{
    right: 6px !important;
}

.featured-projects .elementor-swiper-button svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* tablet */
@media (max-width: 1024px){
    .featured-projects{
        --main-slide-width: 58%;
        --side-slide-width: 28%;
        --main-slide-height: 390px;
        --side-slide-height: 305px;
        --edge-cut: 90px;
        --edge-fade: 70px;
    }
    
    .featured-projects .swiper-wrapper {
        min-height: var(--main-slide-height);
    }

    .featured-projects .project-title{
        left: 24px;
        right: 24px;
    }
}

/* mobile */
@media (max-width: 767px){
    .featured-projects{
        --main-slide-width: 86%;
        --side-slide-width: 86%;
        --main-slide-height: 360px;
        --side-slide-height: 360px;
        --edge-cut: 25px;
        --edge-fade: 24px;
    }

    .featured-projects .swiper{
        width: calc(100% + 50px);
        margin-left: -25px;
        margin-right: -25px;
    }
    
    .featured-projects .swiper-wrapper {
        min-height: var(--main-slide-height);
    }

    .featured-projects .project-title,
    .featured-projects .swiper-slide:not(.swiper-slide-active) .project-title{
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .featured-projects .project-title,
    .featured-projects .project-title *,
    .featured-projects .project-title .elementor-heading-title{
        font-size: 16px;
    }

    .featured-projects .project-logo,
    .featured-projects .swiper-slide:not(.swiper-slide-active) .project-logo{
        width: min(55%, 220px);
    }
}/* End custom CSS */