/**
 * Theme Name:     Curiefy Child
 * Author:         Curiefy
 * Template:       hello-elementor
 * Text Domain:	   curiefy-child
 * Description:    Curiefy custom child theme based on Hello Elementor.
 * Theme URI:      https://curiefy.com/
 * Author URI:     https://curiefy.com/
 * Version:        1
 */

.btn-primary {
    display: flex;
    gap: 10px;
    background-color: var( --e-global-color-primary );
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #000000;
    border-radius: 50px 50px 50px 50px;
    padding: 14px 32px 14px 32px;
    margin-top: 10px;
    transition: all .3s;
}
.btn-primary svg {
    transition: right .3s ease;
    position: relative;
    right: 0px;
}
.btn-primary:hover svg {
    right: -5px;
}
.btn-primary:hover {
    background-color: #000000;
    color: #FFFFFF;
}
.btn-primary:hover path {
    fill: #fff;
}



.btn-arrow .elementor-button svg path{
	transition: color .3s ease;
}
.btn-arrow .elementor-button:hover svg path{
	fill: #ffffff;
}

.btn-arrow .elementor-button svg{
	transition: right .3s ease;
	position: relative;
	right:0px;
}
.btn-arrow .elementor-button:hover svg {
	right: -5px;
}
.inline-video .elementor-open-lightbox{
	--video-aspect-ratio: 3 !important;
}
h2.elementor-heading-title span {
	color: var(--e-global-color-primary);
}


/*Service*/
.our-services-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    width: 100%;
    padding: 20px;
    border-radius: 25px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.service-card:hover {
    border-color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-10px);
}
.service-card h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--e-global-color-5e9d81f);
}
.service-card h3 a {
    color: var(--e-global-color-5e9d81f);
}

.service-icon img {
    width: 40px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.read-more {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--e-global-color-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    position: relative;
    transition: background .3s ease;
}
.service-card:hover .read-more {
	background: #000;
	
}
.service-card:hover .read-more .long-arrow-right{
    border-color: #fff;
}
.service-card:hover .read-more .long-arrow-right::before {
    background: #fff;
}
.long-arrow-right{
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid #000;
	border-left: 2px solid #000;
	transform: rotate(135deg);
	position: absolute;
    top: 20px;
    left: 23px;
}
.long-arrow-right::before{
      content: "";
    display: block;
    width: 2px;
    height: 19px;
    background-color: black;
    transform: rotate(-45deg) translate(6px, 2px);
    left: 0;

}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.service-icon img {
    width: 40px;
    height: auto;
    margin-bottom: 0;
}

.arrow-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #ffc107;
    color: black;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
}

.service-card:nth-child(4n+1) {
    background-color:var(--e-global-color-2d4843a); 
}
.service-card:nth-child(4n+2) {
    background-color:var(--e-global-color-aed6f9b); 
}
.service-card:nth-child(4n+3) {
    background-color:var(--e-global-color-2b87875); 
}
.service-card:nth-child(4n+4) {
    background-color: var(--e-global-color-8b5d201); 
}





/* Service listing */
.service-listing-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-item {
    width: 100%;
    padding: 40px 30px 40px 30px;
    border-radius: 25px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 2px solid transparent;
	text-align:center;
}
.service-item:hover {
    border-color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-10px);
}
.service-item h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--e-global-color-5e9d81f);
}
.service-item h3 a {
    color: var(--e-global-color-5e9d81f);
}
.service-content .btn-primary {
	display:inline-block;
}
.service-content{
	padding-top:20px;
}

.service-item:nth-child(4n+1) {
    background-color:var(--e-global-color-2d4843a); 
}
.service-item:nth-child(4n+2) {
    background-color:var(--e-global-color-aed6f9b); 
}
.service-item:nth-child(4n+3) {
    background-color:var(--e-global-color-2b87875); 
}
.service-item:nth-child(4n+4) {
    background-color: var(--e-global-color-8b5d201); 
}



