:root {
  --mainbkcolour: #ffffff;
  --mainbkcolour2:#012559;
  /* #012559 */
  --headercolour: #012559;
  --mainbkcolourdisabled: #6f7a8f;
  /* #6f7a8f */
  --mainfontcolor: #ffffff;
  --secondbkcolour: #ffffff;
  /* #012559 */
}
/* ---------- Base ---------- */
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-color: var(--secondbkcolour);
  padding-bottom: 72px; /* space for fixed footer */
  min-width: 320px;   /* stops shrinking on very small screens */
}
.content{
  max-width: 1200px;
  margin: 0 auto;
  background: var(--mainbkcolour);
  min-height: 100%;
  padding: 20px;
}
/* ---------- Header ---------- */
.site-header{
  width: 100%;
  background: var(--headercolour);
  max-height: 200px;
}
.site-innerheader
{
  max-width: 90%;
  margin: 0 auto;
  background: var(--headercolour);
  max-height: 200px;
  display: flex;
  position: relative;
}
.site-logo
{
  max-width: 140px;
  max-height: 140px;
  overflow: hidden;
}
.site-logo img
{
  max-width: 150px;
}
.site-header .useraccesscontrols
{
  position: absolute;
  right: 0;
  bottom:0;
  padding-bottom: 20px;
  display: flex;
}
.site-header .useraccesscontrols .button
{
  padding: 12px 30px;
  font-size: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.15); /* Transparent white */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 5px;
}


.site-header .useraccesscontrols .button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.2);
}

.site-header .useraccesscontrols .button:active {
    transform: translateY(0);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
}
.other .button
{

}

.cta-button
{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      padding: .9rem 1.1rem;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 700;
      border: 1px solid rgba(15, 23, 42, .12);
      transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
      background-color: var(--mainbkcolour2);
      color: var(--mainfontcolor);
      margin-top:30px;
      margin-bottom:10px;
      cursor: pointer;
}

.cta-button-disabled
{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      padding: .9rem 1.1rem;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 700;
      border: 1px solid rgba(15, 23, 42, .12);
      transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
      background-color: var(--mainbkcolourdisabled);
      color: var(--mainfontcolor);
      margin-top:30px;
      margin-bottom:10px;
      cursor: not-allowed;
}
/* ---------- Footer ---------- */
.site-footer {
  /* position: fixed; */
  left: 0;
  bottom: 0;
  width: 100%;
  height: 72px;
  background: #0f172a;
  color: #e5e7eb;
  z-index: 20;
  padding-top:20px;
}

.footer-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.footer_link
{
  color: var(--mainfontcolor);
  text-decoration: none;
  padding-left: 2px;
  padding-right: 2px;
}
.footer_link:hover
{
  color: var(--mainbkcolour);
  text-decoration: none;
}
.button_link
{
  text-decoration: none;
}
.text-center
{
  text-align: center;
}
.text-left
{
  text-align: left;
}
.text-right
{
  text-align: right;
}
.pad-10 {
    padding: 10px;
}
.pad-20 {
    padding: 20px;
}
.full-width
{
  width: 100%;
}
.half-width
{
  width: 40%;
}
.width-90
{
  width: 90%;
}
.absolute
{
  position: absolute;
}
.bottom
{
  bottom: 0;
}
.center
{
  margin: 0 auto;
}
.left5
{
  left:5%;
}
.cmb-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    text-align: left;
    position: relative;
}
.cmb-grid-inner
{
  position: relative;
  min-height: 350px;
}
.cta-grid-inner-absolute
{
  position: absolute;
}
.cmb-grid .h1, .main_content .h1{
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: bolder;
}

.cmb-grid .h2, .main_content .h2{
  font-size: clamp(1.2rem, 3vw, 2.3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: bolder;
}
.cmb-grid .h3, .main_content .h3{
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1;
  margin: 0 0 1rem;
  font-weight: bolder;
}
.cmb-grid .trust{
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  color: #0f172a;
  font-weight: 600;
  font-size: .95rem;
  opacity: .9;
}
.cmb-grid-2
{
  display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.cmb-grid-3
{
  display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
align-items: stretch;
}
.cmb-grid-4
{
  display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
.cmb-iconcard
{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    position: relative;
}
.cmb-iconcard_pricing
{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    position: relative;   /* required for absolute child */
    padding-bottom: 80px; /* space for button */
    height: 100%;
}
.content2
{
  display: inline-flex;
}
.cmb-grid50 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    text-align: left;
}

.cmb-price {
    font-size: 2rem;
    font-weight: 800;
    margin: .25rem 0 0;
}
.cmb-price span {
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
}
.cmb-price-sub {
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
}
.cmb-iconcard img
{
  border-radius: 10px;
  width: 75px;
  height: 75px;
  position: absolute;
  bottom:5px;
  right:5px;
}

.cmb-iconcard  .review_stars
{
  color:yellow;
  font-size: 40px;
  text-shadow:
  -1px -1px 0 #000,
   0   -1px 0 #000,
   1px -1px 0 #000,
  -1px  0   0 #000,
   1px  0   0 #000,
  -1px  1px 0 #000,
   0    1px 0 #000,
   1px  1px 0 #000;
}
/* ---------- Under Construction Card ---------- */
.main_content{
  background-color: #ffffff;
  color: #0f172a;
  padding: 1em;
  border-radius: 16px;
  min-width: 320px;   /* stops shrinking on very small screens */
  max-width: 90%;
  min-height: 300px;
  width: 100%;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
  text-align: center;
  margin:0 auto;
  margin-bottom:10px;
}

/* ---------- Card Typography ---------- */
.main_content h1 {
  margin-top: 0;
  font-size: 4rem;
}

.main_content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

.main_content form {
  max-width: 360px;
  margin: 0 auto;
}

.main_content label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-weight: 600;
}
.main_content input[type="email"],
.main_content input[type="text"],
.main_content input[type="password"],textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  margin-bottom: 16px;
}

