/* =========================================================
   AF_About v1.0.0
   Active Freight
   Developed by Ilyas Benayad
   ========================================================= */

.af-about-section{
    --af-orange:#f15a24;
    --af-orange-dark:#e84e18;
    --af-dark:#172033;
    --af-text:#3f4652;
    --af-muted:#69717d;
    --af-about-bg:#ffffff;
    --af-about-x:0px;
    --af-about-y:0px;
    --af-image-scale:1;
    --af-image-hover-scale:1.025;
    --af-image-overlay:rgba(0,0,0,.20);

    position:relative;
    width:100%;
    padding:55px 0 65px;
    background:var(--af-about-bg);
    overflow:hidden;
}

.af-about-section *,
.af-about-section *::before,
.af-about-section *::after{
    box-sizing:border-box;
}

.af-about-container{
    width:80%;
    max-width:none;
    margin-left:auto;
    margin-right:auto;

    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
    gap:45px;
    align-items:center;
}

.af-about-content{
    min-width:0;
    width:100%;
    padding:10px 0 15px;
    overflow:hidden;
    transform:translate(var(--af-about-x),var(--af-about-y));
}

.af-about-label{
    display:inline-block;
    margin-bottom:12px;
    color:var(--af-orange);
    font-family:Arial,Helvetica,sans-serif;
    font-size:11px;
    line-height:1;
    font-weight:800;
    letter-spacing:.35px;
    text-transform:uppercase;
}

.af-about-title{
    width:100%;
    max-width:100%;
    margin:0 0 20px;
    padding:0;
    color:var(--af-dark);
    font-family:Arial,Helvetica,sans-serif;
    font-size:clamp(30px,3vw,43px);
    line-height:1.10;
    letter-spacing:-1.2px;
    font-weight:700;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
}

.af-title-line{
    display:block;
    width:100%;
    white-space:normal;
}

.af-title-orange{
    color:var(--af-orange);
}

.af-about-text{
    width:100%;
    max-width:510px;
    margin:0 0 13px;
    color:var(--af-text);
    font-family:Arial,Helvetica,sans-serif;
    font-size:12px;
    line-height:1.7;
    font-weight:400;
}

.af-about-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-top:10px;
    min-height:44px;
    padding:0 17px;
    border:1.5px solid var(--af-orange);
    border-radius:7px;
    color:var(--af-orange);
    background:rgba(255,255,255,.8);
    text-decoration:none!important;
    font-family:Arial,Helvetica,sans-serif;
    font-size:12px;
    font-weight:700;
    transition:
        transform .3s ease,
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.af-button-arrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    transition:transform .3s ease;
}

.af-button-arrow svg{
    width:1em;
    height:1em;
    fill:currentColor;
}

@media (hover:hover) and (pointer:fine){
    .af-about-button:hover{
        color:#fff;
        background:var(--af-orange);
        border-color:var(--af-orange);
        box-shadow:0 8px 22px rgba(241,90,36,.18);
        transform:translateY(-1px);
    }

    .af-about-button:hover .af-button-arrow{
        transform:translateX(4px);
    }
}

/* VISUAL */
.af-about-visual{
    position:relative;
    width:100%;
    min-width:0;
    min-height:420px;
    height:420px;
    overflow:hidden;
    border-radius:11px;
    background:#eee;
    box-shadow:0 12px 35px rgba(23,32,51,.08);
    isolation:isolate;
    contain:paint;
}

.af-about-image{
    display:block;
    width:100%;
    height:420px;
    min-height:420px;
    object-fit:cover;
    object-position:center;
    transform:scale(var(--af-image-scale));
    transform-origin:center;
    transition:transform .7s cubic-bezier(.2,.8,.2,1);
    will-change:transform;
}

.af-image-hover-enabled .af-about-visual:hover .af-about-image{
    transform:scale(var(--af-image-hover-scale));
}

.af-about-visual::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(
        to bottom,
        rgba(0,0,0,0) 45%,
        rgba(0,0,0,.08) 68%,
        var(--af-image-overlay) 100%
    );
}

.af-no-image-overlay .af-about-visual::after{
    display:none!important;
}

