/**********
SITEWIDE STYLES
**********/

:root {
    --primary-text: #0a0a0a;
    --white: #fff;

    --primary: #F16B25;
    --primary-alt: #d15e20 ;

    --transparent:rgba(0,0,0,0);
}
   
body {
    color:#fff;
    background-color: #1e1e1e;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Helvetica', sans-serif;
}

.z-5 {
    z-index: 5;
}

.font2 {
    font-family: 'DM Serif Text', sans-serif;	
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom:10px;
    line-height:1.1;
    font-family: 'DM Serif Text', sans-serif;	
}

h1 {
    font-size:42px;
}

h2 {
    font-size:35px;
}
h3 {
    font-size:25px;
}
h4 {
    font-size:21px;
}

.txt-primary {
    color: var(--primary);
}

.helvetica {
    font-family: 'Helvetica', sans-serif;
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

::selection {
    background: var(--primary);
    color: var(--white);
}

.text-white {
    color: #fff;
}

* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto
}

a:hover {
    color: var(--primary-alt);
}
a {
    text-decoration: none;
    color:var(--primary);
}

.menu-item-has-children::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    display: inline-block;
    top: -1px;
    transition: all 300ms;
    transform: scaleY(1);
}

.menu-item-has-children.sub-menu-active::after {
    transform: scaleY(-1);
}

/* DEFAULTS */
.ts {
	filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.81));
}
.nav ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav ul li {
    display: inline-block;
}
.transition {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.bgcover {
    background-size:cover;
}

/* LOGIN */
.login #backtoblog a, .login #nav a {
    text-decoration: none;
    color: #b37e62;
    text-align: center;
    display: block;
}
.wp-core-ui .button-primary {
    background: #F26B25;
    border-color: #984920;
}

/* BLOG */
.featured-image img {
    object-fit: cover;
    transform: scale(1);
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease;
    -webkit-transform: 300ms ease;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    position:absolute;
}
.featured-image img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.featured-image {
    overflow: hidden;
    padding-top:60%;
    margin-bottom: 10px;
    position: relative;
}
.placeholder-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--dark);
}
.featured-image .placeholder-image {
    position: absolute;
    width: 100%;
    background-color: #e1e1e1;
    height: 100%;
    text-align: center;
}

/* POLICIES PAGE */
.mainbg-policy-bg img {
    position:absolute;
    top:0;
    height:100%;
    width: 100%;
    object-fit: cover;
}
.mainbg-policy-bg {
    height: 0;
    padding-top: 30%;
    width: 100%;
    position: absolute;
    z-index: 3;
}
.mainbg-policy-bg:before {
    content: '';
    width: 100%;
    z-index: 3;
    height: 100%;
    top: 0;
    left: 0;
    position:absolute;
    background: rgb(30,30,30);
background: linear-gradient(0deg, rgba(30,30,30,1) 0%, rgba(30,30,30,0.7049194677871149) 100%);
}
.policy-content {
    padding-top: 200px;
}
.main-policy-content {
    padding-bottom: 100px;
    background-color: #1E1E1E;
}
.blackbox {
    background-color: #000000;
    padding: 35px;
    font-size: 14px;
}
.content-block.black-box:first-child {
    font-size: 20px;
}
.content-block-awards .ab-logos-inner {
    padding: 0;
    background-color: transparent;
}
.news-sbs-img-inner img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.news-sbs-img-inner {
    /* aspect-ratio: 16 / 9; */
    overflow: hidden;
    position: relative;
}

/* DEFAULT PAGES BG IMG */
.bgimg-default-top-main img {
    position:absolute;
    top:0;
    height:100%;
    width: 100%;
    object-fit: cover;
}
.bgimg-default-top-main {
    height: 0;
    padding-top: 30%;
    width: 100%;
    position: absolute;
    z-index: 3;
}
.bgimg-default-top-main:before {
    content: '';
    width: 100%;
    z-index: 3;
    height: 100%;
    top: 0;
    left: 0;
    position:absolute;
    background: rgb(30,30,30);
background: linear-gradient(0deg, rgba(30,30,30,1) 0%, rgba(30,30,30,0.7049194677871149) 100%);
}
.bg-content {
    padding-top: 200px;
}

