/*
Theme Name: Mazle
Theme URI: http://www.michaelredfearn.co.uk
Description: A marketing website theme.
Author: Michael Redfearn
Author URI: http://www.michaelredfearn.co.uk
Version: 1
Tags: slider, responsive, features, FAQs, blog
*/

:root {
/* Blue*/
--brand-primary-50:  #EEF2FF;
--brand-primary-100: #E0E7FF;
--brand-primary-200: #C7D2FE;
--brand-primary-300: #A5B4FC;
--brand-primary-400: #7C93F6;

--brand-primary-500: #3462EA; /* base */

--brand-primary-600: #2F59D3;
--brand-primary-700: #284BB5;
--brand-primary-800: #213F98;
--brand-primary-900: #1A337A;
--brand-primary-950: #111F4D; 
     
--gray-50: #F9FAFB; 
--gray-100: #F3F4F6; 
--gray-200: #E5E7EB; 
--gray-300: #D1D5DB; 
--gray-400: #9CA3AF; 
--gray-500: #6B7280; 
--gray-600: #4B5563; 
--gray-700: #374151; 55,65,81
--gray-800: #1F2937; 
--gray-900: #111827;  /*17,24,39 #111827*/ 
--gray-950: #030712;  /*3,7,18*/  
    
 /* Semantic variables */
    
/* Surfaces */
--surface-primary: #ffffff;
--surface-secondary: #F3F4F6;
--surface-inverse: #030712;

/* Text */
--text-primary: #030712;
--text-secondary: #1F2937;
--text-inverse: #ffffff;

/* Component variables: buttons */
/* Component → Variant → Property → State */
    
--button-primary-bg: #3462EA;
--button-primary-bg-hover: #C7D2FE;
    
--button-primary-color: #ffffff;
--button-primary-color-hover: #3462EA;
    
--button-primary-border: #3462EA;
--button-primary-border-hover: #C7D2FE;
    
--button-secondary-bg: #ffffff;
--button-secondary-bg-hover: #C7D2FE;
    
--button-secondary-color: #3462EA;
--button-secondary-color-hover: #3462EA;
    
--button-secondary-border: #3462EA;
--button-secondary-border-hover: #C7D2FE; 

}

/* BASIC RESPONSIVE TYPOGRAPHY ------------------------------------------------------------------- */


/* Scale */

/* 0.75rem = 12px*/
/* 0.785rem = 14px*/
/* 1rem = 16px */
/* 1.125rem = 18px*/
/* 1.25rem = 20px*/
/* 1.5rem = 24px*/
/* 2rem = 32px*/


body { 
font-family: 'Inter', sans-serif;
font-size: 1rem;
font-optical-sizing: auto;
font-weight:300;  /* Normal weight */
font-style: normal;
background-color: var(--surface-primary);
color: var(--text-primary);
} 

/* Mobile and tablet */

p.x-small {font-size: 0.75rem;}
p.small {font-size: 0.785rem;}
p.large {font-size: 1rem;}

.highlight-inline { font-weight:600;  /* Bold */
}

h1 {font-size: 2rem; line-height: 1.25;}
h2 {font-size: 1.5rem; line-height: 1.25;}
h3 {font-size: 1.25rem; line-height: 1.25;}
h4 {font-size: 1.125rem; line-height: 1.25;} 

/* Desktop */
@media (min-width: 992px) {   
/* Heading styles */
h1 {font-family: 'Inter', sans-serif; font-size: 4rem; line-height: 1.25; letter-spacing:-2px;}
h2 { font-family: 'Inter', sans-serif; font-size: 3.3rem; line-height: 1.25; letter-spacing:-2px;}
h3 { font-family: 'Inter', sans-serif; font-size: 1.5rem; line-height: 1.25; letter-spacing:-1px;}
h4 {font-size: 1.25rem; line-height: 1.25;}
p.large {font-size: 1.5rem;}   
} /* END MQ */

.eyebrow-text {
background-color:var(--gray-200);
color: var(--gray-950);
padding:8px 16px;
border-radius:100px;
font-size: 0.785rem;
font-weight:600;
notext-transform: uppercase;
noletter-spacing: 2px;
}

.eyebrow-text--on-darker-bg {
background-color:var(--off-white);       
}

/* If you want to draw attention to a word within the eyebrow text */
.highlight-word {
color: var(--gray-950);
font-size: 0.785rem;
border-radius:100px;
padding:.2rem .5rem .2rem .5rem; 
display: inline-block;
background-color:var(--brand-primary-100);
font-weight: 400;
margin-right:8px;
}

/* Highlight the js code generated date */
.future-date {
nocolor: var(--brand-primary-200);    
font-weight:500;
}


/* Utilities -------------------------------------------------------------------------------------------------------------------------------------- */

/* Note: there is a built in class to do this in BS5 but this way you can define your gap on your sapcing grid. */
.margin-bottom-when-layout-is-stacked {
margin-bottom: 24px;
}

