/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6 {
  color: inherit;
}
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: #22C55E;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

/* [data-header*="type-1"] .ct-header [data-row*="middle"]
{
	 --row-border-radius: 0 0 36px 36px !important;
} */
/* ΜΟΝΟ στο sticky header */
[data-sticky*="yes"] [data-row="middle:boxed"] {
    --row-border-radius: 0 0 36px 36px !important;
}

/* Universal Elementor SVG centering */
.elementor-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.elementor-icon svg {
    display: block;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #DDE1EA;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease;
  box-shadow: 0 2px  8px  rgba(26, 32, 53, 0.06), 0 1px  3px  rgba(26, 32, 53, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card h4 {margin-bottom:10px;} 

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d8a99, rgba(29, 138, 153, 0.15));
  border-radius: 14px 14px 0 0;
  opacity: 0.28;
  transition: opacity 0.30s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px  16px rgba(26, 32, 53, 0.07);
  border-color: rgba(29, 138, 153, 0.45);
}

.service-card:hover::after {
  opacity: 1;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 42px;
/*     left: calc(12.5% + 16px);
    right: calc(12.5% + 16px); */
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #1d8a99 15%, #1D8A99 85%, transparent 100%);
    opacity: 0.25;
    pointer-events: none;
}

.process-step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}

.step-number-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #DDEAEE;
  border: 2px solid rgba(29, 138, 153, 0.20);
  margin: 0 auto 1.5rem;
  transition: border-color 0.20 ease, box-shadow 0.20 ease, background-color 0.20 ease;
  position: relative;
  z-index: 1;
}

.process-step:hover .step-number-wrap {
  border-color: #1D8A99;
  box-shadow: 0 0 0 6px rgba(29, 138, 153, 0.10);
  background: #1D8A99;
}

.step-number {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #1d8a99;
  transition: color rgba(29, 138, 153, 0.10);
}

.process-step:hover .step-number {
  color: #fff;
}

.persona-card {
  background: #ffffff;
  border: 1px solid #DDE1EA;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04);
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease;
  position: relative;
  overflow: hidden;
}

.persona-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFB822, rgba(255, 184, 34, 0.15));
  border-radius: 14px 14px 0 0;
  opacity: 0.45;
  transition: opacity 0.30s ease;
}

.persona-card:hover::before {
  opacity: 1;
}

.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px 16px rgba(26, 32, 53, 0.07);
  border-color: #1d8a99;
}

.persona-icon {
  width: 52px;
  height: 52px;
  background: rgba(29, 138, 153, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D8A99;
  margin-bottom: 1.25rem;
  transition: background-color 0.20s ease, color 0.20s ease;
}

.persona-card:hover .persona-icon {
  background: #1D8A99;
  color: #fff;
}

.persona-card:hover .elementor-icon svg {
	color: #fff;
	}

.about-quote {
    background: #ffffff;
    border: 1px solid #DDE1EA !important;
    border-left: 4px solid #FFB822 !important;
    border-radius: 0 14px 14px 0;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04);
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #DDE1EA;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04);
  text-align: center;
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D8A99, #FFB822);
  opacity: 0;
  transition: opacity 0.20s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px 16px rgba(26, 32, 53, 0.07);
  border-color: rgba(29, 138, 153, 0.30);
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: rgba(29, 138, 153, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D8A99;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  font-family: 1.25rem;
  font-weight: 800;
  transition: background-color 0.20s ease, color 0.20s ease;
}

.pillar-card:hover .pillar-icon {
  background: #1D8A99;
  color: #fff;
}

.feature-card {
  background: #fff;
  border: 1px solid #DDE1EA;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04);
  transition:
    transform 0.20s ease,
    box-shadow 0.20s ease,
    border-color 0.20s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D8A99, #FFB822);
  opacity: 0;
  transition: opacity 0.20s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px 16px rgba(26, 32, 53, 0.07);
  border-color: rgba(29, 138, 153, 0.30);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(29, 138, 153, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D8A99;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background-color 0.20s ease, color 0.20s ease;
}

.feature-card:hover .feature-card-icon {
  background: #1D8A99;
  color: #fff;
}

.feature-card:hover .elementor-icon svg {
    color: #fff;
}

.gain-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid #DDE1EA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04);
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease;
}

.gain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px 16px rgba(26, 32, 53, 0.07);
  border-color: #1D8A99;
}

