/* ── BOT-VFX-ADDONS Scoped Button Styles ── */


.fp-box:hover .botvfx-custom-button,
.cbc-item:hover .botvfx-custom-button {
    padding: 0 64px 0 16px !important;
}





.fp-box:hover .botvfx-custom-button .btn-elem,
.cbc-item:hover .botvfx-custom-button .btn-elem {
    left: calc(100% - 55px) !important;
}





.fp-box:hover .botvfx-custom-button .btn-elem::after,
.cbc-item:hover .botvfx-custom-button .btn-elem::after {
    transform: translate(-50%, -50%) scaleX(-1) !important;
}

@media (max-width: 1200px) {


    .fp-box:hover .botvfx-custom-button,
    .cbc-item:hover .botvfx-custom-button {
        padding: 0 50px 0 16px !important;
    }



    .fp-box:hover .botvfx-custom-button .btn-elem,
    .cbc-item:hover .botvfx-custom-button .btn-elem {
        left: calc(100% - 40px) !important;
    }


}

/* =============================================================
 * View More of Our Work Banner Styling
 * ============================================================= */
.custom-see-more-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    background-color: #000000;
    transition: all 0.4s ease-in-out;
    box-sizing: border-box;
}

.custom-see-more-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.custom-hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.6;
    transition: opacity 0.5s ease-in-out;
}

.custom-see-more-section::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: #a91e22;
    z-index: 2;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.custom-see-more-video-wrap:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: #a91e22;
    mix-blend-mode: multiply;
    z-index: 1;
}

.custom-see-more-hdn {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-family: "Tanker", "Impact", "Arial Black", sans-serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 20px;
    line-height: 1.1;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.4s ease;
}

.custom-see-more-section:hover::before {
    opacity: 0;
    visibility: hidden;
}

.custom-see-more-section:hover .custom-hover-video {
    opacity: 1;
}

/* .custom-see-more-section:hover .custom-see-more-hdn {
    transform: scale(1.03);
} */

/* =============================================================
 * Custom Banner Reel Styling (Moved from banner-reel.css)
 * ============================================================= */
.custom-banner-reel-section {
    padding: 0px 0;
    width: 100%;
    background-color: transparent;
    font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.custom-reel-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.custom-reel-card {
    display: block;
    width: 100%;
    aspect-ratio: 2.3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    background-color: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* .custom-reel-card:hover {
    transform: scale(1.005);
} */

.custom-reel-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.custom-autoplay-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-reel-video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.custom-reel-card:hover .custom-reel-video-wrapper::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 100%);
}

.custom-reel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    box-sizing: border-box;
    pointer-events: none;
}

.custom-reel-title {
    color: #ffffff;
    font-family: "Tanker", "Impact", "Arial Black", sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.custom-float-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 5;
    opacity: 0;
    border: 2px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 24px 0 6px;
    border-radius: 60px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.custom-reel-card:hover .custom-float-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.custom-btn-circle {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ff003c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 60, 0.4);
}

.custom-btn-circle::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #ffffff;
    margin-left: 4px;
}

.custom-btn-text {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.custom-video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 11, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
}

.custom-video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-popup-container {
    width: 90%;
    max-width: 1200px;
    box-sizing: border-box;
}

.custom-popup-content-box {
    background-color: #121313;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid #222;
}

.custom-popup-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}

.custom-popup-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.custom-popup-close-btn svg {
    stroke: #000000;
}

.custom-popup-video-body {
    position: relative;
    width: 100%;
    aspect-ratio: 1.7778;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.custom-popup-video-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .custom-reel-card {
        aspect-ratio: 1.8;
    }

    .custom-float-btn {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 768px) {
    .custom-reel-card {
        aspect-ratio: 1.5;
    }

    .custom-popup-content-box {
        padding: 15px;
    }

    .custom-popup-header {
        margin-bottom: 10px;
    }
}

/* ── Featured Work Section Styles ── */
.fp-wrap .f-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    gap: 42px 0 !important;
}

