/* Eworldesk UI fixes v7.6.0 - loaded last so it overrides older layers. */

/* 1. Header: "Let's Talk" button the same height as the Capabilities button */
.site-header .site-nav .nav-cta,
body.home .site-header .site-nav a.nav-cta,
body:not(.home) .site-header .nav-cta{
  align-self:center!important;height:auto!important;min-height:0!important;
  padding:11px 18px!important;gap:10px!important;line-height:1.2!important;
  font-size:13px!important;border-radius:8px!important;
}

/* 2. Language switcher (GTranslate) moved into the top bar instead of floating over the header */
.topbar-inner .topbar-links{display:flex;align-items:center;gap:25px}
.ew-lang{display:flex;align-items:center;min-width:0}
.ew-lang:empty{display:none}
.ew-lang a,.ew-lang .gt_selector,.ew-lang select{color:#c3dedc!important;font-size:12px!important;background:transparent!important;border:0!important}
/* Floating GTranslate widget: pin to the top bar area on desktop, beside the logo row on mobile */
body .gt_float_switcher,body #gt_float_wrapper,body .gt_switcher_wrapper{
  position:absolute!important;top:6px!important;right:24px!important;left:auto!important;bottom:auto!important;
  z-index:60!important;transform:none!important;
}
body .gt_switcher_wrapper a,body .gt_float_switcher .gt-selected,body .gt_float_switcher .gt-current-lang{color:#c3dedc!important;font-size:12px!important}
body .gt_float_switcher{box-shadow:none!important;background:transparent!important}
@media (min-width:961px){
  /* leave room for the switcher at the right end of the top bar */
  .topbar-inner{padding-right:110px}
}
@media (max-width:960px){
  body .gt_float_switcher,body #gt_float_wrapper,body .gt_switcher_wrapper{top:26px!important;right:84px!important}
  body .gt_switcher_wrapper a,body .gt_float_switcher .gt-selected,body .gt_float_switcher .gt-current-lang{color:#294449!important}
}

/* 3. "Ask Eworldesk AI" chat button: solid, readable, and kept clear of content */
button[aria-label="Open Eworldesk AI Sales Executive"]{
  background:#052f38!important;background-image:none!important;color:#fff!important;
  border:2px solid #3fb274!important;box-shadow:0 10px 26px #052f3840!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;
}
button[aria-label="Open Eworldesk AI Sales Executive"] *{color:#fff!important;opacity:1!important}
@media (max-width:650px){
  button[aria-label="Open Eworldesk AI Sales Executive"]{transform:scale(.85);transform-origin:bottom right}
  /* space at the bottom so the last content is not hidden under floating buttons */
  .site-footer .footer-bottom{padding-bottom:90px}
}

/* 4. Service cards: equal height, image on every card */
.ew-executive-services .ew-corporate-card{display:flex;flex-direction:column}
.ew-executive-services .ew-corporate-card > a{margin-top:auto}
.ew-service-photo img[src$=".svg"]{object-fit:cover}

/* 5. Products: SVG artwork fills its frame like the banners */
.ew-product-media img[src$=".svg"]{object-fit:cover}

/* 6. WhatsApp buttons */
.ew-corporate-home .ew-hero-whatsapp{
  display:inline-flex;align-items:center;gap:8px;min-height:47px;padding:10px 16px;border-radius:6px;
  font-size:14px;font-weight:800;color:#fff;background:#1fa855;border:1px solid #1fa855;
}
.ew-corporate-home .ew-hero-whatsapp:hover{background:#18914a;color:#fff}
.ew-hero-whatsapp:before,.ew-whatsapp-btn:before{
  content:"";width:18px;height:18px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.8-2.7-1.1-4.4-3.9-4.6-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.3.4c.1.2.6 1 1.3 1.6.9.8 1.6 1 1.9 1.1.2.1.4.1.5-.1l.7-.9c.2-.2.4-.2.6-.1l1.9.9c.3.1.4.2.5.3 0 .2 0 .8-.2 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.8-2.7-1.1-4.4-3.9-4.6-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.4.6-.3.4c.1.2.6 1 1.3 1.6.9.8 1.6 1 1.9 1.1.2.1.4.1.5-.1l.7-.9c.2-.2.4-.2.6-.1l1.9.9c.3.1.4.2.5.3 0 .2 0 .8-.2 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ew-corporate-contact-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ew-corporate .ew-whatsapp-btn{
  display:inline-flex;align-items:center;gap:9px;padding:14px 20px;border-radius:8px;
  font-weight:750;color:#fff;background:#1fa855;
}
.ew-corporate .ew-whatsapp-btn:hover{background:#18914a;color:#fff}
@media (max-width:650px){
  .ew-corporate-home .ew-hero-whatsapp{width:100%;justify-content:center}
}

/* 7. "Tell us about your project." heading: white on the dark panel (brand.css made it dark teal) */
.ew-corporate .ew-corporate-section .ew-corporate-contact h2,
.ew-corporate-contact h2{color:#fff!important;-webkit-text-fill-color:#fff!important}
.ew-corporate-contact p{color:#d6ece5}

/* 8. AdSense slot above the contact section */
.ew-ad-slot{margin-block:32px 8px;text-align:center;min-height:0}
.ew-ad-slot ins.adsbygoogle[data-ad-status="unfilled"]{display:none!important}