/* CONTACT */
.cb-box {
    background-color: #0a0a0a;
    padding: 7% 8%;
    font-size: 18px;
}
img#gform_ajax_spinner_1 {
    width: 20px;
    margin-left: 10px;
}
#gform_confirmation_message_1 {
    text-align: center;
}
.contact-box-right iframe {
    min-height: 500px;
}
input#input_1_1 {
    width: 540px;
    margin: 0 auto !important;
    display: block;
    max-width: 100%;
}
div#input_1_2 {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
#gform_wrapper_1.gform_wrapper.gravity-theme .gform_footer {
    padding: 0;
    margin: 0;
    justify-content: center;
    margin-top: -3px;
}

/* ABOUT */
.img-about-1 {
	aspect-ratio: 16 / 9;
}
.img-about-1 iframe {
	object-fit:cover;
	width:100%;
	height:100%;
}
.ab-box {
    background-color: #0a0a0a;
    padding: 7% 8%;
    font-size: 18px;
}
.content-block-awards .ab-box {
	padding: 7% 0;
}
.ab-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    text-align: center;
}
.ab-logos-inner {
    flex: 1;
    padding: 16px;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: rgba(255,255,255,0.2);
}

.ab-box-inner {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
}
.img-about-inner img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-about-inner {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-top: 70%;
}
.aboutbottom img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
}
.aboutbottom {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 70%;
    overflow: hidden;
}
.about-bottom-text {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    z-index: 5;
    align-items: center;
    justify-content: center;
    
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.aboutbottom:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(241, 107, 37, 0.3);
    left: 0;
    top: 0;
    display: block;
    opacity:0;
    z-index: 3;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.aboutbottom:hover:before {
    opacity: 1;
}
.about-bottom-text {
    top: 52px;
}
.aboutbottom:hover .about-bottom-text {
    top:0;
}
.aboutbottom:hover .about-bottom-text .btn {
    opacity: 1;
}
.about-bottom-text .btn {
    opacity: 0;
}
.about-bottom-text h3 {
    font-size: 40px;
    font-weight: bold;
}

/* HEADER */
.header {
    position: absolute;
    width: 100%;
    z-index: 55;
    top:0;
}
.logo-img {
    width:160px;
}
/*.single-work .header, 
.single-news .header, 
.single-case-studies .header, 
.page-template-template-work .header {
    position: relative;
    padding-bottom: 20px;
    background-color: #1E1E1E;
} */

/* OUR WORKS */
#works-posts {
    transition: opacity 0.3s ease; /* Adjust duration as needed */
    opacity: 1; /* Default to fully visible */
}
.ourworks-content-top {
    text-transform: uppercase;
    font-size: 15px;
}
.ourworks-content-inner {
    width:100%;
}
#works-posts .worksboxmain {
    aspect-ratio: 3.1;
}
.ourworks-banners {
    border:5px solid #1E1E1E;
    background-color:#1E1E1E;
    padding-bottom:45px;
}
.ncs-main .ourworks-banners {
    padding: 0 7px 0;
    background-color: transparent;
    border: 0;
}
.ourworks-box {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 5px;
}
.ourworks-sbs-row .ourworks-box {
}
.ourworks-box-img {
    position: absolute;
    object-fit: cover;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ourworks-box:hover .ourworks-content {
    opacity: 1;
}
.ourworks-content {
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(241, 107, 37, 0.7);
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.ourworks-content h3 {
    font-size: 40px;
    margin: 7px auto;
    font-weight:700;
    max-width: 90%;
    width: 430px;
}
.content-block.video-3-columns video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin-bottom: -7px;
}
.img-about-1 video {
	margin-bottom: -8px;
}
.content-block.video-3-columns {
    padding: 0;
	background-color:transparent;
}
.youtube-video {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.youtube-video img {
    width: 100%;
    object-fit: cover;
    height: 100% !important;
}
.vimeo-video, .youtube-video, .linkedin-video {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
	aspect-ratio: 16 / 9;
}
.vimeo-video .video-element {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1.58);
}
.video-3-columns .vid-play-btn {
    height: 70px;
    width: 70px;
    font-size: 30px;
}
.vid-play-btn:hover, .col3vid:hover ~ .vid-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: rgba(189, 88, 36, 0.8);
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(15px);
    opacity: 1;
}