/* Remove vertical gap between the columns on 768 and up */
@media (min-width: 768px) {
.margin-bottom-when-layout-is-stacked {
margin-bottom:0px;
}
}

/* Respossive video */
video {
width: 100%;
height: auto;
display: block;
}

/* Centering the button is a bit tricky */

.center-this-block {
display: flex;
align-items: center;
justify-content: center;  
}


/* LINKS -------------------------------------------------------------------------------------------------------------------------------------- */

a {
color: var(--gray-400);
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}

a:hover {
color: var(--gray-200); /* Replace with your desired hover color */
}

a.for-secondry-bgs {
color: var(--brand-primary-200);
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}

a.for-secondry-bgs :hover {
color: var(--brand-primary-400); /* Replace with your desired hover color */
}

/* Call to action buttons  ---------------------------------------------------------------------------------------------------------------------------- */ 

.btn-cta {
border-radius: 50px;
font-size: 1rem;
font-weight: 500;
text-decoration:none;
color: var(--button-primary-color);
padding: 8px 16px;
background-color:var(--button-primary-bg);
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
display: flex;    
width: fit-content;
border: 2px solid var(--button-primary-border); /* So link horizontally aligns with cta--outline version */
}

.btn-cta:hover {
color:var(--button-primary-color-hover);
background-color:var(--button-primary-bg-hover);
border: 2px solid var(--button-primary-border-hover);
}

.btn-cta--outline {
color:var(--button-secondary-color);
border: 2px solid var(--button-secondary-border); 
background-color:var(--button-secondary-bg); 
}

.btn-cta--outline:hover {
color: var(--button-secondary-color-hover);
border: 2px solid var(--button-secondary-border-hover);
background-color:var(--button-secondary-bg-hover);
}

/* Call to action button with icon ---------------------------------------------------------------------------------------------------------------------------- */

/* Animation creates an effect where the icon disappears briefly and slides from one side to the other when you hover over or leave the button. Important! see below for NAV version */ 
        
a.icon-and-label img {width:24px;}
    
a.icon-and-label 
{
display: flex;
width: fit-content; /* Shrink-wrap to content width */
border-radius: 50px;
font-size: 1rem;
font-weight: 400;
text-decoration:none;
color: var(--button-primary-color);
padding: 8px 12px 8px 8px;
background-color: var(--button-primary-bg);
border: 2px solid var(--button-primary-border);
}

a.icon-and-label:hover { 
text-decoration: none;
background-color: var(--button-primary-bg-hover);
border: 2px solid var(--button-primary-border-hover);
color: var(--button-primary-color-hover);
}
        
a.icon-and-label .icon-container { 
display: flex;
position: relative;
width:24px;
height:24px;
margin-right:8px;
overflow:hidden;
border-radius: 50px;
}

    
a.icon-and-label .icon-container img.the-icon { 
-webkit-animation: toLeftFromRight 0.5s forwards;
-moz-animation: toLeftFromRight 0.5s forwards;
animation: toLeftFromRight 0.5s forwards;
}   
    
    
@-webkit-keyframes toLeftFromRight {
	49% {
		-webkit-transform: translate(-100%);
        animation-timing-function:ease-in-out;
	}
	50% {
		opacity: 0;
		-webkit-transform: translate(100%);
	}
	51% {
		opacity: 1;
	}
}   
    
a.icon-and-label:hover .icon-container img.the-icon { 
-webkit-animation: toRightFromLeft 0.5s forwards;
-moz-animation: toRightFromLeft 0.5s forwards;
animation: toRightFromLeft 0.5s forwards;
}


@-webkit-keyframes toRightFromLeft {
    /* The icon moves right by 100%, appearing to slide off-screen to the right */
	49% {
		-webkit-transform: translate(100%); 
        animation-timing-function:ease-in-out;
	}
    /* The icon’s opacity is set to 0, and it moves to the left by 100%.*/ 
	50% {
		opacity: 0;
		-webkit-transform: translate(-100%);
	}
    /* The icon’s opacity returns to 1, making it visible at its new position. */
	51% {
		opacity: 1;
	}
}


/* Announcement or promotion bar -------------------------------------------------------------------------------------------------------------------------- */


.special-offer-first-ad-free {
background-color: var(--brand-primary-500);
padding: 1rem;
position: relative; /* 👈 key */
display: flex;
justify-content: center;
align-items: center;
column-gap: 24px;
transition: opacity 0.5s ease, transform 0.5s ease;
}

.special-offer-first-ad-free.is-hiding {
opacity: 0;
transform: translateY(-10px);
}

.announce-bar-close {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 32px;
height: 32px;
border-radius: 50%;
border: none;
background-color: var(--brand-primary-900);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
}

.announce-bar-close:hover {
background-color: var(--brand-primary-700);
transform: translateY(-50%) scale(1.05);
}

