/* Font Face Declarations */
@font-face {
  font-family: 'GT-Walsheim-Pro';
  src: url('./font/GT-Walsheim-Pro-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT-Walsheim-Pro';
  src: url('./font/GT-Walsheim-Pro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT-Walsheim-Pro';
  src: url('./font/GT-Walsheim-Pro-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Color Variables */
:root {
  --primary-violet: #4F2D7F;
  /* Violet RCGT */
  --secondary-violet: #863DF9;
  /* Violet Light */
  --dark-violet: #3F2466;
  /* Violet Dark */
  --blue: #A0BED8;
  /* Blue */
  --light-blue: #CCE7FF;
  /* Light Blue */
  --yellow: #FFDC00;
  /* Yellow */
  --error-red: #F51468;
  /* Red */
  --white: #FFFFFF;
  /* White */
  --grey: #F2F2F2;
  /* Grey */
    /* this is for the bootstrap components (faq page - header) */
  --bs-body-font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/*These are the bootstrap accordion elements for the FAQ page (header)*/
.accordion-item.option-box {
  border: 1px solid var(--border-gray); 
  border-radius: 4px; 
}
.accordion-button {
  background-color: #fff;
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  color: #333;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: var(--secondary-violet);
  background-color: #fff; 
  box-shadow: none;
}
.accordion-button:focus { 
  outline: 2px solid var(--secondary-violet); 
  outline-offset: 2px; 
  box-shadow: none; 
}

.accordion-body { 
  color: #555; 
}

/* Base Typography */
body {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Homepage Specific Styles */
.home-wrapper {
  min-height: 100vh;
}

.hero-section {
  background: var(--dark-violet);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-description {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.6;
}

.main-content {
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 20px 40px;
  position: relative;
  z-index: 1;
}

.options-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(79, 45, 127, 0.1);
  padding: 40px;
  margin-bottom: 30px;
}

.option-box {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.option-box:hover {
  border-color: var(--secondary-violet);
  box-shadow: 0 2px 8px rgba(134, 61, 249, 0.1);
}

.option-box.no-border {
  border: none;
  box-shadow: none;
}
.option-box.no-border:hover {
  border-color: transparent;
  box-shadow: none;
}

.landing-intro,
.landing-intro p,
.landing-intro li {
  font-size: 18px;
  line-height: 1.7;
}

.option-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--secondary-violet);
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  margin-right: 10px;
}



.option-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.option-description {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin-left: 40px;
  margin-bottom: 15px;
}

.option-action {
  margin-left: 0;
  text-align: center;
}

/* Collapsible sections (FAX / By Mail) under Download PDF */
.option-box--download .download-extras {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  justify-content: center;
  column-gap: 48px;
  row-gap: 12px;
  margin: 24px 0 0;
}

.option-box--download .download-extra {
  margin: 0;
  width: 220px;
  text-align: center;
}

.option-box--download .download-extra summary {
  font-weight: 700;
  cursor: pointer;
  color: #333;
  font-size: 18px;
}

.option-box--download .download-extra-body {
  margin-top: 6px;
  color: #555;
}

@media (max-width: 768px) {
  .option-box--download .download-extras {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 20px;
  }
}

.requirements-box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(79, 45, 127, 0.1);
  padding: 30px 40px;
  margin-bottom: 30px;
}

.requirements-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-violet);
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.requirement-item {
  padding-left: 25px;
  position: relative;
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
}

.requirement-item:before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary-violet);
  font-weight: bold;
}

.contact-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(79, 45, 127, 0.1);
  padding: 30px 40px;
}

.contact-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-violet);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.contact-item h4 {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--secondary-violet);
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.contact-item p {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #555;
  margin: 5px 0;
  line-height: 1.6;
}

/* Button Styles with new colors */
.btn {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-violet);
  color: white;
  border-color: var(--primary-violet);
}

.btn-primary:hover {
  background: var(--secondary-violet);
  border-color: var(--secondary-violet);
  text-decoration: none;
  color: white;
}

.btn-primary:focus {
  outline: 2px solid var(--secondary-violet);
  outline-offset: 2px;
}

.btn-primary:active {
  transform: translateY(1px);
}

.info-text {
  background: var(--light-blue);
  border-left: 3px solid var(--blue);
  padding: 10px 15px;
  margin-top: 20px;
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #444;
}

.info-text strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .requirements-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .options-container,
  .requirements-box,
  .contact-section {
    padding: 20px;
  }
}

/* Landing Page Radio Button Styles*/
.landing-intro .form-check-input,
#eligibility-criteria .form-check-input {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  cursor: pointer;
  /* Match in-form radios */
  accent-color: var(--secondary-violet);
  border-color: var(--border-gray);
}

.landing-intro .form-check-input:focus,
#eligibility-criteria .form-check-input:focus {
  outline: 2px solid var(--secondary-violet);
  outline-offset: 2px;
  box-shadow: none;
}

/* force Bootstrap radios to use violet ring and dot */
.landing-intro .form-check-input[type="radio"]:checked,
#eligibility-criteria .form-check-input[type="radio"]:checked {
  border-color: var(--secondary-violet);
  background-color: transparent;
  background-image: radial-gradient(circle, var(--secondary-violet) 45%, transparent 47%);
}

.landing-intro .form-check-inline,
#eligibility-criteria .form-check-inline {
  margin-right: 16px;
}

.landing-intro .form-check-label,
#eligibility-criteria .form-check-label {
  font-weight: 400;
  cursor: pointer;
}

/*Eligibility Heading*/
#eligibility-criteria .eligibility-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  padding: 0 0 10px 0;
  border-bottom: 2px solid var(--secondary-violet);
  text-align: left;
}

/* Start Online Form Acknowledgement Modal */
.acl-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}

.acl-modal-dialog {
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  position: relative;
  display: flex;
  flex-direction: column;
}

.acl-modal-title {
  font-family: 'GT-Walsheim-Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding: 20px 24px 10px 24px;
  border-bottom: 1px solid #eee;
}

.acl-modal-body {
  padding: 15px 24px 10px 24px;
  overflow-y: auto;
}

.acl-modal-body ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.acl-modal-footer {
  padding: 10px 24px 18px 24px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acl-modal-ack {
  margin: 0;
}

.acl-modal-ack .form-check-input {
  margin-right: 8px;
}

.acl-modal-ack .form-check-label {
  font-weight: 400;
  color: #444;
}

.acl-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.acl-modal-close:hover {
  color: #444;
}

.acl-modal #acl_modal_go_button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 576px) {
  .acl-modal-dialog {
    max-height: 90vh;
  }

  .acl-modal-title,
  .acl-modal-body,
  .acl-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}