/* WORKS */
/*#worksTabContent {
	background-color:#1e1e1e;
} */

#worksTabContent {
	padding-top:0!important;
} 
.works-filter-wrap {
	margin-top:140px;
}
.works-filter-tabs {
    display: flex;
    padding-top: 70px;
    list-style: none;
    padding-left: 10px;
    border-bottom:0;
    margin-bottom: 0;
}
.works-filter {
    font-family: 'DM Serif Text';
}
.works-filter li.filter-tab a.active {
    border-color: #F16B25;
    color: #fff;
}
.works-filter li.filter-tab a {
    padding: 0 20px 10px;
    color: #9F9F9F;
    cursor: pointer;
    font-size: 17px;
    letter-spacing: 1.5px;
    border-bottom: 3px solid transparent;
	box-shadow:none;
	outline:0;

    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.works-filter li.filter-tab a {
    text-transform: uppercase;
    font-weight: 700;
	font-family: "Helvetica", sans-serif;
}
.works-filter li.filter-tab a:hover {
    color: var(--primary);
    border-color: transparent;
}
.nav-tabs .nav-link, .nav-tabs .nav-link.active {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 3px solid transparent;
}

/* NEWS */
.news-top {
    padding-top: 170px;
}
.news-top h1 {
    font-size: 18px;
    letter-spacing: 1.5px;
    padding-bottom: 0;
    margin-bottom: -10px;
}
.single-news {
    background-color: #1e1e1e;
}
#single-news-hero {
    aspect-ratio: 2.29;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    align-items: flex-end;
    padding-bottom: 30px;
    background-size: cover;
    background-position:center;
}
#single-news-hero video {
    z-index: 2;
}
.news-content-wrap .content-block.black-box {
    padding:6% 8%;
}
.quote-section p:last-of-type {
    padding-bottom: 0;
}
.quote-section p {
    padding-bottom: 30px;
}

.news-box {
    position: relative;
    overflow: hidden;
	height:100%;
	padding:5px;
}
.news-sbs-row .news-box {
	height:100%;
}