.announce-bar-close svg {
display: block;
}

.announce-bar-text {
color: var(--text-inverse);
padding: 0px;
margin:0px;
}

.announce-bar-link { 
color: var(--text-inverse);
font-weight: 500;
}

/* Logo -------------------------------------------------------------------------------------------------------------------------------------- */

.logo { width: 90px; margin-left:16px; margin-bottom:4px; }

/* Main navigation bar -------------------------------------------------------------------------------------------------------------------------------------- */

.custom-navbar { 
position:sticky;
top:24px;
width:100%;
margin: 0 auto;
z-index:1000;
}

.custom-navbar-inner {
background-color: rgba(204, 204, 204, 0.65) !important; /* Stolen from a Framer website - works over light and dark backgrounds */  
backdrop-filter: blur(10px);
display: flex;
justify-content: space-between; /* push items to opposite ends */
align-items: center;         /* vertically center them */
padding: 8px;
border-radius: 96px;
}

.logo-wrapper {
}

.menu-wrapper {
padding: 8px 16px;
border-radius: 96px;
}

/* If browser window is 992 or smaller */
@media (max-width:992px) {   
.menu-wrapper {
position: fixed;
top: 100px;
padding: 0;
visibility: hidden;
opacity: 0;
transition: opacity 0.3s ease;
}

.menu-wrapper-active {
visibility: visible;
opacity: 1;
} 
} /* End MQ */

.menu-wrapper ul { 
display: flex; 
column-gap: 24px;
padding: 0px;
margin: 0px;
list-style-type: none;
}

/* If browser window is 992 or smaller */
@media (max-width:992px) {
.menu-wrapper ul {
flex-direction: column;
padding:0px;
}  
}