/* PLAY BUTTON */
.af-play-button{
    position:absolute;
    left:50%;
    top:42%;
    transform:translate(-50%,-50%);
    z-index:5;
    width:58px;
    height:58px;
    padding:0;
    border:0;
    border-radius:50%;
    cursor:pointer;
    background:rgba(255,255,255,.94);
    box-shadow:
        0 8px 25px rgba(0,0,0,.20),
        0 0 0 1px rgba(255,255,255,.5);
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none!important;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.af-play-icon{
    display:block;
    width:0;
    height:0;
    margin-left:4px;
    border-top:9px solid transparent;
    border-bottom:9px solid transparent;
    border-left:14px solid var(--af-orange);
}

@media (hover:hover) and (pointer:fine){
    .af-play-button:hover{
        transform:translate(-50%,-50%) scale(1.08);
        box-shadow:
            0 12px 32px rgba(0,0,0,.24),
            0 0 0 7px rgba(255,255,255,.18);
    }
}

/* INFO BAR */
.af-about-info-bar{
    position:absolute;
    left:14px;
    right:14px;
    bottom:12px;
    z-index:10;
    min-height:66px;
    padding:8px 10px;

    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;

    border:1px solid rgba(255,255,255,.95);
    border-radius:11px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 8px 25px rgba(0,0,0,.14);

    overflow:hidden;
}

.af-about-info{
    position:relative;
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:5px 13px;
}

.af-about-info:not(:first-child)::before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    bottom:10px;
    width:1px;
    background:#e8e8e8;
}

.af-info-icon{
    flex:0 0 25px;
    width:25px;
    height:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--af-orange);
}

.af-info-icon svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.af-info-icon i{
    font-size:22px;
    line-height:1;
    color:currentColor;
}

.af-info-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.af-info-text strong{
    color:var(--af-dark);
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
    line-height:1.25;
    font-weight:700;
    overflow-wrap:anywhere;
}

.af-info-text span{
    color:#5e6672;
    font-family:Arial,Helvetica,sans-serif;
    font-size:9px;
    line-height:1.25;
    font-weight:400;
    overflow-wrap:anywhere;
}

/* TABLET */
@media (max-width:1000px){
    .af-about-section{
        padding:45px 0 55px;
    }

    .af-about-container{
        width:calc(100% - 50px);
        grid-template-columns:1fr;
        gap:35px;
    }

    .af-about-content{
        max-width:700px;
    }

    .af-about-title{
        font-size:38px;
        max-width:100%;
        white-space:normal;
    }

    .af-about-text{
        max-width:650px;
    }

    .af-about-visual,
    .af-about-image{
        min-height:400px;
        height:400px;
    }
}

/* MOBILE */
@media (max-width:767px){
    .af-about-section{
        padding:35px 0 40px;
    }

    .af-about-container{
        width:92%;
        grid-template-columns:1fr;
        gap:28px;
    }

    .af-about-title{
        font-size:clamp(29px,8vw,36px);
        line-height:1.12;
        letter-spacing:-.7px;
        white-space:normal;
    }

    .af-about-text{
        font-size:11px;
        line-height:1.65;
        max-width:100%;
    }

    .af-about-button{
        min-height:43px;
    }

    .af-about-visual{
        min-height:420px;
        height:420px;
        border-radius:10px;
    }

    .af-about-image{
        height:420px;
        min-height:420px;
    }

    .af-play-button{
        width:52px;
        height:52px;
        top:38%;
    }

    .af-about-info-bar{
        left:9px;
        right:9px;
        bottom:9px;
        padding:7px;
        grid-template-columns:repeat(2,minmax(0,1fr));
        min-height:auto;
    }

    .af-about-info{
        min-height:53px;
        padding:7px 8px;
    }

    /* Proper dividers for a 2-column mobile bar */
    .af-about-info:nth-child(odd)::before{
        display:none;
    }

    .af-about-info:nth-child(n+3){
        border-top:1px solid #e8e8e8;
    }

    .af-mobile-info-below .af-about-visual{
        overflow:visible;
        margin-bottom:130px;
    }

    .af-mobile-info-below .af-about-info-bar{
        top:calc(100% + 10px);
        bottom:auto;
        left:0;
        right:0;
        background:#fff;
    }
}

