/* Theme */
:root {
	--dark: #091220;
	--light: #EBF3FA;
	--primary: #FFBF00;
	--muted: #262672;
	--text: #EBF3FA;

	--size-xs: 4px;
	--size-s: 8px;
	--size-m: 16px;
	--size-l: 24px;
	--size-xl: 32px;
	--size-xxl: 40px;
	--size-xxxl: 64px;
	--size-xxxxl: 80px;
}

/* Section & Container */
@media (min-width: 769px) and (max-width: 1024px) {
    .uk-container {
        padding-left: 64px;
        padding-right: 64px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .uk-container {
        padding-left: 40px;
        padding-right: 40px;
    }
	.uk-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }
	.tm-header-mobile .uk-navbar-container .uk-container {
		margin: 0 64px !important;
	}
}

/* Text */
.uk-list-disc > ::before, .uk-list-circle > ::before, .uk-list-square > ::before, .uk-list-decimal > ::before, .uk-list-hyphen > ::before {
    margin-bottom: -22px;
}

@media (min-width: 1024px) {
	.uk-text-large {font-size: 22px;}
}

@media (min-width: 640px) and (max-width: 768px) {
	.uk-heading-large {font-size: 80px;}
	blockquote {font-size: 32px;}
}

@media (max-width: 640px) {
	blockquote {font-size: 24px;}
}

/* Header */
.tm-header, .tm-header-mobile {
    position: fixed;
    top: 0;
}

.uk-navbar-container .uk-container {
    max-width: fit-content;
    border-radius: 20px;
    padding: 12px 12px 12px 40px;
	background: #02024C;
	border: 1px solid #EBF3FA;
}

.tm-header .uk-navbar-left {
    padding-right: 40px;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: #262672;
}

.tm-header-mobile .uk-navbar-container .uk-container {
	max-width: 100%;
    margin: 0 24px;
}

.uk-navbar-toggle-icon svg {
    width: 28px;
}

.uk-navbar-toggle-icon svg rect {
    height: 1px;
}

.uk-drop.uk-navbar-dropdown {
	width: fit-content;
	padding: 8px 0;
}

.uk-navbar-dropdown-nav>li.uk-active>a {
	background-color: #d8e3f2;
}

#tm-dialog-mobile .uk-nav>li>a, #tm-dialog-mobile .uk-nav-sub a {
	padding: 12px 24px;
}

#tm-dialog-mobile .ai-contact-btn {
	margin-left: 24px;
}

.uk-nav-default .uk-nav-sub a {
    background-color: #D8E3F2;
}

@media (max-width: 1024px) {
	.uk-navbar-container {
		padding-top: 24px !important;
	}
}
@media (min-width: 641px) {
	#tm-dialog-mobile .ai-contact-btn {
		display: none;
	}
	#tm-dialog-mobile .uk-nav>li>a, #tm-dialog-mobile .uk-nav-sub a{
		justify-content: center;
	}
	#tm-dialog-mobile .uk-nav>li>a .uk-nav-parent-icon {
		margin-left: 8px;
	}
}
@media (max-width: 640px) {
	.tm-header-mobile .uk-navbar-right {
		gap: 0;
	}
	.tm-header-mobile .uk-navbar-container .ai-contact-btn {
		display: none;
	}
}

/* WPML */
.wpml-ls-legacy-list-horizontal ul {
    list-style: none;
    margin: 0;
    display: inline-flex;
    padding: 0;
}

.wpml-ls-legacy-list-horizontal ul li a {
    padding: 0 6px;
}

.wpml-ls-legacy-list-horizontal a:hover {
    text-decoration: none;
}

.wpml-ls-first-item, .uk-navbar-container.uk-light .wpml-ls-first-item {
    border-right: 1px solid #8898c7;
}

.wpml-ls-legacy-list-horizontal {
    padding: 0;
}
.wpml-ls-legacy-list-horizontal a, .uk-navbar-container.uk-light .wpml-ls-legacy-list-horizontal a {
	color: #8898c7;
}

.wpml-ls-current-language a, .uk-navbar-container.uk-light .wpml-ls-current-language a {
    color: #eaf2f9;
}


#tm-dialog-mobile .wpml-ls-current-language a {
    color: #9196ba;
}

#tm-dialog-mobile .wpml-ls-first-item {
    border-right: 1px solid #0b0b59;
}

#tm-dialog-mobile .wpml-ls-legacy-list-horizontal {
    margin-left: 12px;
}