.menu-wrapper ul li a { 
font-weight:600;
color: var(--text-primary);
text-decoration: none;
font-size: 0.875rem; /* 14px */
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.menu-wrapper ul li a:hover { 
color: var(--gray-500);
}


/* If browser window is 992 or smaller */
@media (max-width:992px) {
.menu-wrapper ul li a {
color: var(--text-inverse);
font-size: 1.125rem; /* 18px */
padding: 8px 0px;
}  
}

/* If browser window is 992 or smaller */
@media (max-width:992px) {
.cta-wrapper {
visibility: hidden;
}  
}

.cta-wrapper-active {
visibility: visible;
opacity: 1;
}


/* If browser window is 992 or smaller */
@media (max-width:992px) {
.cta-wrapper {
border: 2px solid #efefef;  /* HotFix: Add styles to containing div to make the CTA visible on dark BG */
border-radius: 96px; /* HotFix: Add styles to containing div to make the CTA visible on dark BG */
flex-direction: column;
position:absolute;
top:400px;
}  
}

.cta-wrapper a {
font-weight:bold;
text-decoration: none;
font-size: 0.875rem; /* 14px */   
}


@media (min-width: 768px) {
.logo-wrapper {width:80px;}  
}

/* Off canvas overlay, hamburger menu and overlay content */


.toggle-button-wrapper {
padding:12px;
noborder: 2px solid #efefef;
border-radius: 96px;
background-color: var(--gray-900);
}  
   
.toggle-button {
    position: relative;
    height: 16px;
    width: 16px;
    cursor: pointer;
    z-index: 3;
}

.bar {
    background-color: #efefef;
    display: block;
    width: 100%;
    height: 2px;
    border: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}
.bar + .bar {
    margin-top: 4px;
}
.middle {
    top: 11px;
}
.bottom {
    top: 22px;
}
.toggle-button:hover {
    opacity: .7;
}
.toggle-active .bar {
    background-color: #fff;
}
.toggle-active .top {
    -webkit-transform: translateY(6px) translateX(0) rotate(45deg);
}
.toggle-active .middle {
   opacity: 0;
}
.toggle-active .bottom {
    -webkit-transform: translateY(-6px) translateX(0) rotate(-45deg);
}


/* If browser window is 992 or larger */
@media (min-width:992px) {
.toggle-button-wrapper {
display: none;
}  
}

.overlay {
    position: fixed;
    background-color: var(--gray-900);
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
    z-index: 2;
}

.nav-active {
    opacity: 1;
    visibility: visible;
    height: 100%;
/*    max-height: 340px;*/
}





/* Hero -------------------------------------------------------------------------------------------------------------------------------------- */

/* The top section of a carousel feat. phone mockups with embeded videos */

.hero { 
margin-top:-80px; /* Off-set the height of the nav */
}

.hero-top-section { padding:144px 0px 48px 0px; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}

.hero h1 {
font-size:2rem;
line-height:2.5rem;
    font-weight:800;
letter-spacing:-1px;
}

@media (min-width: 768px) {
.hero h1 {
font-size:2rem;
line-height: 2.5rem;
font-weight:800;
}
}

@media (min-width: 992px) {
.hero h1 {
font-size:3rem;
line-height: 3.5rem;
letter-spacing:-3px;
}
}

/*  X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
.hero h1 {
font-size:4rem;
line-height:4.5rem;
}
}

/*  XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
.hero h1 {
font-size:5rem;
line-height:5.5rem;
}
}

/* Carousel showing videos --------------------------------------------------------------------------------------------------------------------------------- */


video.client-ad  {
border-radius: 12px;     
}

/* Carousel navigation  */
          
.swiper-navigation-container-videos { 
display: flex;
justify-content: flex-end;
margin-top:48px;
}

.swiper-button-prev-videos  {
margin-right:24px;
padding-left:36px;
padding-right:36px;
}

.swiper-button-next-videos  {
padding-left:36px;
padding-right:36px;
}



/* Key features smple icons ---------------------------------------------------------------------------------------------------------------------------------- */

.key-features { /*No styles*/ }

.key-features-card {
padding:36px; 
border-radius:1rem; /* Tl,TR,BL,BR*/   
background-color:var(--surface-secondary);
}

.key-features-card-icon { 
width:56px;
margin-bottom:36px;
}

@media screen and (min-width: 992px) {
.key-features-card-icon { 
margin-top:96px;
}
}

.key-features-card h3  {
font-size:1.8rem;
margin-bottom:8px;
color: var(--text-primary);
}

.key-features-card p { 
color: var(--text-primary);
min-height:80px;
}


/*  Process swiper carousel ---------------------------------------------------------------------------------------------------------------------------------- */


.swiper-three .swiper-slide {
width: 400px;
padding:36px 16px 16px 16px;
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.swiper-three .swiper-slide {
width: 400px;
}
}

.swiper-slide-process {
background-color:var(--surface-inverse);   
border-radius: 16px;
color: var(--text-inverse); 
}

.slide-process-title {
font-weight:600;
font-size: 1.25rem;
 
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.swiper-slide-process {
padding: 48px;
border-radius: 16px;
height: 100%; /* fill the parent slide */
position: relative; /* this is the key - creates positioning context */
}
}

.swiper-navigation-container-process { 
display: flex;
justify-content: flex-end;
margin-top:48px;
}

.swiper-button-prev-process {
margin-right:24px;
padding-left:36px;
padding-right:36px;
}

.swiper-button-next-process {
padding-left:36px;
padding-right:36px;
}



/* Stats - simple coloumn layout ---------------------------------------------------------------------------------------------------------------------------- */

.stats {
background:var(--surface-secondary);
border-radius: 16px;
padding:36px;}

.stats h3 {
margin-bottom:96px;
font-size:1.2rem;
color:var(--text-primary);
}

.stats p { margin-top:8px;
color:var(--text-primary);
}

.stats-highlight {
margin-top:8px;
font-weight: 600;
}

.stats p.big-number  {
font-size: 8rem;
line-height: 3rem; 
font-weight:800;
letter-spacing: -3px;
margin-bottom: 8px;
margin-top: 48px;
color:var(--text-primary);
display: inline; /* Or inline-block */
}



/*  Testimonial swiper carousel ---------------------------------------------------------------------------------------------------------------------------- */

/* The Swiper bleed right triggered horizontal scrollbars overflow-x fixes that but...*/
/* This is a bad fix as it affects the entire site. Might effect off-canvass or other off page stuff like scroll triggered animations */

html {
overflow-x: clip;
}

/* Wrapper controls layout bleeds off right honours bootstrap's left padding and margins */
.swiper-bleed-right {
margin-right: calc(-50vw + 50%);
padding-left: calc(var(--bs-gutter-x) * 0.5);
}


.swiper-two .swiper-slide {
width: 400px;
height:360px; /* add height here */
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.swiper-two .swiper-slide {
width: 400px;
height:400px; /* add height here */
}
}

.swiper-slide-testimonials {
background-color: var(--surface-inverse);   
padding: 24px;
border-radius: 16px;
height: 100%; /* fill the parent slide */
position: relative; /* this is the key - creates positioning context */
color:var(--text-inverse);
}


/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.swiper-slide-testimonials {
padding: 48px;
border-radius: 16px;
height: 100%; /* fill the parent slide */
position: relative; /* this is the key - creates positioning context */
}
}

/*  Quote text and user bio aligned top and bottom of fixed height element so content is horizontally aligned no matter the lenght of the quote. Bit fragile. */

.swiper-slide-testimonials p.quote {
font-weight: 200;
font-size: 1.2rem;
position: absolute;
top: 24px; /* matches your padding */
left: 24px;
right: 24px;
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.swiper-slide-testimonials p.quote {
font-weight: 200;
font-size: 1.5rem;
position: absolute;
top: 48px; /* matches your padding */
left: 48px;
right: 48px;
}
}