.news-box-img {
    position: absolute;
    object-fit: cover;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.news-box:hover .news-content {
    opacity: 1;
}
.news-content {
    position: absolute;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    text-align: center;
    top: 0;
    z-index: 5;
    left: 50%;
    transform: translateX(-50%);
    opacity:0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(241, 107, 37, 0.7);

    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.news-content h3 {
    font-size: 40px;
    margin: 7px auto;
    max-width: 90%;
    width: 500px;
}

/* HOME HERO */
#homehero {
    height: 100vh;
    overflow: hidden;
    position: relative;
	background-position:center;
}
#homehero iframe.portrait-orientation {
    transform: translate(-50%, -50%) scale(3.3) !important;
}
/* Aspect-ratio correction */
.fullscreen-iframe {
    width: 100vw; /* Default to full screen width */
    height: auto;
}
img.homhero-preload {
	transition: all 0.3sease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3sease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    pointer-events: none;
}
img.homhero-preload {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.2);
	
}
#homehero iframe { 
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
	
	background-color: transparent;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; /* Default to full width */
    height: 56.25vw; /* Maintain 16:9 aspect ratio (9/16 * 100vw) */
    min-height: 100vh; /* Ensure it always covers the height */
    min-width: 177.77vh; /* Ensure it always covers the width (16/9 * 100vh) */
    pointer-events: none; /* Prevent interactions with the iframe */
}
.fullscreen-iframe.portrait {
    width: auto;
    height: 100vh; /* In portrait mode, ensure full height */
}
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 105%;
    object-fit: cover; /* Ensures the video covers the div */
    z-index: 4;
}
img.vidthumbnail2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
    object-fit: cover;
    left: 0;
}
#homehero h1:before {
    content: '';
    width: 80px;
    height: 5px;
    background-color: var(--primary);
    position: absolute;
    top: -25px;
    right: 0;
}
#homehero h1 {
    position: absolute;
    font-size: 32px;
    top: 50%;
    line-height: 1.4;
    transform: translateY(-50%);
    width: 690px;
	filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.81));
    max-width: 100%;
    right: 50px;
	padding-left:100px;
}
img.bcorp-img {
    width: 220px;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.next-section {
    position: absolute;
    font-size:21px;
    bottom: 20px;cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
}

/**********
BUTTON    
**********/

.btn {
    background-color: transparent ;
    box-shadow: none !important;
    padding: 13px 30px;
    transition: all .15s ease-in-out;
    border-radius: 0;
    text-transform: uppercase;
    border-width:0px;
    font-size:16px;
    font-weight: 400;
    border-style: solid;
}
.btn-large {

    padding: 20px 65px;
}
.btn-small {
    font-size: .9rem;
    padding: 7px 20px;
}

.btn.btn-primary {
    font-weight: bold;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    border-width:0;
    border-style: solid;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active
 {
    background-color: var(--primary-alt);
    color: var(--white);
}

.btn.btn-transparent {
    background-color: transparent;
    color: var(--white);
    position: relative;
    border:1px solid #fff;
}

.btn.btn-transparent:hover,
.btn.btn-transparent:focus,
.btn.btn-transparent:active
 {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit {
    font-weight: bold;
    background-color: var(--accent);
    color: #fff;
    position: relative;
    border-width:0;
    border-style: solid;
}

.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit:hover,
.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit:focus,
.frm_button_submit:active {
    background-color: var(--secondary-alt);
    color: #fff;
}


.btn.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active {
    background-color: var(--secondary-alt);
    border: 0 solid var(--transparent);
    color: var(--white);
}

.btn.btn-white {
    color:var(--primary);
    background-color:var(--white);
    opacity: 1;
}

.btn.btn-white:hover,
.btn.btn-white:focus,
.btn.btn-white:active {
    opacity: .6;
}


/**********
COOKIE    
**********/

#siteCookie {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 30;
    bottom: 0;
    padding: 10px 0;
    width: 100%;
}

#siteCookie,
#siteCookie p,
#siteCookie a,
#siteCookie .fa {
    color: #fff;
    font-weight: 600
}

#siteCookie .inner {
    display: flex;
    align-items: center;
}

#siteCookie p {
    margin-right: 20px
}

#siteCookie .fa {
    font-size: 28px;
    margin-left: auto
}

#siteCookie i {
    cursor: pointer
}

/* DEFAULT */
section.block {
    padding:100px 0;
}
.content-block.fwblock {
    padding:6% 8%;	
}

/* SINGLE WORK HERO */
#single-work-hero,
#single-news-hero {
    aspect-ratio:2.29;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    align-items: flex-end;
    padding-bottom: 30px;
}
.single-work {
    background-color: #1e1e1e;
}
.work-content-wrap {
    background-color: #1E1E1E;
    padding: 15px 0;
    gap: 15px;
    display: flex;
    flex-direction: column;
}
.content-block {
    background-color: #0A0A0A;
    padding:20px;
	font-size: 18px;
}
.content-block.black-box {
    padding:6% 8%;
    background-color: #0A0A0A;
}
.content-block.black-box  h3 {
    line-height: 1.3;
	font-size:28px;
}
.content-block.video-block {
    padding: 0;
    position: relative;
    /* height: 0; */
    overflow: hidden;
    /* padding-top: 50%; */
}
.content-block.video-block iframe {
    width: 100%;
    margin-bottom: -7px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}
