@import url("section-hero.css");
@import url("section-intro.css");
@import url("section-work-live.css");
@import url("section-digital-economy.css");
@import url("section-high-growth.css");
@import url("section-talent.css");
@import url("section-experience.css");

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;
}

/* Base styles */
:root {
  --primary-color: #333;
  --secondary-color: #666;
  --accent-color: #009688;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #fff;
  --black: #000;
}

html,
body {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */ /* Check an alternative way to to this, since overflow-x is removing the position sticky for the navbar */
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
    "Source Han Sans CN", sans-serif;
  color: var(--primary-color);
}

h2 {
  color: #282727;
  font-family: Inter, var(--default-font-family);
  /* font-size: 80px;
  font-weight: 400;
  line-height: 80px;  */

  font-style: normal;
  font-size: 5.56vw;
  font-weight: 400;
  line-height: 1;
  position: absolute;
  bottom: -0.6vw;
  left: 4.51%;
}

h3 {
  color: #282727;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 30px;
}

h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 30px;
}

p {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  margin-bottom: 10px;
}

.pill-yellow {
  border-radius: 7px;
  background: #e7ff62;
  color: #282727;
  display: inline-block;
  /* font-size: 18px; */
  font-size: min(1.25vw, 18px);
  font-style: normal;
  font-weight: 600;
  /* line-height: 19px; */
  line-height: 1.2;
  padding: 7px 11px;
  white-space: nowrap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  overflow: hidden;
}

.nav-left {
  background-color: #fff;
  width: 30px;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.logo-img {
  width: 35px;
  height: 23px;
  position: relative;
}

.logo-img.bg-solid {
  background-color: black;
}

.logo-img.bg-trans {
  background-color: rgba(92, 92, 92, 0.1);
}

.logo::after,
.logo::before {
  content: "";
  background-color: white;
  position: absolute;
  width: 35px;
  height: 50px;
  top: 49px;
  left: 0px;
  z-index: 2;
}

.logo::before {
  top: -24px;
}

.logo-text {
  background-color: #fff;
  font-weight: bold;
  font-size: 16px;
  color: var(--dark-gray);
  font-size: 16px;
  font-weight: 600;
  line-height: 17.659px;
  text-align: left;
  text-transform: capitalize;
  padding: 31px 15px 26px 15px;
  height: 75px;
}

.nav-links-container {
  background-color: #fff;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 28px 30px 27px 15px;
  height: 75px;
}

.nav-links-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.nav-links {
  display: flex;
  list-style: none;
  white-space: nowrap;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  padding: 5px 0;
  position: relative;
  opacity: 0.3;
  transition: all 0.3s;
}

.nav-sep {
  opacity: 0.3;
}

.nav-link:hover {
  color: var(--dark-gray);
  opacity: 1;
}

.nav-link.active {
  color: var(--dark-gray);
  opacity: 1;
}

section {
  margin-bottom: 100px;
}

.wrapper {
  padding: 0px 30px;
}

.wrapper-small {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto;
  max-width: 850px;
}

.wrapper-small.gap-30-fixed {
  gap: 30px;
}

.wrapper-small.gap-30 {
  gap: 30px;
}

.wrapper-small-2 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spacer {
  width: 100%;
  height: 100px;
}

.ident-block {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.ident-block p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.ident-block-big {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}

.ident-block-big p {
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
}

.ident-block-3 p {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.unlock-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.unlock-content h3 {
  font-weight: 600;
  font-style: normal;
  line-height: 40px;
  margin-bottom: 0px;
}

.unlock-button {
  text-align: center;
  padding: 15px 15px;
  border-radius: 15px;
  border: 3px solid #000;
  color: #000;
  display: block;
  font-size: 20.388px;
  font-style: normal;
  font-weight: 700;
  line-height: 21.238px;
  background-color: transparent;
  cursor: pointer;
}

.unlock-button:hover {
  background-color: #e7ff62;
}

button {
  background: transparent;
}

.stats-container {
  /* max-width: 600px; */
  /* margin: 0 auto; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

#stats-container {
  width: 100%;
  max-width: 600px;
}

.stats-container-2 {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Individual stat item */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}

/* .stat-item-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 30px;
} */

.stat-value {
  color: #002694;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  text-align: left;
  white-space: nowrap;
}

.stat-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.stat-description p {
  margin: 0;
}

.case-study-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 15px;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 15px 15px 15px 15px;
  background: #141414;
  border-radius: 25px;
}

.box {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  height: 380px;
  background: #282727;
  z-index: 1;
  border-radius: 15px;
  display: flex;
  padding: 15px;
}

.case-study-image {
  width: 40%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 7;
  border-radius: 14.943px;
  position: relative;
  margin-bottom: 15px;
}

#cs1 {
  background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs1.png);
}