.testimonial-user-details {
display: flex;
position: absolute;
bottom: 24px; /* matches your padding */
left: 24px;
right: 24px;
margin-top: 0;
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.testimonial-user-details {
display: flex;
position: absolute;
bottom: 48px; /* matches your padding */
left: 48px;
right: 48px;
margin-top: 0;
}
}

.testimonial-user-details-bio {
display: flex;
}

.testimonials-user-details-avitar {
}

.southside-digital-logo {
 width:96px;
}

.iah-logo {
 width:76px;
} 

.generic-profile-picture {  
width:48px; 
border-radius:48px;    
} 

.testimonials-user-details-name-role {
margin-left:16px;
}

.testimonials-user-details-name-role p.name {
font-weight: 600;
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}

.testimonials-user-details-name-role p.role {
color: var(--gray-200);
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}

.swiper-navigation-container-testimonials { 
display: flex;
justify-content: flex-end;
margin-top:48px;
}

.swiper-button-prev-testimonials {
margin-right:24px;
padding-left:36px;
padding-right:36px;
}

.swiper-button-next-testimonials {
padding-left:36px;
padding-right:36px;
}


/* Pricing tiers ---------------------------------------------------------------------------------------------------------------------------- */

.btn-pricing {
width: 100%;
display: block;
border-radius: 50px;
font-size: 1.2rem;
font-weight: 500;
text-decoration:none;
color: var(--button-secondary-color);
padding: 16px 16px;
background-color:var(--button-secondary-bg);
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
border: 2px solid var(--button-secondary-border); /* So link horizontally aligns with cta--outline version when the buttons are next to each other */
}

/* Special case as button in on text-secondary background colour */
.btn-pricing:hover {
background-color:#C7D2FE;
border: 2px solid #C7D2FE; 
color: #3462EA;
}

.btn-pricing-featured {
color: var(--button-primary-color);
background-color:var(--button-primary-bg);
border: 2px solid var(--button-primary-border); /* So link horizontally aligns with cta--outline version when the buttons are next to each other */
}

/* Special case as button in on text-secondary background colour */
.btn-pricing-featured:hover {
background-color:#C7D2FE;
border: 2px solid #C7D2FE; 
color:  #3462EA; /* So link horizontally aligns with cta--outline version when the buttons are next to each other */
}


.pricing-tiers-cost-per-unit-wrapper {
display: flex;
align-items: flex-end; /* This aligns children to the bottom */
gap: 8px; /* Optional: adds space between price and unit */
}

.child-one {}

.cost {
font-size: 5rem;
line-height: 5rem;
font-weight:800;
color: var(--text-primary);
margin: 0; /* Remove any default margins */
}

.child-two{}

.pricing-tiers-unit {
font-size: 1.5rem;
line-height:1.6rem;
padding: 0px;
margin: 0px 0px 6px 0px; /* Add small bottom margin to fine-tune alignment */
color: var(--text-primary); 
}

.pricing-description {
margin: 24px 0px 36px 0px;
font-size:  1.25rem;
}

.pricing-card {
background:var(--surface-secondary);
border: 1px solid var(--surface-secondary);
border-radius: 24px;
padding: 48px 40px;
height: 100%;
transition: transform 0.3s ease, border-color 0.3s ease;
position: relative;
overflow: hidden;
}

.featured { 
border: 1px solid var(--surface-inverse);   
}
              
/* Pricing Features List */

.pricing-features {
list-style: none;
padding: 0;
margin: 36px 0px 0px 0px;
}

.pricing-features li {
padding: 12px 0;
display: flex;
align-items: flex-start;
font-size: 15px;
line-height: 1.6;
color: var(--text-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
border-bottom: none;
}

.pricing-features li svg {
width: 20px;
height: 20px;
margin-right: 12px;
flex-shrink: 0;
margin-top: 2px;
stroke: var(--surface-inverse);
}

.pricing-features li span {
flex: 1;
}

/* Scrolling logo bar ---------------------------------------------------------------------------------------------------------------------------- */

/* Note: We can't use a gradient BG on a coloured section because the background images that are used to make the logos 'disappear' would show. */ 


.logo-carousel {
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 96px; /* your 8pt-grid instincts are correct */
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  display: block;
  filter: invert(100%) grayscale(100%);
}


@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.logo-carousel {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #030712 10%,
    #030712 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #030712 10%,
    #030712 90%,
    transparent
  );
}



/* FAQs accordion ---------------------------------------------------------------------------------------------------------------------------- */


.faqs-contact-for-more {
background:var(--surface-inverse);
border-radius: 16px;  
padding:24px; 
color: var(--text-inverse); 
}

