/* 
Theme Name: Hello Elementor 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
*/


/*--------------------------------*/
/*---------- Typography ----------*/

.elementor-widget-text-editor a,
.elementor-widget-text-editor a:hover,
.elementor-widget-container p a,
.elementor-widget-container p a:hover {
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  color: unset;
}

/* Link Styles */
.elementor-widget-text-editor .elementor-widget-container a {
	text-decoration: underline;
	transition: all 0.3s ease;
}
.elementor-widget-text-editor .elementor-widget-container a:hover {
	opacity: 0.5;
}
.elementor-element.link-no-underline a {
	text-decoration: none;
}
.elementor-element.link-hover-opacity a {
	transition: all 0.3s ease;
}
.elementor-element.link-hover-opacity a:hover {
	text-decoration: underline;
}
.elementor-element.link-hover-no-opacity a:hover {
	opacity: 1;
}

/*----------------------------*/
/*---------- Header ----------*/
header .elementor-element .elementor-nav-menu--main .elementor-item {
	position: relative;
	padding-left: 0;
	column-gap: 0.4em;
}
header .elementor-element .elementor-nav-menu--main .elementor-item::before {
	content: '';
	position: relative;
	display: inline-block;
	aspect-ratio: 1/2;
	height: 1.1em;
	background: url('/wp-content/uploads/2024/09/beginnings_fund_website_assets-01.svg');
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 1 !important;
}

header .elementor-nav-menu--dropdown ul {
	padding: 20px;
	background-color: var(--e-global-color-1c1b585);
}

/*----------------------------*/
/*---------- Footer ----------*/



/*-------------------------------*/
/*---------- Elementor ----------*/
.e-con.e-child {
	--padding-top: 0;
	--padding-right: 0;
	--padding-bottom: 0;
	--padding-left: 0;
}

.elementor-widget-text-editor p:last-child {
	margin-block-end: 0;
}



/*------------------------------------------*/
/*---------- Gravity Forms Styles ----------*/



/*------------------------------------*/
/*---------- Miscellaneaous ----------*/

/* White Space No Wrap Class */
.no-wrap {
	white-space: nowrap;	
}

/* No Margin */
.no-margin, .no-margin .elementor-widget-container p {
	margin: 0;
}

/* Width Fit Content */
.fit-content {
	width: fit-content;
}

/* DON'T Display on Mobile */
@media (max-width: 767px) {
	.mobile-hide {
		display: none;
	}
}
/* Only Display on Mobile */
@media (min-width: 767.1px) {
	.mobile-only {
		display: none;
	}
}

.orange-text {
	color: var(--e-global-color-primary);
}

/* Half Circles Pseudo */
.half-circles {
	display: flex;
	gap: 10px;
}
.half-circles.gap-20 {
	gap: 20px;
}

.half-circles::before, .half-circles::after {
    content: '';
    display: inline-block;
    aspect-ratio: 1/2;
    height: 100%;
	width: auto;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}
.half-circles.teal::before {
	background: url(/wp-content/uploads/2024/09/beginnings_fund_website_assets-03.svg);
}
.half-circles.teal::after {
	background: url(/wp-content/uploads/2024/09/beginnings_fund_website_assets-04.svg);
}
.half-circles.blue::before {
	background: url(/wp-content/uploads/2024/09/beginnings_fund_website_assets-01.svg);
}
.half-circles.blue::after {
	background: url(/wp-content/uploads/2024/09/beginnings_fund_website_assets-02.svg);
}
.h2.half-circles {
	height: 45px; /* This height enables the half circles pseudo to work */
}
.h2.half-circles .elementor-widget-container {
	display: flex;
	align-items: center;
}
@media (max-width: 1024px) {
	.h2.half-circles {
		height: 40px; /* This height enables the half circles pseudo to work */
	}
}
@media (max-width: 767px) {
	.half-circles:not(.h2) {
		display: block !important;
		height: auto !important;
	}
	.half-circles.half-circles-hide-mobile::before, .half-circles.half-circles-hide-mobile::after{
		display: none;
	}
	.h2.half-circles {
		height: 38.49px !important; /* This height enables the half circles pseudo to work */
	}
	.h2.funders h2 {
		font-size: clamp(0.75rem, -1.047rem + 11.5vw, 2.188rem)
	}
}


/*------------------------------------------*/
/*---------- Page Specific Styles ----------*/

/* About Section */
.about-text {
	height: 150px; /* This height enables the half circles pseudo to work */
	align-items: center;
}
.about-text .elementor-widget-container {
	height: fit-content !important;
}
@media (max-width: 1024px) {
	.about-text {
		height: 172px;
	}
}

/* The Challenge Section */
.stat-inner img {
	height:30px;
}
.stat-inner img.left {
	margin-left: -1.5em;
	margin-bottom: -.3em;
	padding-right: .3em;
}
.stat-inner img.right {
	margin-bottom: -.3em;
	padding-left: 0.5em;
}
.stat-inner h4 {
	display: inline;
	color: var(--e-global-color-1c1b585);
	line-height: 1.3em;
}


/* The Solution Section */
@media (max-width: 1330px) and (min-width: 1170px) {
	.card-container {
		padding-right: 115px;
	}
}
@media (max-width: 1170px) and (min-width: 1025px) {
	.solution-image-container .image-inner img {
		max-width: clamp(380px, calc(100vw * 0.23 + 352px), 575px) !important;

	}
	.card-container {
		padding-right: 130px;
	}
}
@media (max-width: 1024px) and (min-width: 768px) {
	.solution-image-container .image-inner img {
		max-width: clamp(380px, calc(100vw * 0.23 + 352px), 575px) !important;
	}
	.card-container {
		padding-right: 130px;
	}
}
@media (max-width: 767px) {
	.mobile-standard-width {
		margin: 0 auto;
		max-width: 600px;
	}
}

/* Impact Section */
.circle-container {
	max-width: 1125px;
}
.circle-container .circle {
	aspect-ratio: 1;
}

/* Contact Section */
/* .contact-box a {
	display: block;
} */
@media (min-width: 768px) {
	.contact-box {
		height: 110px; /* This height enables the half circles pseudo to work */
	}
}
@media (max-width: 767px) {
	.contact-box a.email-link {
		word-wrap: break-word;
		font-size: clamp(14px, 7.584px + 2.141vw, 24px);
	}
}
/* Team Section */
.team-container .jet-listing-grid__items:has(> *:nth-child(5)) {
	justify-content: center;
}
.team-container .team-member .elementor-widget-image {
	width: 100%;
}
.team-container .team-member img {
	aspect-ratio: 1;
	object-fit: cover;
}



/* Parallax Background Section */
.parallax-bg {
	background-attachment: fixed; /* This creates the parallax effect */
	background-position: center center; /* Centers the background image */
	background-repeat: no-repeat; /* Prevents the image from repeating */
	background-size: cover; /* Ensures the image covers the entire section */
	position: relative; /* Ensure the section positions correctly */
	z-index: 1; /* Keeps it above other elements if needed */
  }
  
  .parallax-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	z-index: -1; /* Ensures the background stays behind content */
  }