*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ══════════════════════════
   PRELOADER
══════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* — Corner brackets — */
.bracket {
  position: absolute;
  width: 36px;
  height: 36px;
}
.bracket::before, .bracket::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.60);
}
.bracket::before {
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
}
.bracket::after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 0;
}
.bracket.tl {
  top: 28px;
  left: 28px;
}
.bracket.tr {
  top: 28px;
  right: 28px;
  transform: scaleX(-1);
}
.bracket.bl {
  bottom: 28px;
  left: 28px;
  transform: scaleY(-1);
}
.bracket.br {
  bottom: 28px;
  right: 28px;
  transform: scale(-1, -1);
}
/* — Logo — */
.pre-logo {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.0rem, 12vw, 7rem);
  letter-spacing: 0.125em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  position: relative;
  line-height: 1.5;
  user-select: none;
}
.pre-logo-fill {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Poppins', sans-serif;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--white);
  white-space: nowrap;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.pre-logo-fill.reveal {
  clip-path: inset(0% 0 0 0);
}
/* — Unique loader: Morphing liquid ring — */
.loader-ring {
  position: relative;
  width: 200px;
  height: 200px;
}
.loader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ring-spin 2s linear infinite;
}
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}
.ring-arc {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 180 226;
  stroke-dashoffset: 0;
  animation: arc-chase 2s ease-in-out infinite;
}
.ring-arc.a1 {
  stroke: var(--gold);
  filter: drop-shadow(0 0 2px var(--gold));
}
.ring-arc.a2 {
  stroke: rgba(0, 0, 126, 1.00);
  stroke-dasharray: 60 346;
  animation: arc-chase2 1.75s ease-in-out infinite;
}
@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes arc-chase {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -180;
  }
  100% {
    stroke-dashoffset: -406;
  }
}
@keyframes arc-chase2 {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -80;
  }
  100% {
    stroke-dashoffset: -406;
  }
}
@keyframes dot-breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
  }
}
/* — Counter — */
.pre-count {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.125em;
  color: rgba(255, 255, 255, 0.55);
}
.pre-count span {
  color: var(--gold);
  font-weight: 400;
}
/* ══════════════════════════
   PAGE
══════════════════════════ */
#page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}
#page.visible {
  opacity: 1;
  transform: translateY(0);
}
/* subtle grid bg */
#page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
/* glow blob */
#page::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(200, 168, 75, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
#page.visible .eyebrow {
  opacity: 1;
  transform: translateY(0);
}
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.65s, transform 0.8s ease 0.65s;
}
h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
}
#page.visible h1 {
  opacity: 1;
  transform: translateY(0);
}
p.sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 44px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.85s, transform 0.7s ease 0.85s;
}
#page.visible p.sub {
  opacity: 1;
  transform: translateY(0);
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 1s, transform 0.7s ease 1s;
}
#page.visible .cta-row {
  opacity: 1;
  transform: translateY(0);
}
/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.6s ease 1.4s;
  z-index: 1;
}
#page.visible .scroll-cue {
  opacity: 1;
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: line-bounce 2s ease-in-out infinite;
}
.scroll-cue-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}
@keyframes line-bounce {
  0%, 100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}
