:root {
  --iyc-blue: #1a1f8c;
  --iyc-blue-dark: #10134f;
  --iyc-red: #e21b26;
  --iyc-green: #00954a;
  --iyc-gold: #c9a227;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  line-height: 1.9;
  color: #8c8c8c; }

/* ===== Tri-colour rank stripe ===== */
.iyc-rank-stripe,
.iyc-footer-stripe {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 6px; }
  .iyc-rank-stripe span,
  .iyc-footer-stripe span {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1; }
    .iyc-rank-stripe span:nth-child(1), .iyc-footer-stripe span:nth-child(1) { background: var(--iyc-blue); }
    .iyc-rank-stripe span:nth-child(2), .iyc-footer-stripe span:nth-child(2) { background: var(--iyc-red); }
    .iyc-rank-stripe span:nth-child(3), .iyc-footer-stripe span:nth-child(3) { background: var(--iyc-green); }

/* ===== Letterhead ===== */
.iyc-letterhead {
  background: -webkit-linear-gradient(135deg, var(--iyc-blue-dark), var(--iyc-blue) 70%);
  background: linear-gradient(135deg, var(--iyc-blue-dark), var(--iyc-blue) 70%);
  padding: 1.4rem 0;
  border-bottom: 4px solid var(--iyc-gold);
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }

.iyc-letterhead-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.1rem; }

.iyc-seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  background: #fff;
  padding: 3px;
  -webkit-box-shadow: 0 0 0 2px var(--iyc-gold), 0 4px 10px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 2px var(--iyc-gold), 0 4px 10px rgba(0, 0, 0, 0.35);
  -webkit-flex-shrink: 0;
  flex-shrink: 0; }

.iyc-letterhead-text h1 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0.1rem 0;
  letter-spacing: .3px; }

.iyc-letterhead-eyebrow {
  display: block;
  color: var(--iyc-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase; }

.iyc-letterhead-sub {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: .85rem; }

/* ===== Watermark ===== */
.content {
  position: relative;
  overflow: hidden; }

.iyc-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  max-width: 90vw;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: .04;
  pointer-events: none;
  z-index: 0;
  -webkit-filter: grayscale(1);
  filter: grayscale(1); }

.content > .container { position: relative; z-index: 1; }

/* ===== Scattered background photography (Ijaw creeks / community) ===== */
.iyc-scatter {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .07;
  overflow: hidden; }
  .iyc-scatter img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-filter: grayscale(85%) contrast(1.05);
    filter: grayscale(85%) contrast(1.05); }

.iyc-scatter-1 {
  top: -40px;
  left: -60px;
  width: 320px;
  height: 240px;
  -webkit-transform: rotate(-9deg);
  -ms-transform: rotate(-9deg);
  transform: rotate(-9deg); }

.iyc-scatter-2 {
  top: 8%;
  right: -70px;
  width: 260px;
  height: 200px;
  -webkit-transform: rotate(7deg);
  -ms-transform: rotate(7deg);
  transform: rotate(7deg); }

.iyc-scatter-3 {
  bottom: -30px;
  left: 6%;
  width: 240px;
  height: 180px;
  -webkit-transform: rotate(5deg);
  -ms-transform: rotate(5deg);
  transform: rotate(5deg); }

.iyc-scatter-4 {
  bottom: -50px;
  right: 4%;
  width: 300px;
  height: 220px;
  -webkit-transform: rotate(-6deg);
  -ms-transform: rotate(-6deg);
  transform: rotate(-6deg); }

@media (max-width: 767px) {
  .iyc-scatter-2, .iyc-scatter-4 { display: none; }
  .iyc-scatter { opacity: .05; }
}

