:root {
  --ratio: 1.3;
  --s-7: calc(var(--s-6) / var(--ratio));
  --s-6: calc(var(--s-5) / var(--ratio));
  --s-5: calc(var(--s-4) / var(--ratio));
  --s-4: calc(var(--s-3) / var(--ratio));
  --s-3: calc(var(--s-2) / var(--ratio));
  --s-2: calc(var(--s-1) / var(--ratio));
  --s-1: calc(var(--s0) / var(--ratio));
  --s0: 1rem;
  --s1: calc(var(--s0) * var(--ratio));
  --s2: calc(var(--s1) * var(--ratio));
  --s3: calc(var(--s2) * var(--ratio));
  --s4: calc(var(--s3) * var(--ratio));
  --s5: calc(var(--s4) * var(--ratio));
  --s6: calc(var(--s5) * var(--ratio));
  --s7: calc(var(--s6) * var(--ratio));

  /** ==== VARIABLES ==== */
  --color-1: #ff2e22;
  --color-2: #18856a;
  --color-3: #fff600;
  --color-4: #00142b;
  --font-text: "Open Sans", sans-serif;
  --font-text-bold: "Open Sans", sans-serif;
  --font-title: "DharmaGothicE_Bold_R", sans-serif;
  --font-title-bold: "DharmaGothicE_ExBold_R", sans-serif;
  --border-radius-main: 10px;
}

/* FONTS */
@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DharmaGothicE_Bold_R";
  src: url("./fonts/DharmaGothicE_Bold_R.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DharmaGothicE_ExBold_R";
  src: url("./fonts/DharmaGothicE_ExBold_R.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* RESET */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

p {
  margin-block-start: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: var(--font-text);
  margin: 0;
  overflow-x: hidden;
  background-color: #000;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title-bold);
  text-wrap: balance;
  font-weight: 800;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

a {
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-2);
}

a.btn:hover {
  color: white;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  border-radius: var(--border-radius-main);
}

footer img,
header img {
  border-radius: revert;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

h1 {
  font-size: var(--s4);
}
h2 {
  font-size: var(--s3);
}
h3 {
  font-size: var(--s2);
}
h4 {
  font-size: var(--s1);
}
h5 {
  font-size: var(--s0);
}
h6 {
  font-size: var(--s0);
}

/* CENTER */
.center {
  box-sizing: content-box;
  margin-inline: auto;
  max-inline-size: 100%;
}

/* SWITCHER */
.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

.switcher > * {
  flex-grow: 1;
  flex-basis: calc((30rem - 100%) * 999);
}

.switcher > :nth-last-child(n + 5),
.switcher > :nth-last-child(n + 5) ~ * {
  flex-basis: 100%;
}

/* STACK */
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stack > * {
  margin-block: 0;
}

.stack > * + * {
  margin-block-start: var(--space, 1.5rem);
}

.space-1 {
  --space: 0.5rem;
}

.space-2 {
  --space: 1rem;
}

.space-3 {
  --space: 1.5rem;
}

/* WRAPPER */
.wrapper {
  width: 90vw;
  width: clamp(16rem, 90vw, 80rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

.content-wrapper {
  width: 70vw;
  width: clamp(16rem, 70vw, 60rem);
}

/* REGION */
.region {
  padding-bottom: 4rem;
  padding-top: 4rem;
  padding-top: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
  padding-bottom: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

/* GRID */
.grid {
  display: grid;
  grid-gap: 2rem;
}

@supports (width: min(250px, 100%)) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  }
  footer .grid {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
}

/* HEADER */
.site-header {
  background: black;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s-2);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  max-width: 130px;
}

.nav {
  text-transform: uppercase;
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
}

footer .nav {
  flex-direction: column;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
}

/* HAMBURGER */
#hamburger {
  display: none;
  background: none;
  border: none;
  z-index: 10;
}

#hamburger svg {
  fill: #fff;
  transform: rotate(0);
  transition: transform 0.4s ease;
}

.menu-open #hamburger svg {
  transform: rotateZ(225deg);
}

#hamburger line {
  transition: transform 0.6s ease-in-out;
}

