body {
  background: var(--off);
}

site-header,
site-footer {
  display: block;
}

.footer a[aria-current="page"] {
  color: #deb16e;
}

.markets-hero {
  position: relative;
  min-height: clamp(440px, 32vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(125px, 9vw, 165px) 0 clamp(50px, 4vw, 80px);
  background: url("../assets/Global assets/companyherobanner.png") center / 100% 100% no-repeat;
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .markets-hero {
    min-height: clamp(380px, 28vw, 440px);
    padding-top: clamp(140px, 10.5vw, 175px);
    padding-bottom: clamp(55px, 4.5vw, 75px);
    background-size: 100% 100%;
    background-position: center center;
  }
}

.markets-hero::after {
  display: none;
}

.markets-hero-art {
  display: none;
}

.markets-hero-art-left {
  left: -3%;
}

.markets-hero-art-right {
  right: -3%;
  transform: scaleX(-1);
}

.markets-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.markets-hero .eyebrow {
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #d48700;
}

.markets-hero h1 {
  max-width: 1450px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  font-size: clamp(3.3rem, 5.2vw, 6.8rem);
  line-height: 1.03;
  text-wrap: balance;
}

.markets-hero-inner > p:last-child {
  max-width: 1240px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.25vw, 1.45rem);
  line-height: 1.5;
}

.core-markets {
  background: #fff;
}

.core-market-grid {
  display: grid;
  gap: clamp(28px, 2.8vw, 50px);
  grid-auto-rows: 1fr;
}

.core-market-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: clamp(26px, 2.2vw, 38px);
  background: linear-gradient(135deg, #f9e3bb 0%, #f6dcad 100%);
  padding: clamp(38px, 4vw, 56px) clamp(28px, 3.2vw, 48px);
}

.core-market-header {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 38px);
  margin-bottom: clamp(34px, 3.5vw, 54px);
}

.core-market-header > div:last-child {
  min-width: 0;
}