.logo-container {
  display: flex;
  justify-content: center;
  margin-left: 60px;
  transform: skew(30deg);
}
.header-img {
  width: 100%;
  max-width: 600px;
  height: auto;
}
.banner {
  align-items: center;
  display: flex;
  margin-bottom: 100px;
  margin-top: 100px;
  justify-content: center;
}
/* -----------------------------------------
:: Minimum Heights & Padding
----------------------------------------- */
.mh-1200 {
  min-height: 1200px;
}
.mh-1000 {
  min-height: 1000px;
}
.mh-800 {
  min-height: 800px;
}
.mh-750 {
  min-height: 750px;
}
.mx-600 {
  max-height: 630px;
}
.mh-500 {
  min-height: 500px;
}
.mx-500 {
  max-height: 500px;
}
.mh-300 {
  min-height: 300px;
}
.mh-250 {
  min-height: 250px;
}
.m-25-t {
  margin-top: 25px;
}
.m-50-t {
  margin-top: 50px;
}
.m-35-t {
  margin-top: 35px;
}
.m-100-t {
  margin-top: 100px;
}
.m-150-t {
  margin-top: 150px;
}
.m-25-b {
  margin-bottom: 25px;
}
.m-50-b {
  margin-bottom: 50px;
}
.m-75-b {
  margin-bottom: 75px;
}
.m-100-b {
  margin-bottom: 100px;
}
.m-150-b {
  margin-bottom: 150px;
}
.m-200-b {
  margin-bottom: 200px;
}
.p-100-b {
  padding-bottom: 100px;
}
.p-75-b {
  padding-bottom: 75px;
}
.p-50-b {
  padding-bottom: 50px;
}
.p-25-b {
  padding-bottom: 25px;
}
.p-10-b {
  padding-bottom: 10px;
}
.m-50-rl {
  margin-right: 150px;
  margin-left: 150px;
}
/* -----------------------------------------
::  Custom Text
----------------------------------------- */
.invisible-text {
  visibility: hidden;
}
.text-white {
  color: #ffffff;
  text-shadow: 2px 2px 3px #000000;
}
.signature {
  color: #ffffff;
  text-shadow: 1px 1px 2px #000000;
}
.rmp-text {
  font-size: 19px;
  color: #97a2b7;
}
.rmp-red:hover {
  color: #820000;
}
.title-red {
  color: #AA0000;
  text-shadow: 2px 2px 1px #000000;
}
.title-blue {
  color: #396A7C;
  text-shadow: 2px 2px 2px #000000;
}
.title-2 {
  color: #229CC8;
  text-shadow: 2px 2px 2px #000000;
}
.header-text {
  text-shadow: 2px 2px 3px #000000;
}
.header-text-2 {
  color: #0C2340;
  font-size: 3.5rem;
  text-shadow: 2px 2px 3px #000000;
  line-height: 3.5rem;
  font-weight: 600;
}
.text-thanks {
  color: #0C2340;
  font-weight: 600;
  padding: 30px;
  font-size: 3.5rem;
  line-height: 3.5rem;
}
.text-rmp {
  color: #ffffff;
  font-weight: 600;
  padding-bottom: 35px;
  font-size: 2.75rem;
  text-shadow: 2px 2px 2px #000000;
}
.text-email {
  color: #0C2340;
  font-size: 2.0em;
}
.shadow {
  text-shadow: 2px 2px 2px #000000;
}
.shadow-1 {
  text-shadow: 1px 1px 1px #000000;
}
/* -----------------------------------------
:: Responsive Images
----------------------------------------- */
.responsive-800 {
  width: 100%;
  max-width: 800px;
  height: auto;
}
.responsive-750 {
  width: 100%;
  max-width: 750px;
  height: auto;
}
.responsive-700 {
  width: 100%;
  max-width: 700px;
  height: auto;
}
.responsive-630 {
  height: 100%;
  max-height: 630px;
  width: auto;
  min-height: 300px;
}
.responsive-600 {
  width: 100%;
  max-width: 600px;
  height: auto;
}
.responsive-550 {
  width: 100%;
  max-width: 550px;
  height: auto;
}
.responsive-500 {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.email-icon {
  width: 100%;
  max-width: 550px;
  height: auto;
  padding: 15px;
  margin: 10px;
}
.responsive-400 {
  width: 100%;
  max-width: 400px;
  height: auto;
}
.responsive-300 {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.responsive-250 {
  width: 100%;
  max-width: 250px;
  height: auto;
}
.responsive-200 {
  width: 100%;
  max-width: 200px;
  height: auto;
}
.responsive-150 {
  width: 100%;
  max-width: 150px;
  height: auto;
}
.responsive-140 {
  width: 100%;
  max-width: 140px;
  height: auto;
}
.responsive-100 {
  width: 100%;
  max-width: 100px;
  height: auto;
}
.responsive-75 {
  width: 100%;
  max-width: 75px;
  height: auto;
}
.responsive-50 {
  width: 100%;
  max-width: 50px;
  height: auto;
}
.hipaa {
  width: 100%;
  max-width: 150px;
  height: auto;
}
/* -----------------------------------------
::   Separators   ::
----------------------------------------- */
.separator-25 {
  margin: 25px;
}
.separator-50 {
  margin: 50px;
}
.separator-100 {
  margin: 100px;
}
.rmp-header-bar {
  width: 100%;
  height: 35px;
  background: #000000;
  border-top: 3px ridge white;
  border-bottom: 5px ridge white;
  position: relative;
}
.rmp-header-bar::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #0C2340;
  position: absolute;
  top: 3px;
}
.rmp-bottom-bar {
  width: 100%;
  height: 25px;
  background: #000000;
  border-top: 3px ridge white;
  border-bottom: 5px ridge white;
  position: relative;
}
.rmp-bottom-bar::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #0C2340;
  position: absolute;
  top: 3px;
}
/* -----------------------------------------
::   Drop Shadows   ::
----------------------------------------- */
.img-raised-lg {
  box-shadow: 8px 8px 16px 0px rgba(0, 0, 0, 0.85);
}
.img-raised-md {
  box-shadow: 8px 8px 12px 0px rgba(0, 0, 0, 0.60);
}
.img-raised-sm {
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.70);
}
.img-raised {
  box-shadow: 8px 10px 12px 0px rgba(0, 0, 0, 0.40);
}
.img-raised-l {
  box-shadow: -8px 8px 20px 0px rgba(0, 0, 0, 1.0);
}
.rounded {
  border-radius: 15px !important;
}
.img-raised-xlg {
  box-shadow: 0 16px 24px 3px rgba(0, 0, 0, 0.57), 0 6px 30px 3px rgba(0, 0, 0, 0.57), 0 8px 10px -5px rgba(0, 0, 0, 0.57);
}
.icon-sm {
  width: 100%;
  max-width: 60px;
  min-width: 45px;
  height: auto;
}
.icon-e {
  font-size: 1.5rem;
  margin-right: 5px;
}
.icon-md {
  width: 100%;
  max-width: 75px;
  min-width: 60px;
  height: auto;
}
.icon-lg {
  width: 100%;
  max-width: 90px;
  min-width: 75px;
  height: auto;
}
.icon-fax {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-image: url('../images/icons/fax-machine.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.icon-pdf {
  width: 35px;
  height: 45px;
  display: inline-block;
  cursor: pointer;
  background-image: url('../images/icons/pdf.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  margin-left: 15px;
}
.icon-pdf:hover {
  width: 35px;
  height: 45px;
  display: inline-block;
  background-image: url('../images/icons/pdf-hover.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  margin-left: 15px;
  transform: scale(1.5);
  transition: transform 0.125s ease-in-out;
}
.icon-send {
  width: 25px;
  height: 25px;
  display: inline-block;
  background-image: url('../images/icons/send.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* Styling for the dialog container */
dialog {
  width: 90%;
  max-width: 450px;
  outline: 4px solid #0C2340;
  border-radius: 11px;
  padding: 0;
  pointer-events: auto; /* Ensure clicks are registered */
  box-shadow: 8px 8px 16px 0px rgba(0, 0, 0, 0.85);
}
.modal-body {
  padding: 25px;
  text-align: center;
}
.cta-btn {
  display: inline-block;
  background-color: #0C2340;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: bold;
}
.cta-btn-2 {
  display: inline-block;
  background-color: #0C2340;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: bold;
}
/* The Dialog Window */
dialog#webPageModal {
  /* 1. Perfect Centering Mechanics */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  /* 2. Responsive Sizing */
  width: 90%;
  max-width: 500px; /* Adjust width to fit your layout content */
  height: 300px;
  max-height: 85vh; /* Prevents box from clipping on small screens */
  /* 3. Aesthetics & Typography */
  border: 2px ridge #0C2340;
  border-radius: 15px;
  padding: 0; /* Keeps internal padding managed by header/body */
  background-color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 8px 8px 16px 0px rgba(0, 0, 0, 0.65);
  /* 4. Entry Animation (Optional) */
  animation: modalFadeIn 0.3s ease-out;
}
/* The Backdrop Overlay (Darkened Background) */
dialog#webPageModal::backdrop {
  background-color: rgba(15, 23, 42, 0.6); /* Modern slate/dark overlay */
  backdrop-filter: blur(4px); /* Blurs out the main page background */
}
/* Smooth Fade/Pop Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
dialog#webPageModal-2 {
  /* 1. Perfect Centering Mechanics */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  /* 2. Responsive Sizing */
  width: 90%;
  max-width: 500px; /* Adjust width to fit your layout content */
  height: 300px;
  max-height: 85vh; /* Prevents box from clipping on small screens */
  /* 3. Aesthetics & Typography */
  border: 2px ridge #0C2340;
  border-radius: 15px;
  padding: 0; /* Keeps internal padding managed by header/body */
  background-color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 8px 8px 16px 0px rgba(0, 0, 0, 0.65);
  /* 4. Entry Animation (Optional) */
  animation: modalFadeIn 0.3s ease-out;
}
/* The Backdrop Overlay (Darkened Background) */
dialog#webPageModal-2::backdrop {
  background-color: rgba(15, 23, 42, 0.6); /* Modern slate/dark overlay */
  backdrop-filter: blur(4px); /* Blurs out the main page background */
}
/* Smooth Fade/Pop Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.rmp-container {
  display: inline-flex;
  align-items: center; /* Vertically centers the icon with the text */
  gap: 13px; /* Adds space between the icon and the text */
  margin-bottom: 20px;
}
.rmp-container i {
  color: #ffffff; /* Customizes the icon color */
}
.rmp-container-2 {
  display: inline-flex;
  align-items: center; /* Vertically centers the icon with the text */
  gap: 13px; /* Adds space between the icon and the text */
}
.rmp-container-2 i {
  color: #820000; /* Customizes the icon color */
}
.rmp {
  margin-top: 15px;
  font-size: 1.5rem;
  font-weight: 500;
  color: #97a2b7;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent
}
.rmp-2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #97a2b7;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent
}
.invisible {
  visibility: hidden;
}
.pdf-card {
  background: white;
  margin: 0 auto 40px auto;
  max-width: 900px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.pdf-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}
.pdf-action-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.pdf-action-link:hover {
  color: #820000;
}
.iframe-container {
  width: 100%;
  height: 600px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #e4e4e4;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.pdf-icon {
  position: relative;
  display: inline-block;
  font-size: 40px;
}
.pdf-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 25px;
  margin-left: 25px;
}
/* Modal Overlay */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pdf-modal.is-active {
  display: flex;
}
/* Semi-transparent dark background */
.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
}
/* Modal Content Container */
.pdf-modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Close Button */
.pdf-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 10;
}
/* PDF iframe */
.pdf-modal__content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.main-raised {
  margin: -200px 30px 100px;
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .75), 0 6px 30px 5px rgba(0, 0, 0, .65), 0 8px 10px -5px rgba(0, 0, 0, .75);
  height: auto;
  background: url('../images/bg/burst-bg.png');
  border-radius: 25px;
  background-size: cover;
  z-index: 999;
}
.main {
  position: relative;
  max-width: 1320px;
  z-index: 999;
}
.card-rmp {
  color: #ffffff;
  transition: color 0.125s ease; /* Makes the transition smooth */
}
/* Change text color when hovering anywhere inside the container */
.card-container:hover .card-rmp {
  color: #0000ff;
}