:root {
  --navy: #071f4d;
  --navy-dark: #04142f;
  --gold: #c89b2c;
  --white: #ffffff;
  --light: #f5f7fb;
  --gray: #5f6b7a;
  --border: #e4e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: #152033;
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
}

.logo-area h1 {
  font-size: 22px;
  color: var(--navy);
  line-height: 1.1;
}

.logo-area p {
  font-size: 13px;
  color: var(--gray);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.nav-button {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800 !important;
}

.hero-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 700;
}

.hero-content h2 {
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 18px;
  color: #e5ecff;
  max-width: 780px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 800;
}

.btn.primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn.secondary {
  background: var(--white);
  color: var(--navy);
}

.hero-card {
  background: var(--white);
  color: #152033;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  color: var(--navy);
  font-size: 26px;
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--gray);
  margin-bottom: 18px;
}

.hero-card ul {
  margin-left: 20px;
  margin-bottom: 22px;
}

.hero-card li {
  margin-bottom: 8px;
}

.support-box {
  background: var(--light);
  border-left: 5px solid var(--gold);
  padding: 14px;
  border-radius: 10px;
}

.support-box strong {
  color: var(--navy);
}

.notice-section {
  background: var(--light);
  padding: 60px 0;
  text-align: center;
}

.notice-section h2 {
  color: var(--navy);
  font-size: 32px;
  margin-bottom: 12px;
}

.notice-section p {
  color: var(--gray);
  max-width: 850px;
  margin: 0 auto;
  font-size: 17px;
}

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 34px 0;
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer .small {
  color: #cbd5e1;
  font-size: 13px;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 34px;
  }
}.form-section {
  background: var(--light);
  padding: 60px 0;
}

.application-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(7, 31, 77, 0.08);
}

.application-form h3 {
  color: var(--navy);
  margin: 28px 0 14px;
  font-size: 24px;
}

.application-form h3:first-child {
  margin-top: 0;
}

.application-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 6px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.application-form textarea {
  resize: vertical;
}

.checkbox-area {
  background: var(--light);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.checkbox-area label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #152033;
  font-weight: 600;
}

.checkbox-area input {
  width: auto;
  margin-top: 5px;
}

.form-notice {
  background: #fff8e5;
  border-left: 5px solid var(--gold);
  padding: 16px;
  border-radius: 12px;
  margin-top: 22px;
}

.submit-button {
  margin-top: 24px;
  width: 100%;
  border: none;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}.admin-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(7, 31, 77, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.admin-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px;
  font-size: 14px;
}