.core-market-header h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: clamp(2.4rem, 2.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.core-market-header p {
  margin: 0;
  color: var(--red);
  font-size: clamp(1rem, 1.25vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.market-flag {
  flex: 0 0 auto;
  width: clamp(105px, 9vw, 145px);
  height: clamp(105px, 9vw, 145px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.market-flag img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.market-flag-vietnam-card,
.market-flag-pakistan-card {
  display: grid;
  place-items: center;
  border: clamp(3px, 0.24vw, 5px) solid #fff;
  box-shadow: none;
}

.market-flag-vietnam-card {
  background: #e51d24;
  color: #ffed00;
}

.market-flag-vietnam-card span {
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  line-height: 1;
  transform: translateY(-2%);
}

.market-flag-pakistan-card {
  background: #064f2d;
  color: #fff;
}

.market-flag-pakistan-card svg {
  width: 78%;
  height: 78%;
}

.core-market-copy {
  flex: 1;
  font-size: clamp(1.08rem, 1.3vw, 1.5rem);
  line-height: 1.48;
}

.core-market-copy p {
  margin-bottom: clamp(30px, 3vw, 48px);
}

.core-market-copy p:last-child {
  margin-bottom: 0;
}

.markets-panorama {
  width: 100%;
  overflow: hidden;
  background: #bd9e75;
}

.markets-panorama img {
  width: 100%;
  height: clamp(390px, 40.85vw, 730px);
  object-fit: cover;
  object-position: center;
}

.global-map-section {
  overflow: hidden;
  background: #fff;
}

.map-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.map-scroll:focus-visible {
  outline: 3px solid rgba(213, 154, 37, 0.7);
  outline-offset: -5px;
}

.map-scroll img {
  display: block;
  width: 100%;
  min-width: 820px;
  height: auto;
}

.future-markets {
  min-height: clamp(560px, 39.3vw, 790px);
  display: grid;
  align-items: center;
  background: #00365f;
  color: #fff;
  text-align: center;
}

.future-markets-inner > .eyebrow {
  margin-bottom: clamp(18px, 1.6vw, 28px);
  color: #c89a4a;
}

.future-markets h2 {
  margin-bottom: clamp(26px, 3vw, 42px);
  color: #fff;
  font-size: clamp(3.4rem, 5.3vw, 6.7rem);
  line-height: 1;
}

.future-markets-lead {
  max-width: 1150px;
  margin: 0 auto;
  color: #d7dce2;
  font-size: clamp(1.08rem, 1.35vw, 1.58rem);
  line-height: 1.55;
}

.future-market-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 1.5vw, 28px);
  margin: clamp(38px, 4vw, 62px) auto;
  padding: 0;
  list-style: none;
}

.future-market-pills li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1vw, 18px);
  min-height: clamp(30px, 3.4vw, 40px);
  min-width: clamp(220px, 15vw, 300px);
  padding: 12px clamp(16px, 2vw, 24px);
  border: 1px solid #e8ca92;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5e4 0%, #fef9f0 100%);
  color: #151515;
  font-size: clamp(1rem, 1.2vw, 1.34rem);
  white-space: nowrap;
  cursor: default;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.future-market-pills li:hover {
  transform: translateY(-3px) scale(1.02);
}

.future-market-pills li:last-child {
  min-width: clamp(220px, 15vw, 300px);
  padding: 12px clamp(16px, 2vw, 24px);
}

.future-markets-note {
  max-width: 1000px;
  margin: 0 auto;
  color: #8297aa;
  font-size: clamp(1rem, 1.22vw, 1.4rem);
  line-height: 1.5;
}

.future-market-flag {
  flex: 0 0 auto;
  width: clamp(42px, 3.7vw, 60px);
  height: clamp(42px, 3.7vw, 60px);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.future-market-flag-vietnam {
  background: #ed1c24;
  color: #ffea00;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.future-market-flag-pakistan {
  background: #075b38;
  color: #fff;
}

.future-market-flag-pakistan svg {
  width: 78%;
  height: 78%;
}

.markets-cta {
  background: var(--off);
}

.markets-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 145px) clamp(24px, 7vw, 120px);
  border: 2px solid #c5923b;
  border-radius: clamp(28px, 2.3vw, 40px);
  background: #f8ddb0;
  text-align: center;
  box-shadow: 0 12px 40px rgba(7, 55, 95, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.markets-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../assets/ctabg.png") center/cover no-repeat;
  z-index: 0;
}

.markets-cta-panel > * {
  position: relative;
  z-index: 1;
}

.markets-cta-panel .eyebrow {
  color: var(--red);
}

.markets-cta-panel h2 {
  margin-bottom: 30px;
  font-size: clamp(3.4rem, 5.4vw, 6.9rem);
  line-height: 1.02;
}

.markets-cta-panel h2 span {
  color: var(--red);
}

.markets-cta-panel > p:not(.eyebrow) {
  max-width: 900px;
  margin: 0 auto 44px;
  color: #5d6470;
  font-size: clamp(1.08rem, 1.28vw, 1.5rem);
  line-height: 1.55;
}

.markets-cta-panel .button {
  min-width: min(100%, 350px);
}

@media (min-width: 900px) {
  .core-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .markets-hero {
    min-height: 690px;
    padding-top: 145px;
  }

  .markets-hero-art {
    bottom: -7%;
    width: 310px;
  }

  .markets-hero-art-left {
    left: -46%;
  }

  .markets-hero-art-right {
    right: -46%;
  }

  .markets-hero h1 {
    font-size: clamp(3.15rem, 14vw, 5rem);
    line-height: 0.98;
  }

  .core-market-card {
    min-height: auto;
  }

  .core-market-header {
    align-items: flex-start;
  }

  .core-market-header h2 {
    overflow-wrap: anywhere;
  }

  .markets-cta-panel h2 br {
    display: none;
  }
}

@media (max-width: 599px) {
  .core-market-header {
    gap: 16px;
  }

  .market-flag {
    width: 82px;
    height: 82px;
  }

  .core-market-header h2 {
    font-size: 2.35rem;
  }

  .core-market-header p {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    line-height: 1.45;
  }

  .markets-panorama img {
    height: 400px;
    object-position: 63% center;
  }

  .map-scroll img {
    min-width: 760px;
  }

  .future-market-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .future-market-pills li {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    margin: 0 !important;
    padding-block: 0 !important;
  }

  .future-market-pills li:nth-child(1),
  .future-market-pills li:nth-child(2) {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    min-width: 0;
    width: auto;
    padding-left: 8px !important;
    padding-right: 12px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .future-market-pills li:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center !important;
    text-align: center;
    padding-inline: 16px !important;
    font-size: 0.95rem;
  }

  .markets-cta-panel .button-row {
    flex-direction: column;
  }

  .markets-cta-panel .button {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .future-market-pills li:nth-child(1),
  .future-market-pills li:nth-child(2) {
    padding-left: 6px !important;
    padding-right: 24px !important;
  }
  .future-market-flag {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}
