:root {
  --bg-dark: #3a3a3d;
  --text-main: #fdfdfd;
  --accent-red: #dc0000;
  --accent-red-dark: #a10000;
  --card-white: #ffffff;
}

.tb2 {
  box-sizing: border-box;
}

.dark .bgh{
  background: #2a2a2a!important;
}

.bgh{
  background: #fff!important;
}

.tb2 p{
  text-shadow: none!important;
  color: black!important;
}

.dark .tb2 p{
  text-shadow: none!important;
  color: #fff!important;
}


.hero.tb2 {
  position: relative;
  max-height: 1000px;
  height: 1000px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 64px;
}

.hero.tb2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  display: none;
}

.tb2 .texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: none;
}

.hero.tb2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: none;
}

.tb2 .content {
  width: min(980px, 100%);
  text-align: center;
  color: var(--text-main);
  position: relative;
  z-index: 2;
  padding-top: 6px;
}

.tb2  .languages {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  direction: ltr;
  flex-wrap: nowrap;
}

.tb2  .lang {
  background: var(--card-white);
  color: #2a2a2a;
  border-radius: 12px;
  min-width: 126px;
  padding: 11px 18px;
  line-height: 1;
  font-family: Cairo, sans-serif;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.24), 0 6px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.tb2  .lang.active,
.tb2  .filter-btn.active {
  background: var(--bg-primary);
  color: #ffffff;
}

.tb2 .tab-pane {
  display: block;
}

.tb2 .tab-pane.hidden,
.tb2 .menu-item.hidden {
  display: none;
}

.tb2  h1,
.tb2  p {
  margin: 0;
  text-shadow: 0 1px 0 #000, 0 2px 0 #000, 2px 3px 1px rgba(0, 0, 0, 0.78);
}

.tb2  h1 {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.28;
  letter-spacing: 0.3px;
  font-weight: 700;
  font-family: "Aref Ruqaa", serif;
}

.tb2  p {
  font-size: clamp(33px, 2.85vw, 45px);
  line-height: 1.55;
  font-weight: 700;
  margin-top: 8px;
  font-family: "Aref Ruqaa", serif;
}

.tb2  .celebrate {
  margin-top: 14px;
}

.tb2  .cta {
  display: inline-block;
  margin-top: 72px;
  font-family: "Aref Ruqaa", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  background: var(--bg-primary);
  text-decoration: none;
  border-radius: 28px;
  min-width: 231px;
  padding: 10px 5px 13px;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
  transition: background 0.2s ease;
}

.tb2  .cta:hover {
  background: var(--accent-red-dark);
}

.tb2  .side-image {
  position: absolute;
  bottom: 180px;
  width: min(380px, 25vw);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
}

.tb2  .side-left {
  left: 32px;
  z-index: 5;
}

.tb2  .side-right {
  right: 32px;
  z-index: 5;
  transform: scaleX(-1);
}

.tb2 .bottom-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14px;
  background: var(--strip-green);
  z-index: 4;
}

@media (max-width: 1280px) {
  .side-image {
    width: min(300px, 29vw);
    bottom: 200px;
    opacity: 0.95;
  }

  .lang {
    font-size: 18px;
    min-width: 118px;
  }

  .cta {
    font-size: 37px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding-bottom: 40px;
  }

  .side-image {
    display: none;
  }

  .languages {
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .lang {
    min-width: 120px;
    font-size: 19px;
    padding: 12px 16px;
  }

  h1 {
    font-size: clamp(26px, 5.8vw, 38px);
  }

  p {
    font-size: clamp(23px, 5.2vw, 33px);
    line-height: 1.48;
  }

  .cta {
    min-width: 260px;
    margin-top: 48px;
    font-size: 30px;
    padding: 12px 30px 14px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 100dvh;
    padding: 14px 14px 30px;
    align-items: flex-start;
  }

  .languages {
    margin-top: 6px;
  }

  .lang {
    min-width: 0;
    width: calc(50% - 6px);
    text-align: center;
    font-size: 21px;
    padding: 11px 6px;
  }

  h1 {
    margin-top: 14px;
  }

  .cta {
    width: min(320px, 92vw);
  }
}