/* ===== Photo panel (replaces the old undraw illustration) ===== */
.iyc-photo-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
  margin: 1.6rem 0 1rem; }
  .iyc-photo-panel figure {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 180px;
    flex: 1 1 180px;
    margin: 0; }
  .iyc-photo-panel img {
    width: 100%;
    height: 150px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    -webkit-filter: grayscale(15%) contrast(1.04) saturate(0.92);
    filter: grayscale(15%) contrast(1.04) saturate(0.92);
    -webkit-box-shadow: -12px 12px 0 0 rgba(0, 0, 0, 0.08);
    box-shadow: -12px 12px 0 0 rgba(0, 0, 0, 0.08); }
  .iyc-photo-panel figcaption {
    margin-top: 12px;
    font-size: .74rem;
    font-style: italic;
    color: #9a9a9a; }
    .iyc-photo-panel figcaption::before {
      content: '';
      display: inline-block;
      width: 14px;
      height: 2px;
      background: var(--iyc-blue);
      margin-right: 6px;
      vertical-align: middle; }

.iyc-badge {
  display: inline-block;
  background: rgba(226, 27, 38, 0.08);
  color: var(--iyc-red);
  border: 1px solid rgba(226, 27, 38, 0.25);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: .9rem; }

.iyc-404-code {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  margin: .2rem 0 .6rem;
  background: -webkit-linear-gradient(135deg, var(--iyc-blue), var(--iyc-green));
  background: linear-gradient(135deg, var(--iyc-blue), var(--iyc-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; }

/* ===== Form instruction header ===== */
.iyc-form-instruction {
  border-left: 3px solid var(--iyc-blue);
  background: #f8f9fd;
  padding: .9rem 1.1rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.3rem; }
  .iyc-form-instruction h4 {
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 .3rem; }
  .iyc-form-instruction p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.6;
    color: #8c8c8c; }

/* ===== Fixed header, form-only scroll (desktop) =====
   On phones the page scrolls normally end-to-end — a fixed split-screen
   shell is awkward on small screens. From the tablet breakpoint up, the
   letterhead and footer stay put and only the form fields scroll, while
   the instruction line above them stays put too. */
@media (min-width: 768px) {

  html, body {
    height: 100%;
    overflow: hidden; }

  body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }

  .iyc-rank-stripe,
  .iyc-letterhead,
  .iyc-footer {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto; }

  .content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 2.5rem 0; }

  .content > .container,
  .content > .container > .row,
  .content > .container > .row > .col-md-10,
  .content > .container > .row > .col-md-10 > .row {
    height: 100%; }

  .content > .container > .row > .col-md-10 > .row > [class*="col-"] {
    height: 100%; }

  /* Left column (intro copy + photos): scrolls independently if its
     content runs taller than the available space, so captions/photos
     are never clipped. */
  .content > .container > .row > .col-md-10 > .row > .col-md-6:first-child {
    overflow-y: auto;
    padding-right: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--iyc-blue) transparent; }
    .content > .container > .row > .col-md-10 > .row > .col-md-6:first-child::-webkit-scrollbar {
      width: 7px; }
    .content > .container > .row > .col-md-10 > .row > .col-md-6:first-child::-webkit-scrollbar-track {
      background: transparent; }
    .content > .container > .row > .col-md-10 > .row > .col-md-6:first-child::-webkit-scrollbar-thumb {
      background: var(--iyc-blue);
      border-radius: 10px; }
    .content > .container > .row > .col-md-10 > .row > .col-md-6:first-child::-webkit-scrollbar-thumb:hover {
      background: var(--iyc-blue-dark); }

  /* Right column: instruction stays fixed, only the fields below it scroll */
  .content > .container > .row > .col-md-10 > .row > .col-md-6:last-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden; }

  .iyc-form-instruction {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto; }

  .iyc-form-scroll {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--iyc-blue) transparent; }
    .iyc-form-scroll::-webkit-scrollbar {
      width: 7px; }
    .iyc-form-scroll::-webkit-scrollbar-track {
      background: transparent; }
    .iyc-form-scroll::-webkit-scrollbar-thumb {
      background: var(--iyc-blue);
      border-radius: 10px; }
    .iyc-form-scroll::-webkit-scrollbar-thumb:hover {
      background: var(--iyc-blue-dark); }
}
.iyc-footer {
  text-align: center;
  background: var(--iyc-blue-dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: .82rem;
  padding: 0; }
  .iyc-footer p {
    margin: 0;
    padding: 1rem 0; }
  .iyc-footer-credit {
    padding-top: 0 !important;
    padding-bottom: .9rem !important;
    font-size: .74rem;
    color: rgba(255, 255, 255, 0.35); }
    .iyc-footer-credit a {
      color: rgba(255, 255, 255, 0.55);
      text-decoration: none; }
      .iyc-footer-credit a:hover {
        color: var(--iyc-gold);
        text-decoration: underline; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Roboto", sans-serif;
  color: #000; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a, a:hover {
    text-decoration: none !important; }

.text-black {
  color: #000; }

.content {
  padding: 7rem 0; }

.heading {
  font-size: 2.5rem;
  font-weight: 900; }

.form-control {
  border: none;
  background: #f3f3f3; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: var(--iyc-blue);
    background: #f3f3f3; }

.col-form-label {
  color: #000; }

.btn, .form-control, .custom-select {
  height: 50px; }

.custom-select:active, .custom-select:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: var(--iyc-blue); }

.btn {
  border: none;
  border-radius: 4px !important; }
  .btn.btn-primary {
    background: var(--iyc-blue);
    background: -webkit-linear-gradient(135deg, var(--iyc-blue), var(--iyc-blue-dark));
    background: linear-gradient(135deg, var(--iyc-blue), var(--iyc-blue-dark));
    color: #fff;
    padding: 15px 20px;
    -webkit-transition: -webkit-transform .15s ease, box-shadow .15s ease;
    transition: -webkit-transform .15s ease, -webkit-box-shadow .15s ease;
    transition: transform .15s ease, box-shadow .15s ease;
    transition: transform .15s ease, box-shadow .15s ease, -webkit-transform .15s ease, -webkit-box-shadow .15s ease; }
  .btn.btn-primary:hover {
    -webkit-box-shadow: 0 6px 16px rgba(26, 31, 140, 0.35);
    box-shadow: 0 6px 16px rgba(26, 31, 140, 0.35);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px); }
  .btn.btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none; }
  .btn:hover {
    color: #fff; }
  .btn:active, .btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none; }

.box {
  padding: 40px;
  background: #fff;
  -webkit-box-shadow: -30px 30px 0px 0 rgba(0, 0, 0, 0.08);
  box-shadow: -30px 30px 0px 0 rgba(0, 0, 0, 0.08); }
  .box h3 {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center; }

label.error {
  font-size: 12px;
  color: red; }

/* ===== Drag & drop evidence upload ===== */
.iyc-dropzone {
  position: relative;
  border: 2px dashed #cfd2e8;
  border-radius: 8px;
  background: #f8f9fd;
  text-align: center;
  padding: 28px 16px;
  cursor: pointer;
  -webkit-transition: .2s all ease;
  -o-transition: .2s all ease;
  transition: .2s all ease; }
  .iyc-dropzone:hover,
  .iyc-dropzone:focus {
    border-color: var(--iyc-blue);
    background: #f1f3fc;
    outline: none; }
  .iyc-dropzone.is-dragover {
    border-color: var(--iyc-green);
    background: rgba(0, 149, 74, 0.06);
    -webkit-box-shadow: inset 0 0 0 1px rgba(0, 149, 74, 0.25);
    box-shadow: inset 0 0 0 1px rgba(0, 149, 74, 0.25); }

.iyc-dropzone-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: var(--iyc-blue);
  margin-bottom: 6px; }

