/* Engineersahab Diwali gift fireworks banner. Fills the screen height.
   --top leaves room for the site header that sits on top of the banner. */

@font-face {
    font-family: "GW Display";
    src: url("/wp-content/themes/engineersahabedu/assets/fonts/rozha-one-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/wp-content/themes/engineersahabedu/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/wp-content/themes/engineersahabedu/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.gw-banner {
  --ink: #101828;
  --yellow: #FDE74C;
  --top: 180px;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  container-type: size;
}
.gw-sky { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.gw-copy {
  position: absolute;
  top: var(--top);
  left: 50%;
  z-index: 3;
  width: max-content;
  max-width: 60cqw;
  text-align: center;
  transform: translateX(-50%);
}
.gw-copy h1 {
  margin: 0;
  padding: .02em 0 .06em;
  color: transparent;
  font: 400 min(11.500cqh, 7cqw)/1.04 "GW Display", Georgia, serif;
  background: linear-gradient(176deg, #FFF8D0 14%, #FDE74C 50%, #F9A825 88%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 min(2.600cqh, 28px) rgba(253, 200, 70, .45));
}
.gw-offer { margin: .2em 0 0; color: #F2F4F7; font-size: clamp(15px, 2.500cqh, 22px); font-weight: 500; line-height: 1.35; }
.gw-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: min(5cqh, 50px);
  padding: .7em 1.6em;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: clamp(15px, 2.300cqh, 20px);
  font-weight: 700;
  text-decoration: none;
  transition: translate .18s ease, box-shadow .18s ease;
}
.gw-btn img {width: 16px;}
.gw-btn i { font-style: normal; font-size: 1.3em; line-height: 1; }
.gw-btn:hover,
.gw-btn:focus-visible { translate: 0 -2px; box-shadow: 0 8px 24px rgba(253, 231, 76, .4); }
.gw-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.gw-list {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gw-pot {
  position: absolute;
  bottom: 2.500cqh;
  left: 50%;
  z-index: 2;
  display: block;
  width: min(26cqh, 18cqw);
  height: auto;
  overflow: visible;
  transform: translateX(-50%);
}
.gw-pot.kick { animation: gw-kick .32s ease-out; }
.gw-inside { animation: gw-inner 1.800s ease-in-out infinite; }

@keyframes gw-kick {
  30% { transform: translateX(-50%) translateY(5px) scale(1.04, .96); }
}
@keyframes gw-inner { 50% { opacity: .75; } }

@media (max-width: 760px) {
  .gw-banner { --top: 140px; height: max(100svh, 740px); }
  .gw-copy { width: calc(100% - 32px); max-width: none; }
  .gw-copy h1 { font-size: 13.500cqw; }
  .gw-offer { font-size: 15px; }
  .gw-btn { margin-top: 12px; font-size: 16px; }
  .gw-pot { width: 34cqw; }
}

@media (prefers-reduced-motion: reduce) {
  .gw-pot, .gw-inside { animation: none !important; }
  .gw-btn { transition: none; }
}