.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.admin-table tr:nth-child(even) {
  background: #f8fafc;
}.small-action {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.summary-card select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 8px;
}.status-result {
  margin-top: 28px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.status-result h3 {
  color: var(--navy);
  margin-bottom: 14px;
}/* Applicant Services Professional Layout */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.service-card h3 {
  color: #0b1f4d;
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card .btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}/* Make service cards balanced */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.service-card .btn {
  margin-top: auto;
}/* Professional Available Jobs Cards */
.jobs-grid-professional {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.professional-job-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.professional-job-card h3 {
  color: #0b1f4d;
  font-size: 24px;
  margin-bottom: 8px;
}

.job-company {
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.job-pay {
  font-weight: 700;
  color: #b8860b;
  margin-bottom: 12px;
}

.job-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 15px;
}

.job-status {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.job-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.job-actions .btn {
  min-width: 160px;
  text-align: center;
}

@media (max-width: 900px) {
  .jobs-grid-professional {
    grid-template-columns: 1fr;
  }
}/* Balance professional job cards */
.professional-job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
}

.professional-job-card .job-actions {
  margin-top: auto;
}/* Balance professional job cards */
.professional-job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
}

.professional-job-card .job-actions {
  margin-top: auto;
}/* Final polish for job cards */
.professional-job-card .job-status {
  align-self: flex-start;
  width: auto;
}

.professional-job-card .job-actions a {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.professional-job-card .job-actions a:first-child {
  background: #d9a300;
  color: #111827;
}

.professional-job-card .job-actions a:last-child {
  background: #ffffff;
  color: #0b1f4d;
  border: 2px solid #0b1f4d;
}

.professional-job-card .job-actions a:last-child:hover {
  background: #0b1f4d;
  color: #ffffff;
}/* Professional Job Details Page */
.job-detail-hero {
  background: linear-gradient(135deg, #0b1f4d, #102a66);
  color: #ffffff;
  padding: 70px 0;
}

.job-detail-hero .badge {
  background: #d9a300;
  color: #111827;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 18px;
}

.job-detail-hero h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.job-detail-hero p {
  font-size: 20px;
  opacity: 0.95;
}

.job-detail-section {
  padding: 60px 0;
  background: #f5f7fb;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.job-detail-main-card,
.job-detail-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.job-detail-main-card h3,
.job-detail-sidebar-card h3 {
  color: #0b1f4d;
  margin-top: 20px;
  margin-bottom: 12px;
}

.job-detail-main-card h3:first-child {
  margin-top: 0;
}

.job-detail-main-card p,
.job-detail-main-card li,
.job-detail-sidebar-card p {
  color: #4b5563;
  line-height: 1.7;
}

.job-detail-main-card ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.full-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-hero h2 {
    font-size: 32px;
  }
}/* Professional Job Details Page */
.job-detail-hero {
  background: #0b1f4d;
  color: #ffffff;
  padding: 70px 0;
}

.job-detail-hero .badge {
  background: #d9a300;
  color: #111827;
}

.job-detail-hero h2 {
  font-size: 42px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.job-detail-hero p {
  font-size: 20px;
  color: #e5e7eb;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  align-items: start;
}

.job-detail-main-card,
.job-detail-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.job-detail-main-card h3,
.job-detail-sidebar-card h3 {
  color: #0b1f4d;
  margin-top: 22px;
  margin-bottom: 12px;
}

.job-detail-main-card h3:first-child,
.job-detail-sidebar-card h3:first-child {
  margin-top: 0;
}

.job-detail-main-card p,
.job-detail-main-card li,
.job-detail-sidebar-card p {
  color: #4b5563;
  line-height: 1.7;
}

.job-detail-main-card ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.full-btn {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-hero h2 {
    font-size: 32px;
  }
}/* Reduce job details hero height */
.job-detail-hero {
  padding: 45px 0 !important;
}

.job-detail-hero h2 {
  font-size: 36px !important;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
}

.job-detail-hero p {
  font-size: 18px !important;
}

.job-detail-section {
  padding-top: 35px !important;
}/* Professional Apply Form Styling */
.form-section {
  padding: 45px 0;
}

.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 30px;
}

.form-card h3 {
  color: #0b1f4d;
  font-size: 26px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.form-card label {
  display: block;
  font-weight: 700;
  color: #0b1f4d;
  margin-bottom: 8px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 20px;
  background: #ffffff;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #d9a300;
  box-shadow: 0 0 0 3px rgba(217, 163, 0, 0.18);
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .submit-button,
.submit-button {
  background: #d9a300;
  color: #111827;
  border: none;
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}

.form-card .submit-button:hover,
.submit-button:hover {
  background: #c49100;
}/* Professional Apply Page Header */
.page-hero {
  background: #f8fafc;
  padding: 45px 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-hero .badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-hero h2 {
  color: #0b1f4d;
  font-size: 38px;
  margin-bottom: 14px;
}

.page-hero p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.7;
  max-width: 1000px;
}/* Reduce Apply page header size */
.page-hero {
  padding: 35px 0 !important;
}

.page-hero h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

.page-hero p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}/* Reduce Apply page header size */
.page-hero {
  padding: 35px 0 !important;
}

.page-hero h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

.page-hero p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}/* Professional Application Received Page */
.success-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 42px;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.10);
}

.success-card h2 {
  color: #0b1f4d;
  font-size: 36px;
  margin: 18px 0 15px;
}

.success-card p {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.reference-box {
  background: #f8fafc;
  border: 2px dashed #d9a300;
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
}

.reference-box p {
  margin-bottom: 8px;
  font-weight: 700;
  color: #0b1f4d;
}

.reference-box h3 {
  color: #0b1f4d;
  font-size: 32px;
  letter-spacing: 1px;
}

.success-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.success-actions .btn {
  text-align: center;
  min-width: 210px;
}

@media (max-width: 700px) {
  .success-card {
    padding: 28px;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}/* Application Received Page Professional Buttons */
.success-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.reference-box {
  border: 2px dashed #d9a300;
  border-radius: 18px;
  padding: 28px;
  margin: 28px 0;
  background: #fffbeb;
}

.reference-box h3 {
  color: #0b1f4d;
  font-size: 34px;
  letter-spacing: 2px;
  margin-top: 10px;
}

.success-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.success-actions .btn {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.success-actions .btn.primary {
  background: #d9a300;
  color: #111827;
}

.success-actions .btn.secondary {
  background: #ffffff;
  color: #0b1f4d;
  border: 2px solid #0b1f4d;
}

.success-actions .btn.secondary:hover {
  background: #0b1f4d;
  color: #ffffff;
}/* Professional Application Status Page */
.status-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.status-result-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.status-result-card h3 {
  color: #0b1f4d;
  font-size: 26px;
  margin: 18px 0 22px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.status-row strong {
  color: #0b1f4d;
}

.status-row span {
  color: #4b5563;
  text-align: right;
}

.status-pill {
  display: inline-block;
  background: #fef3c7;
  color: #92400e !important;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.error-notice {
  margin-top: 20px;
  background: #fff7ed;
  border-left: 5px solid #d97706;
}

@media (max-width: 900px) {
  .status-layout {
    grid-template-columns: 1fr;
  }

  .status-row {
    display: block;
  }

  .status-row span {
    display: block;
    text-align: left;
    margin-top: 6px;
  }
}/* Professional Check Status Page */
.status-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.status-result-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 35px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.status-result-card h3 {
  color: #0b1f4d;
  font-size: 30px;
  margin: 18px 0 25px;
}

.status-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}

.status-row strong {
  color: #0b1f4d;
  font-size: 17px;
}

.status-row span {
  color: #4b5563;
  font-size: 17px;
}

.status-pill {
  display: inline-block;
  background: #fef3c7;
  color: #92400e !important;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
}

.error-notice {
  margin-top: 20px;
  background: #fff7ed;
  border-left: 5px solid #d97706;
}

@media (max-width: 900px) {
  .status-layout {
    grid-template-columns: 1fr;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}/* FIX: Applicant services card button spacing */
.service-card,
.support-card,
.tool-card {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.service-card p,
.support-card p,
.tool-card p {
  margin-bottom: 24px !important;
  line-height: 1.7 !important;
}

.service-card .btn,
.support-card .btn,
.tool-card .btn,
.service-card a,
.support-card a,
.tool-card a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 18px !important;
  z-index: 2 !important;
}

.services-grid,
.tools-grid,
.cards-grid {
  gap: 30px !important;
}
/* Applicant Services overlap fix */
.application-form {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

.application-form p {
  display: block !important;
  margin-bottom: 35px !important;
  line-height: 1.8 !important;
  position: relative !important;
}

.application-form a.btn,
.application-form .btn,
.application-form .submit-button {
  position: relative !important;
  display: inline-flex !important;
  margin-top: 25px !important;
  margin-bottom: 15px !important;
  clear: both !important;
}

/* Applicant Services button size final fix */
.application-form a.btn,
.application-form a.primary,
.application-form a.secondary {
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 220px !important;
  padding: 16px 28px !important;
  text-decoration: none !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 14px !important;
  margin-top: 25px !important;
  margin-bottom: 10px !important;
}

.application-form a.btn:hover,
.application-form a.primary:hover,
.application-form a.secondary:hover {
  text-decoration: none !important;
}

/* Applicant Services spacing final fix */
.salary-note {
  margin-bottom: 45px !important;
}

.jobs-section {
  padding-top: 35px !important;
}

.jobs-section .application-form {
  margin-top: 35px !important;
  margin-bottom: 35px !important;
}

/* Final button width control for Applicant Services */
a.submit-button,
button.submit-button,
.submit-button {
  width: auto !important;
  max-width: 320px !important;
  min-width: 230px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px 28px !important;
  text-decoration: none !important;
  border-radius: 14px !important;
}

.application-form a.submit-button,
.application-form .submit-button {
  width: auto !important;
  max-width: 320px !important;
}

.application-form {
  padding-top: 45px !important;
}

/* Applicant Services exact button fix */
a[href="/check-status"],
a[href="/document-verification"],
a[href="/payment-instructions"],
a[href="/payment-confirmation"],
a[href="/payment-status"],
a[href="/contact"] {
  display: inline-flex !important;
  width: auto !important;
  min-width: 230px !important;
  max-width: 330px !important;
  padding: 16px 28px !important;
  text-decoration: none !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 14px !important;
  margin-top: 22px !important;
}

a[href="/check-status"]:hover,
a[href="/document-verification"]:hover,
a[href="/payment-instructions"]:hover,
a[href="/payment-confirmation"]:hover,
a[href="/payment-status"]:hover,
a[href="/contact"]:hover {
  text-decoration: none !important;
}


/* Applicant Services final tool button style */
.service-tool-button {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 230px !important;
  max-width: 330px !important;
  padding: 16px 28px !important;
  justify-content: center !important;
  align-items: center !important;
  justify-self: start !important;
  align-self: flex-start !important;
  text-decoration: none !important;
  border-radius: 14px !important;
}
.service-tool-button:hover {
  text-decoration: none !important;
}


/* Restore Applicant Services yellow button design */
a.service-tool-button,
.service-tool-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 230px !important;
  max-width: 330px !important;
  padding: 16px 28px !important;
  background: #d69a00 !important;
  color: #0b1f55 !important;
  border: 2px solid #d69a00 !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 22px !important;
}

a.service-tool-button:hover,
.service-tool-button:hover {
  background: #c98f00 !important;
  color: #0b1f55 !important;
  text-decoration: none !important;
}


/* Restore Applicant Services yellow button design */
a.service-tool-button,
.service-tool-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 230px !important;
  max-width: 330px !important;
  padding: 16px 28px !important;
  background: #d69a00 !important;
  color: #0b1f55 !important;
  border: 2px solid #d69a00 !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 22px !important;
}

a.service-tool-button:hover,
.service-tool-button:hover {
  background: #c98f00 !important;
  color: #0b1f55 !important;
  text-decoration: none !important;
}


/* Fix top navigation Contact Us link after Applicant Services button fix */
.site-header .main-nav a[href="/contact"],
.main-nav a[href="/contact"] {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  color: #0b1f55 !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}


/* Final mobile and layout cleanup */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e8edf5;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.logo-area h1 {
  margin: 0;
  line-height: 1.1;
}

.logo-area p {
  margin: 4px 0 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  white-space: nowrap;
}

.page-hero,
.jobs-section,
.form-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.application-form,
.summary-card,
.status-result,
.form-notice,
.salary-note {
  max-width: 100%;
}

.application-form {
  margin-bottom: 34px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  max-width: 100%;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  vertical-align: top;
}

.btn,
.submit-button,
.small-action,
a.service-tool-button,
.service-tool-button {
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-area {
    min-width: 0;
    width: 100%;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .jobs-section,
  .form-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .logo-area h1 {
    font-size: 22px;
  }

  .logo-area p {
    font-size: 13px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 14px;
  }

  h1,
  .page-hero h1 {
    font-size: 32px;
  }

  h2,
  .page-hero h2 {
    font-size: 28px;
  }

  .application-form,
  .summary-card,
  .status-result {
    padding: 24px !important;
    border-radius: 18px;
  }

  a.service-tool-button,
  .service-tool-button,
  .submit-button,
  .btn.primary {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .admin-table {
    min-width: 850px;
  }
}


/* Applicant services final card width fix */
.service-card,
.service-tool,
.service-box,
.tool-card,
.applicant-service-card {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 34px !important;
  overflow: hidden !important;
}

.service-card p,
.service-tool p,
.service-box p,
.tool-card p,
.applicant-service-card p {
  max-width: 760px !important;
  line-height: 1.7 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.service-card .btn,
.service-tool .btn,
.service-box .btn,
.tool-card .btn,
.applicant-service-card .btn,
.service-card a,
.service-tool a,
.service-box a,
.tool-card a,
.applicant-service-card a {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  padding: 16px 28px !important;
}

@media (max-width: 700px) {
  .service-card,
  .service-tool,
  .service-box,
  .tool-card,
  .applicant-service-card {
    max-width: 100% !important;
    padding: 24px !important;
  }

  .service-card .btn,
  .service-tool .btn,
  .service-box .btn,
  .tool-card .btn,
  .applicant-service-card .btn,
  .service-card a,
  .service-tool a,
  .service-box a,
  .tool-card a,
  .applicant-service-card a {
    max-width: 100% !important;
  }
}


/* Force Applicant Services page clean width */
body.applicant-services-page .page-hero .container,
body.applicant-services-page .jobs-section .container,
body.applicant-services-page .form-section .container {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.applicant-services-page .application-form,
body.applicant-services-page .summary-card,
body.applicant-services-page .status-result,
body.applicant-services-page .salary-note,
body.applicant-services-page .form-notice {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.applicant-services-page .application-form {
  padding: 34px !important;
  margin-top: 28px !important;
  margin-bottom: 34px !important;
}

body.applicant-services-page .application-form p,
body.applicant-services-page .summary-card p,
body.applicant-services-page .salary-note p,
body.applicant-services-page .form-notice p {
  max-width: 720px !important;
  line-height: 1.7 !important;
}

body.applicant-services-page .application-form a,
body.applicant-services-page .application-form .btn,
body.applicant-services-page .submit-button {
  width: auto !important;
  max-width: 360px !important;
  display: inline-flex !important;
  justify-content: center !important;
  padding: 16px 28px !important;
}


/* Applicant Services compact card fix */
body.applicant-services-page .application-form {
  min-height: auto !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  margin-top: 24px !important;
  margin-bottom: 28px !important;
}

body.applicant-services-page .application-form h2,
body.applicant-services-page .application-form h3 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

body.applicant-services-page .application-form p {
  margin-bottom: 24px !important;
}

body.applicant-services-page .application-form a,
body.applicant-services-page .application-form .btn,
body.applicant-services-page .submit-button {
  margin-top: 8px !important;
}

body.applicant-services-page .jobs-section {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}


/* Phase 1 professional trust pages */
.professional-page {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.info-card.large {
  margin-bottom: 28px;
}

.info-card h2,
.info-card h3 {
  color: #10265c;
  margin-top: 0;
  margin-bottom: 14px;
}

.info-card p {
  line-height: 1.75;
  margin-bottom: 14px;
}

.info-card.warning {
  border-left: 5px solid #d99a00;
  background: #fffaf0;
}

.process-list {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.process-step span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d99a00;
  color: #10265c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.process-step h3 {
  color: #10265c;
  margin-top: 0;
  margin-bottom: 8px;
}

.process-step p {
  margin: 0;
  line-height: 1.7;
}

.page-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .page-actions a {
    width: 100%;
    justify-content: center;
  }
}


/* Phase 1 header menu fitting fix */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  width: 100%;
}

.site-header * {
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.logo-area {
  flex: 0 1 320px;
  min-width: 240px;
}

.main-nav {
  flex: 1 1 650px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 20px;
  flex-wrap: wrap;
  min-width: 0;
}

.main-nav a {
  white-space: nowrap;
  font-size: 15px;
}

.page-hero h1 {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-area {
    width: 100%;
    min-width: 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .main-nav a {
    font-size: 14px;
  }
}


/* Phase 2 trust pages */
.faq-list {
  display: grid;
  gap: 22px;
}

.footer-links {
  margin-top: 12px;
  margin-bottom: 12px;
}

.footer-links a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 10px 14px;
  }

  .main-nav a {
    font-size: 14px;
  }
}


/* Phase 3 Quick Eligibility Checker */
.quick-eligibility-home {
  padding: 42px 0;
  background: #f8fafc;
  border-top: 1px solid #e6ebf3;
  border-bottom: 1px solid #e6ebf3;
}

.quick-eligibility-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 16px 45px rgba(15, 35, 75, 0.07);
}

.quick-eligibility-box h2 {
  color: #10265c;
  margin-top: 12px;
  margin-bottom: 10px;
}

.quick-eligibility-box p {
  margin-bottom: 0;
  line-height: 1.7;
}

.eligibility-page {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.eligibility-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 16px 45px rgba(15, 35, 75, 0.07);
}

.eligibility-card h2 {
  color: #10265c;
  margin-top: 0;
}

.eligibility-intro {
  line-height: 1.7;
  margin-bottom: 26px;
}

.eligibility-form {
  display: grid;
  gap: 20px;
}

.eligibility-form .form-row {
  display: grid;
  gap: 8px;
}

.eligibility-form label {
  font-weight: 700;
  color: #10265c;
}

.eligibility-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d8dfeb;
  font-size: 15px;
  background: #ffffff;
}

.eligibility-button {
  margin-top: 10px;
  width: fit-content;
}

.eligibility-result {
  margin-top: 28px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid #e6ebf3;
}

.eligibility-result h3 {
  margin-top: 0;
  color: #10265c;
}

.eligibility-result p {
  line-height: 1.7;
}

.eligibility-result.success {
  background: #f0fff6;
  border-left: 5px solid #1f9d55;
}

.eligibility-result.warning {
  background: #fffaf0;
  border-left: 5px solid #d99a00;
}

.eligibility-result.danger {
  background: #fff5f5;
  border-left: 5px solid #c53030;
}

.eligibility-result.neutral {
  background: #f5f8ff;
  border-left: 5px solid #10265c;
}

.small-note {
  font-size: 14px;
  color: #5d6575;
  margin-top: 16px;
}

.eligibility-notice {
  margin-top: 28px;
}

@media (max-width: 800px) {
  .quick-eligibility-box {
    grid-template-columns: 1fr;
  }

  .quick-eligibility-box .btn,
  .eligibility-button {
    width: 100%;
    justify-content: center;
  }

  .eligibility-card {
    padding: 24px;
  }
}


/* Phase 4 Homepage Upgrade */
.section-heading.center {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 34px auto;
}

.section-heading h2 {
  color: #10265c;
  font-size: 34px;
  margin: 14px 0 12px;
}

.section-heading p {
  line-height: 1.7;
  margin: 0;
}

.homepage-trust-section,
.homepage-featured-jobs,
.homepage-why-section,
.homepage-process-preview,
.homepage-warning-preview,
.homepage-support-tools,
.homepage-final-cta {
  padding: 58px 0;
}

.homepage-trust-section,
.homepage-why-section,
.homepage-support-tools {
  background: #f8fafc;
  border-top: 1px solid #e6ebf3;
  border-bottom: 1px solid #e6ebf3;
}

.country-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.country-badges span {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  color: #10265c;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15, 35, 75, 0.06);
}

.featured-job-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.featured-job-card,
.why-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.job-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff4d7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.featured-job-card h3,
.why-card h3 {
  color: #10265c;
  margin: 0 0 12px;
}

.featured-job-card p,
.why-card p {
  line-height: 1.7;
  margin: 0;
}

.center-actions {
  justify-content: center;
  text-align: center;
}

.process-preview-box,
.warning-preview-box,
.final-cta-box {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(15, 35, 75, 0.07);
}

.process-preview-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 28px;
}

.warning-preview-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-left: 5px solid #d99a00;
  background: #fffaf0;
}

.process-preview-box h2,
.warning-preview-box h2,
.final-cta-box h2 {
  color: #10265c;
  margin: 12px 0;
}

.process-preview-box p,
.warning-preview-box p,
.final-cta-box p {
  line-height: 1.7;
}

.mini-steps {
  display: grid;
  gap: 10px;
}

.mini-steps span {
  background: #f5f8ff;
  color: #10265c;
  border: 1px solid #e6ebf3;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
}

.support-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-tool-grid a {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 20px;
  padding: 22px;
  color: #10265c;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(15, 35, 75, 0.06);
}

.support-tool-grid a:hover {
  transform: translateY(-2px);
}

.final-cta-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .featured-job-grid,
  .why-grid,
  .support-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-preview-box,
  .warning-preview-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .featured-job-grid,
  .why-grid,
  .support-tool-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .homepage-trust-section,
  .homepage-featured-jobs,
  .homepage-why-section,
  .homepage-process-preview,
  .homepage-warning-preview,
  .homepage-support-tools,
  .homepage-final-cta {
    padding: 42px 0;
  }
}


/* Phase 5 Glivadale Chat Assistant */
.glivadale-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: inherit;
}

.glivadale-chat-button {
  background: #d99a00;
  color: #10265c;
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(15, 35, 75, 0.22);
  cursor: pointer;
}

.glivadale-chat-panel {
  display: none;
  width: 370px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 35, 75, 0.28);
  overflow: hidden;
  margin-bottom: 14px;
}

.glivadale-chat-panel.open {
  display: block;
}

.glivadale-chat-header {
  background: #10265c;
  color: #ffffff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.glivadale-chat-header strong {
  display: block;
  font-size: 16px;
}

.glivadale-chat-header span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 3px;
}

.glivadale-chat-header button {
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.glivadale-chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 18px;
  background: #f8fafc;
}

.glivadale-message {
  padding: 13px 15px;
  border-radius: 16px;
  margin-bottom: 12px;
  line-height: 1.55;
  font-size: 14px;
}

.glivadale-message.bot {
  background: #ffffff;
  color: #293247;
  border: 1px solid #e6ebf3;
}

.glivadale-message.user {
  background: #10265c;
  color: #ffffff;
  margin-left: 44px;
}

.glivadale-message a {
  color: #10265c;
  font-weight: 800;
  text-decoration: underline;
}

.glivadale-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid #e6ebf3;
}