.faqs-accordion .custom-accordion {
margin: 0rem auto;
--bs-accordion-btn-bg:#030712;
--bs-accordion-active-bg: #f8f9fa;
--bs-accordion-active-color: #0d6efd;
--bs-accordion-btn-focus-border-color: #e9ecef;
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.faqs-accordion .accordion-header {
background:var(--surface-inverse);
}

.faqs-accordion .accordion-button {
padding: 1.25rem;
font-weight: 500;
font-size: 1rem;
transition: all 0.3s ease;
color: var(--text-inverse);
}

.faqs-accordion .accordion-button:not(.collapsed) {
box-shadow: none;
color: var(--surface-primary);
background-color:var(--surface-inverse);
}

.faqs-accordion .accordion-body {
padding: 1.5rem;
line-height: 1.6;
color:var(--text-inverse); 
background-color: var(--surface-inverse);
}

.faqs-accordion .accordion-body ul li {
margin-bottom:1rem;
}

.faqs-accordion .accordion-item {
border: 1px solid var(--surface-inverse);
margin-bottom: 0.5rem;
border-radius: 1rem !important;
overflow: hidden;
background-color:var(--surface-inverse);
}

.faqs-accordion .accordion-button::after {
background-image: url('images/icon-plus.svg');
background-size: 1.25rem; /* Adjust as needed */
}

.faqs-accordion .accordion-button:not(.collapsed)::after {
background-image: url('images/icon-minus.svg');
}

.faqs-accordion .accordion-button::after {
transition: transform 0.3s ease;
}


/* CONTACT FORM WRAPPER ------------------------------------------------------------------- */

.cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  .cf7-grid {
    grid-template-columns: 1fr;
  }
}

.wpcf7 {
padding: 24px;
background:var(--gray-100);

border-radius:24px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);    
}

.wpcf7 .form-group {
margin-bottom: 16px;
}

.wpcf7 label {
display: block;
margin-bottom: 8px;
font-weight: 600;
font-size: 0.95rem;
}

.wpcf7  input[type="text"],
.wpcf7  input[type="email"],
.wpcf7  input[type="date"],
.wpcf7  input[type="url"],
.wpcf7  input[type="password"],
.wpcf7  textarea,
.wpcf7  select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.95rem;
box-sizing: border-box;
margin-bottom: 8px;
}


.wpcf7 input.wpcf7-submit {
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    color: var(--text-inverse);
    background-color: var(--brand-primary-500);
    border: 2px solid var(--brand-primary-500);
    cursor: pointer;
    transition: all .2s ease;
}

.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus {
    background-color: var(--brand-primary-700);
    border-color: var(--brand-primary-700);
}

.wpcf7-not-valid-tip {   color: var(--brand-primary-500);}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--brand-primary-500);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--brand-primary-500);
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid var(--brand-primary-500);
    border-radius: 8px;
}

/* Terms and Privacy opt in notice */

.wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin: 0px;
}

.wpcf7 .wpcf7-list-item-label {
font-weight: 400;
}

.wpcf7 label {
    display: block;
    margin-bottom: 16px;
}


.wpcf7-form-control-wrap {
  display: block;
  margin-bottom:0px;
        margin-top: 8px;
}

.wpcf7-form label span.form-help {
    font-size: 0.875rem;
    font-weight: 400;
color: var(--gray-400); 
}

.wpcf7-form br {
    display: none; /* Hides line breaks */
}

.wpcf7-form hr {
  opacity:1;
    border-top: 1px solid #9CA3AF;
    height: 1px;
    margin: 20px 0;
}


.asset-upload-note a {
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    color: var(--off-white);
    background-color: var(--brand-primary-500);
    border: 2px solid var(--brand-primary-500);
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    margin-bottom:16px;
}

p.upload-assets { font-weight:500; }

.highlight-word-first {
font-weight:600;
margin-right:8px;
}

p.order-steps { font-weight:500; }


/* Example ads index - grid layout -------------------------------------------------------------------  */

.ad-item video {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
}

.ads-grid {
display: grid;
grid-template-columns: 1fr;
}

/* 768px and up */
@media (min-width: 768px) {
.ads-grid {
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
}

/* 992px and up */
@media (min-width: 992px) {
.ads-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
}


/* About page -------------------------------------------------------------------  */

.about-hero {
border-radius:16px;   
}

/* Big logo animation ---------------------------------------------------------------------------------------------------------------------------- */

.animation { 
background-color: var(--gray-950); 
nobackground-image: url('images/mazle-bg-1.jpg'); /* Replace with your image path */
background-size: cover; /* Scale the image to cover the entire element */
background-position:center top; /* Center the image */
background-repeat: no-repeat; /* Prpost the image from repeating */
}

/* Footer ---------------------------------------------------------------------------------------------------------------------------- */

.footer{ 
color: var(--text-inverse);  
background-color: var(--surface-inverse);  
}

.footer h3 {
font-size: 1.2rem;  
margin-bottom: 1rem; 
}

.sub-footer {
font-size: 0.785rem; /* 14px */
color: var(--text-inverse);  
background-color: var(--gray-900);    
}

.logo-footer { 
width: 90px;
}

.footer-links {
list-style: none;
padding: 0;
}

.footer-links li {
/* No styles */
}

.footer-links a {
color: var(--text-inverse);
transition: all .2s linear;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
}

.footer-links a:hover {
color: var(--brand-primary-100); /* Replace with your desired hover color */
padding-left: 4px;
}

/* Social network links in footer */

ul.social-icons {
display: flex; 
list-style: none;
margin: 0;
padding: 0;
}

ul.social-icons li {
padding:4px;
background-color: var(--gray-600);
border-radius: 6px;     
}

.social-icons img {
width: 24px;
}

/* How it works / process page  ---------------------------------------------------------------------------------------------------------------------------- */

.process-detail {
background:var(--surface-secondary);
padding:24px;
border-radius: 24px;      
}

.process-detail  h2 {
font-size:1.5rem; 
letter-spacing: normal;
}

.process-detail-more-options {
padding:24px; 
}

/* How it works / process accordion */

.revisions-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
}