.content-block.video-block .linkedin-embed iframe {
    width: calc(100% + 2px);
    margin-bottom: -7px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    height: calc(100% - 0px);
    margin-left: -1px;
    margin-top: -1px;
}
.vid-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}
.vid-play-btn {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 50%;
    top: 50%;
	color:#fff;
    transform: translate(-50%, -50%);
    font-size: 40px;
    border-radius: 100%;
    border: 1px solid #fff;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5px;
    z-index: 3;
    cursor: pointer;

    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
/*.vid-gradient {
    position: absolute;
    bottom: 0;
    background: rgb(30,30,30);
    background: linear-gradient(0deg, rgb(0 0 0) 0%, rgba(30, 30, 30, 0) 100%);
    z-index: 2;
    height: 100%;
    width: 100%;
    left: 0;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
} */
.vid-overlay {
    position: absolute;
    top: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    left: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.video-block .vid-play-btn,
.video-block .vid-gradient,
.video-block .vid-overlay{
    opacity: 1; /* Fully visible by default */
    visibility: visible; /* Ensure the element is interactable when visible */
    transition: all 0.3s ease; /* Smooth transitions */
}

.video-block .fade-out {
    opacity: 0; /* Fade out to invisible */
    visibility: hidden; /* Prevent interaction when invisible */
}

.video-block .fade-in {
    opacity: 1; /* Fade back in */
    visibility: visible; /* Ensure element is interactable */
}
.content-block.quote-section {
    background-color: #F16B25;
    padding: 7% 20px;
}
.quote-section blockquote {
    font-family: 'DM Serif Text';
    font-size: 40px;
    line-height: 1.4;
}
.quote-section i {
    position: absolute;
    font-size: 100px;
    opacity: 0.2;
    top: -55px;
    left: 10px;
}
.quote-section cite {
    font-style: normal;
    font-weight: 700;
    margin-top: 15px;
    display: block;
}

/* RELATED */
.related-works-wrap h2 {
    margin-bottom:10px;
}
.related-works .ourworks-box {
    padding-top: 100%;
}
.related-works-wrap {
    background-color: #1E1E1E;
    padding-top: 35px;
}
.related-works-wrap h2 {
    font-size:40px;
}
.single-work .related-works-wrap {
    border-top: 0;
}

/* FOOTER */
.footer {
    font-size: 14px;
    background-color: #1E1E1E;
}
.footer a {
    color: #fff;
}
.footer-border-right {
}
.footer-social i {
    font-size: 20px;
}
.footer-roww {
    justify-content: space-between;
}
.footer-col-links {
    width: 180px;
    border-left:1px solid #6C6C6C;
}
.footer-col-info {
    padding-right:45px;
}

/* DEFAULT GRAVITY FORMS */
.gform_wrapper.gravity-theme .gform_validation_errors {
    padding: 20px 20px 10px;
    text-align: center;
    margin-bottom: 20px;
}
.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    font-size: 16px;
    font-weight: 700;
}
.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    border-radius: 10px;
    font-weight: bold;
    margin-top: 12px;
}
.gform_wrapper .gform_footer input.gform_button {
    border: 0;
    padding: 16px 60px !important;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    background-color: var(--primary);
}
.gform_wrapper .gform_footer input.gform_button:hover {
    background-color: var(--primary-alt);
    color: #fff;
}
.gform_wrapper textarea {
    border-radius: 4px;
    border: 1px solid transparent;
    line-height: 1;
    background-color: #3A3A3A;
    color: #fff;
    line-height: 1.5;
}
.gform_wrapper.gravity-theme .gfield textarea:focus {
    outline:0;
    border:1px solid var(--primary) !important;
}
.gform_wrapper select {
    border-radius: 100px;
    border-color: #e1e1e1;
    padding: 18px 15px;
    outline:0 !important;
}
.gform_wrapper input {
    border-radius: 4px;
    border: 1px solid transparent;
    line-height: 1;
    background-color: #3A3A3A;
    color: #fff;
    line-height: 1.5;
}
.gform_wrapper input:focus {
    border-color: #F16B25;
    border-width: 1px;
}
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
    padding: 15px 15px !important;
}
.gform_wrapper #gform_fields_1 .gform-button {
    width: 100%;
    flex: 1;
    height: 100%;
    border: 1px solid transparent;
    background-color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 0;
    padding: 22px !important;
}
#gform_wrapper_1 .gform_description {
    font-family: 'DM Serif Text';
    font-size: 30px;
    margin-bottom: 30px;
    line-height:1.4;
    text-align: center;
}
#gform_wrapper_1.gform_wrapper.gravity-theme .gform_footer {
    padding: 0;
    margin: 0;
}
.cb-box-main {
    background-color: #0E0E0E;
    padding: 30px;
    font-size: 18px;
}


