
/*
Theme Name: Engage Marketing
Theme URI: https://www.ashtreedesign.net/ash-tree-design/contact-us.html
Author: Ash Tree Design
Author URI: https://www.ashtreedesign.net
Description: Private Theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Tags: one-column
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Joiin
This theme, like WordPress, is licensed under the GPL.


*/










/* Fundamentals */


*{outline:none;}


html {
	scroll-behavior: smooth;
}


body {
    position: relative;
    overflow-x: hidden;
}

html,
body{
	padding:0;
	margin:0;
	height:100%;
	width:100%;
	min-height:100%;   font-family: "Manrope", sans-serif; font-weight: 400; background-color: #000000

}



body {
    color: #ffffff;
    font-size: 18px;
    line-height: 30px; 
}



a {
	color: #ffffff;
	text-decoration: underline;  transition: 0.4s; text-underline-offset: 7px
}


a:visited {
	color: #ffffff;
	text-decoration: none;  transition: 0.4s;
}
	

a:hover {
	text-decoration: none; 	color: #ffffff;
	outline: none;
}
	

a img ,img{
	border: none;
}	

a:focus, a:hover, a:active {
	outline: none;
}

a.more-link{display:none;}

img,fieldset{border:none;}

img{max-width: 100%;}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.sticky{}
.screen-reader-text{}
.gallery-caption{}
.bypostauthor{}
.wp-caption{}
.wp-caption-text{}


.grecaptcha-badge { visibility: hidden; } .grecaptcha-badge { visibility: hidden; } .grecaptcha-badge { visibility: hidden; }







/* Titles and Paragraphs */


h1,h2,h3,h4{
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 15px;
	margin: 0;
    color: #ffffff; font-weight: 500
}

h1{font-size: 67px; line-height:67px;  letter-spacing:1px}

.home h1{font-size: 47px; line-height:52px;  letter-spacing:1px}

h2{font-size: 30px; line-height:35px;padding-bottom: 15px;  }

h3{font-size: 35px; line-height:42px;  padding-bottom: 15px; font-weight: 400}

h4{
    font-size: 26px;
    line-height: 30px; padding-bottom: 10px;  letter-spacing:1px; font-weight: 400
}


p{
	padding: 0;
	margin: 0px; padding-bottom: 12px; letter-spacing: 0.7px
}

li{
	padding: 0;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 7px;      letter-spacing: 0.7px;
}


ul,ol{padding-left: 25px; margin-top: 0px}

ul.widget{
	list-style:none;
	padding:0;
	margin:0;
}

b,strong{

    font-weight: 400; color: #93C020
}


blockquote{
    background-color: #FBFBFB;
    padding: 25px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-bottom-color: #08344C;
    border-bottom-width: 5px;
    border-bottom-style: solid
}









/* Theme Wrappers */


.wrap{	 
    max-width: 1300px;     margin: 0 auto; padding-left: 25px; padding-right: 25px
}

.wrap:after{display: table; clear:both; content:'';}

#wrapper{
	background:none;
	padding:0;
	margin:0;
	width:100%;
	box-shadow:none;
}


#mainbody{ max-width:100%; margin-left: auto; margin-right: auto;  }


.page-template-page-textheader_footer2 #mainbody{padding-top: 200px}
.page-template-page-textheader_footer1 #mainbody{padding-top: 200px}
.page-template-page-our-work #mainbody{padding-top: 200px}
.single-portfolio #mainbody{padding-top: 200px}








/* Theme Header */


#headerwrap{
    width: 100%;max-width: 100%;
    display: block; position: fixed; left: 0px; right: 0px; top: 0px; z-index: 99999; background-image: url("images/header-gradient-one.png"); background-repeat: repeat-x; background-position: bottom center; height: 70px; padding-top: 20px
}




#centredlogo{
float: left;   animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s; z-index: 99999; padding-top: 25px
}

#centredlogo img{
height: 46px; width: auto
}


.scrolled{background-color: #000000!important; padding-bottom: 20px!important; transition: 0.5s;}





 



/* Theme Naivgation Menus */


#main-nav{
  margin: 0 auto; display:inline-block; float:right;  text-align: right;  transition: 0.3s; padding-top: 10px
}


