/* make sizing predictable so padding doesn't expand elements unexpectedly */
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-image:
    linear-gradient(
      135deg,
      rgba(9, 18, 31, 0.36),
      rgba(11, 30, 52, 0.28),
      rgba(16, 26, 38, 0.42)
    ),
    url("assets/ExamBGB.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 0;
  padding: 20px;
  font-family: "Archivo Black";
  color: rgb(255, 255, 255);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 18, 33, 0.46),
    rgba(16, 34, 59, 0.22),
    rgba(9, 17, 29, 0.5)
  );
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(2px) saturate(160%);
  z-index: 0;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  left: 50%;
  bottom: 18px;
  width: min(68vw, 920px);
  height: 2px;
  transform: translateX(-50%);
  /* background: linear-gradient(90deg, transparent, #d6b14a 18%, #f2d57a 50%, #d6b14a 82%, transparent); */
  /* box-shadow: 0 0 10px rgba(214, 177, 74, 0.42); */
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

/* ensure page content appears above the overlay */
body > * {
  position: relative;
  z-index: 1;
  padding: 1px;
}

.div1 {
  position: relative;
  z-index: 1;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 48, 0.82),
    rgba(13, 35, 63, 0.72),
    rgba(9, 18, 31, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #d6b14a;
  border-bottom: 2px solid #d6b14a;
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 40px rgba(2, 6, 23, 0.5);
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.mtitle {
  text-align: center;
  font-size: clamp(0.9rem, 1.6vw, 1.7rem);
  letter-spacing: 0.04em;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-transform: none;
}

.navHead {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.linkStyle {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.linkStyle:hover {
  color: #f2d57a;
}

section {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 5vh;
  font-family: "Libre Baskerville";
  font-size: 1.25rem;
}

footer {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2.5rem;
  padding: 0.8rem 1rem 0.7rem;
  color: rgba(235, 241, 255, 0.9);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 48, 0.78),
    rgba(13, 35, 63, 0.64),
    rgba(9, 18, 31, 0.78)
  );
  border-top: 3px solid #d6b14a;
  border-bottom: 2px solid #d6b14a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 -10px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 52%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d6b14a 15%, #f2d57a 50%, #d6b14a 85%, transparent);
  box-shadow: 0 0 10px rgba(214, 177, 74, 0.38);
}

.footerParagraph {
  margin: 0.2rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.img1 {
  max-width: 50%;
  height: auto;
  border-radius: 6px;
}

.img2 {
  max-width: 100px;
  height: 50px;
  display: block;
  border-radius: 8px;
}

h2 {
  font-size: 2.5rem;
  margin: 0.5em 0;
  /* hand-lettered, calligraphic style — close match from Google Fonts */
  font-family: "Great Vibes", cursive;
}

.countdownframe {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 540px;
  margin: 1.5rem auto;
  padding: 1.6rem 1.4rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 48, 0.82),
    rgba(13, 35, 63, 0.72),
    rgba(9, 18, 31, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #d6b14a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  font-family: "Archivo Black", sans-serif;
  overflow: hidden;
}

.countdownframe::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.24),
    rgba(214, 177, 74, 0.9),
    rgba(255, 255, 255, 0.24),
    transparent
  );
  opacity: 0.9;
}

.countdownframe::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d6b14a 15%, #f2d57a 50%, #d6b14a 85%, transparent);
  box-shadow: 0 0 14px rgba(214, 177, 74, 0.5);
}

.numbercontainer {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 0.45rem 0.7rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.countdspan {
  display: block;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 0 0px rgba(247, 215, 105, 0.95),
    0 0 6px rgba(247, 215, 105, 0.9),
    0 0 14px rgba(255, 193, 7, 0.85),
    0 0 24px rgba(255, 193, 7, 0.8),
    0 0 38px rgba(255, 180, 0, 0.7);
  filter: drop-shadow(0 0 10px rgba(255, 190, 30, 0.9));
}

.countdsmall {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.CTAction {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 32px));
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 1.5rem;
  color: rgb(235, 241, 255);
  text-align: center;
  font-family: "Libre Baskerville";
  font-size: 1.15rem;
  line-height: 1.7;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 48, 0.82),
    rgba(13, 35, 63, 0.72),
    rgba(9, 18, 31, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #d6b14a;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 22px 40px rgba(3, 8, 18, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  overflow: hidden;
}

.CTAction::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.24),
    rgba(214, 177, 74, 0.9),
    rgba(255, 255, 255, 0.24),
    transparent
  );
  opacity: 0.9;
}

.CTAction::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d6b14a 15%, #f2d57a 50%, #d6b14a 85%, transparent);
  box-shadow: 0 0 14px rgba(214, 177, 74, 0.5);
}

.CTAction form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.emailinput {
  flex: 1 1 260px;
  max-width: 360px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.emailinput::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.emailbutton {
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 177, 74, 0.7);
  background: linear-gradient(135deg, #d6b14a, #b98e26);
  color: #0b1220;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(214, 177, 74, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emailbutton:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(214, 177, 74, 0.38);
}
