/*
Theme Name: Hello Biz Child Theme
Template: hello-biz
Theme URI: https://www.amrsoftec.com
Author: the AMR Softec team
Author URI: https://www.amrsoftec.com
Description: Hello Biz Child Theme Developed By AMR Softec Team.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-biz
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
:root {
	--primary-orange: #f2a93b;
}
body.mobile-menu-open {
	overflow: hidden;
}
.header.elementor-sticky--active {
	backdrop-filter: blur(24px);
	background: #00000070 !important;
}

.header .e-con-inner {
	transition: all 0.3s ease;
}

.header.elementor-sticky--active>.e-con-inner {
	padding-top: 16px;
	padding-bottom: 16px;
}

.elementor-element.mobile-menu {
	height: calc(100vh - 46px);
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 0;
}

.mobile-menu .mobile-menu-container {
	flex-grow: 1;
	padding: 20px 15px;
}

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

.mobile-menu .menu-item>a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background: #ffffff;
	margin-top: 0;
	text-decoration: none;
	color: #2d3436;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.3px;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: transform 0.2s ease;
	margin-bottom: 4px;
}

.mobile-menu .menu-item.menu-item-has-children>a {
	border-radius: 10px 10px 0 0;
	margin-bottom: 2px;
}

.mobile-menu .menu-item:not(.menu-item-has-children)>a {
	border-radius: 10px;
}

.mobile-menu .menu-item>a:active {
	transform: scale(0.98);
}

.mobile-menu .menu-item>a::after {
	content: '';
	width: 16px;
	height: 16px;
	padding: 6px;
	border-radius: 50%;
	background-color: #f0f2f5;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2300a7b5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px;

	transition: 0.2s;
}

.mobile-menu .menu-item>a:hover::after {
	background-color: #00a7b5;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.mobile-menu .sub-menu {
	display: block !important;
	background: #fff;
	margin-bottom: 4px;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.03);
	overflow: hidden;
}

.mobile-menu .sub-menu li a {
	display: flex;
	align-items: center;
	padding: 7px 20px;
	text-decoration: none;
	color: #636e72;
	font-size: 15px;
	font-weight: 500;
	transition: 0.2s;
	justify-content: flex-start;
	box-shadow: none;
	margin-bottom:0;
	border-radius: 0 !important;
}
.mobile-menu .sub-menu li+li a {
	border-top: solid 1px #f2f2f2;
}

.mobile-menu .sub-menu li a::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #dfe6e9;
	margin-right: 12px;
	transition: 0.2s;
}
.mobile-menu .sub-menu li a:hover {
	color: #00a7b5;
	background-color: #fcfcfc;
}

.mobile-menu .sub-menu li a:hover::before {
	background: #00a7b5;
	transform: scale(1.2);
}

.mobile-menu .sub-menu li a::after {
	display: none;
}


.slider-container {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
/* Individual Slides */
.item {
	width: 200px;
	height: 300px;
	list-style: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.5);
	transition: 0.5s;
}

/* Positioning Logic (The Secret Sauce) */
/* The first two items are the background */
.item:nth-child(1),
.item:nth-child(2) {
	top: 0;
	left: 0;
	transform: translateY(0);
	border-radius: 0;
	width: 100%;
	height: 100%;
	box-shadow: none;
	cursor: default;
}

/* The thumbnail track starting from 3rd item */
.item:nth-child(n+3) { cursor: pointer; }
.item:nth-child(3) { left: 50%; }
.item:nth-child(4) { left: calc(50% + 220px); }
.item:nth-child(5) { left: calc(50% + 440px); }
.item:nth-child(n+6) { left: calc(50% + 660px); opacity: 0; }

/* Content inside items */
.content {
	position: absolute;
	top: 50%;
	left: 100px;
	width: 700px;
	text-align: left;
	color: #eee;
	transform: translateY(-50%);
	display: none;
	z-index: 10;
}

.item:nth-child(2) .content {
	display: block;
}

.content .name {
	font-family: 'Oswald', sans-serif;
	font-size: 60px;
	max-width: auto;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1;
	opacity: 0;
	animation: showcontent 1s ease-in-out 1 forwards;
}

.content .des {
	margin: 20px 0;
	opacity: 0;
	animation: showcontent 1s ease-in-out 0.3s 1 forwards;
}

.content .hero-btn {
	padding: 10px 25px;
	border: 1px solid rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.1);
	backdrop-filter: blur(5px);
	border-radius: 30px;
	cursor: pointer;
	opacity: 0;
	animation: showcontent 1s ease-in-out 0.6s 1 forwards;
	transition: 0.3s;
	text-transform: uppercase;
	font-size: 16px;
	color: #fff;
}

.content .hero-btn:hover {
	background: #50BF9F;
	color: #fff;
	border-color: #50BF9F;
}


@keyframes showcontent {
	from {
		opacity: 0;
		transform: translateY(100px);
		filter: blur(33px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}
}

/* Navigation Buttons */
.buttons {
	position: absolute;
	bottom: 50px;
	left: 100px;
	z-index: 30;
	display: flex;
	gap: 20px;
}

.nav-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.1);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.3s;
}

.nav-btn:hover {
	background: white;
	color: black;
}

/* Overlay to darken background */

.overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%);
	z-index: 2;
	pointer-events: none;
	opacity:0;
}
.item.active .overlay {
	opacity:1;
}

@media (max-width: 1480px) {
	.content .name {
		font-size: 42px;
	}
	.content {
		max-width: 540px;
		left:80px;
	}
	.buttons{
		left:80px;
	}
}
@media (max-width: 1200px) {
	.content .name {
		font-size: 36px;
	}
	.content {
		max-width: 500px;
		left:30px;
	}
	.buttons{
		left:30px;
	}
}

@media (max-width: 768px) {
	.content .name {
		font-size: 30px;
	}
	.content {
		max-width: 280px;
		left:30px;
	}
	.buttons{
		left:30px;
	} 
}

@media (max-width: 480px) {
	.content .name {
		font-size: 30px;
	}
	.content {	
		max-width: 90%;
		left:20px;
			
	}
	.buttons{
		left:20px;
	}
	 
	#slide{
        display:block;
        height:100vh;
    }

    /* remove card layout */
    #slide .item{
        position:absolute;
        top:0;
        left:0 !important;
        width:100%;
        height:100%;
        border-radius:0;
        transform:none !important;
    }

    /* hide preview cards */
    #slide .item:nth-child(3),
    #slide .item:nth-child(4),
    #slide .item:nth-child(5),
    #slide .item:nth-child(n+6){
        display:none;
    }
	
}
