/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html {scroll-behavior:smooth}

/* Elementor Overwrite CSS */
p:last-child,
ol:last-child,
ul:last-child {
	margin-bottom:0 !important;
}
.elementor-icon-wrapper {
	display:flex;
}
a.elementor-button {
	span.elementor-button-icon svg {
		width:1.4em;
		transition:all ease-in-out 0.2s;
	}
	&:hover {
		span.elementor-button-icon svg {
			transform:rotate(45deg);
		}
	}
}
.elementor-button-icon svg[fill="none"] {
	fill:none !important;
}

/* Common Classes */

@keyframes bgZoomInOut {
  50% {transform:scale(1.2)}
}
.bgZoomInOut {
	overflow:hidden;
	border-radius:20px;
	@media (max-width:1024px) {border-radius:16px;}
	@media (max-width:600px) {border-radius:12px;}
	img {animation:bgZoomInOut 30s linear infinite}
}
.text-primary{color:var(--e-global-color-primary)}
.text-secondary{color:var(--e-global-color-secondary)}
.ma_backdrop_blur {backdrop-filter:blur(8px)}
.ma_opacity_50 {opacity:0.5}

.ma_btn_prm a.elementor-button:hover {
	.elementor-button-icon svg path {fill:var(--e-global-color-primary)}
}

@keyframes infiniterotate-prime {
	100%{transform: rotate(360deg)}
}
.ma_cta_circle {
	animation:infiniterotate-prime 20s infinite linear;
	&:hover {animation-play-state:paused}
}

.ma_blog_content {
	:where(h2, h3, h4, h5, h6) {
		&:first-child {margin-top:0}
		&:not(:first-child) {margin:20px 0 10px 0}
	}
	h2 {font-size:28px}
	h3 {font-size:22px}
	h4 {font-size:18px}
	h5 {font-size:16px}
	h6 {font-size:14px}
	
	@media (max-width:600px) {
		h2 {font-size:20px}
		h3 {font-size:18px}
		h4 {font-size:16px}
		h5 {font-size:15px}
		h6 {font-size:13px}
	}
}

/* Header */
header.elementor-location-header {
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:999;
	
	.ma_header_wrap {
		background: linear-gradient(0deg,rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.5) 100%);
		transition:all ease-in-out 0.2s;
		> .e-con-inner {
			transition:all ease-in-out 0.2s;
		}
	}
	
	&:not(.header_sticky) {
		.ma_header_wrap {
			
			> .e-con-inner {
				padding-top:24px;
				padding-bottom:24px;
			}
		}
	}
	
	&.header_sticky {
		.ma_header_wrap {
			background-color:rgba(32,41,55,0.75);
			backdrop-filter:blur(6px);
		}
	}
}

.ma_hero_title_a.elementor-widget-heading {
	background: -webkit-linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.30), rgba(255,255,255,0.08), rgba(255,255,255,0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	position:absolute;
	top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
	@media (max-width:1440px) {
		transform: translate(-50%, -40%);
	}
	@media (max-width:600px) {
		transform: translate(-50%, -25%);
	}
}

.ma_title_tiny .elementor-heading-title {
	border:1px solid;
	padding:3px 16px 3px 12px;
	border-radius:20px;
	display:flex;
	align-items:center;
	gap:4px;
	@media (max-width:600px) {
		padding:1px 12px 1px 8px;
	}
	
	&:before {
		content:"●";
		color:var(--e-global-color-secondary);
	}
}

/* Mobile Menu */
header.elementor-location-header .ma_mobile_menu.elementor-widget-nav-menu {
	nav.elementor-nav-menu--dropdown {
		width:360px !important;
		height:100vh !important;
		max-height:100vh !important;
		min-height:100vh !important;
		transform:scale(1) !important;
		position:fixed;
		top:0 !important;
		left:0 !important;
		bottom:0 !important;
		right:auto !important;
		margin:0 !important;
		@media (max-width:600px) {
			width:300px !important;
		}
		
		&:not([aria-hidden="false"]) {
			transform:scale(1) translatex(-100%) !important;
		}
		
		ul.elementor-nav-menu {
			a.has-submenu {
				display:flex;
				justify-content:space-between;
				
				&.highlighted {
					background-color:rgba(255,255,255,0.75) !important;
				}
			}
			
			ul ul a {
				background-color:rgba(255,255,255,0.75) !important;
			}
			
			a:not(.has-submenu) {
				background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23B5B5B5' viewBox='0 0 256 256'%3E%3Cpath d='M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z'%3E%3C/path%3E%3C/svg%3E");
				background-repeat:no-repeat;
				background-position:calc(100% - 16px) 50%;
			}
		}
	}
}

.ma_design_item_carousel {
	@media (min-width:600px) {
		.swiper-pagination {
			left:0;
			transform:translate(0, -50%);
		}
	}
	@media (max-width:600px) {
		.elementor-swiper-button {
			display:none !important;
		}
	}
}