/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Description: A child theme for Hello Elementor
 Version: 1.0
 Author: Elementor Team
 Text Domain: hello-elementor-child
*/

body {
	overflow-x: clip;
}

div[data-elementor-type="wp-page"] > div,
div[data-elementor-type="archive"] > div,
div[data-elementor-type="single-post"] > div,
.elementor-section-wrap.ui-sortable > div {
	margin-left: auto;
	margin-right: auto;
}

/*Forms*/
/* Submission Message Styling */
.form-styles .elementor-message:before {
    display: none !important;
}

/* Show field placeholder text */
.form-styles input::placeholder, 
.form-styles textarea::placeholder {
    color: #001233B2 !important;
    opacity: 1 !important;
}

.form-styles textarea {
	border-radius: 24px !important;
	padding: 16px;
}

.form-styles span.elementor-button-content-wrapper {
    z-index: 20;
    position: relative;
}

/*Custom acceptance checkbox*/
.form-styles .elementor-field-type-acceptance a:hover {
     text-decoration: underline;
 }
 
 .form-styles .elementor-button-icon svg {
    width: 24px;
}

/* Adjust height of input fields */
.form-styles .elementor-field-type-text input,
.form-styles .elementor-field-type-tel input,
.form-styles .elementor-field-type-email input, 
.form-styles .elementor-select-wrapper select {
    height: 48px !important;
}
.form-styles .elementor-field-type-acceptance .checkbox, 
.form-styles .elementor-field-type-acceptance label {
    cursor: pointer !important;
}

.form-styles .select-caret-down-wrapper {
    display: none;
}
.form-styles select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/chevron-down-24.svg') no-repeat right 20px center;
    background-size: 24px 24px;
    background-color: #E6E6E6;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 45px;
}

.form-styles select option {
	font-family: Montserrat;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0em;
}

@media only screen and (max-width: 1023px) {
	.form-styles .elementor-field-type-text input,
	.form-styles .elementor-field-type-tel input,
	.form-styles .elementor-field-type-email input, 
	.form-styles .elementor-select-wrapper select {
		height: 44px !important;
}
	.form-styles button {
		padding: 10px 20px !important;
	}
	
	.form-styles .elementor-field-type-acceptance .elementor-field-option label span {
		font-size: 10px !important;
		line-height: 15px !important;
	}
}
/*End forms*/