.glivadale-chat-quick button {
  background: #fff4d7;
  color: #10265c;
  border: 1px solid #ead49b;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
}

.glivadale-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px 18px 18px;
  border-top: 1px solid #e6ebf3;
}

.glivadale-chat-form input {
  border: 1px solid #d8dfeb;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.glivadale-chat-form button {
  background: #d99a00;
  color: #10265c;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 600px) {
  .glivadale-chat-widget {
    right: 16px;
    bottom: 16px;
  }

  .glivadale-chat-panel {
    width: calc(100vw - 32px);
  }

  .glivadale-chat-messages {
    height: 280px;
  }
}


/* Phase 6 Professional Job Category Visuals */
.job-visual-guide {
  padding: 58px 0;
  background: #f8fafc;
  border-top: 1px solid #e6ebf3;
  border-bottom: 1px solid #e6ebf3;
}

.job-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.job-visual-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.job-visual-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
  margin-bottom: 16px;
}

.job-visual-card h3 {
  color: #10265c;
  margin: 0;
  font-size: 18px;
}

.featured-job-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  margin-bottom: 18px;
  border: 1px solid #e6ebf3;
}

@media (max-width: 1000px) {
  .job-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .job-visual-grid {
    grid-template-columns: 1fr;
  }
}


/* Real AI job image display fix */
.featured-job-image {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
  border: 1px solid #e6ebf3 !important;
}