@media (max-width:390px){
    .af-about-container{
        width:calc(100% - 24px);
    }

    .af-about-title{
        font-size:26px;
        letter-spacing:-.5px;
    }

    .af-about-info{
        gap:7px;
    }

    .af-info-icon{
        flex-basis:22px;
        width:22px;
        height:22px;
    }

    .af-info-icon svg{
        width:20px;
        height:20px;
    }

    .af-info-text strong{
        font-size:9px;
    }

    .af-info-text span{
        font-size:8px;
    }
}

/* TOUCH */
@media (hover:none), (pointer:coarse){
    .af-image-hover-enabled .af-about-visual:hover .af-about-image{
        transform:scale(var(--af-image-scale));
    }

    .af-touch-feedback .af-about-button:active,
    .af-touch-feedback .af-play-button:active{
        transform:scale(.98);
    }
}

/* SAFETY */
.elementor-widget-af_about,
.elementor-widget-af_about .elementor-widget-container,
.af-about-section,
.af-about-container,
.af-about-content,
.af-about-visual,
.af-about-info-bar{
    max-width:100%;
}

.elementor-widget-af_about{
    overflow:clip;
}

@supports not (overflow:clip){
    .elementor-widget-af_about{
        overflow:hidden;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion:reduce){
    .af-about-section *,
    .af-about-section *::before,
    .af-about-section *::after{
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important;
    }
}


/* =========================================================
   AF_About v1.0.1 — Elementor live fixes
   ========================================================= */

/* Elementor/Font Awesome may output SVGs with fill=currentColor.
   Force the control-selected color on all icon rendering modes. */
.elementor-widget-af_about .af-info-icon,
.elementor-widget-af_about .af-info-icon i,
.elementor-widget-af_about .af-info-icon svg,
.elementor-widget-af_about .af-info-icon svg *{
    color:inherit;
}

.elementor-widget-af_about .af-info-icon svg{
    display:block;
    overflow:visible;
}

.elementor-widget-af_about .af-info-icon svg,
.elementor-widget-af_about .af-info-icon svg path,
.elementor-widget-af_about .af-info-icon svg circle,
.elementor-widget-af_about .af-info-icon svg rect,
.elementor-widget-af_about .af-info-icon svg line,
.elementor-widget-af_about .af-info-icon svg polyline,
.elementor-widget-af_about .af-info-icon svg polygon{
    fill:currentColor !important;
    stroke:currentColor !important;
}

/* Some Font Awesome regular icons are fill-based only. */
.elementor-widget-af_about .af-info-icon i{
    color:currentColor !important;
    opacity:1 !important;
}

/* Never let theme filters make icons white/invisible. */
.elementor-widget-af_about .af-info-icon,
.elementor-widget-af_about .af-info-icon svg{
    filter:none !important;
    mix-blend-mode:normal !important;
    opacity:1 !important;
}

/* The image is always the real Elementor media selection.
   No background-image fallback can visually cover it. */
.elementor-widget-af_about .af-about-visual{
    background-image:none !important;
}

.elementor-widget-af_about .af-about-image{
    position:relative;
    z-index:1;
    visibility:visible !important;
    opacity:1 !important;
    filter:none !important;
}

/* Keep overlay above the image but below controls/info. */
.elementor-widget-af_about .af-about-visual::after{
    z-index:2;
}

.elementor-widget-af_about .af-play-button{
    z-index:5;
}

.elementor-widget-af_about .af-about-info-bar{
    z-index:10;
}


/* =========================================================
   AF_About v1.0.2 — editor live preview & icon hard fix
   ========================================================= */

/* Elementor can inject icon SVG styles with greater specificity.
   These selectors deliberately win over them. */
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon i,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg{
    color:#f15a24;
    opacity:1!important;
    visibility:visible!important;
}

.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg *,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg path,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg circle,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg rect,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg polygon,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg polyline,
.elementor-widget-af_about .af-about-info-bar .af-about-info .af-info-icon svg line{
    fill:currentColor!important;
    stroke:currentColor!important;
    opacity:1!important;
}

/* The media control must always drive the visible image. */
.elementor-widget-af_about .af-about-image[data-af-live-image="1"],
.elementor-widget-af_about .af-about-image{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    visibility:visible!important;
    opacity:1!important;
}
