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

html, body {
	overflow-x: hidden !important;
}
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: min(600px, 90vw);
    padding: 30px;
    
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(1.5px);
    border-radius: 12px;
    z-index: 99999;

    display: none;
}

#popup .close-popup {
	position: absolute;
	top: -40px;
	right: -40px;
	cursor: pointer;
	background: #ab7dfc;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	color: #000;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 23px;
	line-height: 1em;
}
#popup .close-popup:hover {
	background: #000;
	color: #fff;
}
#popup-overlay {
    position: fixed;
    inset: 0;
    
    background: rgba(0,0,0,.5);
    z-index: 99998;

    display: none;
}
.hfe-menu-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: transparent;
}

.hfe-menu-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #111;
  border-radius: 50px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.hfe-menu-item .txt-original,
.hfe-menu-item .txt-clone {
  position: relative;
  z-index: 1;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: #111;
}

.hfe-menu-item .txt-clone {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  top: 100%;
  padding: 5px 0;
  color: #fff;
}

.hfe-menu-item:hover::before      { transform: translateY(0%); background: #333 !important; }
.hfe-menu-item:hover .txt-original { transform: translateY(-100%); }
.hfe-menu-item:hover .txt-clone    { transform: translateY(-100%); }
.square {
    width: 300px;
    height: 300px;
    background: transparent;
    box-sizing: border-box;
	border: 1px solid #333;
  animation: float 5s ease-in-out infinite;
}
.circle {
  animation: pulse 4s ease-in-out infinite;
}
#masthead .hfe-menu-item:focus::before,
#masthead .hfe-menu-item {
  background: #f4eeff;
  padding: 6px 20px !important;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(0.98); }
}

/* Base (optional safety) */
[class*="anim-"] {
  will-change: transform, opacity, filter;
}

/* Fade Up */
body:not(.elementor-editor-active) .anim-fade-up {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
body:not(.elementor-editor-active) .in-viewport .anim-fade-up {
  transform: translateY(0);
  opacity: 1;
}

.slika {
  position: relative;
}

#page .slika::before {
  position: absolute;
  pointer-events: none;
	height: 100%;
	width: 100%;
	border: 1px solid #ab7dfc;
	content: '' !important;
	display: flex !important;
	visibility: visible; !important;
	opacity: 0.5;
}
#slika1::before {
	transform: rotate(2deg);
}
#slika2::before {
	transform: rotate(-4deg);
}
#slika3::before {
	transform: rotate(3deg);
}
#slika4::before {
	transform: rotate(-2deg);
}
.circle {
	height: 500px;
	width: 500px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid #ab7dfc;
	display: flex;
	position: absolute;
	top: -30%;
	right: 50%;
	opacity: 0.2;
}

#oblici {
	pointer-events: none;
}
.dugme {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  border: none;
  cursor: pointer;
  height: 56px;
}

