.homepage-hero {
  width: 100%;
  position: relative;
  background-color: var(--dark);
  background-image: url('/wp-content/uploads/2026/08/bg-grid-dotts.svg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.homepage-hero::before {
  content: "";
  position: absolute;
  top: -248px;
  left: -396px;
  width: 755px;
  height: 651px;
  background-color: var(--mint);
  border-radius: 50%;
  filter: blur(145px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.homepage-hero::after {
  content: "";
  position: absolute;
  top: 514px;
  left: 953px;
  width: 675px;
  height: 414px;
  background-color: var(--mint);
  border-radius: 50%;
  filter: blur(145px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

.homepage-hero>.wp-block-columns,
.homepage-hero .homepage-hero-inner {
  display: flex;
  max-width: 1440px;
  align-items: center;
  gap: 80px;
  padding: 100px 70px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.homepage-hero .wp-block-column:first-child,
.homepage-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.homepage-hero .text-wrapper-eyebrow,
.homepage-hero .wp-block-column:first-child>p:first-of-type {
  position: relative;
  width: fit-content;
  color: var(--mint);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28px;
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0 0 32px 0;
}

.homepage-hero .hero-content h1,
.homepage-hero .wp-block-column:first-child h1 {
  position: relative;
  align-self: stretch;
  color: var(--white);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px 0;
}

.homepage-hero .hero-description,
.homepage-hero .wp-block-column:first-child>p:nth-of-type(2) {
  position: relative;
  align-self: stretch;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 48px 0;
}

.homepage-hero .CTA-book-a,
.homepage-hero .wp-block-buttons {
  display: inline-flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  margin: 0 0 48px 0;
}

.homepage-hero .CTA-book-a .button,
.homepage-hero .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  position: relative;
  background-color: var(--mint) !important;
  color: var(--dark) !important;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
}

.homepage-hero .CTA-book-a .button:hover,
.homepage-hero .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover {
  background-color: var(--mint-hover) !important;
  color: var(--dark) !important;
}

.homepage-hero .wp-block-buttons .wp-block-button:first-child .wp-block-button__link::after,
.homepage-hero .CTA-book-a .button::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.83301 15L14.1663 6.66663' stroke='%230A1B2E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.0415 6.66663H14.1665V14.7916' stroke='%230A1B2E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 4px;
}

.homepage-hero .CTA-book-a .book-a-consultation-wrapper,
.homepage-hero .wp-block-buttons .wp-block-button:last-child .wp-block-button__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  position: relative;
  background-color: var(--bg-white-4) !important;
  color: var(--white) !important;
  border-radius: var(--radius-btn);
  border: 1px solid var(--stroke-white-30) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.homepage-hero .CTA-book-a .book-a-consultation-wrapper:hover,
.homepage-hero .wp-block-buttons .wp-block-button:last-child .wp-block-button__link:hover {
  background-color: var(--bg-white-6) !important;
  border-color: var(--stroke-white-50) !important;
}

.homepage-hero .hero-quote-bar,
.homepage-hero-globe .hero-quote-bar,
.service-page-hero .hero-quote-bar,
.hero-quote-bar,
p.hero-quote-bar,
.homepage-hero .wp-block-column:first-child>.wp-block-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
  position: relative !important;
  color: #FFFFFF !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.homepage-hero .hero-quote-bar::before,
.homepage-hero-globe .hero-quote-bar::before,
.service-page-hero .hero-quote-bar::before,
.hero-quote-bar::before,
p.hero-quote-bar::before,
.homepage-hero .wp-block-column:first-child>.wp-block-group::before {
  content: "" !important;
  display: block !important;
  width: 3px !important;
  height: 60px !important;
  min-height: 60px !important;
  background-color: var(--mint, #00c7be) !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.homepage-hero .hero-quote-bar p,
.homepage-hero-globe .hero-quote-bar p,
.service-page-hero .hero-quote-bar p,
.hero-quote-bar p,
.homepage-hero .wp-block-column:first-child>.wp-block-group p {
  position: relative !important;
  width: 268px !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.homepage-hero .frame {
  position: relative;
  width: 610px;
  height: 610px;
  flex-shrink: 0;
  background-image: url('/wp-content/uploads/2026/08/union.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.homepage-hero .frame-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid var(--stroke-white-30);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin: 0 !important;
  position: absolute;
  cursor: text;
}

.homepage-hero .frame-badge::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.homepage-hero .frame-2::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm14 10v-2a4 4 0 0 0-3-3.87m-4-12a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.homepage-hero .frame-4::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' ry='2'/%3E%3Cline x1='12' y1='10' x2='12' y2='10'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E");
}

.homepage-hero .frame-5::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.homepage-hero .frame-7::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");
}

.homepage-hero .frame-8::before {
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}

.homepage-hero .frame-10::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300c7be' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

@keyframes badgeDotPulseX {
  0% {
    transform: translateX(-50%) scale(0.7);
    box-shadow: 0px 0px 4px var(--mint, #00c7be), 0 0 0 0px rgba(0, 199, 190, 0.7);
  }
  50% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0px 0px 14px var(--mint, #00c7be), 0 0 0 5px rgba(0, 199, 190, 0);
  }
  100% {
    transform: translateX(-50%) scale(0.7);
    box-shadow: 0px 0px 4px var(--mint, #00c7be), 0 0 0 0px rgba(0, 199, 190, 0);
  }
}

@keyframes badgeDotPulseY {
  0% {
    transform: translateY(-50%) scale(0.7);
    box-shadow: 0px 0px 4px var(--mint, #00c7be), 0 0 0 0px rgba(0, 199, 190, 0.7);
  }
  50% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0px 0px 14px var(--mint, #00c7be), 0 0 0 5px rgba(0, 199, 190, 0);
  }
  100% {
    transform: translateY(-50%) scale(0.7);
    box-shadow: 0px 0px 4px var(--mint, #00c7be), 0 0 0 0px rgba(0, 199, 190, 0);
  }
}

.homepage-hero .frame-badge::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--mint, #00c7be);
  border-radius: 50%;
  box-shadow: 0px 0px 12px var(--mint, #00c7be);
  border: 3px solid var(--white, #ffffff);
  box-sizing: border-box;
  animation: badgeDotPulseX 3.2s infinite ease-in-out;
}

.homepage-hero .frame-5::after {
  bottom: auto;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  animation: badgeDotPulseY 3.2s infinite ease-in-out;
}

.homepage-hero .frame-2::after { animation-delay: 0s; }
.homepage-hero .frame-4::after { animation-delay: 0.8s; }
.homepage-hero .frame-5::after { animation-delay: 1.6s; }
.homepage-hero .frame-7::after { animation-delay: 2.4s; }
.homepage-hero .frame-8::after { animation-delay: 1.2s; }
.homepage-hero .frame-10::after { animation-delay: 2.0s; }

.homepage-hero .frame-2 {
  top: 60px;
  left: 220px;
}

.homepage-hero .frame-4 {
  top: 160px;
  left: 420px;
}

.homepage-hero .frame-5 {
  top: 460px;
  left: 350px;
}

.homepage-hero .frame-7 {
  top: 410px;
  left: 10px;
}

.homepage-hero .frame-8 {
  top: 270px;
  left: 100px;
  width: 364px;
  padding: 14px 20px;
  background-color: rgba(10, 27, 46, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(0, 199, 190, 0.7);
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.4), 0px 0px 20px rgba(0, 199, 190, 0.3);
  font-size: 16px;
}

.homepage-hero .frame-10 {
  top: 160px;
  left: -20px;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .homepage-hero,
  .wp-block-group.alignfull.homepage-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .homepage-hero > .wp-block-columns,
  .homepage-hero .homepage-hero-inner {
    flex-direction: column !important;
    padding: 60px 24px !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .homepage-hero .hero-content h1,
  .homepage-hero .wp-block-column:first-child h1,
  .homepage-hero .wp-block-heading {
    font-size: 48px;
  }

  .homepage-hero .frame {
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
  }

  .homepage-hero .frame-2 {
    top: 40px;
    left: 160px;
  }

  .homepage-hero .frame-4 {
    top: 120px;
    left: 320px;
  }

  .homepage-hero .frame-5 {
    top: 380px;
    left: 260px;
  }

  .homepage-hero .frame-7 {
    top: 340px;
    left: 0px;
  }

  .homepage-hero .frame-8 {
    top: 220px;
    left: 60px;
    width: 320px;
  }

  .homepage-hero .frame-10 {
    top: 120px;
    left: -30px;
  }
}

@media (max-width: 768px) {
  .homepage-hero,
  .wp-block-group.alignfull.homepage-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .homepage-hero > .wp-block-columns,
  .homepage-hero .homepage-hero-inner {
    flex-direction: column !important;
    align-items: center !important;
    padding: 40px 16px 30px !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .homepage-hero .hero-content,
  .homepage-hero .wp-block-column:first-child {
    width: 100% !important;
    max-width: 360px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 32px !important;
    margin: 0 auto !important;
  }

  .homepage-hero .text-wrapper-eyebrow,
  .homepage-hero .wp-block-column:first-child > p:first-of-type {
    font-size: 12px !important;
    letter-spacing: 0.24px !important;
    line-height: 1.6 !important;
    color: var(--mint) !important;
    margin: 0 !important;
  }

  .homepage-hero .hero-content h1,
  .homepage-hero .wp-block-column:first-child h1,
  .homepage-hero .wp-block-heading {
    font-size: 40px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: 0px !important;
    margin: 0 !important;
  }

  .homepage-hero .hero-description,
  .homepage-hero .wp-block-column:first-child > p:nth-of-type(2) {
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: var(--text-white) !important;
    margin: 0 !important;
  }

  .homepage-hero .CTA-book-a,
  .homepage-hero .wp-block-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .homepage-hero .wp-block-buttons .wp-block-button,
  .homepage-hero .wp-block-buttons .wp-block-button__link {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .homepage-hero .CTA-book-a .button,
  .homepage-hero .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    border-radius: var(--radius-btn, 8px) !important;
    background-color: var(--mint) !important;
    color: var(--dark) !important;
  }

  .homepage-hero .CTA-book-a .book-a-consultation-wrapper,
  .homepage-hero .wp-block-buttons .wp-block-button:last-child .wp-block-button__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 42px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    border-radius: var(--radius-btn, 8px) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--stroke-white-30) !important;
    color: var(--white) !important;
  }

  .homepage-hero .hero-quote-bar,
  .homepage-hero-globe .hero-quote-bar,
  .service-page-hero .hero-quote-bar,
  .hero-quote-bar,
  p.hero-quote-bar,
  .homepage-hero .wp-block-column:first-child > .wp-block-group {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    color: #FFFFFF !important;
  }

  .homepage-hero .hero-quote-bar::before,
  .homepage-hero-globe .hero-quote-bar::before,
  .service-page-hero .hero-quote-bar::before,
  .hero-quote-bar::before,
  p.hero-quote-bar::before,
  .homepage-hero .wp-block-column:first-child > .wp-block-group::before {
    content: "" !important;
    display: block !important;
    width: 3px !important;
    height: 60px !important;
    background-color: var(--mint, #00c7be) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .homepage-hero .hero-quote-bar,
  .homepage-hero .hero-quote-bar p,
  .homepage-hero-globe .hero-quote-bar,
  .homepage-hero-globe .hero-quote-bar p,
  .service-page-hero .hero-quote-bar,
  .service-page-hero .hero-quote-bar p,
  .hero-quote-bar,
  p.hero-quote-bar,
  .homepage-hero .wp-block-column:first-child > .wp-block-group p {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    color: #FFFFFF !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* Mobile Map/Diagram (.frame) */
  .homepage-hero .hero-visual-column,
  .homepage-hero .wp-block-column:last-child {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .homepage-hero .frame {
    position: relative !important;
    width: 320px !important;
    height: 300px !important;
    max-width: 100% !important;
    background-image: url('/wp-content/uploads/2026/08/union.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto !important;
  }

  .homepage-hero .frame-badge {
    padding: 4px 6px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    letter-spacing: 0.2px !important;
    line-height: 1.6 !important;
    gap: 4px !important;
    backdrop-filter: blur(11.48px) !important;
    -webkit-backdrop-filter: blur(11.48px) !important;
    box-shadow: 0px 0px 10.43px rgba(0, 0, 0, 0.2) !important;
  }

  .homepage-hero .frame-badge::before {
    width: 13px !important;
    height: 13px !important;
  }

  .homepage-hero .frame-badge::after {
    width: 6px !important;
    height: 6px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 199, 190, 0.4) !important;
    box-shadow: 0px 0px 6.26px var(--mint) !important;
    bottom: -10px !important;
  }

  /* 1. In-country experts */
  .homepage-hero .frame-2 {
    top: 10px !important;
    left: 124px !important;
  }

  /* 2. Payroll guidance */
  .homepage-hero .frame-4 {
    top: 70px !important;
    left: 201px !important;
  }

  /* 3. Local market insights */
  .homepage-hero .frame-5 {
    top: 232px !important;
    left: 177px !important;
  }

  .homepage-hero .frame-5::after {
    bottom: -10px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* 4. Mobility support */
  .homepage-hero .frame-7 {
    top: 203px !important;
    left: 0px !important;
  }

  /* 5. Expert Support Across 190+ Countries */
  .homepage-hero .frame-8 {
    top: 134px !important;
    left: calc(50% - 131px) !important;
    width: 262px !important;
    padding: 6px 8px !important;
    border-radius: 5px !important;
    border: 1px solid var(--stroke-mint-50) !important;
    box-shadow: 0px 0px 31.3px rgba(0, 0, 0, 0.4), 0px 0px 10.43px rgba(0, 199, 190, 0.3) !important;
    font-size: 12px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .homepage-hero .frame-8::before {
    width: 15px !important;
    height: 15px !important;
  }

  .homepage-hero .frame-8::after {
    bottom: -10px !important;
  }

  /* 6. Tax & Compliance */
  .homepage-hero .frame-10 {
    top: 52px !important;
    left: 0px !important;
  }
}