/* MODAL POP UP IFRAME */
.fancybox__content {
    background-color: transparent;
    padding: 0;
	height: auto !important;
    aspect-ratio: 16 / 9;
}
.fancybox__container .fancybox__nav .carousel__button.is-next {
    right: 0;
}
.fancybox__container .fancybox__nav .carousel__button.is-prev {
	left:0;
}
.fancybox__nav .carousel__button {
    margin-top: 15px;
}
.fancybox__html5video, .fancybox__iframe {
    aspect-ratio: 16 / 9;
}

/* OBJECT FIT COVER VIDEO */
.video-section-object-fit video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.video-section-object-fit video {
    position: relative;
    object-fit: cover;
}

/* MOBILE NAV */
.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
    background: url(./images/icons/nav-closed.svg);
    background-position: center center;
    background-repeat: no-repeat;
}
.navbar-toggler .navbar-toggler-icon {
    width: 30px;
    height: 30px;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* WORKS */
.fullwidth-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fullwidth-carousel .carousel-slide {
    aspect-ratio: 7 / 5;
    overflow: hidden;
    position: relative;
    padding: 0 4px;
}
.slick-dots {
    bottom: 20px;
}
.slick-dots li button:before {
    font-size: 12px;
    color: #fff;
    opacity: 0.6;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary);
}

.slick-carousel .slick-arrow.fa-chevron-right {
    right: -10px;
}
.slick-carousel .slick-arrow.fa-chevron-left {
    left: -10px;
}
.slick-arrow {
    color: #fff;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 30px;
    z-index: 10;
    text-shadow: 0px 0px 34px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease all;
}
.slick-disabled {
    display:none !important;
}
.content-block-text p:last-child {
	margin-bottom:0;
}
@media (min-width:1200px) and (max-width: 1399px) {
    .cb-box, .ab-box {
        padding: 7% 5%;
    }

}

@media (max-width:1399px) {
    .cb-box h1 {
        font-size: 35px;
    }
}

@media (min-width:992px) {
    .footer-mid {
        position: relative;
        left: -50px;
        border-left: 1px solid #6C6C6C;
    }
    .ourworks-col-small .ourworks-box {
        flex: 1;
        height: 100%;
    }
    .ourworks-col-small {
        width:43%;
    }
    .ourworks-col-big {
        width:57%;
    }
    .news-col-small .news-box {
        flex: 1;
        height: 100%;
    }
    .news-col-small {
        width:43%;
    }
    .news-col-big {
        width:57%;
    }
    .content-block-text-left {
        padding-right:50px;
    }
    .content-block-text-right {
        padding-left:50px;
    }
}

@media (min-width:1200px) {
}

@media (min-width:992px) and (max-width:1199px) {
	.quote-section i {
		font-size: 95px;
		top: -40px;
	}
}

@media (max-width: 1199px) {
	#gform_wrapper_1.gform_wrapper.gravity-theme #field_submit {
		grid-column: span 4;
	}
}

@media only screen and (min-width: 1200px) {
    nav.nav .sub-menu {
        max-height: 0;
        overflow: hidden;
        position: absolute;
        flex-wrap: wrap;
        transition: all 200ms;
    }
    .menu-item-has-children::after {}
    nav.nav .menu-item-has-children.sub-menu-active>.sub-menu {
        max-height: 900px;
    }
    nav.nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        display: inline-block;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
	#gform_wrapper_1 .gform_body {
		width: 90%;
		margin: 0 auto;
	}
	.content-block-awards	.about-box-right {
		width: 29%;
	}
	.content-block-awards	.about-box-left {
		width: 37%;
	}
}