.gain-icon {
  width: 52px;
  height: 52px;
  background: rgba(29, 138, 153, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D8A99;
  margin: 0 auto 1rem;
  transition: background-color 0.20s ease, color 0.20s ease;
}

.gain-card:hover .gain-icon {
  background: #1D8A99;
  color: #fff;
}

.gain-card:hover .elementor-icon svg {
    color: #fff;
}

.related-service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #DDE1EA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26, 32, 53, 0.06), 0 1px 3px rgba(26, 32, 53, 0.04) !important;
  transition: border-color 0.20s ease, transform 0.20s ease, box-shadow 0.20s ease;
  text-decoration: none;
}

.related-service-card:hover {
  border-color: #1D8A99;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 32, 53, 0.11), 0 6px 16px rgba(26, 32, 53, 0.07);
}

.related-service-icon {
  width: 40px;
  height: 40px;
  background: rgba(29, 138, 153, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D8A99;
  flex-shrink: 0;
  transition: background-color 0.20s ease, color 0.20s ease;
}

.related-service-card:hover .related-service-icon {
  background: #1D8A99;
  color: #fff;
}

.related-service-icon .elementor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.related-service-icon .elementor-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Service icon γίνεται άσπρο στο hover */
.related-service-card:hover .related-service-icon svg {
  color: #fff !important;
  stroke: #fff !important;
}

/* Arrow */
.related-service-arrow {
  margin-left: auto;
  align-self: center;
  color: #69727d;
  opacity: 0;
  transition: opacity 0.20s ease, transform 0.20s ease, color 0.20s ease;
}

.related-service-arrow .elementor-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Arrow εμφανίζεται στο hover */
.related-service-card:hover .related-service-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: #1D8A99 !important;
}

.related-service-card:hover .related-service-arrow svg {
  color: #1D8A99 !important;
  stroke: #1D8A99 !important;
}

.related-service-card .elementor-widget-text-editor:first-of-type p,
.related-service-card .elementor-widget-text-editor:first-of-type strong {
  color: #1a2035 !important;
}

.related-service-card:hover .elementor-widget-text-editor:first-of-type p,
.related-service-card:hover .elementor-widget-text-editor:first-of-type strong {
  color: #1a2035 !important;
}

/*service sub menu*/
.sub-menu {padding-top: 5px !important; padding-bottom: 20px !important;}
.sub-menu li {padding-top: 5px !important; padding-bottom: 5px !important;}
.sub-menu a {padding-bottom: 5px !important;}
.sub-menu p {font-size:13px !important; width:80% !important; line-height:18px !important;}

/* NON STICKY */
/* #header-menu-1 #menu-item-31199 > .sub-menu {
    position: fixed !important;
   top: 19%  !important;
    left: 50% !important;
    right: auto !important;
    width: min(1200px, calc(100vw - 80px)) !important;
    max-width: min(1200px, calc(100vw - 80px)) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 99999 !important;
} */

/* STICKY */
/* .ct-sticky-header-active #header-menu-1 #menu-item-31199 > .sub-menu,
[data-sticky*="yes"] #header-menu-1 #menu-item-31199 > .sub-menu {
    top: 103% /*85px*/

textarea {
	--theme-form-field-padding: 20px 25px
}


/* contact form */
/* .ct-contact-form {
	--theme-form-text-initial-color: rgba(255, 255, 255, 0.5);
	--theme-form-text-focus-color: rgba(255, 255, 255, 1);
	--theme-form-field-border-initial-color: transparent;
	--theme-form-field-background-initial-color: #121b1f;
	--theme-form-field-background-focus-color: #121b1f;
} */

/* .ct-contact-form .ff-btn-submit {
	width: 100%;
	--theme-button-text-initial-color: var(--theme-palette-color-4);
	--theme-button-background-initial-color: #fff;
} */

.ct-e-button .elementor-button-icon {
  font-size: 12px;
  line-height: 1em;
  align-self: center;
}

.ct-e-button svg {
	transition: fill 0.3s;
}

.elementor-widget-n-accordion .e-n-accordion-item [aria-expanded="false"] {
	border-radius: 20px; 
}

.ct-home-button-backdrop {
	backdrop-filter: blur(35px);
}

@media (max-width: 781px) {
	.ct-custom-hero-section {
		padding-top: 200px !important;	
	}
	
	.ct-custom-hero-section h2 {
		text-align: center;
	}
	
	.ct-custom-hero-section .wp-block-buttons {
		justify-content: center;
	}
}

