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

:root {
  --font-sans: "Open Sans", Helvetica, Arial, sans-serif;
  --navy: #1a3a6b;
  --navy-dark: #112a52;
  --green: #27ae60;
  --green-light: #2ecc71;
  --orange: #e67e22;
  --orange-dark: #ca6f1e;
  --dark-blue: linear-gradient(135deg, #1a3a6b 0%, #1e4d8c 100%);
  --loader: #27ae60;
}

html { height: 100%; }

body {
  font-family: var(--font-sans);
  background-color: #f4f7fb;
  box-sizing: border-box;
  max-width: 1920px;
  min-height: 100vh;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ----- NAVBAR ----- */

.navbar-custom {
  background: var(--dark-blue);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-trust {
  color: #a8d8b9;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-trust i {
  color: var(--green-light);
}

@media (max-width: 575.98px) {
  .navbar-brand img { height: 38px; }
  .header-trust { font-size: 0.78rem; }
}

/* ----- HERO ----- */

.section-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #1e4d8c 60%, #2563b0 100%);
  color: #fff;
}

.section-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto;
}

.trust-badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.18);
  color: #a8e6c0;
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-badge i { color: var(--green-light); }

/* ----- SECTION LAYOUT ----- */

.section {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- FORM CARD ----- */

.form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(26, 58, 107, 0.10);
  padding: 28px 24px 32px;
  margin-top: -20px;
}

@media (min-width: 576px) {
  .form-card { padding: 36px 40px 40px; }
}

/* ----- PROGRESS BAR ----- */

.progress-wrapper { }

