/* Contour Education Free Trial Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-page: #FFF9F1;
  --bg-card: #FFFFFF;
  --text-primary: #0C3166;
  /* Contour signature navy text */
  --text-black: #1E293B;
  --text-dark: #1E293B;
  --text-muted: #556070;
  --navy-dark: #0C3166;
  --blue-primary: #0C3166;
  --green-lime: #D4F836;
  /* Contour signature lime green */
  --green-lime-hover: #C4E928;
  --border-color: #E2E8F0;
  --border-cream: #EAE3D9;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 20px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* FIXED STICKY HEADER (STAYS AT TOP WHILE SCROLLING) */
.header {
  position: sticky;
  top: 0;
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-cream);
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-logo {
  height: 30px;
  width: auto;
  display: block;
}

.header-center {
  flex: 2;
  text-align: center;
}

.header-assessment-title {
  font-size: 1.05rem;
  font-weight: 400;
  /* NOT bold */
  color: #1E293B;
  /* Black, NOT blue */
  letter-spacing: -0.01em;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.btn-header-contact {
  background-color: var(--green-lime);
  color: #000000;
  font-weight: 400;
  /* Unbolded regular weight */
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(212, 248, 54, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-header-contact:hover {
  background-color: var(--green-lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 248, 54, 0.4);
}

/* MAIN HERO & TOP FORM TITLE AREA */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem 3rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.hero-main-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: #1E293B;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-center-icon {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto 1.5rem;
}

/* FORM WRAPPER BLENDS SEAMLESSLY INTO PAGE */
.form-card-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
}

.form-body {
  padding: 0;
}

/* QUESTION BLOCKS & DYNAMIC REVEAL ANIMATION */
.form-question-block {
  display: none;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-cream);
  animation: slideReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-question-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.form-question-block.active {
  display: block;
}

.class-time-options {
  margin-top: 1rem;
}

.class-time-note {
  margin: -0.35rem 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.medical-program-notice {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid #0C3166;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #F1F6FB;
  color: var(--text-primary);
  font-size: 0.82rem;
  line-height: 1.45;
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LABELS & FONTS (BOLD BLUE HIGHLIGHTS) */
.form-label {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.form-label strong {
  font-weight: 800;
  color: #0C3166;
  /* Bold blue color for keywords */
}

.form-label span.req {
  color: #8BA1B8;
  margin-left: 2px;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.35rem;
}

/* PILL INPUT FIELDS */
.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.pill-input {
  border-radius: 9999px !important;
}

.form-control:focus {
  background-color: white;
  border-color: var(--navy-dark);
  box-shadow: 0 0 0 3px rgba(12, 49, 102, 0.12);
}

/* INPUT ICON WRAPPER FOR EMAIL */
.input-icon-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-left-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: #0C3166;
  pointer-events: none;
  z-index: 5;
}

.icon-indent {
  padding-left: 2.75rem !important;
}

/* INTL-TEL-INPUT CUSTOMIZATION */
.iti {
  width: 100%;
}

.iti__country-list {
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(12, 49, 102, 0.12);
  z-index: 100;
}

.iti--separate-dial-code .iti__selected-flag {
  border-radius: 9999px 0 0 9999px;
  background-color: transparent;
  padding-left: 1rem;
}

/* SLEEK ROUNDED PILL OPTION CARDS (FOR RADIOS) */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 0.85rem;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.option-card:hover {
  border-color: #0C3166;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-card-label {
  font-weight: 500;
  font-size: 0.83rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

/* RADIO CIRCLE */
.custom-radio {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.custom-radio::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #0C3166;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.option-card input:checked~.option-card-label .custom-radio {
  border: 2px solid #0C3166;
}

.option-card input:checked~.option-card-label .custom-radio::after {
  transform: scale(1);
}

.option-card.selected {
  background-color: #FFFFFF;
  border: 2px solid #0C3166;
  box-shadow: none;
}

/* SMARTSELECT: MATCH THE ROUNDED RADIO-CARD TREATMENT */
.select2-container {
  font-family: var(--font-family);
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
input[id$="-trigger"] {
  min-height: 40px;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.83rem;
  transition: var(--transition);
}

.select2-container--default .select2-selection--single {
  height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 1rem;
  padding-right: 2.5rem;
  line-height: 37px;
  color: var(--text-primary);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
  right: 0.7rem;
}

.select2-container--default .select2-selection--multiple {
  padding: 4px 2.4rem 4px 0.6rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 0;
  margin-bottom: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 0;
  padding: 2px 0.45rem;
  border: 0;
  border-radius: 9999px;
  background: #EAF1F8;
  color: #0C3166;
  font-size: 0.78rem;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin: 5px 15px;
  font-family: var(--font-family);
  font-size: 0.83rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple,
input[id$="-trigger"]:focus {
  border-color: #0C3166;
  box-shadow: 0 0 0 3px rgba(12, 49, 102, 0.12);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  cursor: default;
  padding-left: 15px;
  padding-right: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 36px;
  margin-right: 30px;
}

input[id$="-trigger"] {
  margin-bottom: 0 !important;
  padding: 0.55rem 2.4rem 0.55rem 1rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%230C3166' d='m4.2 5.5 3.8 4 3.8-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* 2-COLUMN GRID CHECKBOX LIST (SUBJECTS & CAMPUSES) */
.checkbox-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.25rem;
}

.checkbox-option-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.35rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.checkbox-option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-square {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.custom-checkbox-square svg {
  width: 12px;
  height: 12px;
  color: white;
  display: none;
}

.checkbox-option-card input[type="checkbox"]:checked~.option-card-label .custom-checkbox-square {
  background-color: #0C3166;
  border-color: #0C3166;
}

.option-card input[type="checkbox"]:checked~.option-card-label .custom-checkbox-square {
  background-color: #0C3166;
  border-color: #0C3166;
}

.checkbox-option-card input[type="checkbox"]:checked~.option-card-label .custom-checkbox-square svg {
  display: block;
}

.option-card input[type="checkbox"]:checked~.option-card-label .custom-checkbox-square svg {
  display: block;
}

.checkbox-option-card:hover .option-card-label {
  color: #007AFF;
}

/* RECAPTCHA CENTER HORIZONTALLY */
.g-recaptcha-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

/* LIME GREEN SUBMIT BUTTON */
.btn-submit-green {
  background-color: var(--green-lime);
  color: #000000;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(212, 248, 54, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-submit-green:hover {
  background-color: var(--green-lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 248, 54, 0.45);
}

/* THANK YOU STATE */
.thank-you-card {
  text-align: center;
  padding: 2.25rem 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-cream);
  box-shadow: var(--shadow-md);
}

.success-icon-badge {
  width: 58px;
  height: 58px;
  background-color: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

.thank-you-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.65rem;
}

.thank-you-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.summary-box {
  background: var(--bg-card-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  text-align: left;
  max-width: 100%;
  margin: 0 auto 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed #E6D8C8;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item .key {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-item .val {
  color: var(--navy-dark);
  font-weight: 700;
}

/* CLEAN COPYRIGHT FOOTER */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 1.1rem 1.5rem;
  margin-top: auto;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .header-center,
  .header-right {
    display: none !important;
  }

  .header-container {
    justify-content: center;
  }

  .header-left {
    flex: initial;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .header {
    padding: 0.85rem 1rem 0.6rem;
  }

  .header-assessment-title {
    font-size: 0.9rem;
  }

  .header-logo {
    height: 24px;
  }

  .hero-main-heading {
    font-size: 1.85rem;
  }

  .options-grid,
  .checkbox-list {
    grid-template-columns: 1fr;
  }
}

.btn-primary,
.list-group-item.active,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--green-lime);
  color: #000000;
  font-weight: 500;
}

.btn-primary:hover,
.list-group-item.active:hover,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable:hover {
  background-color: var(--green-lime-hover);
}