/*
Theme Name: DIGIT Credential Evaluation
Theme URI: https://digitcredentials.com
Author: DIGIT Academic Verification Team
Author URI: https://digitcredentials.com
Description: Official SEO-optimized informational marketing theme for DIGIT (Degree Ingestion & Global Interpretation Tool). Features interactive evaluation fee calculator, 52-country grading scale explorer, Slate CRM institutional integration showcase, schema.org JSON-LD structured data, and conversion routing into the DIGIT verification portal.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Commercial / Proprietary
Text Domain: digit-wp-theme
*/

:root {
  --espresso: #4E3626;
  --espresso-dark: #332217;
  --espresso-light: #6B4C38;
  --gold: #D4A760;
  --gold-light: #E2C07F;
  --gold-bright: #F8D730;
  --parchment: #FAF6EE;
  --parchment-deep: #F2E9D8;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --emerald-600: #059669;
  --emerald-50: #ECFDF5;
  --amber-600: #D97706;
  --amber-50: #FFFBEB;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(78, 54, 38, 0.06);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(78, 54, 38, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(78, 54, 38, 0.16);
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Gold Brand Accent Bar & Announcement Bar */
.brand-top-ribbon {
  height: 5px;
  background: linear-gradient(90deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-light) 100%);
}

.top-trust-bar {
  background-color: var(--espresso-dark);
  color: var(--parchment);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(212, 167, 96, 0.2);
}

.top-trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-pills {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
  font-weight: 500;
}

.trust-pill strong {
  color: var(--gold-light);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-links a {
  color: var(--gold-light);
  font-weight: 600;
}

.top-bar-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 173, 156, 0.28);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--espresso);
}

.brand-seal-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-dark) 100%);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(78, 54, 38, 0.2);
}

.brand-subtext {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-top: -4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--espresso);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-outline {
  background: var(--white);
  color: var(--espresso);
  border: 1.5px solid rgba(78, 54, 38, 0.25);
}

.btn-outline:hover {
  border-color: var(--espresso);
  background: var(--parchment);
}

.btn-primary {
  background: var(--espresso);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(78, 54, 38, 0.22);
}

.btn-primary:hover {
  background: var(--espresso-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(78, 54, 38, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--espresso-dark);
  box-shadow: 0 8px 20px rgba(212, 167, 96, 0.32);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-bright) 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(212, 167, 96, 0.45);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
  border-radius: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  color: var(--espresso);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(226, 192, 127, 0.22) 0%, rgba(250, 246, 238, 0.85) 45%, #FFFFFF 100%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid rgba(191, 173, 156, 0.25);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: var(--parchment);
  border: 1px solid rgba(212, 167, 96, 0.45);
  color: var(--espresso);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--espresso-dark);
  margin-bottom: 1.25rem;
}

.hero-title .highlight-gold {
  background: linear-gradient(90deg, var(--espresso) 0%, #9E6B24 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 620px;
}

/* Quick Routing Funnel Card in Hero */
.quick-router-card {
  background: var(--white);
  border: 1.5px solid rgba(212, 167, 96, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
}

.quick-router-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.quick-router-header h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--espresso);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sla-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--emerald-50);
  color: var(--emerald-600);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.router-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-800);
  background-color: var(--slate-100);
  transition: border-color 0.2s, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(212, 167, 96, 0.2);
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
}

.metric-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--espresso);
  line-height: 1.2;
}

.metric-item span {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* Hero Visual Showcase */
.hero-visual-stack {
  position: relative;
}

.hero-main-photo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--parchment);
}

.hero-main-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 167, 96, 0.45);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 290px;
}

.floating-badge-top {
  top: -18px;
  right: -16px;
}

.floating-badge-bottom {
  bottom: -22px;
  left: -20px;
}

.badge-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon-emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.badge-icon-gold {
  background: var(--parchment);
  color: var(--espresso);
}

.floating-badge-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-900);
  line-height: 1.25;
}

.floating-badge-card span {
  font-size: 0.74rem;
  color: var(--slate-500);
}

/* Section Layout & Core Web Vitals */
.section {
  padding: 5rem 0;
}

