/* ===========================================
   CSS VARIABLES - DESIGN SYSTEM
   =========================================== */
:root {
  /* Colors */
  --color-primary: #001E62;
  --color-secondary: #C8102E;
  --color-white: #ffffff;
  --color-black: #000000;
  
    
  /* Typography */
  --font-primary: 'Titillium Web', sans-serif;
  --font-weight-light: 200;
  --font-weight-normal: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.8s;
  
  /* Z-Index */
  --z-background: 0;
  --z-content: 1;
  --z-header: 10;
  --z-overlay: 2;
}

/* ===========================================
   GOOGLE FONTS IMPORT
   =========================================== */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700;900&display=swap');

/* ===========================================
   RESET & BASE STYLES
   =========================================== */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  background-color: var(--color-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-primary);
  color: var(--color-white);
}

/* ===========================================
   BACKGROUND EFFECTS
   =========================================== */

/* Radial Background Effect */
.rj-radial-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(200, 16, 46, 0.6) 0%,
    rgba(200, 16, 46, 0.3) 25%,
    rgba(0, 30, 98, 0.9) 60%,
    var(--color-primary) 100%
  );
  opacity: 1;
  transition: opacity var(--transition-normal) ease;
}

/* Mobile heartbeat animation */
@media (max-width: 768px) {
  .rj-radial-background {
    animation: heartbeat 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  }
}

@keyframes heartbeat {
  0%, 8% {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(200, 16, 46, 0.4) 0%,
      rgba(200, 16, 46, 0.2) 25%,
      rgba(0, 30, 98, 0.9) 60%,
      var(--color-primary) 100%
    );
  }
  16% {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(200, 16, 46, 0.6) 0%,
      rgba(200, 16, 46, 0.4) 25%,
      rgba(0, 30, 98, 0.9) 60%,
      var(--color-primary) 100%
    );
  }
  24% {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(200, 16, 46, 0.4) 0%,
      rgba(200, 16, 46, 0.2) 25%,
      rgba(0, 30, 98, 0.9) 60%,
      var(--color-primary) 100%
    );
  }
  32% {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(200, 16, 46, 0.6) 0%,
      rgba(200, 16, 46, 0.3) 25%,
      rgba(0, 30, 98, 0.9) 60%,
      var(--color-primary) 100%
    );
  }
  40%, 100% {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(200, 16, 46, 0.4) 0%,
      rgba(200, 16, 46, 0.2) 25%,
      rgba(0, 30, 98, 0.9) 60%,
      var(--color-primary) 100%
    );
  }
}

/* ===========================================
   LAYOUT COMPONENTS
   =========================================== */

/* Main Container */
.rj-root {
  background: transparent;
  min-height: 100vh;
  font-family: var(--font-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  z-index: var(--z-content);
}

/* Decorative Elements */
.rj-stripe-left {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 6px;
  background: var(--color-secondary);
}

.rj-stripe-right {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 6px;
  background: var(--color-secondary);
}

.rj-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(200, 16, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-background);
}

.rj-diagonal {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg) scaleY(1.4);
  width: 55%;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.08) 0%, transparent 80%);
  pointer-events: none;
  z-index: var(--z-background);
}

/* Content Container */
.rj-content {
  position: relative;
  z-index: var(--z-content);
  max-width: 1020px;
  margin: 0 auto;
  padding: var(--spacing-xxl) var(--spacing-lg) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===========================================
   TYPOGRAPHY COMPONENTS
   =========================================== */

.rj-eyebrow {
  font-family: var(--font-primary);
  font-size: 18px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
}

.rj-emblem {
  width: 68px;
  height: 68px;
  margin-bottom: 1.8rem;
}

.rj-headline {
  font-family: var(--font-primary);
  font-size: clamp(37.8px, 8.55vw, 68.4px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
  margin-bottom: 0.3rem;
}

.rj-headline .white {
  color: var(--color-white);
}

.rj-divider {
  width: 48px;
  height: 2px;
  background: var(--color-secondary);
  margin: 1.6rem auto;
}

.rj-subheadline {
  font-size: 28.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

/* Mobile adjustments for subheadline */
@media (max-width: 768px) {
  .rj-subheadline {
    font-size: 20px;
    line-height: 1.4;
  }
}

.rj-mystery {
  font-size: 22.5px;
  color: rgba(255, 255, 255, 0.38);
  max-width: 540px;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.rj-access-tag {
  margin-top: 1.6rem;
  display: inline-block;
  border: 0.5px solid rgba(200, 16, 46, 0.6);
  padding: 10.5px 33px;
  font-family: var(--font-primary);
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--color-secondary);
  background: rgba(200, 16, 46, 0.06);
}

/* ===========================================
   HEADER COMPONENTS
   =========================================== */

/* Utility Classes */
.noPadding {
  padding: 0 !important;
}

.bg-warm {
  background-color: var(--color-secondary) !important;
}

/* Navigation Bar */
.cb-navbar-005 {
  background-color: var(--color-secondary);
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: var(--z-header);
}

.cb-navbar-005 .logo {
  max-height: 33px;
  width: auto;
}

.cb-navbar-005 #right-logo .logo {
  max-height: 33px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--transition-normal) ease;
}

.cb-navbar-005 #right-logo .logo:hover {
  opacity: 1;
}

.cb-navbar-005 .navbar-brand {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-size: 1.2rem;
}

.cb-navbar-005 .navbar-brand:hover {
  color: var(--color-white-80);
}

/* ===========================================
   BANNER COMPONENTS
   =========================================== */