#main-nav ul{
	list-style:none;
	padding:0;
	margin:0;
}

#main-nav ul li{
	display:inline-block;
		margin-left: 3px; margin-right: 3px; margin-bottom: 0px!important
}


body.home #main-nav ul li{border:none;}

#main-nav ul li a{
    font-size: 16px;
    color: #ffffff;
    padding: 0px; margin-left: 28px;
    display: block;  text-decoration: none; line-height: 60px; letter-spacing: 0.7px
 }


#main-nav ul li a:hover{
color: #93C020
}

#main-nav ul li.current-menu-item a{
color: #93C020
}


#main-nav ul li.current_page_ancestor a{
color: #93C020
}











/* Dropdown Menus */


#main-nav li ul{position: absolute;width: 200px;
z-index: 9999;
    background-color: #000000;
    visibility: hidden;
    opacity: 0;  margin-top: -1px; margin-left: 15px; padding-top: 7px; padding-bottom:7px; border-radius: 8px; border-color: #989898; border-width: 1px; border-style: solid}

#main-nav li ul li{    float: none; text-align: left; 	margin-left: 0px; margin-right: 0px; display: block;}
#main-nav li ul li.current-menu-item{ border-radius: 0px}
#main-nav li ul li a{
    font-size: 15px;
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 5px;
    margin: 0px;
    border: none!important;
    color: #ffffff; letter-spacing: 0px; line-height: 19px
}
#main-nav li ul li a:hover {border-radius:0!important;color: #93C020;}
#main-nav li ul li.current-menu-item a{color: #93C020; }
#main-nav li ul li.current-menu-item a:hover{color: #93C020!important;}
#main-nav li:hover ul{visibility:visible; opacity:1;}

.mobile-nav{display:none;}

#main-nav li ul::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 35px;
    width: 20px;
    height: 10px;
    background-image: url(images/menuarrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}








/* Banners */


#banner{
    position: relative;
    width: 100%; height: auto
}

#banner img{
    width: 100%; height: auto; min-width: 100%
}


#banner-home{position:relative;}
#banner-home img{width:100%; display:block;}

.flexslider .slides > li{ height: 850px;}

#banner-home .flex-control-nav{right:20px; bottom:30px;z-index:55;text-align: right;}
#banner-home .flex-control-nav li{margin:0 5px;}
#banner-home .flex-control-paging li a{font-size:0;}
#banner-home .flex-control-paging li a{border:1px solid #fff; background:transparent;    width: 12px; height: 12px;}
#banner-home .flex-control-paging li a.flex-active{background:#FFF;}


.show-mob,.close-mob{display:none;}

#new-sub-banner {
    height: 580px; position: relative; z-index: 9; 
}

#new-sub-banner .wrap{
   position: relative; min-height: 580px
}

