:root {
  --maroon: #7d0f2b;
  --yellow: #f9d300;
  --yellow-deep: #e3bd00;
  --navy: #0b3a9a;
  --ink: #1b1b1b;
  overflow-x: hidden;
}
* {
  font-family: "Poppins", system-ui, sans-serif;
}
body {
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
.page {
  position: relative;
  min-height: 100vh;
}

.thankyou{
  position: absolute;
  right: 0;
  left: 0;
}

/* top yellow blob */
.blob-top {
  position: absolute;
  top: 0;
  left: 0;
  width: min(62vw, 900px);
  height: 260px;
  z-index: 0;
  pointer-events: none;
}
.blob-top svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand {
  position: relative;
  z-index: 2;
  padding: 0 0 0 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-link img {
  width: 160px;
  margin-top: 20px;
}
.brand-text {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.deco.middle-mob {
  display: none;
}

.headline-col {
  padding-top: 5.5rem;
}

.content {
  position: relative;
  z-index: 2;
}
h1.headline {
  color: var(--maroon);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
}
.lead-copy {
  font-size: 14px;
  max-width: 34rem;
}
.tagline {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.fact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}
.fact svg {
  width: 38px;
  height: 38px;
  flex: none;
  stroke: var(--maroon);
  fill: none;
  stroke-width: 1.6;
}

/* hero illustration */
.hero-art {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
}

.hero-art img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: contain;
}

/* form card */
.form-wrap {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
}
.form-card {
  background: var(--yellow);
  border-radius: 36px;
  padding: 0 2rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 9rem;
}
.form-card::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 90px;
  height: 110px;
  background: var(--yellow-deep);
  border-radius: 50% 50% 0 0;
  transform: rotate(-18deg);
  z-index: 0;
}
.form-card > * {
  position: relative;
  z-index: 1;
}
.badge-bar {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 22px 22px;
  padding: 0.9rem 1.1rem;
  margin: 0 0.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.badge-bar svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.form-title {
  color: var(--maroon);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.form-control,
.form-select {
  border: 0;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  font-size: 0.95rem;
  box-shadow: none;
}
.form-control::placeholder {
  color: #6b6b6b;
  letter-spacing: 0.02em;
}
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(125, 15, 43, 0.35);
}
.input-group-text {
  background: #fff;
  border: 0;
  border-radius: 12px 0 0 12px;
  color: #555;
  font-size: 0.95rem;
  padding-right: 0.8rem;
  border-right: 1px solid #e3e3e3;
}
.input-group .form-control {
  border-radius: 0 12px 12px 0;
}
.consent {
  font-size: 0.8rem;
  color: #3b3b3b;
}

.badge-bar span {
  font-size: 11px;
}
.consent .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background-color: transparent;
  margin-top: 0.1rem;
}
.consent .form-check-input:checked {
  background-color: var(--maroon);
  border-color: var(--maroon);
}
.btn-enquire {
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 0;
  border-radius: 40px;
  padding: 1rem;
  font-size: 1.05rem;
}
.btn-enquire:hover,
.btn-enquire:focus {
  background: #5f0a20;
  color: #fff;
}
.btn-enquire:disabled {
  opacity: 0.7;
}
.invalid-feedback {
  background: #fff;
  border-radius: 8px;
  padding: 0.2rem 0.6rem;
  margin-top: 0.3rem;
  font-size: 0.8rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
  color: var(--maroon);
}
.form-success h2 {
  font-weight: 800;
  font-size: 1.4rem;
}

/* decorative */
.deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.deco.corner {
  top: 0;
  right: 0;
}

.deco.middle {
  left: 60%;
}
.deco.star1 {
  top: 70px;
  right: 12%;
  width: 36px;
}
.deco.tri {
  right: -54px;
  bottom: -70px;
  width: 96px;
  z-index: 2;
}

.coming-soon {
  position: absolute;
  right: 15%;
  bottom: 5%;
}

.footer {
  background: url(../img/footer-bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}

.footer-note {
  font-size: 0.75rem;
  color: #ffffff;
}
.sticky-cta {
  display: none;
}

@media (max-width: 991.98px) {
  .brand-link img {
    width: 130px;
  }

  .blob-top img {
    height: 170px;
  }

  .deco.middle {
    /* left: 0; */
    display: none;
  }

  .deco.middle-mob {
    display: block;
    top: 50px;
    right: -10px;
  }
  .brand-text {
    font-size: 1.1rem;
  }
  .headline-col {
    padding-top: 3.5rem;
  }

  .deco.star1,
  .deco.corner {
    display: none;
  }

  .coming-soon {
    position: absolute;
    right: 30%;
    bottom: 3%;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
  }
  body {
    padding-bottom: 70px;
  }

  .footer {
    background-position: right;
  }
}

@media (max-width: 767px) {
  .blob-top img {
    width: 100vw;
    height: auto;
  }

  .brand-link img {
        width: 120px;
        margin-top: 10px;
    }

  h1.headline {
    font-size: 24px;
  }

  .facts {
    flex-wrap: nowrap;
  }

  .fact {
    align-items: flex-start;
    flex-direction: column;
    font-size: 12px;
  }

  .coming-soon {
    position: absolute;
    right: 12%;
    bottom: 3%;
  }
}
/* ---------- Validation ---------- */
.form-control.is-invalid,
.form-select.is-invalid {
  background-image: none;
  padding-right: 1.1rem;
  box-shadow: 0 0 0 3px #c4122f;
}
.form-select.is-invalid {
  background-image: var(--bs-form-select-bg-img);
  padding-right: 2.25rem;
}
.form-control.is-valid,
.form-select.is-valid {
  background-image: none;
  box-shadow: 0 0 0 3px #2e9e5b;
}
.form-select.is-valid {
  background-image: var(--bs-form-select-bg-img);
  padding-right: 2.25rem;
}
.input-group .form-control.is-invalid,
.input-group .form-control.is-valid {
  box-shadow: none;
}
.input-group:has(.is-invalid) .input-group-text {
  box-shadow:
    inset 3px 0 0 #c4122f,
    inset 0 3px 0 #c4122f,
    inset 0 -3px 0 #c4122f;
}
.input-group:has(.is-invalid) .form-control {
  box-shadow:
    inset -3px 0 0 #c4122f,
    inset 0 3px 0 #c4122f,
    inset 0 -3px 0 #c4122f;
}
.input-group:has(.is-valid) .input-group-text {
  box-shadow:
    inset 3px 0 0 #2e9e5b,
    inset 0 3px 0 #2e9e5b,
    inset 0 -3px 0 #2e9e5b;
}
.input-group:has(.is-valid) .form-control {
  box-shadow:
    inset -3px 0 0 #2e9e5b,
    inset 0 3px 0 #2e9e5b,
    inset 0 -3px 0 #2e9e5b;
}
.invalid-feedback {
  display: none;
  color: #b00020;
  font-weight: 500;
  width: 100%;
}
.is-invalid ~ .invalid-feedback,
.invalid-feedback.show {
  display: block;
}
.invalid-feedback::before {
  content: "\26A0\FE0E ";
}
.form-check-input.is-invalid {
  border-color: #c4122f;
  box-shadow: 0 0 0 3px #c4122f;
}
.error-summary {
  background: #fff;
  border-left: 5px solid #c4122f;
  color: #b00020;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.error-summary[hidden] {
  display: none;
}

/* ---------- Animations ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blobIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blobFlow {
  from {
    transform: translateX(-30%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(-6px, -10px) rotate(6deg);
  }
}
@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 15, 43, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 16px rgba(125, 15, 43, 0);
  }
}
@keyframes shine {
  0% {
    transform: translateX(-120%);
  }
  60%,
  100% {
    transform: translateX(220%);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: none;
  }
  20%,
  60% {
    transform: translateX(-8px);
  }
  40%,
  80% {
    transform: translateX(8px);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

/* One orchestrated page-load sequence */
.blob-top svg {
  animation: blobFlow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.brand {
  animation: riseIn 0.6s 0.1s both;
}
h1.headline {
  animation: riseIn 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.lead-copy {
  animation: riseIn 0.8s 0.4s both;
}
.tagline {
  animation: riseIn 0.8s 0.5s both;
}
.fact {
  animation: riseIn 0.7s both;
}
.fact:nth-child(1) {
  animation-delay: 0.6s;
}
.fact:nth-child(2) {
  animation-delay: 0.7s;
}
.fact:nth-child(3) {
  animation-delay: 0.8s;
}
.hero-art .navy {
  animation: blobIn 0.9s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transform-origin: 70% 80%;
}
.hero-art .gold {
  animation: blobIn 0.9s 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transform-origin: 20% 90%;
}
.hero-art img {
  animation:
    popIn 0.9s 1s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    float 6s 2s ease-in-out infinite;
}
.form-card {
  animation: slideLeft 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.badge-bar {
  animation: dropIn 0.7s 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  position: relative;
  overflow: hidden;
}
.badge-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  animation: shine 4s 2.2s ease-in-out infinite;
}
.badge-bar svg {
  animation: spin 1.2s 1.2s ease-out 1;
}
.form-title,
.form-card form .mb-3,
.form-card form .mb-4,
.consent {
  animation: riseIn 0.6s both;
}
.form-title {
  animation-delay: 1.05s;
}
.form-card form .mb-3:nth-of-type(1) {
  animation-delay: 1.15s;
}
.form-card form .mb-3:nth-of-type(2) {
  animation-delay: 1.23s;
}
.form-card form .mb-3:nth-of-type(3) {
  animation-delay: 1.31s;
}
.form-card form .mb-3:nth-of-type(4) {
  animation-delay: 1.39s;
}
.form-card form .mb-3:nth-of-type(5) {
  animation-delay: 1.47s;
}
.form-card form .mb-4 {
  animation-delay: 1.55s;
}
.consent {
  animation-delay: 2.03s;
}
.btn-enquire {
  animation: riseIn 0.6s 1.65s both;
}

/* Ambient decoration */
.deco.star1,
.deco.star-3,
.deco.middle {
  animation: spin 18s linear infinite;
}

.deco.tri {
  animation: bob 6s ease-in-out infinite;
}

/* Interaction feedback */
.form-control,
.form-select,
.input-group-text {
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.form-control:focus,
.form-select:focus {
  transform: translateY(-2px);
}
.btn-enquire {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn-enquire:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(125, 15, 43, 0.35);
}
.btn-enquire:active {
  transform: translateY(0) scale(0.98);
}
#submitBtn:not(:disabled) {
  animation:
    riseIn 0.6s 1.65s both,
    ring 2.4s 3s infinite;
}
.fact svg {
  transition: transform 0.3s;
}
.fact:hover svg {
  transform: rotate(-8deg) scale(1.12);
}
#leadForm.shake {
  animation: shake 0.45s;
}
.form-success.show h2 {
  animation: popIn 0.6s both;
}
.form-success.show p {
  animation: riseIn 0.6s 0.2s both;
}
.sticky-cta {
  animation: slideUp 0.6s 2s both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