/* Remove card-style look */
.revisions-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

/* Header button */
.revisions-accordion .accordion-button {
  background-color: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.25rem 0;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}

/* Remove Bootstrap default background on open */
.revisions-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--text-primary);
  box-shadow: none;
}

/* Subtle divider lines (top & bottom) */
.revisions-accordion .accordion-button {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Prevent double borders between items */
.revisions-accordion .accordion-item + .accordion-item .accordion-button {
  border-top: none;
}

/* Body styling */
.revisions-accordion .accordion-body {
  background-color: transparent;
  color: var(--text-primary);
  padding: 1.25rem 0 0 0;
  line-height: 1.6;
}

/* Optional: soften icon colour for dark bg 
.revisions-accordion .accordion-button::after {
  filter: invert(1) brightness(0.8);
}*/


.revisions-accordion .accordion-button::after {
  background-image: url('images/icon-plus-dark.svg');
  background-size: 1.25rem; /* Adjust as needed */
}


.revisions-accordion .accordion-button:not(.collapsed)::after {
  background-image: url('images/icon-minus-dark.svg');
}

.revisions-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}




/* POSTS ------------------------------------------------------------------- */

/* Mobile styles */

.blog-index-posts-wrapper {
display: flex;
flex-wrap: wrap;       /* allow wrapping to next row */
gap: 16px;             /* space between cards */
}

.not-found { 
/* Empty div to allow 'Post not found message to clear post - I don't know how this works but it does. */
}

.blog-index-post {
display:flex;
background-color: var(--gray-900); 
border-radius: 8px;  
}

.blog-index-post-thumbnail {
flex: 0 0 25%;   /* don’t grow/shrink, stay at 25% trouble*/
border-radius: 8px;  
}

/* Radii swap for card / list layou */

.blog-index-post-thumbnail img {
 border-radius: 8px 0px 0px 8px;  
}


.blog-index-post-details {
flex: 1;         /* take up remaining space */
padding:8px 8px 8px 8px;
}

.blog-index-post-details h2 {
font-size: 1rem; /* 16px */
font-weight:600;
padding:0px 0px 4px 0px;
margin:0px;
    letter-spacing: normal;
}

.blog-index-post-details h2 a {
text-decoration: none;
color: var(--gray-200);
margin:0px;
}

.blog-index-post-details h2 a:hover {
text-decoration: none;
color: var(--gray-100);
margin:0px;
}

p.blog-index-post-date { 
font-size: 0.75rem;
padding:0px 0px 0px 0px;
margin:0px;   
color:var(--text-inverse);
}

a.blog-index-post-info-link { 
font-size: 0.785rem;
color: var(--gray-200); 
}

a.blog-index-post-info-link:hover { 
color: var(--gray-100); 
}

/* Desktop styles - card layout */
/* On desktop (≥992px): 3 across */

@media (min-width: 992px) {
.blog-index-post {
flex: 1 1 calc(33% - 16px);  /* 3 columns, account for gap */
max-width: calc(33% - 16px);
}

.blog-index-post-details h2 {
font-size: 1.2rem; /* 18px */
line-height: 1.5rem;
font-weight:600;
padding:8px 0px 8px 0px;
}
}

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    
.blog-index-post {
flex-direction: column;   /* stack vertically */
}
    
.blog-index-post-thumbnail {
flex: 0 0 auto;           /* reset flex */
width: 100%;              /* full width */   
}
    
.blog-index-post-thumbnail img {
 border-radius: 8px 8px 0px 0px;  
}

    
.blog-index-post-details {
padding:16px; /* Remove the left padding used for mobile when post adopts horizontal layout*/
}
}

/* The blog post page single.php styles */

.blog-content img.blog-content-hero-image { margin:24px 0px 56px 0px; }
.blog-content img { margin:56px 0px 16px 0px; }
.blog-content p.image-caption {
    font-size: 0.75rem;
    margin-bottom:56px;
    color: var(--gray-400);
    text-align: center;
}