.job-visual-card img {
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 18px !important;
  margin-bottom: 16px !important;
}

.visual-disclaimer {
  display: none !important;
}


/* Extra AI Applicant Journey Images */
.applicant-journey-visuals {
  padding: 58px 0;
  background: #f8fafc;
  border-top: 1px solid #e6ebf3;
  border-bottom: 1px solid #e6ebf3;
}

.journey-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.journey-visual-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.journey-visual-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  margin-bottom: 18px;
}

.journey-visual-card h3 {
  color: #10265c;
  margin: 0 0 10px;
}

.journey-visual-card p {
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .journey-visual-grid {
    grid-template-columns: 1fr;
  }
}.usa-hero-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  padding: 50px 40px;
  margin: 30px 0;
  border-radius: 24px;
  background:
    linear-gradient(rgba(10, 28, 110, 0.88), rgba(10, 28, 110, 0.88)),
    url('/images/usa-hero-banner.png') center/cover no-repeat;
  color: #ffffff;
}

.usa-hero-left {
  flex: 1.4;
}

.usa-hero-right {
  flex: 0.9;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #f0b323;
  color: #13235b;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.usa-hero-section h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.usa-hero-section p {
  font-size: 20px;
  line-height: 1.7;
  color: #f2f4fa;
  max-width: 820px;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-support-card {
  background: #ffffff;
  color: #1d2b57;
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  width: 100%;
}

.hero-support-card h3 {
  margin-bottom: 14px;
  color: #1d2b57;
}

.hero-support-card p {
  color: #4a5678;
  font-size: 16px;
  margin-bottom: 14px;
}

.hero-support-card ul {
  margin: 0;
  padding-left: 18px;
}

.hero-support-card li {
  margin-bottom: 10px;
  color: #4a5678;
}

@media (max-width: 900px) {
  .usa-hero-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .usa-hero-section h1 {
    font-size: 34px;
  }

  .usa-hero-section p {
    font-size: 17px;
  }
}




/* Homepage AI images restored */
.featured-job-image {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
  border: 1px solid #e6ebf3 !important;
}

.applicant-journey-visuals {
  padding: 58px 0;
  background: #f8fafc;
  border-top: 1px solid #e6ebf3;
  border-bottom: 1px solid #e6ebf3;
}

.journey-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.journey-visual-card {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 35, 75, 0.06);
}