@media (min-width:1141px) {
    .header-right nav li {
        margin-left: 40px;
    }
    .header-right nav a {
        text-transform: uppercase;
        color: #fff;
        font-weight: bold;
        display: block;
		filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.81));
    }
    .header-right nav a:hover {
        color: var(--primary);
        text-shadow: none;
    }
    .header-nav ul {
        list-style: none;
        display: flex;
        margin-bottom: 0;
        padding-left:0;
        flex-direction: row;
        justify-content: center;
    }
    .header-right nav .current-menu-item {
        position: relative;
    }
    .header-right nav .current-menu-item:before {
        content: "";
        width: 100%;
        position: absolute;
        bottom: -12px;
        height: 3px;
        background-color: var(--primary);
        left: 0;
    }
}


@media only screen and (max-width: 1140px) {
    .ourworks-content h3 {
        font-size: 35px;
        max-width: 89%;
        width: 430px;
    }
	.news-content {
		opacity: 1;
		background-color: rgba(0,0,0,0.2);
	}
    .ourworks-content .btn {
        padding: 10px 20px;
        font-size: 14px;
        display: inline-block;
        background-color: var(--primary);
    }
    .single-work-main-content {
        margin-top:0;
    }
    .single-work .header,
    .single-news .header,
    .single-case-studies .header {
        position: relative;
        padding-bottom: 20px;
        background-color: #1E1E1E;
    }
    .home .header {
        position:absolute;
        margin-bottom:0px;
    }
    .about-bottom-text {
        top:0
    }
    .about-bottom-text .btn {
        opacity: 1;
    }
    .ourworks-content {
        opacity: 1;
        background-color: rgba(0,0,0,0.1);
    }
    .ourworks-content-inner > * {
	filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.81));
    }
    .header-right {
        display: none;
        width: 100%;
        justify-content: center !important;
        margin-top: 20px;
        text-transform: uppercase;
    }
    .mobile-header-cta {
        display: block !important;
        margin: 0 40px;
    }
    .fix .innerBurger span {
        background-color: #262b5b !important;
    }
    header .nav>ul li a {
        font-weight: 700;
        display: block;
        padding-left: 7px;
        padding-bottom: 10px;
        width: 100%;
        padding-right: 7px;
        color: #fff;
    }
    
    .header-left {
        width:100% !important;
        text-align: center;
    }
    #home-hero:before {
        content: '';
        height: 30%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        position: absolute;
        top: 0;
        z-index: 4;
        opacity: 0.5;
    }
    header .nav>ul li.current-menu-item a {
        border-bottom: 4px solid var(--primary);
    }
    /**********
    HEADER NAV
    **********/
    body.fix {
        overflow: hidden;
    }
    .header-right {
        display:none;
    }
    #home-hero {
        padding: 150px 0 300px;
    }
    header .nav.navActive {
        box-shadow: 51px 0px 117px rgba(0, 0, 0, 0.2);
        left: 0%;
        transition: all 300ms;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    header .nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        column-gap: 40px;
    }
    header .nav>ul li {
        position: relative;
    }
    .menu-item-has-children::after {
        position: absolute;
        right: 0;
    }
    #burgerNav {
        position: absolute;
        top: 25px;
        left: 15px;
        width: 35px;
        height: 40px;
        cursor: pointer;
        z-index: 90;
    }
    
    #burgerNav .innerBurger {
        position: relative;
        height: 100%;
    }
    
    #burgerNav .innerBurger span {
        width: 25px;
        height: 3px;
        border-radius: 25px;
        background-color: #0a0a0a;
        position: absolute;
        opacity: 1;
        transition: all 300ms;
        transform: rotate(0deg);
    }
    
    #burgerNav.navActive .innerBurger span {
        transition: all 300ms;
    }
    
    #burgerNav .innerBurger span:nth-child(1) {
        top: 0%;
        width: 25px !important;
    }
    
    #burgerNav .innerBurger span:nth-child(2) {
        top: 22%;
    }
    
    #burgerNav .innerBurger span:nth-child(3) {
        top: 44%;
    }
    
    #burgerNav.change .innerBurger span:nth-child(1) {
        top: 22%;
        transform: rotate(-45deg);
    }
    
    #burgerNav.change .innerBurger span:nth-child(2) {
        opacity: 0;
    }
    
    #burgerNav.change .innerBurger span:nth-child(3) {
        top: 22%;
        transform: rotate(45deg);
    } 
    nav.nav .sub-menu {
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        transition: all 200ms;
    }
    .menu-item-has-children::after {}
    nav.nav .menu-item-has-children.sub-menu-active>.sub-menu {
        max-height: 900px;
    }
}