.sub-banner-inner{ text-align: left;max-width: 550px; position: absolute; left:8px; bottom: 60px }
.sub-banner-inner h1{}
.sub-banner-inner a{}
.sub-banner-inner p{color: #ffffff;    font-size: 26px;
    line-height: 30px; letter-spacing: 1px; text-shadow: 0px 0px 10px #333333}


.flex-direction-nav{display:none;}







/* Sidewheel  Colour */

body[class*="border-"]::before {
    content: '';
    position: fixed;   /* stays in place while scrolling */
    top: 0;
    bottom: 0;
    right: 0;          /* right edge */
    width: 8px;        /* thickness of border */
    z-index: 9999;
}


body.border-green::before  { background-color: #93C020; }
body.border-blue::before   { background-color: #03A3E0; }
body.border-orange::before { background-color: #F49A1A; }
body.border-yellow::before { background-color: #F9E547; }


body.border-green::after {
    background-image: url('images/green-wheel.png');
}

body.border-blue::after {
    background-image: url('images/blue-wheel.png');
}

body.border-orange::after {
    background-image: url('images/orange-wheel.png');
}

body.border-yellow::after {
     background-image: url('images/yellow-wheel.png');
}


body[class*="border-"]::after {
    content: '';
    display: block;
    position: absolute;
    top: 140px;
    right: 0;
    width: 350px;
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9999;

    /* Overhang without causing scroll */
    transform: translateX(50%);

    /* Spin once, but KEEP the translate */
    animation: spin-once 2s ease-in-out forwards;
}

@keyframes spin-once {
    from {
        transform: translateX(52%) rotate(0deg);
    }
    to {
        transform: translateX(52%) rotate(360deg);
    }
}













/* Footer */


#footer-one{border-bottom-color: #737373; border-bottom-width: 1px; border-bottom-style: solid; background-color: #1C1C1C; }
#footer-one-inner{padding-top: 120px; padding-bottom: 120px;  display: block; overflow: hidden}
#footer-one p{ font-size: 15px;color: #ffffff }
#footer-one a{ color: #93C020; font-size: 15px; text-decoration: none;}
#footer-one li{ padding-bottom: 0px; list-style: none; }
#footer-one ul{ padding: 0px; margin: 0px}


#footer-two{background-color: #1C1C1C; }
#footer-two-inner{padding-top: 70px; padding-bottom: 70px; display: block; overflow: hidden}
#footer-two p{ font-size: 13px;color: #ffffff; line-height: 22px }
#footer-two a{ color: #ffffff; font-size: 14px; text-decoration: none;}
#footer-two li{ padding-bottom: 0px; list-style: none; font-size: 14px; line-height: 19px}
#footer-two ul{ padding: 0px; margin: 0px}


#footer-three{background-color: #1C1C1C; }
#footer-three-inner{padding-bottom: 70px; display: block; overflow: hidden}
#footer-three p{ font-size: 13px;color: #ffffff; line-height: 22px }
#footer-three a{ color: #ffffff; font-size: 13px; text-decoration: none;}
#footer-three li{ padding-bottom: 0px; list-style: none; font-size: 14px; line-height: 19px}
#footer-three ul{ padding: 0px; margin: 0px}


#footer-contact-details{float: left; width: 50%}
#footer-contact-form{float: right; width: 50%; padding-top: 7px;}
#footer-small-print{float: left; width: 60%}
#footer-qualifications{float: right; width: 40%; text-align: right;}


#footer-small-print li{display: inline-block}
#footer-contact-details h2{font-size: 45px;line-height: 50px;  padding-bottom: 20px; color: #93C020}
#footer-small-print a{margin-right: 15px}
#footer-small-print a:hover{color: #93C020}


#footer-contact-details p{max-width: 450px; padding-bottom: 30px}
#footer-contact-details a{font-size: 18px; line-height: 28px; color: #ffffff}
#footer-contact-details a:hover{color: #93C020}

#footer-qualifications img{width:83%; height: auto; margin-top: 12px}
#footer-links li{display: inline-block}
#footer-links a{margin-right: 15px}
#footer-links a:hover{color: #93C020}

#footer-contact-form .wpcf7-form {
    padding-right: 0px;
}


.page-template-page-textheader_footer2 #footer-one{display: none!important}











/* Contact Form 7 */


.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=email]{
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right:16px;
    background-color: #2F2F2F;
  font-family: "Manrope", sans-serif;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;  
}


.wpcf7-form-control-wrap select {
    appearance: none;         /* Standard */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none;    /* Firefox */
    
    background-image: url('images/selectarrow.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;  /* position arrow */
    background-size: 16px;                   /* adjust size */

    box-sizing: border-box;
    border-radius: 0px;
    margin: 0 0 5px 0;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding: 16px 40px 12px 16px;  /* extra right padding so text doesn't overlap arrow */
    background-color: #2F2F2F;   font-family: "Manrope", sans-serif;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;   cursor: pointer
}

    
    
    

textarea.wpcf7-form-control.wpcf7-textarea {
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 25px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width: 100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right:12px;
    background-color: #2F2F2F;
  font-family: "Manrope", sans-serif;
    font-weight: 400; height: 200px;     border-bottom-color: #DADADA; border-bottom-style: solid;  border-width: 0px 0px 2px 0px;  
}

.wpcf7-form input[type=submit] {
	background-color: #93C020;
	color: #ffffff;
	padding-top: 12px;
	padding-right: 27px;
	padding-left: 27px;
	padding-bottom: 12px;
	text-decoration: none;
	font-size: 15px; display: inline-block; border-radius: 25px;font-weight: 500; margin-top: 20px;    font-family: "Manrope", sans-serif;border:none
}



.wpcf7-form-control-wrap input[type=text]::placeholder,
.wpcf7-form-control-wrap input[type=email]::placeholder, textarea.wpcf7-form-control.wpcf7-textarea::placeholder {
    color: #ffffff; 
    opacity: 1;
}


.wpcf7-form-control-wrap select option[disabled] {
    color: #ffffff;
}


.wpcf7-form input[type=checkbox] {
    border: 1px solid #C4C4C4;
}


.wpcf7-form p {
 font-size: 13px!important; line-height: 21px!important
}

.wpcf7-form a {
 font-size: 13px!important; line-height: 21px!important; text-decoration: underline!important; color: #ffffff!important
}

.wpcf7-form a:hover {
text-decoration: none!important; color: #93C020!important
}


.wpcf7-list-item {
    margin: 0 0 0 0!important;
}

.wpcf7-form {
padding-right: 35px
}


.wpcf7 form.sent .wpcf7-response-output {
    border-color: #93C020!important;
    border-radius: 12px;
    font-size: 16px;
    line-height: 27px;
    padding: 12px!important;
}











/* Slide Arrows */


.slick-prev{background: url(images/left.png) no-repeat center center /cover!important;
    display: block!important;     width: 35px!important;
    height: 35px!important;     left: -7%!important;}

.slick-prev:hover{background: url(images/left-hover.png) no-repeat center center /cover!important; transition: 0.4s;}

.slick-next{background: url(images/right.png) no-repeat center center /cover!important;
    display: block!important;width: 35px!important;
    height: 35px!important;     right: -7%!important;}

.slick-next:hover{background: url(images/right-hover.png) no-repeat center center /cover!important; transition: 0.4s;}

.slick-prev:before{
	content: "\f0a8"!important; font-family:FontAwesome!important; display:none;
}
.slick-next:before{
	    content: "\f0a9"!important;font-family:FontAwesome!important;display:none;
}


#testimonial-slider .slick-prev{background: url(images/left-white.png) no-repeat center center /cover!important; transition: 0.4s; width: 28px!important; height: 28px!important}
#testimonial-slider .slick-next{background: url(images/right-white.png) no-repeat center center /cover!important; transition: 0.4s; width: 28px!important; height: 28px!important}
#testimonial-slider .slick-prev:hover{background: url(images/left-hover.png) no-repeat center center /cover!important; transition: 0.4s;}
#testimonial-slider .slick-next:hover{background: url(images/right-hover.png) no-repeat center center /cover!important; transition: 0.4s;}










/* Single Portfolio */





.single-portfolio h1 {
    font-size:57px;
    line-height: 62px;

}

.single-portfolio h2 {
}


#single-portfolio-the-brief {
  margin-bottom: 80px;     border-bottom-color: #737373;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.single-portfolio-the-brief-inner {
  display: flex;          /* enables flexbox */
  align-items: stretch;   /* ensures equal height columns */
}

.single-portfolio-the-brief-inner-left {
  width: 40%;
  padding-right: 10%; position: relative
}

.single-portfolio-the-brief-inner-right {
  width: 50%;
}

.single-portfolio-the-brief-inner-right img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0px 0px; margin-bottom: -8px
}

.the-brief-text{position: absolute; bottom:60px; right: 100px}

.single-portfolio-cats{margin-bottom: 7vw}

.single-portfolio-cats{letter-spacing: 1px; font-size: 12px; text-transform: uppercase}

.related-portfolio-cats{letter-spacing: 1px; font-size: 12px; text-transform: uppercase}


#single-portfolio-video{margin-bottom: 80px}



#single-portfolio-the-work {
  margin-bottom: 80px; border-bottom-color: #737373;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.single-portfolio-the-work-inner {
  display: flex;          /* enables equal-height columns */
  align-items: stretch;
}

.single-portfolio-the-work-inner-left {
  width: 40%;
  padding-right: 10%; display: flex;
  flex-direction: column;
  justify-content: flex-end; padding-bottom: 50px
}

.single-portfolio-the-work-inner-right {
  width: 50%;
}

.single-portfolio-the-work-inner-right img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  margin-bottom: -8px;
}