#cs2 {
  background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs2.png);
}

#cs3 {
  background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs3.png);
}

#cs4 {
  background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs4.png);
  background-position: bottom center;
}

.image-tag-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 7.472px 11.208px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7.42px;
  pointer-events: none;
}

.image-tag {
  border-radius: 7.472px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(7.471671104431152px);
  padding: 6px 12px;
  font-size: 17.932px;
  font-weight: 600;
  line-height: 18.679px;
  color: #000;
  display: inline-block;
  white-space: nowrap;
  pointer-events: auto;
}

#blue-pill {
  background-color: #002694;
  color: #fff;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14.943px;
}

.case-study-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: 70px !important;
  height: 70px !important;
  z-index: 5;
  overflow: hidden;
  position: absolute;
  top: 15px;
  right: 15px;
  min-width: 70px !important;
  max-width: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  flex-shrink: 0;
  flex-grow: 0;
}

.case-study-text {
  padding-left: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto 15px;
  align-items: center;
}

.case-study-text .title {
  display: block;
  height: 35px;
  margin: 0 0 0 0;
  color: #ffffff;
  font-family: Inter, var(--default-font-family);
  font-size: 36px;
  font-weight: 400;
  line-height: 35px;
  text-align: left;
  white-space: nowrap;
  z-index: 4;
  width: 600px;
}

.case-study-text .description {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 30px 0 0 0;
  color: #ffffff;
  font-family: Inter, var(--default-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  z-index: 3;
}

.box-2 {
  flex-direction: column;
  height: auto;
  width: 100%;
  background: #373737;
  border-radius: 15px;
}

.box-2 .box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 30px 35px;
}

.box-2 .box-title h3 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  font-style: normal;
  color: #e7ff62;
  transition: color 0.3s ease;
  margin: 0px;
}

.box-2 .box-title h3.collapsed-title {
  color: #ffffff;
}

.box-2 .box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  width: 100%;
  height: auto;
  color: #fff;
  max-height: 5000px;
  overflow: hidden;
  transition: max-height 0.8s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 1;
  max-width: 600px;
  margin: 0 auto 50px;
}

.box-2 .box-content.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.box-2 .box-content-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.box-2 .box-title .icon {
  font-size: 36px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #e7ff62;
}

.box-2 .box-title .icon.collapsed-title {
  color: #ffffff;
}

.box-2 .box-content p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-style: normal;
  max-width: 600px;
  margin: 0;
  height: auto;
}

/* .box-2 .box-content p:last-child {
  margin-bottom: 50px;
} */

#video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  position: relative;
  width: 840px;
  height: 486px;
  margin: 0 15px;
}

.video-image {
  aspect-ratio: unset;
  /* 1.73; */
  object-fit: cover;
  object-position: center;
  width: 100%;
  border-radius: 25px;
  background-color: transparent;
  box-shadow: none;
  border: none;
  outline: none;
}

footer {
  display: flex;
  justify-content: center;
  background-color: #f1f1f1;
  text-align: center;
  width: 100%;
  height: 90px;
}

#green {
  color: #e7ff62;
}

#collapse-title {
  color: #fff;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.spacer-50 {
  height: 50px;
  margin: 0 50px 0 0;
  padding: 0;
}

@media (max-width: 1240px) {
  .nav-links {
    gap: 10px;
  }
}

@media (max-width: 1140px) {
  .nav-links {
    gap: 5px;
  }
}

@media (max-width: 1160px) {
  .logo-text {
    display: none;
  }

  .logo::after {
    top: -50px;
  }

  .logo::before {
    top: 23px;
  }

  .nav-links {
    gap: 10px;
  }

}