.rj-banner {
  position: relative;
  width: 100%;
  max-width: 1020px;
  height: 400px;
  margin: 0 auto var(--spacing-xl);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px var(--color-black-30);
}

.rj-banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rj-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-in-out;
}

.rj-banner:hover .rj-banner-image {
  transform: scale(1.05);
}

.rj-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-lg);
  background: linear-gradient(to top, rgba(0, 30, 98, 0.9), rgba(0, 30, 98, 0.95), transparent);
  text-align: center;
  z-index: var(--z-overlay);
}

.rj-banner-title {
  font-family: var(--font-primary);
  font-size: 48px;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-xs);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.rj-banner-subtitle {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: var(--font-weight-normal);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Mobile Banner Adjustments */
@media (max-width: 768px) {
  .rj-banner {
    height: 250px;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
  }
  
  .rj-banner-overlay {
    padding: var(--spacing-lg) 1.5rem var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 30, 98, 0.95), rgba(0, 30, 98, 0.9), transparent);
  }
  
  .rj-banner-title {
    font-size: 32px;
  }
  
  .rj-banner-subtitle {
    font-size: 16px;
  }
}

/* ===========================================
   FORM COMPONENTS
   =========================================== */

.rj-form-wrap {
  width: 100%;
  margin-top: var(--spacing-xl);
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: var(--spacing-lg) var(--spacing-lg) 1.8rem;
}

.rj-form-title {
  font-family: var(--font-primary);
  font-size: 25.5px;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.rj-field { 
  margin-bottom: 1.1rem; 
  text-align: left; 
}

.rj-label {
  display: block;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #d3d3d3;
  margin-bottom: 7.5px;
  font-family: var(--font-primary);
  text-transform: uppercase;
}

.rj-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 24px;
  padding: 9px 0 12px;
  outline: none;
  transition: border-color var(--transition-normal);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.rj-input:focus { 
  border-bottom-color: var(--color-secondary); 
}

.rj-input option { 
  background: var(--color-primary); 
  color: var(--color-white); 
}

.rj-input::placeholder { 
  color: #ffffff; 
}

.rj-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C8102E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

/* Date input calendar icon styling - force white icon */
.rj-input[type="date"] {
  color-scheme: dark;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' stroke='white' stroke-width='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='8' y1='2' x2='8' y2='6' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='3' y1='10' x2='21' y2='10' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 20px;
  padding-right: 30px;
}

/* Hide default calendar picker and replace with custom */
.rj-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.rj-input[type="date"]::-moz-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.rj-input[type="date"]::-ms-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.rj-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

/* Checkbox styling */
.rj-checkbox {
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid var(--color-white);
  border-radius: 3px;
  cursor: pointer;
  margin-right: 12px;
  transition: all var(--transition-normal);
}

.rj-checkbox:checked {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.rj-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.3);
}

.rj-checkbox-label {
  color: var(--color-white);
  font-size: 14px;
  cursor: pointer;
  line-height: 2;
  user-select: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
}

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

.form-check-input:focus {
  border-color: var(--color-secondary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(200, 16, 46, 0.25);
}

.rj-btn {
  width: 100%;
  margin-top: 1.6rem;
  padding: 22.5px 0;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  font-family: var(--font-primary);
  font-size: 24px;
  letter-spacing: 0.22em;
  cursor: pointer;
  border-radius: 0;
  transition: background var(--transition-fast), transform 0.1s;
}

.rj-btn:hover { 
  background: #a80d25; 
}

.rj-btn:active { 
  transform: scale(0.99); 
}

.rj-fine {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: var(--spacing-sm);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ===========================================
   COUNTER COMPONENTS
   =========================================== */

.rj-counter {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rj-counter-num {
  font-family: var(--font-primary);
  font-size: 60px;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  line-height: 1;
}

.rj-counter-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.14em;
  font-style: italic;
}

/* ===========================================
   SUCCESS STATE COMPONENTS
   =========================================== */

.rj-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  text-align: center;
}

.rj-success-icon {
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rj-success h2 {
  font-family: var(--font-primary);
  font-size: 45px;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

.rj-success p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  max-width: 480px;
  line-height: 1.7;
}

.rj-success .tag {
  color: var(--color-secondary);
  font-family: var(--font-primary);
  letter-spacing: 0.18em;
  font-size: 19.5px;
  font-style: normal;
}

/* ===========================================
   FOOTER COMPONENTS
   =========================================== */

.cb-footer-003 {
  background: var(--color-primary);
  padding: var(--spacing-xxl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: var(--z-overlay);
}

.bg-cold {
  background-color: var(--color-primary) !important;
}

.rj-footer {
  margin-top: var(--spacing-xxl);
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.12em;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal) ease;
}

.social-circle:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.circle-link {
  color: var(--color-white) !important;
  text-decoration: none !important;
  font-size: 18px;
  transition: color var(--transition-normal) ease;
}

.circle-link:hover {
  color: var(--color-white) !important;
}

.smallTxt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.color-white {
  color: var(--color-white) !important;
}

.logoFooter {
  opacity: 0.8;
  transition: opacity var(--transition-normal) ease;
}

.logoFooter:hover {
  opacity: 1;
}

.fxp {
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity var(--transition-normal) ease;
}

.fxp:hover {
  opacity: 0.8;
}

/* ===========================================
   ANIMATION COMPONENTS
   =========================================== */

/* Fade-in Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rj-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow) ease-out, transform var(--transition-slow) ease-out;
}

.rj-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   CSS ORGANIZATION COMPLETE
   =========================================== */