.post-nav {
    display: flex;
    gap: 16px; /* space between buttons */
}

.post-nav a {
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-inverse);
    padding: 8px 16px;
    background-color: var(--brand-primary-500);
    transition: all .2s linear;
    border: 2px solid var(--brand-primary-500);
}

.post-nav a:hover {
    background-color: var(--brand-primary-400);
    border-color: var(--brand-primary-400);
}

/* Reduce space between image and caption */
.wp-block-image figcaption {
    margin-top: 0px !important; /* Adjust this value */
    padding-top: 0px !important;
    color: var(--gray-400);
    font-style: italic;
    font-size: 0.785rem; 
}

.wp-block-image {
  margin: 2rem 0; /* Add some more space at the bottom of the image */
}



/* EXAMPLE ADS PAGE TEMPLATE STYLES ------------------------------------------------------------------- */

.example-ad-video { 
border-radius: 16px;
}


/* Utility classes similar to Bootstrap and Tailwind. Class names more closely aligned to Figma file's design tokenss */

/* Margins - Mobile and up */
     
.mt-x-large { margin-top: 96px; }
.mb-x-large { margin-bottom: 96px; }    
.mt-large { margin-top: 48px; }
.mb-large { margin-bottom: 48px; }

.mt-xx-medium { margin-top: 32px; }
.mb-xx-medium { margin-bottom: 32px; }  
.mt-x-medium { margin-top: 24px; }
.mb-x-medium { margin-bottom: 24px; }
.mt-medium { margin-top: 16px; }
.mb-medium { margin-bottom: 16px; }

.mt-small { margin-top: 8px; }
.mb-small { margin-bottom: 8px; }   
.mt-x-small { margin-top: 4px; }
.mb-x-small { margin-bottom: 4px; }
.mt-none { margin-top: 0px; }
.mb-none { margin-bottom: 0px; }

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {    
.mt-x-large { margin-top: 96px; }
.mb-x-large { margin-bottom: 96px; }    
.mt-large { margin-top: 48px; }
.mb-large { margin-bottom: 48px; }
    
.mt-xx-medium { margin-top: 32px; }
.mb-xx-medium { margin-bottom: 32px; }  
.mt-x-medium { margin-top: 24px; }
.mb-x-medium { margin-bottom: 24px; }
.mt-medium { margin-top: 16px; }
.mb-medium { margin-bottom: 16px; }
    
.mt-small { margin-top: 8px; }
.mb-small { margin-bottom: 8px; }   
.mt-x-small { margin-top: 4px; }
.mb-x-small { margin-bottom: 4px; }
.mt-none { margin-top: 0px; }
.mb-none { margin-bottom: 0px; }  
}

   
/* Padding Mobile and up  */
 
.pt-xx-large { padding-top: 96px; }
.pb-xx-large { padding-bottom: 96px; } 
.pt-x-large { padding-top: 32px; }
.pb-x-large { padding-bottom: 32px; }   
.pt-large { padding-top: 24px; }
.pb-large { padding-bottom: 24px; }

.pt-xx-medium { padding-top: 32px; }
.pb-xx-medium { padding-bottom: 32px; }  
.pt-x-medium { padding-top: 24px; }
.pb-x-medium { padding-bottom: 24px; }
.pt-medium { padding-top: 16px; }
.pb-medium { padding-bottom: 16px; }

.pt-small { padding-top: 8px; }
.pb-small { padding-bottom: 8px; }   
.pt-x-small { padding-top: 4px; }
.pb-x-small { padding-bottom: 4px; }
.pt-none { padding-top: 0px; }
.pb-none { padding-bottom: 0px; }


/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {    
.pt-xx-large { padding-top: 192px; }
.pb-xx-large { padding-bottom: 191px; } 
.pt-x-large { padding-top: 96px; }
.pb-x-large { padding-bottom: 96px; }    
.pt-large { padding-top: 48px; }
.pb-large { padding-bottom: 48px; }
    
.pt-xx-medium { padding-top: 32px; }
.pb-xx-medium { padding-bottom: 32px; }  
.pt-x-medium { padding-top: 24px; }
.pb-x-medium { padding-bottom: 24px; }
.pt-medium { padding-top: 16px; }
.pb-medium { padding-bottom: 16px; }
    
.pt-small { padding-top: 8px; }
.pb-small { padding-bottom: 8px; }   
.pt-x-small { padding-top: 4px; }
.pb-x-small { padding-bottom: 4px; }
.pt-none { padding-top: 0px; }
.pb-none { padding-bottom: 0px; }   
}

/*  X-Small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap  */

/*  Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
.col-colour { background-color:yellow;}                  
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.col-colour { background-color:pink;}
}

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {    
.col-colour {background-color:aqua;}
}

/*  X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
.col-colour {background-color:goldenrod;}
}

/*  XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
.col-colour {background-color:deepskyblue;}
}