.journey-visual-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  margin-bottom: 18px;
}

.journey-visual-card h3 {
  color: #10265c;
  margin: 0 0 10px;
}

.journey-visual-card p {
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .journey-visual-grid {
    grid-template-columns: 1fr;
  }
}/* FINAL FIX: hide homepage hero applicant support card only */
.usa-hero-right,
.hero-support-card,
.hero-sidebar,
.hero-card,
.hero-info-card,
.support-summary-card {
  display: none !important;
}

.usa-hero-section,
.hero-section,
.home-hero,
.hero {
  grid-template-columns: 1fr !important;
}

.usa-hero-left,
.hero-content,
.hero-text {
  max-width: 900px !important;
}


/* Home hero button click fix */
.hero a,
.home-hero a,
.usa-hero-section a,
.hero-section a {
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.hero-buttons,
.page-actions {
  position: relative !important;
  z-index: 50 !important;
}


/* Section 6 Applicant Consent layout fix */
.fixed-section6-consent-box {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  padding: 28px !important;
  border-radius: 18px !important;
}

.fixed-section6-consent-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
  color: #18264a !important;
}

.fixed-section6-consent-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 6px 0 0 0 !important;
  accent-color: #d99a00 !important;
}

.fixed-section6-consent-row span {
  display: block !important;
  flex: 1 !important;
}