#tm-dialog-mobile .wpml-ls-item:not(.wpml-ls-current-language) a {
    color: #0b0b59;
}

@media (min-width: 641px) and (max-width: 768px) {
	#tm-dialog-mobile .wpml-ls-legacy-list-horizontal {
		text-align: center;
		margin: 0;
	}
}


/* Button */
.uk-button-default:not(.uk-button-text):not(.uk-button-link):not(disabled)  {
    background-position: 50% 100%;
    background-size: 0;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.165,0.85,0.45,1);
	background-image: radial-gradient(circle at 50% 100%, #FFD24D 1%, transparent 1%);
}
.uk-button-default:hover:not(.uk-button-text):not(.uk-button-link):not([disabled]) {
    background-size: 15000%;
}

.uk-button-text::after {
    content: '';
    background: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 12H6.5M20 12L14 6M20 12L14 18M20 12H9.5" stroke="%23FFBF00" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
    height: 20px;
    display: inline-block;
    transform: translateY(5px);
    margin-left: 8px;
	transition: all .2s ease-in;
}
.uk-button-text:hover::after {
	margin-left: 12px; 
}


/* Card */
.ai-home-card-letter {
    position: relative;
}
.ai-home-card-letter-a::before {
    background: url('data:image/svg+xml,<svg width="73" height="100" viewBox="0 0 73 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.451 0L0 100H11.8999L18.9343 73.5632H53.8079L60.7843 100H72.6842L45.4361 0H27.451ZM51.1316 63.4212L36.4433 7.76023L21.6329 63.4212H51.1316Z" fill="%23FFBF00"/></svg>');

}
.ai-home-card-letter-i::before {
    background: url('data:image/svg+xml,<svg width="12" height="100" viewBox="0 0 12 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 100V0H11.3898V100H0Z" fill="%23FFBF00"/></svg>');
	right: -6px !important;
}
.ai-home-card-letter-g::before {
    background: url('data:image/svg+xml,<svg width="75" height="100" viewBox="0 0 75 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M39.3258 100C32.0555 100 25.4461 98.0172 19.4977 94.0515C13.5492 90.0859 8.81251 84.3798 5.28751 76.9332C1.7625 69.4867 0 60.5199 0 50.033C0 39.5462 1.78453 30.5794 5.3536 23.1328C8.92267 15.6863 13.7475 9.98017 19.8282 6.01454C25.9529 2.00485 32.8046 0 40.3833 0C46.5521 0 51.7735 1.07953 56.0476 3.23859C60.3657 5.3536 63.8687 8.10751 66.5565 11.5003C69.2884 14.8491 71.2712 18.4182 72.505 22.2075C73.7387 25.9529 74.3556 29.4779 74.3556 32.7825C74.3556 32.9147 74.3556 33.0469 74.3556 33.1791C74.3556 33.3113 74.3556 33.4435 74.3556 33.5757H63.384C63.384 33.4435 63.384 33.3113 63.384 33.1791C63.384 33.0469 63.384 32.9147 63.384 32.7825C63.384 30.1388 62.9213 27.495 61.996 24.8513C61.1148 22.1635 59.7268 19.74 57.8321 17.581C55.9374 15.3778 53.536 13.6153 50.6279 12.2935C47.7638 10.9716 44.349 10.3106 40.3833 10.3106C35.0518 10.3106 30.1829 11.7647 25.7766 14.6728C21.4144 17.581 17.9114 21.9872 15.2677 27.8916C12.668 33.7519 11.3681 41.1324 11.3681 50.033C11.3681 56.8627 12.0952 62.7892 13.5492 67.8123C15.0033 72.7914 17.0082 76.9112 19.5638 80.1718C22.1194 83.4325 25.0936 85.8559 28.4864 87.4422C31.9233 89.0284 35.6246 89.8215 39.5902 89.8215C44.8337 89.8215 49.1298 88.9183 52.4785 87.1117C55.8713 85.3051 58.4931 83.0579 60.3437 80.3701C62.1943 77.6382 63.384 74.9504 63.9128 72.3067V62.0621H40.0529V52.6107H74.0912V98.6781H65.6973L65.1024 87.8387C64.7499 88.4997 64.0229 89.4911 62.9213 90.813C61.8198 92.1348 60.2556 93.5008 58.2287 94.9108C56.2459 96.3208 53.6902 97.5325 50.5618 98.5459C47.4334 99.5153 43.688 100 39.3258 100Z" fill="%23FFBF00"/></svg>');
}