/* .ct-newsletter-subscribe-shortcode {
	--theme-form-field-border-initial-color: var(--wp--preset--color--palette-color-8);
	--theme-form-field-border-focus-color: #b1c9cc;
	--theme-form-field-background-initial-color: var(--wp--preset--color--palette-color-8);
	--theme-form-field-background-focus-color: var(--wp--preset--color--palette-color-8);
} */


@media (max-width: 500px) {


  .btns_hero {
    display: grid;
    grid-template-columns: max-content;
    /* keep your existing gap/alignment, just add these two lines if missing */
  }

  .btns_hero > * {
    width: 100%;
  }

  .btns_hero .elementor-button {
    width: 100%;
    justify-content: center; /* keeps the label centered once stretched */
  }

  
}




/* ── Entrance Fade-Up Animations ────────────────────────────────────────────
   Paste this block at the bottom of blocksy-child/style.css
   ─────────────────────────────────────────────────────────────────────────── */

@keyframes odrionFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up-ready {
  opacity: 0;
}

.fade-up-visible {
  animation: odrionFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Respect OS-level reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up-ready  { opacity: 1; }
  .fade-up-visible { animation: none; }
}

/* ── Page Transitions (View Transitions API) ──────────────────────────────
   Smooth cross-fade between pages on same-origin navigation.
   Degrades gracefully — unsupported browsers do a normal page load.
   ─────────────────────────────────────────────────────────────────────────── */
@view-transition {
  navigation: auto;
}

/* Dark background while navigating so slow-connection partial renders
   show #091629 instead of white. Class set by odrion-animations.js. */
html.is-navigating,
html.is-navigating body {
  background-color: #091629 !important;
}

@keyframes vt-fade-in { from { opacity: 0; } }

/* Old page stays fully opaque as a backdrop — fading both simultaneously
   causes a white flash because combined opacity drops below 100%. */
::view-transition-old(root) {
  animation: none;
}

/* New page fades in on top; at any moment old(100%) + new(x%) = full cover */
::view-transition-new(root) {
  animation: 280ms ease-out vt-fade-in;
}

/* Header stays anchored during transition — no flicker */
.ct-header {
  view-transition-name: site-header;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms;
  }
}

/* ── Mega Menu: Blocksy Native — Compact Rows ────────────────────────────── */

/* Tighter padding + row dividers */
.ct-mega-menu-columns-3 > .sub-menu > li.menu-item {
  padding: 10px 14px !important;
  /* border-bottom: 1px solid rgba(10, 22, 41, 0.07); */
  border-left: 2px solid transparent;
  border-radius: 10px!important;
  transition: background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

/* No divider on last visual row */
.ct-mega-menu-columns-3 > .sub-menu > li.menu-item:nth-last-child(-n+3) {
  border-bottom: none;
}

/* Hover state */
.ct-mega-menu-columns-3 > .sub-menu > li.menu-item:hover {
  background: #E8F3F5;
  border-left-color: #1D8A99;
  border-bottom-color: transparent;
}

/* Current page indicator */
.ct-mega-menu-columns-3 > .sub-menu > li.menu-item.is-current {
  background: #E8F3F5;
  border-left-color: #1D8A99;
  border-bottom-color: transparent;
}

/* Icon: tighter size, aligned top */
.ct-mega-menu-columns-3 > .sub-menu .ct-icon-container.ct-left {
  /* width: 30px !important;
  height: 30px !important; */
  flex-shrink: 0;
  align-self: flex-start;
}

/* .ct-mega-menu-columns-3 > .sub-menu .ct-icon-container.ct-left svg,
.ct-mega-menu-columns-3 > .sub-menu .ct-icon-container.ct-left img {
  width: 26px !important;
  height: 26px !important;
} */

/* Title link: tighter gap */
.ct-mega-menu-columns-3 > .sub-menu .ct-menu-link.ct-column-heading {
  gap: 10px;
  margin-bottom: 4px;
}

/* Description: compact, muted */
.ct-mega-menu-columns-3 > .sub-menu .entry-content {
  margin-top: 0px !important;
  /* padding: 0 0 0 40px !important;  */
}

.ct-mega-menu-columns-3 > .sub-menu .entry-content p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0 !important;
}

/* ── Mega Menu: indicate current page ───────────────────────────────────── */
.mega-menu-item.is-current {
  background-color: #E8F3F5 !important;
  border-color: #1D8A99 !important;
}


.ct-mega-menu-content-width .sub-menu {padding: 20px!important;}


.ct-icon-container svg {
  border: 1px solid #208999;
    border-radius: 10px;
    background-color: #ffffff;
}