#hamburger line:nth-child(1) {
  transform: rotate(0deg);
}

.menu-open #hamburger line:nth-child(1) {
  transform: rotate(-90deg) translate(-29px, 7px);
}

#hamburger line:nth-child(2) {
  transform: rotate(0deg);
}

.menu-open #hamburger line:nth-child(2) {
  transform: rotate(0deg) translate(0, -9px);
}

/* FOOTER */
.site-footer {
  display: flex;
  flex-direction: column;
  background-color: black;
  gap: var(--s4);
  /* border-radius: var(--border-radius-main); */
  border-top: 1px solid var(--color-1);
}

.site-footer img {
  max-width: 150px;
}

.footer-logo {
  max-width: 250px !important;
}

/* BUTTONS */

.btn {
  display: block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  will-change: filter;
}

a.btn {
  text-decoration: none;
}

.btn:hover {
  filter: brightness(1.2);
}

.btn.primary {
  background-color: var(--color-1);
  color: white;
}

.btn.primary:hover {
  background-color: var(--color-2);
  color: white;
}

.btn.secondary {
  background-color: var(--color-2);
  color: white;
}

.btn.secondary:hover {
  background-color: var(--color-1);
  color: white;
}

.btn.green {
  background-color: #18856a;
  color: white;
}

.btn.green:hover {
  background-color: var(--color-2);
  color: white;
}

/* CARD */
.card {
  border-radius: 10px;
  box-shadow:
    1px 1px 2px rgba(79, 80, 82, 0.05),
    2px 3px 10px rgba(79, 80, 82, 0.06),
    2px 3px 15px rgba(79, 80, 82, 0.1);
}

.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* CTA BOXES */
.cta-boxes {
  margin-top: -2rem;
}
.cta-boxes > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--s2);
  /* border: 1px solid var(--color-1); */
  border-radius: 10px;
  background-image: linear-gradient(0deg, var(--color-1) 70%, transparent 70%);
  text-decoration: none;
}

.cta-boxes a:hover img {
  transform: translateY(-10px);
}

.cta-boxes p {
  color: white;
  font-size: var(--s2);
  font-weight: 800;
  text-transform: uppercase;
  /* text-align: center; */
}

.cta-boxes img {
  max-width: 200px;
  transition: transform 0.3s ease;
}

/* BOX GRID */

.box-grid-item {
  border: 1px solid var(--color-1);
  border-radius: var(--border-radius-main);
}

.box-header {
  display: flex;
  align-items: center;
  border-top-left-radius: var(--border-radius-main);
  border-top-right-radius: var(--border-radius-main);
  padding: var(--s-1) var(--s1);
}

.box-content {
  padding: var(--s-1) var(--s1);
}

.box-grid-item:nth-child(1) img {
  transform: translateY(-6px);
}

/* TOP BANNER & MAX BUTTON */
.c-site-wrapper {
  margin-bottom: 4rem;
}

.custom-global-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.6rem 0.5rem;
  background: var(--color-1);
  margin-left: auto;
  margin-right: auto;
}

.mb-center {
  text-align: center;
}