.bg-v1::before, 
.bg-v2::before {
    background-image: url("https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/bf48a67a28f55a3449045d1feddb2a9fcf9c16ef-1-scaled.jpg");
    --background-overlay: '';
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1 !important;
}  
.bg-v1 {
    background: radial-gradient(58.19% 58.19% at 50% 100.04%, #0466C8 0%, #001850 100%) !important;
}
.bg-v2 {
    background: radial-gradient(58.19% 58.19% at 50% 100.04%, #0466C8 0%, #001845 100%) !important;
}

/*GSAP Animations*/
.stagger .elementor-icon-box-title,
.stagger .elementor-icon-box-description,
.stagger .elementor-heading-title,
.stagger-grid .elementor-widget-image,
.stagger-grid-7 .elementor-widget-image,
.stagger-grid-4 .elementor-widget-image
{
    opacity: 0;
}
/* Show stagger elements normally in Elementor editor */
.elementor-editor-active .stagger .elementor-icon-box-title,
.elementor-editor-active .stagger .elementor-icon-box-description,
.elementor-editor-active .stagger .elementor-heading-title,
.elementor-editor-active .stagger-grid .elementor-widget-image,
.elementor-editor-active .stagger-grid-7 .elementor-widget-image,
.elementor-editor-active .stagger-grid-4 .elementor-widget-image
{
    opacity: 1 !important;
}

.stagger .char-wrapper,
.stagger .char {
    text-transform: none;
	display: inline-block;
    vertical-align: bottom;
}

.stagger .elementor-icon-box-title,
.stagger .elementor-icon-box-description,
.stagger .elementor-heading-title {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.stagger .elementor-icon-box-title {
    transition: none;
}

.hover-ripple a.elementor-button {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.hover-ripple a.elementor-button > * {
  position: relative;
  z-index: 1;
}
/*End GSAP Animations*/

/*Services Lisiting Full Width */
.service-listing-container {
    width: clamp(70vw, 89vw, 99vw);
    position: relative;
    padding: 100px 0 0 15px;
    margin: -100px 0 0 -15px;
    overflow-x: clip;
}

@media only screen and (max-width: 1300px) {
	.service-listing-container {
		width: 100vw;
	}
}
@media only screen and (min-width: 1301px) and (max-width: 1500px) {
	.service-listing-container {
		width: 97vw;
	}
}
@media only screen and (min-width: 1650px) and (max-width: 1750px) {
	.service-listing-container {
		width:83vw;
	}
}
@media only screen and (min-width: 1750px) and (max-width: 1800px) {
	.service-listing-container {
		width: 79vw;
	}
}
@media only screen and (min-width: 1801px) and (max-width: 1880px) {
	.service-listing-container {
		width: 76vw;
	}
}
@media only screen and (min-width: 1881px) and (max-width: 2000px) {
	.service-listing-container {
		width: 75vw;
	}
}
@media only screen and (min-width: 2001px) {
	.service-listing-container {
		width: 62vw;
	}
}

.service-grid-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    user-select: none;
    cursor: grab;
}

.service-grid-track:active {
    cursor: grabbing;
}

.service-item-link {
    -webkit-user-drag: none;
    user-drag: none;
}

.service-grid-track img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.service-custom-grid {
	border-radius: 24px;
	position: relative;
	width: 100%;
}

.service-grid-item {
	min-width: 29%;
	margin-right: 32px;
	border-radius:24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	height: fit-content;
}

.service-grid-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-featured-image {
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    height: 229.5px;
    width: 100%;
    display: block;
}

.service-featured-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.service-item-content {
	padding: 32px;
	border-radius: 0 0 24px 24px;
	background: #F1F1F1;
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
	height: 264px;
    align-items: center;
    justify-content: space-between;
}

.service-item-content-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.service-name {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 20px;
	line-height: 1em;
	letter-spacing: 0em;
	text-align: center;
	text-transform: uppercase;
	color: #001233;
	margin: 0;
}

.btn-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: fit-content;
	transition: all 0.3s ease;
}

.service-button {
	font-family: Montserrat;
	font-weight: 500;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0em;
	vertical-align: middle;
	text-transform: uppercase;
	color: #0466C8;
}

.btn-wrap:hover .service-button {
	color: #001233;
}
.btn-wrap:hover svg path {
	stroke: #001233;
}

button.service-nav-arrow.service-prev, button.service-nav-arrow.service-next  {
	padding: 0;
	background-color: transparent;
}

.service-nav-arrow {
	position: absolute;
	top: -100px;
	width: 48px;
	height: 48px;
	border: none;
}

.service-nav-arrow:hover {
	cursor: pointer;
}

.service-prev {
	right: 10%;
	background: url('https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/Link-Variant-3.svg');
}
.service-prev:hover {
	background: url('https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/Link-Variant-3-Hover.svg');
}

.service-next {
	right: 5%;
	background: url('https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/Link-Variant-4.svg');
}
.service-next:hover {
	background: url('https://techblox.digitalfoldstaging.co.za/wp-content/uploads/2026/02/Link-Variant-4-Hover.svg');
}

@media only screen and (min-width: 1600px) {
	.service-next {
	right: 10%;
}
	.service-prev {
	right: 15%;
}
}

.service-nav-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.service-dots {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.service-listing-container {
	width: 100%; 
	padding: 80px 0 36px 0;
	margin: -80px 0 -36px 0;	
}
	.service-grid-item {
		min-width: 49%;
		margin-right: 16px;
		box-shadow: none !important;
	}
	
	.service-featured-image {
		height: 191.25px;
	}
	
	.service-item-content {
	padding: 24px;
	height: 202px;
}

	.service-name {
		font-size: 14px;
	}

	.service-button {
		font-size: 12px;
	}
	
	.service-nav-arrow {
	position: absolute;
	top: -80px;
}

	.service-prev {
		right: 72px;
	}

	.service-next {
		right: 0;
	}
	
	.service-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 24px;
    }

    .service-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #F1F1F1 !important;
        padding: 0;
        cursor: pointer;
    }

    .service-dot.active {
        background: #0466C8 !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.service-dot:last-child {
		display: none;
	}
}
@media only screen and (max-width: 767px) {
	.service-listing-container {
	width: 100%; 
	padding: 0 0 36px 0;
	margin: 0 0 -36px 0;	
	}
	
	.service-grid-item {
		min-width: 100%;
	}
	
	.service-featured-image {
		height: 210.38px;
	}
	
	.service-nav-arrow {
		display: none;
	}
}
/*End Service Lisiting Full Width*/

@media only screen and (min-width: 1024px) and (max-width: 1176px) {
	div:not(.service-listing-container) {
		max-width: 100%;
	}
}