.krug {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background: #ab7dfc;
  transform-origin: left center;
  z-index: 0;
  transition:
    width 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.dugme span {
  position: relative;
  z-index: 1;
  padding-left: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dugme:hover .krug {
  width: calc(100% + 26px);
}

.dugme:hover span { color: #fff; }


/* Fade In */
.anim-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.in-viewport .anim-fade-in {
  opacity: 1;
}

/* Slide Left */
.anim-slide-left {
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.in-viewport .anim-slide-left {
  transform: translateX(0);
  opacity: 1;
}

/* Slide Right */
.anim-slide-right {
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.in-viewport .anim-slide-right {
  transform: translateX(0);
  opacity: 1;
}

/*Slide out*/
.anim-slide-out-up {
  transform: translateY(0px);
  opacity: 1;
  transition: all 1s;
}
#maska {
	background: #ab7dfc;
	height: 100%;
	width: 100%;
	padding: 0;
 transition: all 1s;
}
.in-viewport #maska {
	transform: translateY(-100%);
}
.in-viewport .anim-slide-out-up {
  transform: translateY(-100%);
}
#maska-wrapper {
  height: 100%;
}
.slika-dugme,
#mail-animacija {
		transition: all 0.5s;
	cursor: pointer;
}
#play-dugme-wrap {
  transform: translateY(-50%);
	transition: all 0.5s;
}
.slika-dugme:hover,
#mail-animacija:hover {
		transform: scale(1.1);
}
#play-dugme-wrap:hover {
	transform: translateY(-50%) scale(1.2);
}
/* Scale In */
.anim-scale-in {
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.in-viewport .anim-scale-in {
  transform: scale(1);
  opacity: 1;
}


/* Blur In */

.anim-blur-in {
  filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: filter 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
}
.in-viewport .anim-blur-in {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

/* Rotate In */
.anim-rotate-in {
  transform: rotate(-3deg) scale(0.95);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.in-viewport .anim-rotate-in {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

/* Stagger children */
.anim-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.in-viewport .anim-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.in-viewport .anim-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.in-viewport .anim-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.in-viewport .anim-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.in-viewport .anim-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.in-viewport .anim-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.in-viewport .anim-stagger > *:nth-child(6) { transition-delay: 0.3s; }

#primary.single-post-template {
  max-width: 900px;
  margin: 0 auto;
  padding: 160px 0px 40px 0px;
}
#primary.single-post-template .entry-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #0b5a97;
  padding-top: 20px;
}
#primary.single-post-template .post-navigation a,
#primary.single-post-template .post-meta a,
#primary.single-post-template .entry-content a {
  color: #0b5a97; 
	text-decoration: underline;
}
#primary.single-post-template .wp-block-button__link.wp-element-button {
  color: #fff !important;
  background: #0b5a97;
  margin-top: 10px;
}
#primary.single-post-template .post-navigation a:hover,
#primary.single-post-template .post-meta a:hover,
#primary.single-post-template .entry-content a:hover {
  color: #333; 
	text-decoration: underline;
}
#primary.single-post-template .wp-element-caption {
  background: #f9f9f9;
  padding: 20px;
  margin: 0;
  font-size: 13px;
  text-align: left;
}
#primary.single-post-template .wp-block-heading {
  margin-top: 40px;
	font-weight: 600;
}
#primary.single-post-template  .wp-block-image.size-large {
	margin: 30px 0;
}
#primary.single-post-template .post-meta {
  font-size: 14px;
  margin-bottom: 20px;
  color: #777;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
#primary.single-post-template .post-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	margin-bottom: 30px;
}

#primary.single-post-template .entry-content {
	font-size: 18px;
	line-height: 1.8;
}

#primary.single-post-template .post-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}
.pic {
  position: relative;
}
.pic::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  height: 100%;
  width: 100%;
  border: 2px solid #151616;
  transform: rotate(3deg);
  border-radius: 20px;
  box-shadow: 0 0 10px -5px rgba(0,0,0,0.3);
}
.page-id-2430 .gfield_required {
  display: none;
}
#gform_fields_3 {
	padding: 40px;
	background: #ffffffbf;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow: 0 0 50px 0 rgba(0,0,0,0.2);
}
.services-row .e-con.e-child {
  position: relative;
  overflow: hidden;
}
.gform-field-label.gform-field-label--type-sub {
  display: none !important;
}
#input_3_2 {
  width: 100% !important;
}
#gform_submit_button_3 {
  width: 100%;
  padding: 20px !important;
  font-size: 24px;
  font-weight: 600;
}
#input_3_3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 3%;
}
#input_3_3 > diva {
  width: 48%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.services-row .e-con.e-child::after {
  content: 'Read more';
  position: absolute;
  inset: 0;
  background-color: #f9fcfe;
  color: #024166;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
	border-radius: 20px;
  transition: all 0.3s;
  pointer-events: none;
}