@media(max-width:991px){
    .our-services-wrapper {
        gap: 20px;
    }
    .service-card h3{
        font-size: 18px;
    }
}
@media(max-width:767px){
    .our-services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media (max-width: 575px) {
    .our-services-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}




.mc4wp-form .nl-form {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 543px;
    width: 100%;
    margin: 0 auto;
}
.mc4wp-form .nl-form input[type="email"]{
    height: 60px;
    border-radius: 50px;
    border: 1px solid rgba(204, 204, 204, 0.37);
    background: #FFF;
    padding: 10px 70px 10px 20px;
}
.mc4wp-form .nl-form input[type="email"]:focus{
    outline-color: var(--e-global-color-5e9d81f);
}
.mc4wp-form .nl-form input[type="submit"]{
    overflow: hidden;
    text-indent: -9999px;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 0;
    padding: 0;
    position: absolute;
    right: 8px;
    background-image: url(images/submit-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}
.page-header {
    display: none;
}






/*Projects Listing*/
.projects-wrapper {
    position: relative;
}

.project-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    scroll-margin-top: 120px;
}

.project-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.project-image {
    flex: 1 1 40%;
    max-width: 40%;
    height: 100%;
    position: relative;
}
.project-image svg {
    position: absolute;
    right: -3px;
    top: 50%;
    width: 33px;
    height: 102px;
    margin-top: -52px;
}
.projects-wrapper .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.project-content {
    flex: 1 1 55%;
    padding: 40px 40px 40px 80px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.project-content h3 {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    margin: 0;
    padding-bottom: 20px;
}

.project-content p {
    font-size: 16px;
}

@media(min-width:992px){
    .project-card {
        position: sticky;
        top: 120px;
        z-index: 1;
    }  
}



.project-card:not(:last-child) {
    z-index: auto;
}
.project-card:nth-child(4n+1) {
    background-color:var(--e-global-color-2d4843a);
}
.project-card:nth-child(4n+2) {
    background-color:var(--e-global-color-aed6f9b);
}
.project-card:nth-child(4n+3) {
    background-color:var(--e-global-color-2b87875);
}
.project-card:nth-child(4n+4) {
    background-color: var(--e-global-color-8b5d201);
}



.project-card:nth-child(4n+1) .side-color {
    fill:var(--e-global-color-2d4843a);
}
.project-card:nth-child(4n+2) .side-color {
    fill:var(--e-global-color-aed6f9b);
}
.project-card:nth-child(4n+3) .side-color{
    fill:var(--e-global-color-2b87875);
}
.project-card:nth-child(4n+4) .side-color{
    fill: var(--e-global-color-8b5d201);
}

@media(max-width:991px){
	.nav-bg-mob {
		background:rgba(255,255,255,.7);
	}
}
@media(max-width:767px){
	.service-listing-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}

	
    .project-image{
        max-width: 100%;
        flex: 1 1 100%;
    }
    .project-inner{
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .project-content{
        padding: 40px;
        min-height:auto;
    }
    .project-image svg{
        transform: rotate(90deg);
        bottom: -38px;
        top: auto;
        left: 50%;
        margin-left: -17px;
        margin-top: 0;
        right: auto;
    }
}
@media(max-width:575px){
    .project-content{
        padding: 30px;
    }
}

/* Menu */
.mob-menu-list .elementor-nav-menu li {
    border-width: 0 0 1px 0;
    border-color: #ececec;
    border-style: solid;
	position:relative;
}
.mob-menu-list .elementor-nav-menu > li > a {
	justify-content:space-between;
}
.mob-menu-list .elementor-nav-menu li .sub-arrow {
	position: absolute;
    z-index: 99;
    padding: 20px;
    right: 0;
    top: 0;
    background: #f7f7f7;
}
.mob-menu-list .elementor-nav-menu li .sub-arrow svg {
	pointer-events:none;
}
.mob-menu-list .elementor-nav-menu li .sub-menu {
	position:static;
}
.mob-menu-list .elementor-nav-menu li .sub-menu > li > .menu-item {
	margin-left:0;
}




/*single posts */
.post-categories ul{
	padding:0;
	list-style:none;
}
.post-categories ul li {
	list-style:none;
	padding-bottom:10px;
}
.post-categories ul li a {
	color:#000;
	transition: color .3s;
}

.post-categories ul li:hover a:hover {
	color:var(--e-global-color-primary);
}
body .elementor-posts--thumbnail-top .elementor-post__text {
	display: flex;
}
body .elementor-posts--thumbnail-top .elementor-post__text .elementor-post__title {
	order:1;
}