#single-portfolio-the-outcome {
  margin-bottom: 120px; border-bottom-color: #737373;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.single-portfolio-the-outcome-inner {
  display: flex;          /* enables equal-height columns */
  align-items: stretch;
}

.single-portfolio-the-outcome-inner-left {
  width: 40%;
  padding-right: 10%; display: flex;
  flex-direction: column;
  justify-content: flex-end; padding-bottom: 50px
}

.single-portfolio-the-outcome-inner-right {
  width: 50%;
}

.single-portfolio-the-outcome-inner-right img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  margin-bottom: -8px;
}







.portfolio-category-single{padding-right: 20px; background-image: url("images/cat-dividers.svg"); background-repeat: no-repeat; background-position: right; background-size: contain; font-size: 13px}

.portfolio-category-single a{color: #ffffff}
.portfolio-category-single a:hover{color: #93C01F}








/* Single Portfolio - Related Carousel */


.single-portfolio-related-inner{    display: flex;
    flex-wrap: wrap }

.single-portfolio-related-inner li{;float: left;
    width: 31%;
    margin-right: 3.5%;
    list-style: none;
    margin-bottom: 50px;  position: relative}


.single-portfolio-related-inner li:nth-child(3n+3) {
    margin-right: 0%;
}

.related-item-inner-text{position: absolute; bottom: 0px }

.related-item-inner-text{    padding-top: 30px;
    padding-right: 25%;
    padding-left: 35px;
    padding-bottom:37px;}

.related-title-item-inner{
    padding-top: 30px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 30px;
    position: absolute;
    bottom: 30px
}

.related-item-inner img{width: 100%; height: auto}

.related-item-inner h4 a{color: #ffffff; text-decoration: none;     font-size: 26px;
    line-height: 30px;
}












/* Portfolio Carousel Shortcode  */

#portfolio-carousel-shortcode {
    width: 100%;
    margin: 0 auto; margin-bottom: 30px
}

#portfolio-carousel-shortcode .pcs-slider {
    list-style: none;
    padding: 0;
    margin: 0;
}

