/* ─── Font ─────────────────────────────────────────── */
@font-face {
  font-family: "Korb";
  src:
    url("assets/fonts/Korb.woff2") format("woff2"),
    url("assets/fonts/Korb.woff") format("woff"),
    url("assets/fonts/Korb.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Korb";
  src:
    url("assets/fonts/Korb-Bold.woff2") format("woff2"),
    url("assets/fonts/Korb-Bold.woff") format("woff"),
    url("assets/fonts/Korb-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Korb";
  src:
    url("assets/fonts/Korb-Italic.woff2") format("woff2"),
    url("assets/fonts/Korb-Italic.woff") format("woff"),
    url("assets/fonts/Korb-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Korb";
  src:
    url("assets/fonts/Korb-BoldItalic.woff2") format("woff2"),
    url("assets/fonts/Korb-BoldItalic.woff") format("woff"),
    url("assets/fonts/Korb-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

/* ─── Reset & Base ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Korb", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* ─── Top Utility Bar ───────────────────────────────── */
.top-bar {
  height: 30px;
  background: linear-gradient(to right, #6685a3, #39577b);
  padding: 0 20px;
  display: flex;
  place-content: center end;
  align-items: center;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 18px;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* ─── Header ────────────────────────────────────────── */
.site-header {
  height: 175px;
  background: linear-gradient(to right, #c6d0da, #39577c);
  padding: 0 10%;
  display: flex;
  place-content: center space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-brand img.globe-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}
.header-title h1 {
  font-size: 44px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  /* line-height: 1.1; */
}
.header-title p {
  font-size: 24px;
  color: #fff;
  font-weight: 400;
  /* letter-spacing: 0.02em; */
  /* margin-top: 4px; */
}

.header-title {
  min-width: 0;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-logos img {
  width: auto;
  height: 58px;
  /* object-fit: contain; */
  /* background: #fff; */
  /* padding: 4px 6px; */
}

/* ─── Navigation ────────────────────────────────────── */
.site-nav {
  background: #fff;
  /* padding: 0 30px; */
  margin-bottom: 50px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.site-nav ul li a {
  display: block;
  width: 280px;
  padding: 0px 0px 3px;
  font-size: 20px;
  color: #6b3d7d;
  text-decoration: none;
  border-bottom: 2px solid #909090;
}
.site-nav ul li a:hover {
  border-bottom-color: #6b3d7d;
}
.site-nav ul li a.active {
  border-bottom-color: #ccc;
  color: #6b3d7d;
}
.site-nav ul li {
  position: relative;
}

/* ─── Main Content ──────────────────────────────────── */
.site-main {
  padding: 2% 10%;
  /* max-width: 1200px; */
}

.divider {
  border: none;
  border-top: 2px solid #d0dce6;
  margin: 30px 0;
  width: 100%;
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkmarkReveal {
  100% {
    opacity: 1;
    transform: scale(1);
  }

  0% {
    opacity: 0;
    transform: scale(0.65);
  }

  65% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes dotPulse {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.verification-loader {
  display: none;
  padding: 12px 0 8px;
}

.verification-loader.visible {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-loader-text {
  color: #5f7285;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.verification-loader-dots {
  display: inline-flex;
  gap: 3px;
  width: 20px;
}

.verification-loader-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5f7285;
  animation: dotPulse 1.1s infinite ease-in-out;
}

.verification-loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.verification-loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.result-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-block.hidden {
  display: none;
}

.result-block.visible {
  display: flex;
  animation: resultReveal 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.result-status {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.checkmark-image {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.65);
}

.result-block.visible .checkmark-image {
  animation: checkmarkReveal 0.42s ease-out 0.12s forwards;
}

.result-status h2 {
  font-size: 28px;
  font-weight: 500;
  /* color: #333; */

  /* font-weight: 700;
  color: #1a1a1a; */
  /* letter-spacing: 0.04em; */
}

.result-info {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
.result-info strong {
  font-weight: 700;
}

.result-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}
.result-links a {
  color: #6b3d7d;
  text-decoration: underline;
  font-size: 13.5px;
  width: fit-content;
}
.result-links a:hover {
  color: #4a2659;
}

/* ─── Details Panel ─────────────────────────────────── */
.details-panel {
  display: none;
  margin-top: 22px;
  border-top: 1px solid #ddd;
  padding-top: 18px;
}

.details-table {
  border-collapse: collapse;
  font-size: 13.5px;
  width: 100%;
  max-width: 700px;
}
.details-table td:first-child {
  padding: 6px 20px 6px 0;
  color: #555;
  white-space: nowrap;
}
.details-table td:last-child {
  padding: 6px 0;
  font-weight: 700;
}
.details-table .status-valid {
  color: #5a9c3c;
}

/* ─── Home / Verify Form ────────────────────────────── */
.verify-intro {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 16px;
}

.verify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.verify-form label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.verify-form input[type="text"] {
  border: 1px solid #bbb;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  width: 220px;
  outline: none;
}

.verify-form button {
  background: #003087;
  color: #fff;
  border: none;
  padding: 9px 22px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.verify-form button:hover {
  background: #00236b;
}

#verify-result {
  margin-top: 20px;
}

.verify-result-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header {
    padding: 0 6%;
  }

  .site-main {
    padding: 24px 6% 36px;
  }

  .header-brand {
    gap: 20px;
  }

  .header-brand img.globe-icon {
    width: 84px;
    height: 84px;
  }

  .header-title h1 {
    font-size: 36px;
  }

  .header-title p {
    font-size: 21px;
  }

  .header-logos img {
    height: 50px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    height: 24px;
    padding: 0 12px;
    justify-content: flex-end;
  }

  .top-bar a {
    margin: 0 6px;
    font-size: 10px;
  }

  .site-header {
    height: auto;
    min-height: 148px;
    padding: 20px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    place-content: flex-start;
    gap: 18px;
  }

  .header-brand {
    width: 100%;
    gap: 14px;
    align-items: flex-start;
  }

  .header-brand img.globe-icon {
    width: 62px;
    height: 62px;
  }

  .header-title h1 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.04;
  }

  .header-title p {
    font-size: 18px;
    line-height: 1.2;
  }

  .header-logos {
    width: 100%;
    justify-content: flex-end;
    align-self: stretch;
    gap: 12px;
  }

  .header-logos img {
    height: 42px;
  }

  .site-main {
    padding: 20px 16px 34px;
  }

  .site-nav {
    margin-bottom: 30px;
  }

  .site-nav ul,
  .site-nav ul li {
    width: 100%;
  }

  .site-nav ul li a {
    width: min(100%, 280px);
    font-size: 18px;
  }

  .divider {
    margin: 24px 0;
  }

  .verification-loader {
    padding: 8px 0 6px;
  }

  .result-status {
    gap: 14px;
    align-items: flex-start;
  }

  .checkmark-image {
    width: 34px;
    height: 34px;
  }

  .result-status h2 {
    font-size: 24px;
    line-height: 1.1;
  }

  .result-info {
    font-size: 0.95rem;
  }

  .details-table,
  .details-table tbody,
  .details-table tr,
  .details-table td {
    display: block;
    width: 100%;
  }

  .details-table tr {
    padding: 8px 0;
    border-bottom: 1px solid #ececec;
  }

  .details-table td:first-child {
    padding: 0 0 4px;
    white-space: normal;
  }

  .details-table td:last-child {
    padding: 0;
  }

  .verify-form {
    align-items: stretch;
  }

  .verify-form input[type="text"],
  .verify-form button {
    width: 100%;
  }

  .verify-form button {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .site-header {
    padding: 18px 12px 20px;
    min-height: 132px;
  }

  .site-main {
    padding: 18px 12px 28px;
  }

  .header-brand {
    gap: 10px;
  }

  .header-logos img {
    height: 36px;
  }

  .header-title h1 {
    font-size: 23px;
  }

  .header-title p {
    font-size: 15px;
  }

  .site-nav ul li a {
    font-size: 17px;
    width: 100%;
  }

  .result-status h2 {
    font-size: 22px;
  }
}

@media print {
  .top-bar,
  .site-nav {
    display: none;
  }
  .site-header {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