.services-row .e-con.e-child:hover::after {
  opacity: 1;
  transform: scale(1);
	border-radius: 20px;
}
.hiw {
  border: 1px solid;
  border-image: linear-gradient(130deg, #0064A1 0%, #44B9FF 100%);
  border-image-slice: 1;
}
li:not(.get-started) .hfe-menu-item {
  background: transparent;
	transition: all 0.3s;
  border-radius: 50px;
  padding: 4px 12px !important;
}
li:not(.get-started):hover .hfe-menu-item {
  background: #f2f8fb !important;
}
.hfe-nav-menu {
  align-items: center;
}
.gfield_label {
  font-weight: 600 !important;
  font-size: 18px !important;
}
.gform-theme--framework .gf_progressbar .percentbar_blue {
	background: #036FB0;
}
.contact-info a {
	text-decoration: none;
}
#round .elementor-button {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  line-height: 1.3em;
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.5);
}
.blue p {
   background: linear-gradient(130deg, #024166 0%, #2B92D0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}
.blur-btn {
	backdrop-filter: blur(5px);
}
  .icon {
    position: relative;
    width: 60px;
    height: 60px;
  }

  /* center core */
  .core {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px #fff;
    animation: corePulse 6s ease-in-out forwards;
  }

  /* orbit ring */
  .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    animation: rotateRing 6s ease-in-out infinite;
  }

  /* orbit dot */
  .dot {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px #fff;
  }

  /* animations */
  @keyframes rotateRing {
    0%   { transform: rotate(0deg) scale(0.6); opacity: 0; }
    20%  { opacity: 1; }
    50%  { transform: rotate(540deg) scale(1); }
    80%  { transform: rotate(900deg) scale(1.1); }
    100% { transform: rotate(1080deg) scale(0.8); opacity: 0; }
  }

  @keyframes corePulse {
    0%   { transform: scale(0.5); opacity: 0; }
    25%  { transform: scale(1.2); }
    50%  { transform: scale(1); }
    75%  { transform: scale(1.4); }
    100% { transform: scale(0.6); opacity: 0; }
  }
#real span {
	color: #036FB0;
}
#hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0%;
  pointer-events: none;
  background: radial-gradient(47.24% 30.73% at -9.71% 43.51%, rgba(3, 111, 176, 0.11) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(61.29% 39.87% at 100% 18.75%, rgba(3, 111, 176, 0.1) 0.88%, rgba(255, 255, 255, 0.20) 100%), #FFF;
  height: 100%;
  width: 100%;
}

.gform-page-footer.gform_page_footer.top_label {
  display: flex;
  justify-content: space-between;
}
.gform_previous_button,
.gform_next_button,
#content .gform_button {
	border-radius: 50px !important;
}

.gform_previous_button,
.gform_next_button {
  padding: 12px 30px !important;
}

.gfield--type-html {
  margin-bottom: -20px;
  margin-top: 30px;
}
.gfield--type-html p {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 0;
	color: #036FB0;
}

.get-started a,
.gform_next_button,
#content .gform_button,
.btn .elementor-button {
  background: linear-gradient(
    135deg,
    #227f43,
    #6dac1b,
    #227f43
  );
  background-size: 200% 200%;
  background-position: 100% 50%;

  color: white;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-position 0.4s ease;
}
.get-started a {
  border-radius: 50px;
  color: #fff !important;
	margin-left: 5px;
}
.get-started a:hover,
.gform_next_button:hover,
#content .gform_button:hover,
.btn .elementor-button:hover {
  background-position: 0% 50%;
}

#hero-img .elementor-widget-container  {
  mask-image: url(https://howtobeatloneliness.com/wp-content/uploads/2026/03/grace-zenith-header-path-image.png);
  mask-size: contain;
mask-repeat: no-repeat;
mask-position: center;
  -webkit-mask-image: url(https://howtobeatloneliness.com/wp-content/uploads/2026/03/grace-zenith-header-path-image.png);
  -webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

@media all and  (max-width: 980px) {
	.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown {
  position: fixed !important;
  left: 0 !important;
  top: 140px;
}
.hfe-nav-menu {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding-left: 10px !important;
}
	
	.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown.menu-is-active {
	  background: #ffffff61  !important;
	  backdrop-filter: blur(20px);
	}
	#masthead .get-started a {
  background: #3b8e36 !important;
  width: fit-content;
}
	.menu-item a::after {
		left: 20px !important;
		transform: none !important;
	}
	.menu-item {
	  background: transparent !important;
		border: none !important;
	}
		.menu-item a {
	  background: transparent !important;
	}
.hfe-nav-menu-icon svg {
    font-size: 32px;
    line-height: 32px;
    height: 32px;
    width: 32px;
  }
	.hfe-nav-menu__toggle.elementor-clickable {
	  margin-right: 0 !important;
	}
}

@media all and (max-width: 480px) {
	#page .why-c .checkmark {
	  display: flex;
	  flex-direction: row !important;
	}
	.why-text {
	  padding-left: 30px;
	}
	.checkmark {
	  position: absolute;
	}
	#hero-text strong:last-child {
		display: inline-table;
	}
}