#portfolio-carousel-shortcode .pcs-slide {
    position: relative;
    margin: 0; /* Slick handles spacing */
    padding: 0 15px; /* Optional spacing between slides */
    box-sizing: border-box;
}

#portfolio-carousel-shortcode .pcs-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes the slide square */
    overflow: hidden;
    background: #fff;
    transition: transform 0.5s ease;  
}

#portfolio-carousel-shortcode .pcs-image {
    width: 100%;
    height: 100%;
    overflow: hidden; 
}

#portfolio-carousel-shortcode .pcs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills square without stretching */
    display: block;
    transition: transform 0.5s ease; 
}


#portfolio-carousel-shortcode .pcs-item:hover .pcs-image img {
    transform: scale(1.2); 
}

#portfolio-carousel-shortcode .pcs-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); /* initially transparent */
    transition: background-color 0.3s ease;  
}

#portfolio-carousel-shortcode .pcs-item:hover .pcs-overlay {
    background-color: rgba(0, 0, 0, 0.4); border-width: 1px; border-style: solid; border-color: #ffffff; 
}

#portfolio-carousel-shortcode .pcs-text {
    position: absolute;
    bottom: 37px;
    left: 35px;
    right: 25%;
    color: #fff;
    z-index: 2;
}

#portfolio-carousel-shortcode .pcs-item:hover .pcs-text {
    opacity: 1;
    transform: translateY(0);
}


#portfolio-carousel-shortcode .pcs-title a{
text-decoration: none;     color: #fff;      font-size: 26px;
    line-height: 30px;

}