.step-labels {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9cadc7;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.step-label .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dce6f5;
  color: #9cadc7;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}

.step-label.active {
  color: var(--navy);
}

.step-label.active .step-num {
  background: var(--navy);
  color: #fff;
}

.step-label.done {
  color: var(--green);
}

.step-label.done .step-num {
  background: var(--green);
  color: #fff;
}

.progress { border-radius: 10px; background-color: #dce6f5; }

.progress-bar {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* ----- STEP TITLE ----- */

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

/* ----- FORM FIELDS ----- */

.form-label {
  font-size: 0.87rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.form-control, .form-select {
  font-size: 0.95rem;
  border-color: #c8d8ea;
  border-radius: 8px;
  padding: 10px 12px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

.form-control.text-uppercase { text-transform: uppercase; }

.req { color: #e74c3c; }

/* ----- CTA & SUBMIT BUTTONS ----- */

.btn-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.3);
}

.btn-cta:hover, .btn-cta:focus {
  filter: brightness(1.07);
  color: #fff;
  transform: translateY(-1px);
}

.btn-submit {
  background: linear-gradient(135deg, var(--orange) 0%, #f39c12 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
}

.btn-submit:hover, .btn-submit:focus {
  filter: brightness(1.07);
  color: #fff;
  transform: translateY(-1px);
}

/* ----- RADIO CARDS ----- */

[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 2px solid #c8d8ea;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-align: center;
  gap: 6px;
}

.radio-label:hover {
  border-color: var(--navy);
  background: #edf2fb;
}

.radio-label.item-active {
  border-color: var(--green);
  background: #eafaf1;
  color: #1a6b3a;
}

/* ----- NOTES ----- */

.secure-note, .submit-note {
  font-size: 0.78rem;
  color: #8a9bb5;
}

.secure-note i, .submit-note i {
  color: var(--green);
}

/* ----- DECLARATIONS ----- */

.declaration-item {
  background: #f8fafc;
  border: 1px solid #e2ecf7;
  border-radius: 10px;
  padding: 16px;
}

.declaration-item .form-check-label {
  font-size: 0.84rem;
  color: #374151;
  cursor: pointer;
}

.declaration-item .form-check-input {
  margin-top: 3px;
  border-color: #c8d8ea;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.declaration-item .form-check-input:checked {
  background-color: var(--green);
  border-color: var(--green);
}

.declaration-item a {
  color: var(--navy);
  font-weight: 600;
}

/* ----- ERROR MESSAGE ----- */

.errormsg {
  color: #c0392b;
  opacity: 0;
  max-height: 0;
  transform: translateY(-5px);
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 0.35s ease, max-height 0.35s ease, transform 0.35s ease;
  overflow: hidden;
  min-height: 22px;
}

.errormsg.active {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

/* ----- BACK BUTTON ----- */

.return { color: #9cadc7; font-size: 0.85rem; }
.backbtn { cursor: pointer; }
.backbtn:hover { color: var(--navy); }

/* ----- HONEYPOT ----- */

#email, #phone { position: absolute; top: -9999px; }

/* ----- STEP TRANSITIONS ----- */

.step-container {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.step {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.step:not(.disabled) {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.step.disabled {
  pointer-events: none;
  z-index: 0;
}

.step.leaving {
  opacity: 0;
  transform: translateX(-12%);
  pointer-events: none;
  z-index: 1;
}

/* ----- TRUST BAR ----- */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26, 58, 107, 0.07);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #374151;
}

.trust-item i {
  font-size: 1.1rem;
  color: var(--green);
}

.ssl-img {
  height: 28px;
  width: auto;
}

/* ----- INFO BOX ----- */

.info-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(26, 58, 107, 0.07);
}

.info-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-point > i {
  font-size: 1.8rem;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-point strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.info-point p {
  font-size: 0.83rem;
  color: #6b7a90;
}

/* ----- DISCLAIMER ----- */

.disclaimer {
  background-color: #eef1f6;
  font-size: 0.7rem;
  color: #6b7a90;
}

.disclaimer > .container { max-width: 820px; }

/* ----- FOOTER ----- */

.footer {
  background: var(--dark-blue);
  color: #ecf0f1;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: #b8cde4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.footer-links a:hover { color: var(--green-light); }

.footer-separator { color: #4a6a99; }

.copyright {
  color: #6b88ab;
  font-size: 0.85rem;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

@media (max-width: 767.98px) {
  .footer { padding: 28px 0 14px; }
  .footer-logo { max-width: 140px; margin: 0 auto 16px; display: block; }
  .footer-links { justify-content: center; flex-direction: column; align-items: center; gap: 12px; }
  .footer-separator { display: none; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-separator { display: none; }
}

/* ----- LAYER (content modal) ----- */

.layerblur {
  width: 100%; height: 100%;
  position: fixed;
  opacity: 1;
  left: 0; top: 0;
  transition: 1s;
}

.blurring {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.layercontent {
  position: relative;
  top: 5rem;
  z-index: 10;
  padding: 1.5em;
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  color: #999;
  height: auto;
  max-width: 923px;
  width: 100%;
  transition: all 0.5s ease;
  margin: auto;
  scale: 0;
}

.layercontent.activate { scale: 1; }

#layercontentbox {
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

#layercontent img { max-width: 200px; }
#layercontentclose { float: right; margin-right: 15px; }
.layercontentclose { text-align: right; }

.window-close {
  border: 0; border-radius: 5px;
  color: #f1faee;
  background-color: #ff97a7;
  font-weight: 800;
  font-style: normal;
  padding: 0.01rem 0.3rem;
}

/* ----- THANK YOU PAGE ----- */

#thankyoubg {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  width: 100%; min-height: 100%;
  z-index: 9;
  background-color: rgba(0,0,0,0.4);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.thanks-page {
  max-width: 900px;
  width: 100%;
  margin: auto;
  border-radius: 10px;
  background-color: #f4f4f5;
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 1000ms linear;
}

.info-thanks { padding: 25px 40px; }

.info-thanks .text {
  font-size: 1.2rem;
  line-height: 1.4rem;
  color: #4D4D4D;
  text-align: center;
}

.info-thanks .text h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #0091A9;
}

.info-thanks .text h4 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 30px;
}

.info-thanks .line {
  height: 6px !important;
  width: 45%;
  margin: 0 auto 20px;
  color: #0091A9;
  border-radius: 2px;
  opacity: 100%;
}

/* ----- LOADER ----- */

.thankyouloader {
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  width: 100%;
  height: auto;
}

#thankyouloader-txt {
  text-align: center;
  font-size: 20px;
  color: var(--navy);
}

.thanks-span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-svg {
  color: var(--loader);
  font-size: 45px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em; height: 1em;
  margin: 3rem auto;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

.logo-loading { margin-top: 1.5rem; }
#loader-txt { border-radius: 10px; padding: 1rem 0 3rem; }
#loader-txt > h1 { font-weight: 800; }

@keyframes mltShdSpin {
  0%,5%,95% { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }
  10%,59%   { box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em; }
  20%       { box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em; }
  38%       { box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em; }
  100%      { box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }
}

@keyframes round {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ----- CONTACT FORM ----- */

.contactform {
  position: relative; top: 5rem; z-index: 10;
  padding: 1.5em;
  background-color: #f7f7f7;
  border: 2px solid #ccc;
  border-radius: 10px;
  color: #999;
  height: auto;
  max-width: 556px;
  width: 100%;
  transition: all 0.5s ease;
  margin: auto;
  scale: 0;
}

.contactform.activate { scale: 1; }

#button-contact { width: 100%; }

.contact-btn {
  background-color: var(--orange);
  padding: 0.5rem 1.5rem;
  margin: auto;
  border: 0;
  color: #f7f7f7;
  border-radius: 5px;
  width: 100%;
}

.contact-btn:hover { background-color: var(--orange-dark); }

#xclose {
  padding: 5px; margin: 0 5px 10px 0;
  background-color: #ececec;
  border: 1px solid #c5c5c5;
  width: 26px;
}

#bclose {
  line-height: 1em; border-radius: 0;
  padding: 4px 0; font-size: 18pt;
  border: 0; background-color: transparent;
}

#bclose:hover { background-color: transparent; }

#contacterr { margin: 10px 0; color: red; }

.form-label a { color: unset; }