/* Responsive styles */
@media (max-width: 925px) {
  #cs1 {
    background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs1m.png);
  }

  #cs2 {
    background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs2m.png);
  }

  #cs3 {
    background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs3m.png);
  }

  #cs4 {
    background-image: url(https://dev-wbo-assets-s3.s3.amazonaws.com/s3/mspandorasbox/abu-dhabi/assets/images/cs4m.png);
  }

  .case-study-container.digital-economy .case-study-image {
    margin-bottom: 15px;
    width: 100%;
    height: 25vw;
    margin-bottom: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: cover;
    min-width: 100%;
    background-position: center;
  }

  .case-study-container.digital-economy .box {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .case-study-container.digital-economy .case-study-text {
    padding-left: 0;
    margin: 0 0 15px 0;
  }

  .case-study-container.digital-economy .case-study-icon {
    top: 28vw;
    right: 0px;
  }

  /* Show only blue pill tags, hide all others */
  .case-study-container.digital-economy .image-tag {
    display: none;
  }

  .case-study-container.digital-economy .image-tag#blue-pill {
    display: inline-block;
  }

  .case-study-text .title {
    display: flex;
    width: calc(100% - 20vw);
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    align-self: baseline;
    white-space: normal;
    height: auto;
    margin-bottom: 10px;
    word-break: break-word;
    min-height: 50px;
  }

  .case-study-text .description {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    width: 100%;
    margin: 0px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
    /* padding-left: 20px; */
  }

  h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 20px;
  }

  p {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
  }

  .spacer-50 {
    height: 20px;
  }

  .pill-yellow {
    font-size: 16px;
    line-height: 16px;
    padding: 6px 10px;
  }

  section {
    margin-bottom: 80px;
  }

  section:first-child {
    margin-bottom: 30px;
  }

  .ident-block {
    padding-left: 20px;
  }

  .ident-block-big p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 142.857% */
  }

  .ident-block-3 p {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 133.333% */
  }

  .unlock-button {
    min-width: 200px;
  }

  .nav-left {
    width: 20px;
    height: 50px;
  }

  .nav-links-container {
    width: 100%;
    padding: 15px;
    justify-content: inherit;
    height: 50px;
  }


  .nav-links li:last-child {
    margin-left: 0;
    padding-right: 20px;
  }

  .wrapper {
    padding: 0 15px;
  }

  .wrapper-small.gap-30 {
    gap: 20px;
  }

  .ident-block-big {
    padding: 0 10px;
  }

  /* .wrapper-small{
    gap: 30px;
  } */

  .spacer {
    height: 40px;
  }

  .stats-container {
    /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); */
    /* Always two colunns for mobile screens */
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 20px;
  }

  /* #stats-container {
    width: 100%;
    height: auto;
    padding-left: 15px;
  } */

  .stat-value {
    font-size: 24px;
    line-height: 30px;
  }

  .stats-container-2 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .stat-description {
    font-size: 14px;
    line-height: 18px;
  }

  .unlock-content h3 {
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    line-height: 40px;
    margin-bottom: 0px;
  }

  .box {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .case-study-container.digital-economy {
    margin-top: 40px;
  }

  .case-study-container {
    gap: 10px;
    padding: 10px;
  }

  /* .case-study-image {
    margin-bottom: 15px;
    width: 100%;
    height: 25vw;
    margin-bottom: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: cover;
    min-width: 100%;
    background-position: center;
  } */

  /* .case-study-text {
    padding-left: 0;
    padding-bottom: 15px;
  } */

  .case-study-icon img {
    width: 50px;
    height: 50px;
  }

  .video-container {
    width: 345px;
    height: 200px;
    border-radius: 15px;
  }

  .box-2 .box-title {
    padding: 20px 10px;
  }

  .box-2 .box-title h3 {
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
  }

  .box-2 .box-content h3 {
    padding: 0 !important;
  }

  .box-2 .box-content {
    max-height: 9999px;
    padding: 0px 10px;
    transition: max-height 1s ease-in-out, opacity 0.3s ease-in-out;
    gap: 30px;
    margin: 0 auto 20px;
  }

  .box-2 .box-content-inner {
    gap: 10px;
  }

  /* .box-2 .box-content #stats-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  } */

  .box-2 .box-content p {
    width: auto;
    /* padding: 0 15px;
    margin-top: 15px; */
    font-size: 14px;
    line-height: 20px;
  }

  /* .box-2 .box-content p:first-of-type {
    margin-top: 25px;
  }

  .box-2 .box-content p:last-child {
    margin-bottom: 30px;
  } */

  #collapse-title {
    display: flex;
    width: 100%;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }

  .image-tag-container {
    padding: 10px;
    gap: 6px;
  }

  .image-tag {
    font-size: 12px;
    padding: 4px 10px;
  }
}
