/* 
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,body {
	overflow-x: hidden;
}
/* Style for the About Us Section Bulbs */
.custom-bulbs-container {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    height: 180px;
}

/* Style for each bulb */
.custom-bulb {
    width: 70px;
    height: 120px;
    background: url(/wp-content/uploads/2024/11/about-bulb.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;
    cursor: pointer;
    transition: background-color 0.3s;
	text-indent: 9999px;
	/*opacity: 0;
	transform: translateY(-50px); 
	transition: opacity 1s ease, transform 1s ease;*/
}

/* Delays for each image */
/*.in-view .custom-bulb:nth-child(1) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0s;
}

.in-view .custom-bulb:nth-child(2) {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.5s;
}

.in-view .custom-bulb:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}
*/
/* Active state for the bulb */
.custom-bulb:hover,
.custom-bulb.active {
    height: 160px;
    background-image: url(/wp-content/uploads/2024/11/about-bulb-lit-1.png);
	
}


.services-tabs .eael-accordion-list {
	position: relative;
}
.services-tabs .eael-accordion-list:has(.active):before {
	content: "";
	width: 10px;
	background: var( --e-global-color-primary );
	height: calc(100% - 20px);
	position: absolute;
	left:-20px;
	top:0;
}


/*Project Grid*/
/* Initially hide the popup and set it as a fixed overlay */
.project-item {
	cursor: pointer;
}
.popup-content {
    display: none; /* Hide by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    max-width: 100%;
    height: 100%;
    z-index: 99999; /* Make sure it overlays other content */
    text-align: center;
	transition: all 0.5 ease;
}
.popup-overlay {
	width: 100%; 
    max-width: 100%;
    height: 100%;
}
.popup-contents {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    max-width: 960px;
    aspect-ratio: 3 / 2;
	z-index: 1000; 
    text-align: center;
	display: flex;
	justify-content: center;
}

/* Show the fixed popup on hover */
.project-item .popup-content.active {
    display: flex; 
    justify-content: center;
    align-items: center; 
	cursor: default;
}

.close-popup-content {
	cursor: pointer;
}
@media (max-width: 767px) {
	.custom-bulb {
		width: 40px;
	} 
}