/* Compact footer menu only */
.compact-footer {
  background: #10265c !important;
  color: #ffffff !important;
  padding: 24px 0 !important;
  margin-top: 40px !important;
}

.compact-footer-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.compact-footer strong {
  font-size: 18px !important;
  color: #ffffff !important;
}

.footer-menu {
  display: flex !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.footer-menu a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.footer-menu a:hover {
  text-decoration: underline !important;
}

.compact-footer span {
  color: #dce6ff !important;
  font-size: 14px !important;
}

@media (max-width: 700px) {
  .compact-footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}


/* Professional Company Footer */
.professional-footer {
  background: #071b4d !important;
  color: #ffffff !important;
  padding: 56px 0 24px !important;
  margin-top: 50px !important;
}

.professional-footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important;
  gap: 36px !important;
  align-items: start !important;
}

.footer-brand h3,
.footer-column h4 {
  color: #ffffff !important;
  margin: 0 0 16px !important;
}

.footer-brand h3 {
  font-size: 24px !important;
}

.footer-brand p,
.footer-column p,
.footer-bottom p,
.footer-bottom span {
  color: #dce6ff !important;
  line-height: 1.7 !important;
}

.footer-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer-column a {
  color: #dce6ff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.footer-column a:hover {
  color: #d99a00 !important;
  text-decoration: underline !important;
}

.footer-contact p {
  margin: 0 0 14px !important;
}

.footer-contact strong {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16) !important;
  margin-top: 36px !important;
  padding-top: 22px !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.footer-bottom p {
  max-width: 850px !important;
  margin: 0 !important;
  font-size: 14px !important;
}

.footer-bottom span {
  font-size: 14px !important;
  white-space: nowrap !important;
}

@media (max-width: 1000px) {
  .professional-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .professional-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column !important;
  }

  .footer-bottom span {
    white-space: normal !important;
  }
}


/* Final professional footer clean */
.company-footer-clean {
  background: #071b4d !important;
  color: #ffffff !important;
  padding: 42px 0 22px !important;
  margin-top: 50px !important;
}

.company-footer-clean-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1.2fr 1.2fr !important;
  gap: 34px !important;
  align-items: start !important;
}

.company-footer-brand h3,
.company-footer-contact h4 {
  color: #ffffff !important;
  margin: 0 0 12px !important;
}

.company-footer-brand h3 {
  font-size: 24px !important;
}

.company-footer-brand p,
.company-footer-contact p,
.company-footer-bottom span {
  color: #dce6ff !important;
  line-height: 1.7 !important;
  margin: 0 0 8px !important;
}

.company-footer-contact strong {
  color: #ffffff !important;
}

.company-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16) !important;
  margin-top: 26px !important;
  padding-top: 18px !important;
}

.company-footer-bottom span {
  font-size: 14px !important;
}

@media (max-width: 800px) {
  .company-footer-clean-grid {
    grid-template-columns: 1fr !important;
  }
}


/* FINAL STABLE FOOTER */
.company-footer-clean {
  background: #071b4d !important;
  color: #ffffff !important;
  padding: 42px 0 22px !important;
  margin-top: 50px !important;
}

.company-footer-clean-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1.2fr 1.2fr !important;
  gap: 34px !important;
  align-items: start !important;
}

.company-footer-brand h3,
.company-footer-contact h4 {
  color: #ffffff !important;
  margin: 0 0 12px !important;
}

.company-footer-brand h3 {
  font-size: 24px !important;
}

.company-footer-brand p,
.company-footer-contact p,
.company-footer-bottom span {
  color: #dce6ff !important;
  line-height: 1.7 !important;
  margin: 0 0 8px !important;
}

.company-footer-contact strong {
  color: #ffffff !important;
}

.company-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16) !important;
  margin-top: 26px !important;
  padding-top: 18px !important;
}

.company-footer-bottom span {
  font-size: 14px !important;
}

@media (max-width: 800px) {
  .company-footer-clean-grid {
    grid-template-columns: 1fr !important;
  }
}


/* How It Works bottom button professional fix */
.how-final-actions {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  margin: 30px 0 40px !important;
}

.how-final-actions a,
.how-action-primary,
.how-action-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 240px !important;
  min-height: 58px !important;
  padding: 16px 28px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

.how-action-primary {
  background: #d99a00 !important;
  color: #10265c !important;
}

.how-action-secondary {
  background: #ffffff !important;
  color: #10265c !important;
  border: 1px solid #dce3f1 !important;
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.06) !important;
}

@media (max-width: 600px) {
  .how-final-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .how-final-actions a {
    width: 100% !important;
  }
}


/* Real public US job listings section */
.real-public-jobs-section {
  padding: 70px 0 !important;
  background: #f6f8fc !important;
}

.real-jobs-header {
  text-align: center !important;
  max-width: 860px !important;
  margin: 0 auto 38px !important;
}