#portfolio-carousel-shortcode .slick-prev{left:-5px!important; z-index: 99999!important}

#portfolio-carousel-shortcode .slick-next{right: -2px !important;}












/* Animation */

/* ===== Base Style for Transitions ===== */
.fade-in,
.fade-in-up,
.fade-in-down,
.fade-in-up-left,
.fade-in-up-right,
.fade-in-right {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  will-change: opacity, transform;
}

/* ===== Variants ===== */

.fade-in {
  opacity: 0;
  transition: opacity0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up */
.fade-in-up {
  transform: translateY(50px);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Down */
.fade-in-down {
  transform: translateY(-60px);
}
.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up Left */
.fade-in-up-left {
  transform: translate(60px, 60px); /* From bottom right */
}
.fade-in-up-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Up Right */
.fade-in-up-right {
  transform: translate(-60px, 60px); /* From bottom left */
}
.fade-in-up-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Right */
.fade-in-right {
  transform: translateX(-60px); /* From left */
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}










/* Insights Posts */

.insight-item{background-color: #2E3034; overflow: hidden; display: flex; margin-bottom: 40px }
.insight-left{width: 60%; float: left}
.insight-right{width: 40%; float: left; position: relative}

.insight-right-inner{position: absolute;bottom: 0px; left: 0px; right: 0px}
.insight-right-title{
	padding-top: 25px;
	padding-right: 25px;
	padding-left: 25px;
	padding-bottom: 0px
}
.insight-right-desc{	padding-top: 20px;
	padding-right: 25px;
	padding-left: 25px;
	padding-bottom: 0px; background-color: #404246}

.page-template-page-insights #mainbody{margin-top: 120px; margin-bottom: 80px}

.page-template-page-insights #headerwrap {
background-color: #181A1A
}

.insight-right-category{
	position: absolute;
	top: 15px;
	right: 15px;
	padding-top: 7px;
	padding-right: 12px;
	padding-left: 12px;
	padding-bottom: 7px;
	background-color: #3A3C40;
	font-size: 12px
}











/* Portfolio Category */


.tax-portfolio_category #headerwrap {
position: relative
}

.tax-portfolio_category h1{    font-size: 57px;
    line-height: 57px; padding-right: 20%}

.custom-post-category-page {
    display: flex;
    gap: 20px;

}

.left-column {
    flex: 1;
    max-width: 33.333%;


}


.left-column .category-list {
    list-style: none;
    padding: 0;
}

.left-column .category-list li {
    margin-bottom: 5px;
}

.left-column .category-list a {
    text-decoration: none;
    color: #ffffff;     letter-spacing: 1px;
    font-size: 13px;
    text-transform: uppercase;     padding-right: 20px;
    background-image: url(//www.engage-marketing.co.uk/wp-content/themes/engage-2022/images/cat-dividers.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain; 
}


.left-column .category-list a:hover {
color: #93C01F
}


.left-column .intro{max-width: 80%; padding-bottom: 35px}

.left-column .category-list li{border-bottom-color: #9C9C9C; border-bottom-width: 1px; border-bottom-style: solid; padding-bottom: 6px; margin-right: 60px}

.left-column .category-list a.active {
    font-weight: bold;
    color: #ffffff;
}

.right-column {
    flex: 2;

}

.right-column .post-grid {
    display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.right-column .post-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.right-column .post-item:hover {
    transform: translateY(-5px);
}

.right-column .post-thumbnail img {
    width: 100%;
    height: auto;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}


.post-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}



.post-grid li {
    float: left;
    list-style: none;
    margin-bottom: 5px;
    position: relative;
}

.post-grid li:nth-child(2n+2) {
    margin-right: 0%;
}



.related-image-wrapper {
    position: relative;
    overflow: hidden; /* Ensure zoomed image doesn't spill outside */
}

.related-image-wrapper img {
    transition: transform 0.4s ease; /* Smooth zoom effect */
    display: block;
    width: 100%; border-radius: 8px /* Ensure responsiveness */
}

/* Zoom on hover */
.related-item:hover .related-image-wrapper img {
    transform: scale(1.2); /* Slight zoom */
}

.related-item-inner-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition: background-color 0.3s ease, transform 0.4s ease; /* Smooth hover effect */
}

/* Overlay fade-in effect */
.related-item .related-item-inner-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Overlay fade-in effect */
.related-item:hover .related-item-inner-overlay {
    background-color: rgba(0, 0, 0, 0.5); border-color: #ffffff; border-width: 1px; border-style: solid
}













/* Testimonial Carousel */

.testimonial-slide {
    text-align: center;
    margin: 0 auto; font-size: 32px; line-height:36px;  letter-spacing: 0.5px; padding-top: 50px; background-image: url("images/quote-mark.svg"); background-position: center top; background-repeat: no-repeat; font-weight: 400
}

.testimonial-slide strong {
    font-size: 15px;
    line-height: 24px; color: #000000
}

.testimonial-inner{padding-top: 20px; padding-left: 5%; padding-right: 5%}








/* Team Gallery */

.team-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 90px;
}

/* Base row */
.team-row {
    display: flex;
    align-items: flex-end; /* bottom-align columns */
    gap: 0px; border-bottom-color: #737373;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

/* Odd row: text left, image right */
.team-row.odd {
    flex-direction: row;
}

/* Even row: image left, text right */
.team-row.even {
    flex-direction: row-reverse;
}

.team-text{
    width: 53%;
    box-sizing: border-box;
}

.team-image {
    width: 47%;
    box-sizing: border-box;
}


.team-text-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* bottom align content inside column */
}

.team-text-inner p{
max-width: 550px
}

.team-text-inner {
    position: relative;
}

.even .team-text-inner {
padding: 0px 0px 70px 70px
}

.odd .team-text-inner {
padding: 0px 70px 70px 0px
}

.team-image img {
    width: 100%;
    height: auto;
    display: block; border-radius: 8px 8px 0px 0px
}

/* Responsive */
@media (max-width: 768px) {
    .team-row,
    .team-row.even,
    .team-row.odd {
        flex-direction: column-reverse; /* stack */
    }

    .team-text,
    .team-image {
        width: 100%;
    }
    
        .team-image {
        width: 100%; margin-bottom: 30px!important
    }
    
}




.linkedin-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.even .linkedin-icon {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 15px;       /* adjust to your icon size */
    height: 15px;
    display: block;
}

.odd .linkedin-icon {
    position: absolute;
    bottom: 80px;
    right:70px;
    width: 15px;       /* adjust to your icon size */
    height: 15px;
    display: block;
}








/* WP Bakery Styles */


.paddingtopsmall{padding-top:60px}
.paddingbottomsmall{padding-bottom: 60px}

.paddingtop{padding-top:80px}
.paddingbottom{padding-bottom: 80px}

.paddingtoplarge{padding-top:110px}
.paddingbottomlarge{padding-bottom: 110px}

.nobottommargin{margin-bottom: 0px!important}

.whitetext p, .whitetext a, .whitetext h1, .whitetext h2, .whitetext h3, .whitetext h4, .whitetext li{color: #ffffff!important}
.darktext p, .darktext a, .darktext h1, .darktext h2, .darktext h3, .darktext h4, .darktext li{color: #000000!important}

.greentitles h1, .greentitles h2, .greentitles h3, .greentitles h4{color: #93C020}
.bluetitles h1, .bluetitles h2, .bluetitles h3, .bluetitles h4{color:#03A3E0}
.orangetitles h1, .orangetitles h2, .orangetitles h3, .orangetitles h4{color: #F49A1A}
.yellowtitles h1, .yellowtitles h2, .yellowtitles h3, .yellowtitles h4{color: #F9E547}


.whitebackground{background-color: #ffffff}
.blackbackground{background-color: #000000}
.bluebackground{background-color: #03A3E0}

.greenlinks a{color: #93C020; text-decoration: none}
.greenlinks a:hover{color: #ffffff}

.whitebackground a{color: #93C020!important}



.box{
    padding-top: 35px;
    padding-right: 35px;
    padding-left: 35px;
    padding-bottom: 27px
}



.roundedcorners{border-radius: 12px}
.roundedcorners img{border-radius:12px}



.greenbutton a, a.greenbutton{
	background-color: #93C020;
	color: #ffffff;
	padding-top: 12px;
	padding-right: 27px;
	padding-left: 27px;
	padding-bottom: 14px;
	text-decoration: none;
	font-size: 15px; display: inline-block; border-radius: 25px;font-weight: 500; margin-top: 20px; line-height: 19px

}


.greenbutton a:hover, a.greenbutton:hover{
	background-color: #ffffff; color: #93C020;
}


.whitebutton a, a.whitebutton{
	background-color: #ffffff;
	color: #000000;
	padding-top: 12px;
	padding-right: 27px;
	padding-left: 27px;
	padding-bottom: 14px;
	text-decoration: none;
	font-size: 15px; display: inline-block; border-radius: 25px;font-weight: 500; margin-top: 20px; line-height: 19px

}


.whitebutton a:hover, a.whitebutton:hover{
	background-color: #000000; color: #ffffff;
}


.bluequote strong{font-weight: 400; font-size: 14px; line-height: 19px; color: #ffffff}

.mobile-nav{display:none}
.mobile-only{display:none!important}
.desktop-only{}

.cky-title{display: none!important}
.cky-notice-des a{color:#ffffff}
.cky-notice-des p{padding-bottom: 5px}


.largeparagraph p{font-size: 26px; line-height:37px; }
.smallparagraph p{font-size: 16px;
    line-height: 26px;}
.smallparagraph a{font-size: 16px;
    line-height: 26px;}
.smallparagraph li{font-size: 16px;
    line-height: 26px;}

.colouredquote p{font-size: 24px; line-height:34px; color: #93C020; font-style: italic }


.sample-icon{padding-left: 90px; background-image: url("images/sample-icon.svg"); background-position: top left; background-size: 70px; background-repeat: no-repeat}

.engagement-icon{padding-left: 90px; background-image: url("images/engagement-icon.svg"); background-position: top left; background-size: 70px; background-repeat: no-repeat}
.concept-icon{padding-left: 90px; background-image: url("images/concept-icon.svg"); background-position: top left; background-size: 70px; background-repeat: no-repeat}
.campaign-icon{padding-left: 90px; background-image: url("images/campaign-icon.svg"); background-position: top left; background-size: 70px; background-repeat: no-repeat}








.home-colour-wheel-top{
position: relative

}



.home-colour-wheel-top::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    width: 580px;
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9999;
    opacity: 0; /* start hidden */
    animation: fadeIn 1.5s forwards; /* fade in over 1.5s */
}

.home-colour-wheel-bottom::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 580px;
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9999;
    opacity: 0; /* start hidden */
    animation: fadeIn 1.5s forwards; /* fade in over 1.5s */
}


.underline{    border-top-color: #737373;
    border-top-width: 1px;
    border-top-style: solid;}

.home-colour-wheel-top::after {
    background-image: url("images/colour-wheel-crop-top.png");
    animation-delay: 0.5s; /* optional delay */
}

.home-colour-wheel-bottom::after {
    background-image: url("images/colour-wheel-crop-bottom.png");
    animation-delay: 1s; /* optional delay */
}

/* Keyframes for fade-in */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}





}


.cky-notice-btn-wrapper .cky-btn {
	font-size: 15px!important;border-radius: 25px!important;
}

.cky-consent-container .cky-consent-bar {
    box-shadow:none!important
}


.cky-notice-btn-wrapper .cky-btn {
    border-radius: 25px!important;
}



/* 1. Flexbox layout for the row */
.flexrow {
  display: flex;
  flex-wrap: wrap;
}

/* 2. Stretch each column */
.flexrow > .wpb_column {
  display: flex;
  flex-direction: column;
}

/* 3. Stretch inner container */
.flexrow .vc_column-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 4. Make wrapper fill the height */
.flexrow .wpb_wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 5. Stretch the actual Text Block */
.flexrow .wpb_text_column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; min-height: 100px
}
