/* 
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 */

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.dropdown-item:hover{
	background-color: gainsboro !important;
}
.numInput.cur-year{
	padding: 0px !important;
}
.css-1hwfws3{
	flex-wrap: initial !important;
}
.mf-input-select .mf_select__value-container{
	font-size: 14px !important;
}
@media screen and (min-width: 501px) {
  .custom_display {
    display: none !important;
  }
}

@media screen and (max-width: 500px) {
  
  .custom_display {
    display: block !important;
  }
}

.name-boxes{
	background-color: #ECECEC;
}

.name-section > div > section > div {
	gap: 10px;
}

//Custom Popup CSS
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.image-container  {
    height: 180px;
    width: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e3e3e3;
    padding: 0px 30px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

/* 60px h x 30%w */

.image-container img {
    max-height: 100%;
    max-width: 100%;
    cursor: pointer;
}

.image-container:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .image-container {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .image-container {
        width: 100%;
    }
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-container img {
    max-width: 90%;
    max-height: 90%;
}

.elementskit-megamenu-panel{
	top: 80px !important;
    width: 920px !important;
    left: -158px !important;
}
.elementor-size-default{
	margin: 0px !important;
}

#application{
	left: -200px !important;
   width: 920px !important;
}
.mega-menu-icon{
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
}

/* Lead Modal */
.lead-modal { position: fixed; inset: 0; display: none; }
.lead-modal.is-open { display: block; }
.lead-modal__backdrop { position:absolute; inset:0; background:rgba(0,0,0,0.45); }
.lead-modal__content {
  position: relative; z-index: 1; max-width: 420px; margin: 8vh auto; background:#fff; border-radius:12px;
  padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.lead-modal__close { position:absolute; top:8px; right:10px; border:0; background:transparent; font-size:20px; line-height:1; cursor:pointer; padding: 0px 8px !important; }
.lead-modal label { display:block; margin: 12px 0; font-weight:600; }
.lead-modal input { width:100%; padding:10px; margin-top:6px; border:1px solid #ccc; border-radius:8px; font-weight:400; }
.lead-modal button[type="submit"] { margin-top:10px; padding:10px 14px; border:0; border-radius:8px; background:#111827; color:#fff; cursor:pointer; }
.lead-modal .error { color:#b91c1c; font-size:12px; min-height:14px; display:block; }
.lead-modal .form-msg { margin-top:10px; font-size:13px; }

/* Global image popup */
#imagePopup { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.7); justify-content:center; align-items:center; z-index:9999; }
#imagePopup .popup-wrap { position:relative; }
#imagePopup .popup-close {
  position:absolute; top:8px; right:8px; background:#fff; border:0; padding:6px 10px; cursor:pointer; border-radius:24px; color: black;
}
#popupImage { max-width:90vw; max-height:90vh; border-radius:8px; background:#fff; }