.main_content input[type="submit"] {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.main_content input[type="submit"]:hover {
  background: #020617;
}

.pms-account-navigation ul {
    display: flex;
    justify-content: center;
}
.pms-account-subscription-details-table {
    margin: 0 auto;
}

.main_content .questionnaire form {
  max-width: 80%;
  margin: 0 auto;
  text-align: left;
}
.cmb-qcard
{
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    position: relative;
    max-width: 90%;
    margin: 0 auto;
    margin-top:20px;
    margin-bottom:20px;
}
.cmb-toggle {
    cursor: pointer;
}
.pdf-only {
    display: none;
}
.cmb-qcard label
{
  padding-left: 40%;
}
.submit-wrap {
    text-align: center;
    margin-top: 30px;
}

.submit-wrap .submit_button {
    display: inline-block;
}
.submit_button
{
  padding: 12px 30px;
  font-size: 18px;
  color: white;
  background: var(--mainbkcolour2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 5px;
}

#scorecard {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#scorecard th,
#scorecard td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

#scorecard th {
  background-color: #f5f5f5;
  font-weight: 600;
}

#scorecard tbody tr:nth-child(even) {
  background-color: #fafafa;
}

#scorecard tbody tr:hover {
  background-color: #f0f7ff;
}

#scorecard td:nth-child(4) {
  text-align: center;
  font-weight: 600;
}

.TotalScore,.scoretext{
    text-align: center!important;
  font-weight:bold;
  font-size:25px;
}
.cmb-saving { opacity: 0.6; }

.result_icon
{
  text-align: center!important;
}
.fa-check
{
  color: green;
  font-size: 30px;
  padding-right:10px;
  position: relative;
  top: 5px;
}
.fa-xmark
{
  color: red;
  font-size: 30px;
  padding-right:10px;
  position: relative;
  top: 5px;
}
.fa-triangle-exclamation
{
  color: orange;
  font-size: 30px;
  padding-right:10px;
  position: relative;
  top: 5px;
}
.fa-circle-exclamation
{
  color: green;
  font-size: 30px;
  padding-right:10px;
  position: relative;
  top: 5px;
}
li:has(.fa-check) {
    list-style: none;
    padding-left: 0;
}

@media (max-width: 900px) {
  .site-header {
    padding-bottom: 2px;
  }

  .main_content {
    padding: 1rem;
    border-radius: 14px;
  }

  .main_content h1 {
    font-size: 2rem;
  }

  .footer-inner {
    font-size: 0.85rem;
  }

  .cmb-grid {
      grid-template-columns: 1fr;
  }
  .cmb-grid-inner{
    min-height: 250px;
  }
  .cta-grid-inner-absolute
  {
    position: relative;
  }
  .cmb-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
  .cmb-grid-3 {
    grid-template-columns: repeat(1, 1fr);
}
  .cmb-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}
}
/* ---------- Mobile Tweaks ---------- */
@media (max-width: 600px) {
  body{
    background-color: var(--mainbkcolour);
  }
  .site-header {
    padding-bottom: 8px;
    /* position:fixed; */
    top:0;
    z-index: 10;
    max-height: 100px;
  }
  /* ---------- Header ---------- */
  .site-innerheader
  {
    max-height: 100px;
  }
  .site-logo
  {
    max-width: 100px;
    max-height: 100px;
  }
  .site-logo img
  {
    max-width: 100px;
  }
  .site-header .useraccesscontrols
  {
    padding-bottom: 10px;
  }
  .site-header .useraccesscontrols .button
  {
    padding: 8px 20px;
    font-size: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    transition: all 0.3s ease;
    margin-right: 2px;
  }

  .main_content {
    margin-top:50px;
    padding: 1rem;
    border-radius: 14px;
    max-width: 99%;
  }

  .cmb-grid-2 {
    grid-template-columns: repeat(1, 1fr);
}
  .cmb-grid-4 {
      grid-template-columns: 1fr;
  }
  .main_content h1 {
    font-size: 2rem;
  }
  .content{
    padding: 0;
  }

  .footer-inner {
    font-size: 0.85rem;
  }
}