.real-jobs-header .section-label {
  display: inline-block !important;
  color: #d99a00 !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

.real-jobs-header h2 {
  color: #10265c !important;
  font-size: 38px !important;
  margin: 0 0 14px !important;
}

.real-jobs-header p {
  color: #53627a !important;
  line-height: 1.8 !important;
  font-size: 17px !important;
}

.real-jobs-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.real-job-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: 0 18px 42px rgba(15, 35, 75, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

.real-job-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.real-job-program,
.real-job-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.real-job-program {
  background: #10265c !important;
  color: #ffffff !important;
}

.real-job-program.active {
  background: #0b7a3b !important;
}

.real-job-status {
  background: #eef3ff !important;
  color: #10265c !important;
}

.real-job-status.active {
  background: #e7f8ef !important;
  color: #0b7a3b !important;
}

.real-job-card h3 {
  color: #10265c !important;
  font-size: 23px !important;
  margin: 0 0 8px !important;
}

.real-company {
  color: #d99a00 !important;
  font-weight: 900 !important;
  margin: 0 0 12px !important;
}

.real-duty {
  color: #53627a !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

.real-job-info {
  border-top: 1px solid #e3e9f4 !important;
  padding-top: 18px !important;
  display: grid !important;
  gap: 14px !important;
  margin-top: auto !important;
}

.real-job-info div {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border-bottom: 1px solid #f0f3f8 !important;
  padding-bottom: 10px !important;
}

.real-job-info span {
  color: #75839a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.real-job-info strong {
  color: #10265c !important;
  text-align: right !important;
  font-size: 14px !important;
}

.real-job-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

.real-job-primary,
.real-job-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-align: center !important;
}

.real-job-primary {
  background: #d99a00 !important;
  color: #10265c !important;
}

.real-job-secondary {
  background: #10265c !important;
  color: #ffffff !important;
}

@media (max-width: 1100px) {
  .real-jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .real-jobs-grid {
    grid-template-columns: 1fr !important;
  }

  .real-job-actions {
    grid-template-columns: 1fr !important;
  }

  .real-jobs-header h2 {
    font-size: 30px !important;
  }
}


/* Real DOL job listing cards */
.real-public-jobs-section {
  padding: 70px 0 !important;
  background: #f6f8fc !important;
}

.real-jobs-header {
  text-align: center !important;
  max-width: 860px !important;
  margin: 0 auto 38px !important;
}

.real-jobs-header .section-label,
.page-hero .section-label {
  display: inline-block !important;
  color: #d99a00 !important;
  font-weight: 900 !important;
  margin-bottom: 10px !important;
}

.real-jobs-header h2 {
  color: #10265c !important;
  font-size: 38px !important;
  margin: 0 0 14px !important;
}

.real-jobs-header p {
  color: #53627a !important;
  line-height: 1.8 !important;
  font-size: 17px !important;
}

.real-jobs-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.real-job-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: 0 18px 42px rgba(15, 35, 75, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
}

.real-job-top {
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.real-job-program,
.real-job-status {
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.real-job-program {
  background: #10265c !important;
  color: #ffffff !important;
}

.real-job-program.active {
  background: #0b7a3b !important;
}

.real-job-status {
  background: #eef3ff !important;
  color: #10265c !important;
}

.real-job-status.active {
  background: #e7f8ef !important;
  color: #0b7a3b !important;
}

.real-job-card h3 {
  color: #10265c !important;
  font-size: 23px !important;
  margin: 0 0 8px !important;
}

.real-company {
  color: #d99a00 !important;
  font-weight: 900 !important;
  margin: 0 0 12px !important;
}

.real-duty {
  color: #53627a !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

.real-job-info {
  border-top: 1px solid #e3e9f4 !important;
  padding-top: 18px !important;
  display: grid !important;
  gap: 14px !important;
  margin-top: auto !important;
}

.real-job-info div {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border-bottom: 1px solid #f0f3f8 !important;
  padding-bottom: 10px !important;
}

.real-job-info span {
  color: #75839a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.real-job-info strong {
  color: #10265c !important;
  text-align: right !important;
  font-size: 14px !important;
}

.real-job-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

.real-job-primary,
.real-job-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-align: center !important;
}

.real-job-primary {
  background: #d99a00 !important;
  color: #10265c !important;
}

.real-job-secondary {
  background: #10265c !important;
  color: #ffffff !important;
}

@media (max-width: 1100px) {
  .real-jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .real-jobs-grid {
    grid-template-columns: 1fr !important;
  }

  .real-job-actions {
    grid-template-columns: 1fr !important;
  }

  .real-jobs-header h2 {
    font-size: 30px !important;
  }
}


/* Trust and Verification page */
.trust-section {
  padding: 70px 0 !important;
  background: #f6f8fc !important;
}

.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.trust-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 16px 38px rgba(15, 35, 75, 0.08) !important;
}

.trust-card h3 {
  color: #10265c !important;
  font-size: 22px !important;
  margin: 0 0 14px !important;
}

.trust-card p {
  color: #53627a !important;
  line-height: 1.75 !important;
  margin: 0 0 12px !important;
}

.trust-card strong {
  color: #10265c !important;
}

.trust-button,
.trust-button.secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  margin-top: 10px !important;
}

.trust-button {
  background: #d99a00 !important;
  color: #10265c !important;
}

.trust-button.secondary {
  background: #10265c !important;
  color: #ffffff !important;
}

.trust-button-row {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.trust-process-box {
  margin-top: 34px !important;
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 24px !important;
  padding: 34px !important;
  box-shadow: 0 16px 38px rgba(15, 35, 75, 0.08) !important;
}

.trust-process-box h2 {
  color: #10265c !important;
  margin: 8px 0 22px !important;
}

.trust-steps {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.trust-steps div {
  background: #f6f8fc !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  color: #10265c !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.trust-steps strong {
  color: #d99a00 !important;
}

@media (max-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .trust-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .trust-grid,
  .trust-steps {
    grid-template-columns: 1fr !important;
  }
}


/* Trust Verification Page */
.trust-section {
  padding: 70px 0 !important;
  background: #f6f8fc !important;
}

.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.trust-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 16px 38px rgba(15, 35, 75, 0.08) !important;
}

.trust-card h3 {
  color: #10265c !important;
  font-size: 22px !important;
  margin: 0 0 14px !important;
}

.trust-card p {
  color: #53627a !important;
  line-height: 1.75 !important;
  margin: 0 0 12px !important;
}

.trust-card strong {
  color: #10265c !important;
}

.trust-button,
.trust-button.secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  margin-top: 10px !important;
}

.trust-button {
  background: #d99a00 !important;
  color: #10265c !important;
}

.trust-button.secondary {
  background: #10265c !important;
  color: #ffffff !important;
}

.trust-button-row {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Final Policy, Reviews and Trust Pages */
.policy-section {
  padding: 70px 0 !important;
  background: #f6f8fc !important;
}

.policy-container {
  max-width: 980px !important;
}

.policy-card,
.review-card,
.trust-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f4 !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 16px 38px rgba(15, 35, 75, 0.08) !important;
  margin-bottom: 22px !important;
}

.policy-card h2,
.review-card h3,
.trust-card h3 {
  color: #10265c !important;
  margin-top: 0 !important;
}

.policy-card p,
.review-card p,
.trust-card p {
  color: #53627a !important;
  line-height: 1.75 !important;
}

.reviews-grid,
.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.footer-policy-links {
  display: flex !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  padding-top: 16px !important;
  margin-top: 16px !important;
  border-top: 1px solid rgba(255,255,255,0.16) !important;
}

.footer-policy-links a {
  color: #dce6ff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.footer-policy-links a:hover {
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .reviews-grid,
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
}

/* LIVE MOBILE HEADER FIX */
@media (max-width: 768px) {
  header,
  .site-header,
  .main-header,
  .navbar,
  .nav-wrapper {
    min-height: auto !important;
    height: auto !important;
    padding: 18px 18px !important;
  }

  header .container,
  .site-header .container,
  .main-header .container,
  .navbar .container,
  .nav-wrapper .container {
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
  }

  .logo,
  .brand,
  .site-logo,
  .header-logo {
    margin: 0 !important;
    padding: 0 !important;
  }

  nav,
  .nav,
  .main-nav,
  .navbar-nav,
  .menu {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav a,
  .nav a,
  .main-nav a,
  .navbar-nav a,
  .menu a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  .hero,
  .home-hero,
  .page-hero {
    margin-top: 0 !important;
    padding-top: 36px !important;
  }
}

/* LIVE MOBILE HEADER FIX */
@media (max-width: 768px) {
  header,
  .site-header,
  .main-header,
  .navbar,
  .nav-wrapper {
    min-height: auto !important;
    height: auto !important;
    padding: 18px 18px !important;
  }

  header .container,
  .site-header .container,
  .main-header .container,
  .navbar .container,
  .nav-wrapper .container {
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
  }

  .logo,
  .brand,
  .site-logo,
  .header-logo {
    margin: 0 !important;
    padding: 0 !important;
  }

  nav,
  .nav,
  .main-nav,
  .navbar-nav,
  .menu {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav a,
  .nav a,
  .main-nav a,
  .navbar-nav a,
  .menu a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  .hero,
  .home-hero,
  .page-hero {
    margin-top: 0 !important;
    padding-top: 36px !important;
  }
}

/* FINAL LIVE MOBILE NAV FIX */
@media only screen and (max-width: 768px) {

  body {
    overflow-x: hidden !important;
  }

  header {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    display: block !important;
  }

  header * {
    min-height: 0 !important;
    max-height: none !important;
  }

  header .container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }

  header .logo,
  header .brand,
  header .site-logo,
  header .header-logo,
  header .brand-wrap,
  header .brand-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    height: auto !important;
  }

  header nav,
  header .nav,
  header .main-nav,
  header .navbar,
  header .navbar-nav,
  header .menu,
  header .nav-links,
  header ul {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    gap: 10px 18px !important;
    list-style: none !important;
  }

  header li {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: inline-flex !important;
  }

  header nav a,
  header .nav a,
  header .main-nav a,
  header .navbar a,
  header .navbar-nav a,
  header .menu a,
  header .nav-links a,
  header li a {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .hero,
  .home-hero,
  .page-hero,
  main section:first-child {
    margin-top: 0 !important;
    padding-top: 28px !important;
  }
}

/* EMERGENCY MOBILE HEADER HEIGHT FIX */
@media only screen and (max-width: 768px) {

  header,
  .header,
  .site-header,
  .main-header,
  .top-header,
  .nav-header,
  .navbar,
  .navigation,
  .header-area {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  header > *,
  .header > *,
  .site-header > *,
  .main-header > *,
  .top-header > *,
  .nav-header > *,
  .navbar > *,
  .navigation > *,
  .header-area > * {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  header .container,
  header .header-container,
  header .nav-container,
  header .header-inner,
  header .header-content,
  header .brand-row,
  header .nav-row {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  header nav,
  header .main-nav,
  header .nav-links,
  header .menu {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  header a {
    margin-bottom: 0 !important;
  }

  main,
  .hero,
  .home-hero,
  .page-hero,
  section.hero,
  section.home-hero {
    margin-top: 0 !important;
    padding-top: 30px !important;
  }
}

/* EXACT FINAL MOBILE HEADER FIX - LIVE */
@media only screen and (max-width: 768px) {

  html body header.site-header {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  html body header.site-header > .container.header-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body header.site-header .logo-area {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 0 14px 0 !important;
  }

  html body header.site-header .logo-mark {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 14px !important;
    font-size: 26px !important;
    line-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body header.site-header .logo-area h1 {
    font-size: 26px !important;
    line-height: 1.12 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body header.site-header .logo-area p {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
  }

  html body header.site-header nav.main-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    gap: 10px 18px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body header.site-header nav.main-nav a {
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  html body main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  html body .hero-section {
    margin-top: 0 !important;
    padding-top: 32px !important;
  }
}