.custom-global-banner a:first-child {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.custom-global-banner .btn.secondary:hover {
  background-color: #18856a;
  color: white;
}

/* UTYLS */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.gap-1 {
  gap: 0.5rem !important;
}

.gap-2 {
  gap: 1rem !important;
}
.gap-3 {
  gap: 1.5rem !important;
}
.gap-4 {
  gap: 2rem !important;
}

.max-w-prose {
  max-width: 75ch !important;
}

.max-w-prose-xl {
  max-width: 80ch !important;
}

.w-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.rounded-main {
  border-radius: var(--border-radius-main);
}

.bg-main {
  background-color: var(--color-1);
}

.bg-special {
  background-color: #2b3034;
}

.bg-black {
  background-color: black;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inline {
  display: inline;
}

.border {
  border: 1px solid;
}

.border-main {
  border-color: var(--color-1);
}

.bb-border-radius {
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

.bb-box-shadow {
  box-shadow:
    0 6px 20px #000,
    inset 0 1px 1px #fff3;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.object-contain {
  object-fit: contain;
}
/* TEXT */
.text-center {
  text-align: center;
}

.text-end {
  text-align: end;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 18px;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 20px;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 24px;
  line-height: calc(2 / 1.5);
}

.text-3xl {
  font-size: 30px;
  line-height: calc(2.25 / 1.875);
}

.text-4xl {
  font-size: 36px;
  line-height: calc(2.5 / 2.25);
}

.uppercase {
  text-transform: uppercase;
}
.bold {
  font-weight: 600;
}

.title-bold {
  font-family: var(--font-title) !important;
}

.black {
  font-weight: 800 !important;
}

.title-black {
  font-family: var(--font-title-bold) !important;
}

.text-white {
  color: white !important;
}

.text-dark {
  color: black !important;
}

.text-gray {
  color: gray;
}

.text-main {
  color: var(--color-1);
}

.styled-h1 {
  margin-inline: auto;
  font-size: 100px;
  color: rgb(241, 241, 241);
}

.decoration-none {
  text-decoration: none;
}

.hover-color-2:hover {
  color: var(--color-2);
}

.transition-1 {
  transition: all 0.2s ease;
}

/* PADDING */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.px-0 {
  padding-inline: 0;
}

.py-0 {
  padding-block: 0;
}

.py-4 {
  padding-block: 2rem;
}

.px-1 {
  padding-inline: 0.5rem;
}

.py-1 {
  padding-block: 0.5rem;
}

.px-2 {
  padding-inline: 1rem;
}

.py-2 {
  padding-block: 1rem;
}

.pb-2 {
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 2rem;
}

/* MARGIN */
.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.my-2 {
  margin-block: 1rem;
}

.my-4 {
  margin-block: 2rem;
}

.ml-auto {
  margin-left: auto;
}

/* HERO */
.hero {
  min-height: 600px;
  background-image:
    url("./img/revamp/blue-Tile-hor-overlay.webp"),
    url("./img/revamp/bb-sub-egt---bg.webp");
  background-size: cover;
  background-position: center, bottom;
  background-repeat: no-repeat;
  background-color: var(--color-4);
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 25px var(--color-1);
  border-bottom-left-radius: 8em;
  border-bottom-right-radius: 8em;
}

.hero h2 {
  font-size: 75px;
  font-family: var(--font-title);
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1;
}

.hero h2 span {
  font-size: 100px;
}

.hero img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 550px;
  object-fit: contain;
}

.hero-badge {
  top: 15px;
  right: 100px;
}

/* LOGO SLIDER  */
.logo-marquee {
  --gap: 3rem; /* space between logos */
  --speed: 22s; /* lower = faster */
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
  background-color: black;
}

/* optional soft fade at edges */
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}
.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  animation: marquee var(--speed) linear infinite;
}

.logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0.25rem 0.5rem;
}

.logo img {
  height: 42px; /* adjust size */
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease;
}

.logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* move left by exactly half (because we duplicated the set) */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--gap) / 2)));
  }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