.section-lazy {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.section-parchment {
  background-color: var(--parchment);
  border-top: 1px solid rgba(212, 167, 96, 0.22);
  border-bottom: 1px solid rgba(212, 167, 96, 0.22);
}

.section-dark {
  background: linear-gradient(145deg, var(--espresso-dark) 0%, #1E140D 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--espresso-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.section-dark .section-subtitle {
  color: #CBD5E1;
}

/* Audience Cards Grid (Stock Photo Cards) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.audience-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--parchment);
}

.audience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.audience-card:hover .audience-photo img {
  transform: scale(1.05);
}

.audience-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(51, 34, 23, 0.88);
  color: var(--gold-light);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audience-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.audience-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 0.6rem;
}

.audience-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 1.1rem;
  flex: 1;
}

.audience-checklist {
  list-style: none;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.85rem;
}

.audience-checklist li {
  font-size: 0.8rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.audience-checklist li::before {
  content: "✓";
  color: var(--emerald-600);
  font-weight: 900;
}

/* Competitor Comparison Table */
.comparison-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(212, 167, 96, 0.4);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.92rem;
}

.comparison-table thead th {
  background: var(--espresso-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
}

.comparison-table thead th.col-digit {
  background: linear-gradient(135deg, var(--espresso) 0%, #6B4C38 100%);
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.comparison-table tbody td.col-digit {
  background: rgba(250, 246, 238, 0.65);
  font-weight: 700;
  color: var(--espresso-dark);
  border-left: 2px solid rgba(212, 167, 96, 0.4);
  border-right: 2px solid rgba(212, 167, 96, 0.4);
}

/* Interactive Fee & Turnaround Estimator */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-controls-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.calc-option-group {
  margin-bottom: 1.75rem;
}

.calc-option-group h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-choice-card {
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--white);
  position: relative;
}

.calc-choice-card.selected {
  border-color: var(--gold);
  background: var(--parchment);
  box-shadow: 0 4px 14px rgba(212, 167, 96, 0.18);
}

.calc-choice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.calc-choice-header strong {
  font-size: 0.95rem;
  color: var(--espresso-dark);
}

.calc-price-pill {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--espresso);
  border: 1px solid rgba(212, 167, 96, 0.4);
}

.calc-choice-card p {
  font-size: 0.8rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.calc-summary-card {
  background: var(--espresso-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.calc-summary-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: #E2E8F0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid rgba(212, 167, 96, 0.35);
}

.summary-total-amount {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--gold-bright);
}

/* 52-Country Grading Scale Explorer */
.country-search-bar {
  display: flex;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  flex-wrap: wrap;
}

.country-search-input {
  flex: 1;
  min-width: 240px;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.country-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.country-guide-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, transform 0.2s;
}

.country-guide-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.country-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.country-card-top h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--espresso);
}

.scale-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--parchment);
  color: var(--espresso);
  border: 1px solid rgba(212, 167, 96, 0.35);
}