.ai-home-card-letter::before {
    content: '';
    background-repeat: no-repeat;
    background-position: top right;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -40px;
    right: -40px;
}

.ai-card-icon-top-right .el-image {
    position: absolute;
    top: 32px;
    right: 32px;
}

.ai-product-card .el-meta {
	margin-top: var(--size-8):
}

@media (min-width: 768px) {
	.ai-product-card {
    	margin-top: var(--size-xxxl) !important;
	}
	.ai-product-card .el-item .uk-grid {
		gap: 80px;
	}
}

@media (max-width: 768px) {
	.ai-home-card-letter-row {
		padding: 0 40px;	
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ai-grid-case-study .el-item {
        max-width: 660px;
    }
    
    .ai-grid-case-study .uk-grid > div:nth-child(even) .el-item {
        margin-left: auto;
    }
}

/* Hero */
@media (max-width: 640px) {
	#home-hero > div {
		background-image: url(/wp-content/uploads/2024/07/home-hero-bg-mobile-scaled.jpg) !important;
		align-items: flex-start;
	}
}

/* Grid */
.ai-team-grid .uk-grid {
    justify-content: center;
}
.ai-team-grid-large .uk-grid > div {
    max-width: 250px;
}
.ai-team-grid-small .uk-grid > div {
    max-width: 220px;
}
.ai-team-grid-large .el-title {
	font-size: 20px;
}
.ai-team-grid-small .el-title {
	font-size: 18px;
}

@media (min-width: 768px) {
	.ai-team-grid-large .uk-grid > div {
		width: 20%;
	}
}

@media (min-width: 641px) and (max-width: 767px) {
	.ai-team-grid-large .uk-grid > div {
		width: 33.33%;
	}
}

@media (max-width: 768px) {
	.ai-team-grid-large .uk-grid > div {
		max-width: 160px;
	}
	.ai-team-grid-small .uk-grid > div {
		max-width: 160px;
	}
	.ai-team-grid .el-image {
		width: 100px;
		height: 100px;
		aspect-ratio: 1 / 1;
		object-fit: contain;
	}
	.ai-team-grid-large .el-title {
		font-size: 18px;
	}
	.ai-team-grid-small .el-title {
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.ai-team-grid .uk-grid > div {
		max-width: 50%;
	}
}

/* Home arrow */
@media (max-width: 1300px) {
	.ai-home-arrow-row .uk-visible\@l {
		display: none;
	}
}
@media (min-width: 769px) and (max-width: 1299px) {
	.ai-home-arrow-row .uk-visible\@m, .ai-home-arrow-row .uk-hidden\@l {
		display: block !important;
	}
}

/* Services List */
.ai-services-list .el-item {
    border-top: 1px solid #5C68A3;
    border-bottom: 1px solid #5C68A3;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    margin-top: -1px;
}

/* Footer */
#footer {
	border-top: 1px solid #0B0B59;
}


/*===============================================*/
/*    Contact Form    */
/*===============================================*/
input.wpcf7-not-valid {
    border: 1px solid #F00;
}
label:has(+ .wpcf7-form-control-wrap > input.wpcf7-not-valid){
	color: #F00;
}
.wpcf7-not-valid-tip {
    font-size: 14px !important;
    /* font-weight: 700 !important; */
    /* padding: 5px 10px; */
    /* background: #ffd2d6; */
    color: #FF0000 !important;
    margin-top: var(--size-xs);
    display: inline-block;
    /* border-radius: var(--size-s);*/
}
.wpcf7-response-output {
    border: none !important;
    color: #151a1c;
    text-align: center;
    font-size: 14px;
    background: #3eef80;
	border-radius: var(--size-s);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    background: #efd53e;
}
.wpcf7 .ajax-loader {
    transform: translateY(15px);
    background-color: #ef404b !important;
    opacity: 1 !important;
}

.wpcf7-radio .wpcf7-list-item {min-width: 70px;}

input[type="radio"][disabled] + span {
    opacity: .4;
}

.uk-label {
    white-space: inherit;
}

.gi-acceptance {
  	font-size: 14px;
}
.ai-acceptance label {
	display: flex;
	text-align: left;
	align-items: center;
}
.ai-acceptance label input {
    width: 100%;
    max-width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 0;
    margin-left: -14px;
	flex: 1 0 18px;
}
.ai-acceptance label span {
    flex: 1 0 max-content;
}

/* Misc */
.grecaptcha-badge {
    display: none !important;
}