.iyc-dropzone-title {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #000; }

.iyc-dropzone-sub {
  margin: 2px 0 0;
  font-size: .78rem;
  color: #9a9a9a; }

.iyc-dropzone-browse {
  color: var(--iyc-blue);
  font-weight: 700;
  text-decoration: underline; }

/* ===== Evidence preview grid ===== */
.iyc-preview-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px; }

.iyc-preview-item {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
  border: 1px solid #e2e2e2; }
  .iyc-preview-item img,
  .iyc-preview-item video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block; }
  .iyc-preview-item .iyc-preview-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    font-size: 12px;
    line-height: 20px;
    padding: 0;
    cursor: pointer; }
  .iyc-preview-item .iyc-preview-remove:hover { background: var(--iyc-red); }
  .iyc-preview-item .iyc-preview-kind {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .4px; }
  .iyc-preview-item .iyc-preview-progress {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.4); }
    .iyc-preview-item .iyc-preview-progress > span {
      display: block;
      height: 100%;
      width: 0%;
      background: var(--iyc-green);
      -webkit-transition: width .2s ease;
      -o-transition: width .2s ease;
      transition: width .2s ease; }
  .iyc-preview-item .iyc-preview-label {
    position: absolute;
    inset: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: rgba(16, 19, 79, 0.55);
    color: #fff;
    font-size: 9px;
    text-align: center;
    padding: 4px; }

.iyc-upload-summary {
  font-size: .78rem;
  color: #9a9a9a;
  margin: 8px 0 0; }
  .iyc-upload-summary.has-error { color: var(--iyc-red); }

#message {
  resize: vertical; }

#form-message-warning, #form-message-success {
  display: none; }

#form-message-warning {
  color: #B90B0B; }

#form-message-success {
  color: #55A44E;
  font-size: 18px;
  font-weight: bold; }

.submitting {
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-weight: bold;
  font-size: 12px;
  color: #000; }
