/* ========================================
   Shared Content Pages Stylesheet
   Based on faq.css layout patterns
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: rgb(0, 46, 119);
  --blue-light: #0044bb;
  --green: #82E97B;
  --green-hover: #A0FF99;
  --g50: #f9fafb; --g100: #f3f4f6; --g200: #e5e7eb;
  --g400: #9ca3af; --g500: #6b7280; --g600: #4b5563;
  --g700: #374151; --g900: #111827;
  --white: #fff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-open: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--g900);
  background: var(--g50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }

/* ========================================
   Header
   ======================================== */
.pg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.pg-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg-logo-img { width: 36px; height: auto; }

.pg-logo-text {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 140px;
}

.pg-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-nav-desktop { display: none; }

.pg-nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.pg-nav-link:hover, .pg-nav-link.active { color: var(--white); }

.pg-btn-apply {
  display: none;
  align-items: center;
  background: var(--green);
  color: var(--g900);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}
.pg-btn-apply:hover { background: var(--green-hover); }

/* Hamburger */
.pg-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.pg-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.pg-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.pg-hamburger.active span:nth-child(2) { opacity: 0; }
.pg-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.pg-nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--blue);
  padding: 8px 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pg-nav-mobile.open { display: flex; }
.pg-nav-link-mobile {
  display: block;
  color: var(--white);
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pg-nav-link-mobile.active { color: var(--green); }

/* ========================================
   Hero Banner
   ======================================== */
.pg-hero {
  background: linear-gradient(160deg, #003399 0%, #0044bb 40%, #0055cc 70%, #003399 100%);
  color: var(--white);
  padding: 100px 16px 48px;
  text-align: center;
}

.pg-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.pg-hero h1 {
  font-family: var(--font-open);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pg-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

/* ========================================
   Prose Content
   ======================================== */
.pg-main {
  padding: 32px 16px 48px;
}

.pg-container {
  max-width: 800px;
  margin: 0 auto;
}

.pg-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
}

.pg-content h2 {
  font-family: var(--font-open);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--g200);
}

.pg-content h2:first-child {
  margin-top: 0;
}

.pg-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--g900);
  margin-top: 24px;
  margin-bottom: 8px;
}

.pg-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--g700);
  margin-top: 20px;
  margin-bottom: 6px;
}

.pg-content p {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.7;
  margin-bottom: 14px;
}

.pg-content p:last-child {
  margin-bottom: 0;
}

.pg-content a {
  color: var(--blue-light);
  text-decoration: underline;
}

.pg-content ul, .pg-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.pg-content ol {
  list-style: decimal;
}

.pg-content li {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.7;
  margin-bottom: 6px;
}

.pg-content strong {
  color: var(--g900);
  font-weight: 600;
}

.pg-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  margin: 16px 0;
  background: var(--g50);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pg-content blockquote p {
  color: var(--g700);
  font-style: italic;
}

.pg-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}

.pg-content table thead th {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.pg-content table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--g200);
  color: var(--g600);
}

.pg-content table tbody tr:hover {
  background: var(--g50);
}

.pg-content .contact-box {
  background: var(--g50);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}

.pg-content .contact-box p {
  margin-bottom: 4px;
}

/* About page specific */
.pg-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0;
}

.pg-about-card {
  background: var(--g50);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.pg-about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 0;
  margin-bottom: 8px;
}

.pg-about-card p {
  font-size: 13px;
  margin-bottom: 0;
}

.pg-about-card .card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* Countries marquee for about page */
.pg-countries-scroll {
  overflow: hidden;
  padding: 16px 0;
  margin: 16px 0;
}

.pg-countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pg-countries-list span {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* CTA Box */
.pg-cta-box {
  background: linear-gradient(160deg, #003399 0%, #0055cc 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  margin-top: 48px;
}

.pg-cta-box h2 {
  font-family: var(--font-open);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
  border: none;
  padding: 0;
}

.pg-cta-box p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

.pg-cta-btn {
  display: inline-block;
  background: var(--green);
  color: var(--g900);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.pg-cta-btn:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.pg-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.pg-cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
}

/* ========================================
   Footer
   ======================================== */
.pg-footer {
  background: rgb(0, 36, 100);
  color: var(--white);
  padding: 48px 16px 24px;
}

.pg-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.pg-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.pg-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pg-footer-logo span {
  font-size: 14px;
  font-weight: 600;
}

.pg-footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.pg-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.pg-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pg-footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.pg-footer-col a:hover { color: var(--green); }

.pg-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.pg-footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.pg-footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 640px) {
  .pg-hero h1 { font-size: 40px; }
  .pg-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .pg-about-grid { grid-template-columns: 1fr 1fr; }
  .pg-content { padding: 40px 36px; }
}

@media (min-width: 1024px) {
  .pg-header-inner { padding: 14px 24px; }
  .pg-logo-text { font-size: 15px; max-width: none; }
  .pg-nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .pg-btn-apply { display: inline-flex; }
  .pg-hamburger { display: none; }
  .pg-hero { padding: 140px 24px 56px; }
  .pg-hero h1 { font-size: 44px; }
  .pg-main { padding: 48px 24px 64px; }
  .pg-content { padding: 48px 44px; }
  .pg-content h2 { font-size: 24px; }
  .pg-about-grid { grid-template-columns: repeat(4, 1fr); }
}