/* CONTENT SECTIONS */
.content-section-1,
.content-section-2,
.content-section-3,
.content-section-4 {
  background-image:
    linear-gradient(-90deg, #141e258c, #141e25 85%),
    url("./img//revamp/stack-wd1-2.jpg");
  background-position:
    0 0,
    50% 95%;
  background-size: auto, cover;
}

.content-section-2,
.content-section-4 {
  background-image:
    linear-gradient(-90deg, #1a142580 19%, #07335280),
    url("./img/revamp/app-bg2.webp");
  background-position:
    0 0,
    50% 90%;
}

.offset-image {
  left: 50%;
  transform: translateX(-50%);
}

/* CTA */
.cta-banner {
  background-image: url("./img/revamp/CTA-Background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-banner img {
  max-width: 120px;
}
@media (max-width: 1050px) {
  .styled-h1 {
    font-size: 60px;
  }
}

@media (max-width: 950px) {
  #hamburger {
    display: block;
  }

  .nav {
    height: 100%;
    width: 250px;
    background-color: var(--color-1);
    position: fixed;
    top: 0;
    right: -250px;
    transition: 0.3s;
    overflow-y: auto;
    color: white;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    border-left: white solid 1px;
    padding: var(--s1);
    text-align: left;
  }
  .menu-open .nav {
    right: 0;
  }
  .logo img {
    max-width: 150px;
  }
  .hero {
    /* background-image:
      url("./img/revamp/blue-Tile-overlay-400.webp"),
      url("./img/revamp/bb-sub-egt---bg-600.webp"); */
    min-height: 500px;
    border: solid 8px var(--color-1);
    border-bottom-left-radius: 6em;
    border-bottom-right-radius: 6em;
    background-position:
      50%,
      50% 100%,
      0 0;
  }

  .hero h2 {
    font-size: 50px;
  }

  .hero h2 span {
    font-size: 80px;
  }

  .hero img {
    max-width: 400px;
  }

  .hero-badge {
    top: 0;
    right: 50px;
    padding-block: 1.5rem;
  }
}

@media (max-width: 768px) {
  main {
    margin-top: var(--s4);
  }
  body {
    margin-bottom: var(--s4);
    padding-top: 28px;
  }

  /* .top-banner {
    position: sticky;
    top: 70px;
    height: 60px;
    z-index: 10;
  } */

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  .header-container {
    justify-content: space-between;
    gap: var(--s-1);
    padding-block: var(--s-1);
  }

  .cta-buttons {
    flex-basis: 100%;
    order: 3;
    margin-inline: auto;
    justify-content: flex-end;
  }
  .btn {
    padding: 0.3rem 0.7rem;
    font-size: 14px;
  }
  h1 {
    font-size: var(--s2);
  }
  h2 {
    font-size: var(--s2);
  }
  h3 {
    font-size: var(--s1);
  }
  h4 {
    font-size: var(--s0);
  }
  h5 {
    font-size: var(--s0);
  }
  h6 {
    font-size: var(--s0);
  }
  body {
    font-size: 15px;
  }
  .sm-text-center {
    text-align: center;
  }

  .sm-px-4 {
    padding-inline: 2rem;
  }

  .sm-text-center {
    text-align: center;
  }
  .text-3xl {
    font-size: 20px;
  }
  .text-4xl {
    font-size: 26px;
  }
  .styled-h1 {
    margin-inline: auto;
    font-size: 35px;
    color: rgb(241, 241, 241);
    text-align: center;
  }
  .content-wrapper {
    width: revert;
  }
  .wrapper {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .sm-col-reverse {
    flex-direction: column-reverse;
  }
  .custom-global-banner {
    flex-direction: column;
    top: revert;
    bottom: 0;
    border-top: 1px solid var(--wp--preset--color--primary);
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
  }
  .custom-global-banner a {
    text-align: center;
    font-size: 15px;
  }

  .top-btn {
    font-size: 15px;
  }

  .hero {
    background-image:
      url("./img/revamp/blue-Tile-overlay-400.webp"),
      url("./img/revamp/bb-sub-egt---bg-600.webp");
    min-height: 500px;
    border: solid 8px var(--color-1);
    border-bottom-left-radius: 6em;
    border-bottom-right-radius: 6em;
    align-items: flex-start;
    padding-top: 1rem;
    background-position:
      50%,
      50% 100%,
      0 0;
  }

  .hero h2 {
    font-size: 45px;
    text-align: center;
  }

  .hero h2 span {
    font-size: 75px;
  }

  .hero img {
    max-width: 250px;
  }

  .hero-badge {
    top: 220px;
    right: 5px;
    padding-block: 1.2rem;
  }

  .hero .switcher .relative {
    min-height: 160px;
  }

  .site-footer {
    gap: var(--s2);
  }
}

@media (max-width: 410px) {
  .logo img {
    max-width: 120px;
  }
}