@media (max-width: 991px) {
	.content-block-awards .ab-box {
		padding: 0;
	}
    .ourworks-content h3 {
        width: 100%;
    }
    .ourworks-sbs-row {
        flex-wrap: wrap;
    }
    .related-works a.ourworks-btn {
        font-size: 14px;
        padding: 8px 20px;
    }
    .ourworks-box {
        padding-top: 64%;
    }
	#works-posts .worksboxmain {
		aspect-ratio: 1;
	}
	.works-filter-tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		scrollbar-width: none;
		-ms-overflow-style: none; 
		scroll-behavior: smooth;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.works-filter-tabs::-webkit-scrollbar {
		display: none; 
	}
	.works-filter-tabs .nav-item {
		flex: 0 0 auto;
	}
	.works-filter-tabs.dragging {
		cursor: grabbing;
		scroll-behavior: auto;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-col-info {
        padding-right: 15px;
        width: 345px;
    }
    .footer-col-links {
        width: 160px;
    }
	.quote-section i {
		font-size: 90px;
		top: -25px;
	}
}

@media (max-width: 767px) {
	.works-filter-wrap {
		margin-top: 120px;
	}
	.bgimg-default-top-main {
		height: 0;
		padding-top: 50%;
		width: 100%;
		position: absolute;
		z-index: 3;
	}
	#gform_fields_1 > * {
		grid-column: span 12 !important;
	}
    .content-block.quote-section {
        background-color: #F16B25;
        padding: 15% 20px 10%;
    }
    .quote-section cite {
        font-size: 14px;
    }
    .quote-section blockquote {
        font-size: 30px;
        line-height: 1.3;
    }
    #single-work-hero, #single-news-hero {
        aspect-ratio: 9 / 13;
    }
    .single-work-main-content {
        padding: 0;
    }
    .btn-large {
        padding: 15px 35px;
    }
    .works-filter-tabs {
        column-gap: 10px;
        padding-left: 0;
        padding-top: 30px;
    }
    .works-filter li.filter-tab a {
        padding: 0 14px 10px;
        font-size:16px;
    }
    .work-content-wrap {
        padding: 20px 0;
    }
    .policy-content {
        padding-top: 150px;
    }
    .footer-left {
        flex-wrap: wrap;
        width: 100%;
    }
    .footer-col-info {
        padding-right: 0;
        width: 100%;
    }
    .footer-col-links {
        width: 50%;
        border-left: 0;
		margin-top: 25px;
    }
}

@media (max-width: 575px) {
	#homehero h1 {
		right: 30px;
		padding-left: 30px;
	}
    img.bcorp-img {
        bottom: 40px;
    }
    .works-filter li.filter-tab a {
        padding: 0 15px 10px;
        font-size: 16px;
    }
    .works-filter {
        background-color: #1E1E1E;
        border-bottom: 1px solid #454545;
        font-family: 'DM Serif Text';
        overflow-y: hidden;
    }
    .works-filter::-webkit-scrollbar {
        display: none;
    }
    .ourworks-box {
        padding-top: 84% !important;
    }
	.quote-section i {
		font-size: 60px;
	}
}

@media (max-width: 479px) {
    .content-block.quote-section {
        padding: 20% 20px 10%;
    }
    .quote-section blockquote {
        font-size: 28px;
        line-height: 1.2;
    }
    .ourworks-content-inner .btn {
        padding: 10px 20px;
        font-size: 13px;
        margin-top: -8px;
    }
    .ourworks-content h3 {
        font-size: 31px;
        width: 100%;
    }
	.footer-col-links {
		margin-top:0;
	}
    .blackbox {
        padding:20px;
    }
    .footer-left {
        gap: 25px;
    }
    .footer-col-links {
        width: 100%;
    }
    .footer-left > div:nth-child(2) {
        border-top: 1px solid #555;
        border-bottom: 1px solid #555;
        padding: 20px 0;
    }
}