.w40 {
    width: 40% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

.w60 {
    width: 60% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

@media (max-width: 990px) {
    .w-990-100 {
        width: 100% !important;
    }
}

.fp-box {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

.fp-box .comm-card-hdn {
    transition: all 0.4s ease-in-out;
    color: #ffffff;
    font-family: "Tanker", sans-serif;
    font-size: 36px;
    line-height: 1.01;
    text-transform: uppercase;
    margin: 0;
    font-weight: 400;
}

.fp-box:hover .botvfx-custom-button {
    opacity: 1 !important;
    top: 50% !important;
    visibility: visible !important;
}

.fp-box:hover .fp-img::after {
    opacity: 1 !important;
    visibility: visible !important;
}

.fp-box:hover .comm-card-hdn {
    color: #DF1F26 !important;
}

.fp-img-box {
    position: relative !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
    height: 490px !important;
    overflow: hidden !important;
}

.fp-img-box .botvfx-custom-button {
    position: absolute !important;
    top: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.fp-img {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.fp-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease-in-out !important;
}

.fp-box:hover .fp-img img {
    transform: scale(1.05) !important;
}

.fp-img::after {
    content: "" !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    opacity: 0 !important;
    transition: all 0.4s ease-in-out !important;
}

@media (max-width: 1200px) {
    .fp-img-box {
        height: 370px !important;
    }
}

@media (max-width: 990px) {
    .fp-img-box {
        height: 230px !important;
    }

    .fp-img-box .botvfx-custom-button {
        top: 50% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .fp-img::after {
        opacity: 0.5 !important;
    }
}

/* =============================================================
 * Accolades Section Styles from bot-vfx
 * ============================================================= */
.accolades-container {
    margin: 60px 0;
}

.work-tab-wrap {
    margin-bottom: 40px;
}

.work-tab-wrap::-webkit-scrollbar {
    height: 4px;
}

.work-tab-wrap::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
}

.work-tab-wrap::-webkit-scrollbar-track {
    background: #2c2c2c;
}

.work-tab-wrap ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    gap: 32px;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

.work-tab-wrap li {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.work-tab-wrap li.active::before {
    clip-path: inset(0);
}

.work-tab-wrap a {
    color: #fff;
    font-size: 16px;
}

.work-wrap .f-row {
    margin: 0 -15px;
    gap: 50px 0;
    display: flex;
    flex-wrap: wrap;
}

.work-wrap .f-col {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .work-wrap .f-4 .f-col {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .work-wrap .f-4 .f-col {
        width: 25%;
    }
}

/* ── Award Card ── */
.award-box {
    width: 100%;
    cursor: pointer;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    position: relative;
    /* transition: transform 0.3s ease; */
}

/* ── Image Area ── */
.award-img-box {
    width: 100%;
    aspect-ratio: 1.8;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.award-box:hover .award-img-box {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
}

.award-bg {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.award-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* .award-box:hover .award-bg img {
    transform: scale(1.05);
} */

/* Hide old hover overlay */
.award-img {
    display: none;
}

/* ── Text Content ── */
.award-box .award-cont {
    padding: 0 0px 26px !important;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 20px !important;
}

/* Leaf SVGs — background-image URLs injected via PHP inline style */
.award-box .award-cont::before,
.award-box .award-cont::after {
    content: "";
    width: 30px !important;
    height: 60px !important;
    position: absolute;
    top: calc(100% - 45px) !important;
    /* Positioned lower, beside the subheadings */
    transform: translateY(-50%) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.award-box .award-cont::before {
    left: 0 !important;
}

.award-box .award-cont::after {
    right: 0 !important;
}

:where(.award-box .award-hdn) {
    color: #ffffff;
    text-align: center;
    font-family: 'tanker-regualr', 'Tanker', 'Tanker-Regular', sans-serif;
    font-size: 26px;
    line-height: 1.1;
    margin: 0 0 12px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.5px;
}

:where(.award-box .award-sm-hdn) {
    color: #ffffff;
    text-align: center;
    /* font-size: 16px; */
    /* line-height: 1.4; */
    margin: 0px;
    font-weight: 400;
    font-family: "IBM Plex Sans", sans-serif;
    text-transform: none;
}

:where(.award-box .award-sm-hdn:last-child) {
    color: #a0a0a0;
    /* font-size: 16px; */
    margin-top: 4px;
    font-weight: 400;
}





/* Removed hardcoded widths to rely strictly on Elementor's native .elementor-container widths */

/* Force Elementor layout to respect Elementor's own width settings across the entire site */


/* Standard Widget Container */
/* .botvfx-widget-container {
    width: 100%;
    max-width: var(--container-max-width, 1380px);
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
} */


/* Widget Dynamic Content Width Classes based on Elementor Control */
.botvfx-dynamic-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Layout Control Classes */
/* .botvfx-width-botvfx-container .botvfx-dynamic-wrapper {
    width: 100%;
    max-width: 1750px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 15px;
    padding-left: 15px;
} */

/* @media (max-width: 1800px) {
    .botvfx-width-botvfx-container .botvfx-dynamic-wrapper {
        max-width: 1530px !important;
    }
}

@media (max-width: 1600px) {
    .botvfx-width-botvfx-container .botvfx-dynamic-wrapper {
        max-width: 1380px !important;
    }
}

@media (max-width: 1440px) {
    .botvfx-width-botvfx-container .botvfx-dynamic-wrapper {
        max-width: 1280px !important;
    }
} */

.botvfx-width-full-width .botvfx-dynamic-wrapper {
    width: 100%;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.botvfx-width-boxed-elementor .botvfx-dynamic-wrapper {
    max-width: 100%;
}

.botvfx-width-custom-width .botvfx-dynamic-wrapper {
    max-width: var(--botvfx-custom-width, 100%) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Fix global button icon transitions exclusively for addon widgets */
.elementor-widget-botvfx_portfolio .botvfx-custom-button .btn-elem::after,
.elementor-widget-botvfx_featured_work .botvfx-custom-button .btn-elem::after,
.elementor-widget-botvfx_featured_blog .botvfx-custom-button .btn-elem::after {
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

/* GLOBAL BOTVFX CUSTOM BUTTON */
.botvfx-custom-button {
    background: transparent;
    border: 1px solid #ffffff;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    height: 60px;
    padding: 0 16px 0 64px;
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
}

.botvfx-custom-button:hover {
    padding: 0 64px 0 16px;
}

.botvfx-custom-button .btn-text {
    line-height: 60px;
    color: #ffffff;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.botvfx-custom-button .btn-elem {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 5px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    top: 4px;
    border-radius: 50%;
    z-index: 5;
}

.botvfx-custom-button:hover .btn-elem {
    left: calc(100% - 55px);
}

.botvfx-custom-button .btn-elem::before {
    content: "";
    background: #a71e22;
    position: absolute;
    inset: 0;
    border-radius: 100%;
    overflow: hidden;
}

.botvfx-custom-button .btn-elem::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 32px;
    z-index: 2;
    background: url('../images/btn-elem.svg') no-repeat center / contain;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

.botvfx-custom-button:hover .btn-elem::after {
    transform: translate(-50%, -50%) scaleX(-1);
}

@media (max-width: 1200px) {
    .botvfx-custom-button {
        height: 44px;
        line-height: 44px;
        padding: 0 16px 0 50px;
    }

    .botvfx-custom-button:hover {
        padding: 0 50px 0 16px;
    }

    .botvfx-custom-button .btn-elem {
        width: 34px;
        height: 34px;
        top: 4px;
    }

    .botvfx-custom-button:hover .btn-elem {
        left: calc(100% - 40px);
    }

    .botvfx-custom-button .btn-elem::after {
        width: 10px;
        height: 20px;
        right: 6px;
    }

    .botvfx-custom-button .btn-text {
        font-size: 14px;
        line-height: 44px;
    }
}







.fp-box:hover .botvfx-custom-button {
    opacity: 1 !important;
    top: 50% !important;
}

.fp-img-box .botvfx-custom-button {
    position: absolute !important;
    top: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.fp-img-box:hover .botvfx-custom-button {
    top: 50% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide Accolades Popup Scrollbars */
.mfp-wrap::-webkit-scrollbar,
.accolades-popup-box::-webkit-scrollbar,
.accolades-tab-container::-webkit-scrollbar,
.mfp-container::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
}

.mfp-wrap,
.accolades-popup-box,
.accolades-tab-container,
.mfp-container {
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

/* =============================================================
 * Global Container Sizing for Single Post and Static Elements
 * ============================================================= */
.container {
    max-width: 100%;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* Hide default Magnific Popup X close button globally */
button.mfp-close {
    display: none !important;
}

/* Flex Container Compatibility for BotVFX Addon Widgets */
.e-con .elementor-widget[data-widget_type^="botvfx_"],
.e-con-inner .elementor-widget[data-widget_type^="botvfx_"] {
    width: 100%;
}

.e-con .elementor-widget[data-widget_type^="botvfx_"]>.elementor-widget-container,
.e-con-inner .elementor-widget[data-widget_type^="botvfx_"]>.elementor-widget-container {
    width: 100%;
    flex-grow: 1;
}

h2.botvfx-heading-title {
    margin: 0;
}

a.in-cell-link {
    color: #a22727;
}

h3.comm-popup-hdn {
    margin: 0;
}

/* Portfolio Work Box / Cards Styling Override */
.work-box {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 2 / 3 !important;
    position: relative;
    margin-bottom: 20px;
}

.work-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* =============================================================
 * Accolades & Magnific Popup Background Blur (Frosted Glass)
 * ============================================================= */
.mfp-bg.accolades-mfp-bg,
.mfp-bg.accolades-mfp-popup,
.mfp-bg.my-mfp-slide-bottom {
    background: rgba(10, 10, 10, 0.70) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    opacity: 0;
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
}

.mfp-bg.accolades-mfp-bg.mfp-ready,
.mfp-bg.accolades-mfp-popup.mfp-ready,
.mfp-bg.my-mfp-slide-bottom.mfp-ready {
    opacity: 1 !important;
}

.mfp-bg.accolades-mfp-bg.mfp-removing,
.mfp-bg.accolades-mfp-popup.mfp-removing,
.mfp-bg.my-mfp-slide-bottom.mfp-removing {
    opacity: 0 !important;
}