.country-mapping-preview {
  font-size: 0.83rem;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 4-Step Visual Workflow */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step-photo {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--espresso-dark);
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.step-content {
  padding: 1.35rem;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.86rem;
  color: var(--slate-600);
}

/* Forensic Security Showcase */
.forensic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.forensic-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.forensic-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 167, 96, 0.28);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.forensic-item h3 {
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.forensic-item p {
  color: #CBD5E1;
  font-size: 0.88rem;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--espresso-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.92rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

/* Footer */
.site-footer {
  background: #140D08;
  color: #CBD5E1;
  padding: 4.5rem 0 2.5rem;
  border-top: 4px solid var(--gold);
}

/* ==========================================================================
   INSTITUTIONAL TRUST, SPECIMEN VIEWER & STUDENT RESOURCE HUB COMPONENTS
   ========================================================================== */

/* 1. Institutional Governance & International Standards Strip */
.standards-ribbon {
  background: linear-gradient(180deg, var(--parchment) 0%, #F5EFE2 100%);
  border-top: 1px solid rgba(212, 167, 96, 0.35);
  border-bottom: 1px solid rgba(212, 167, 96, 0.35);
  padding: 2rem 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.standard-authority-card {
  background: var(--white);
  border: 1px solid rgba(78, 54, 38, 0.14);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.standard-authority-card .std-code {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--espresso-light);
  margin-bottom: 0.2rem;
}

.standard-authority-card strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--espresso-dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.standard-authority-card span {
  font-size: 0.76rem;
  color: var(--slate-600);
  line-height: 1.35;
}

/* 2. Interactive Country-Specific Required Document Checklist Lookup */
.doc-checklist-shell {
  background: var(--white);
  border: 1.5px solid rgba(78, 54, 38, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.doc-checklist-toolbar {
  background: linear-gradient(135deg, var(--espresso-dark) 0%, var(--espresso) 100%);
  color: var(--white);
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 3px solid var(--gold);
}

.doc-checklist-toolbar h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.doc-checklist-toolbar p {
  font-size: 0.88rem;
  color: #E2E8F0;
}

.doc-country-selector-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.doc-country-selector-wrap label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.doc-country-select {
  min-width: 280px;
  padding: 0.8rem 1.15rem;
  border-radius: 10px;
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--espresso-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.doc-checklist-body {
  padding: 2.25rem;
  background: var(--white);
}

.doc-req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.doc-req-box {
  background: var(--parchment);
  border: 1px solid rgba(212, 167, 96, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.doc-req-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--espresso-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(78, 54, 38, 0.12);
}

.doc-req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doc-req-list li {
  font-size: 0.88rem;
  color: var(--slate-700);
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.5;
}

.doc-req-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-600);
  font-weight: 900;
}

.doc-Policy-banner {
  background: var(--slate-100);
  border-left: 4px solid var(--espresso);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 3. Interactive Free International GPA & Credit Equivalency Calculator */
.gpa-converter-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.gpa-controls-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-200);
}

.gpa-course-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.gpa-course-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--slate-200);
}

.gpa-course-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
}

.gpa-input-sm {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 0.88rem;
}

.gpa-result-banner {
  background: linear-gradient(135deg, var(--espresso-dark) 0%, var(--espresso) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  border: 2px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gpa-result-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.gpa-metric-box span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.gpa-metric-box strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

/* 4. Official Evaluation Report Specimen Viewer & Serial Verification */
.specimen-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.specimen-tab-btn {
  padding: 0.85rem 1.65rem;
  border-radius: 10px;
  border: 2px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specimen-tab-btn.active {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

.official-specimen-sheet {
  background: #FFFEFA;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.official-specimen-sheet::before {
  content: "OFFICIAL SPECIMEN • X.509 PKI SEALED";
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.specimen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--espresso);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.specimen-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--parchment);
  border: 1px solid rgba(212, 167, 96, 0.45);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
}

.specimen-meta-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.specimen-meta-item strong {
  font-size: 0.88rem;
  color: var(--espresso-dark);
}

.specimen-equivalency-banner {
  background: linear-gradient(90deg, rgba(78, 54, 38, 0.06) 0%, rgba(212, 167, 96, 0.16) 100%);
  border-left: 5px solid var(--espresso);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}

.specimen-equivalency-banner span {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--espresso-light);
  margin-bottom: 0.25rem;
}

.specimen-equivalency-banner strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--espresso-dark);
}

.specimen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.specimen-table th {
  background: var(--espresso);
  color: var(--gold-light);
  text-align: left;
  padding: 0.65rem 0.9rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specimen-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.specimen-footer-attestation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1.5px dashed rgba(78, 54, 38, 0.25);
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* Serial Number Verification Widget */
.serial-verify-box {
  max-width: 820px;
  margin: 2rem auto 0;
  background: var(--espresso-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  border: 1.5px solid var(--gold);
}

.serial-verify-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.serial-verify-input {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

/* 5. Student Resource Handbooks & Electronic Networks Grid */
.handbooks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.handbook-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.handbook-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.handbook-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--parchment);
  color: var(--espresso);
  border: 1px solid rgba(212, 167, 96, 0.45);
}

.handbook-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--espresso-dark);
  margin-bottom: 0.65rem;
}

.handbook-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.network-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.network-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.network-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 0.35rem;
}

.network-card p {
  font-size: 0.83rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Backwards-compatible utility class aliases */
.btn--primary { background: var(--espresso); color: var(--white); }
.btn--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--espresso-dark); }
.btn--outline { background: var(--white); color: var(--espresso); border: 1.5px solid rgba(78, 54, 38, 0.25); }
.section--white { padding: 5rem 0; background: var(--white); }
.section--parchment { padding: 5rem 0; background: var(--parchment); }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748B;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .calculator-grid,
  .forensic-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid,
  .steps-grid,
  .doc-req-grid,
  .handbooks-grid,
  .specimen-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .country-cards-grid,
  .country-grid,
  .testimonials-grid,
  .network-directory-grid,
  .gpa-controls-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open,
  .main-nav.is-open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .router-form-grid,
  .calc-radio-cards,
  .audience-grid,
  .steps-grid,
  .country-cards-grid,
  .country-grid,
  .testimonials-grid,
  .standards-grid,
  .doc-req-grid,
  .gpa-controls-top,
  .specimen-meta-grid,
  .handbooks-grid,
  .network-directory-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-badge-top,
  .floating-badge-bottom {
    position: static;
    margin-top: 0.75rem;
    max-width: 100%;
  }
}

