/* Amanah Crest Mobility - static site stylesheet (mobile-first) */

:root {
  --brand: #0f4c81;
  --brand-dark: #0a3a66;
  --accent: #e8a317;
  --bg: #f7fafc;
  --text: #1a2530;
  --muted: #5a6b7a;
  --white: #ffffff;
  --border: #dbe4ec;
  --green: #28a745;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(15, 76, 129, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---- Top bar ---- */
.topbar {
  background: var(--brand);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lang-toggle {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
}
.lang-toggle:hover { background: rgba(255,255,255,0.15); }

/* ---- Header / nav ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  gap: 0.5rem;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.brand-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.nav-list a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-list a:hover { color: var(--brand); }

/* ---- Hero ---- */
.hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  text-align: center;
}
.hero h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 42ch;
  margin: 0 auto 1.2rem;
}
.cta-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--brand-dark); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(232,163,23,0.4); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { box-shadow: 0 4px 16px rgba(37,211,102,0.4); text-decoration: none; }

/* ---- Sections ---- */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--white); }

h2.section-title {
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: Layer 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.7rem;
}
h3 { margin-bottom: 0.5rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.card h3 { color: var(--brand); }

.grid {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.list-none { list-style: none; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-2 { margin-top: 1rem; }
.text-center { text-align: center; }

/* ---- Pricing ---- */
.plan-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0.5rem 0;
}
.plan-card ul {
  text-align: left;
  list-style: none;
  margin: 0.8rem 0 1rem;
}
.plan-card ul li::before { content: "✔  "; color: var(--green); font-weight: 700; }
.plan-card.popular {
  border: 2px solid var(--accent);
  position: relative;
}
.plan-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
}

/* ---- Country list ---- */
.country-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--brand);
  box-shadow: var(--shadow);
  transition: transform 0.1s ease;
}
.country-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15,76,129,0.15);
}

.country-section { scroll-margin-top: 6rem; }
.country-section h2 {
  font-size: 1.25rem;
  color: var(--brand);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

/* ---- Trust section ---- */
.trust-list li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
}
.trust-list li:last-child { border-bottom: none; }
.notice {
  background: #fff8e6;
  border: 1px solid #f0d28f;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.92rem;
  color: #6b5300;
  margin-top: 1rem;
}

/* ---- Checker ---- */
.quiz-question {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.quiz-question legend {
  font-weight: 700;
  color: var(--brand);
  padding: 0 0.25rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem;
}
.quiz-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.score-box {
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  margin-top: 1rem;
}
.score-box .score-num { font-size: 2rem; font-weight: 900; color: var(--brand); }
.score-box .score-label { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ---- Fee calculator ---- */
.calc-field {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.calc-field label {
  display: block;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.calc-field input, .calc-field select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
}
.calc-field input:focus, .calc-field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.calc-result {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  font-size: 1.1rem;
}
.calc-result strong { font-size: 1.8rem; display: block; }

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.85);
  padding: 2rem 0 5rem Horton;
  margin-top: 2rem;
}
.site-footer h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.5rem; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer small { display: block; margin-top: 1.5rem; opacity: 0.7; }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.12s ease;
  font-size: 0; /* hide fallback text; icon via ::before below */
}
.whatsapp-float:hover {
  transform: scale(1.08);
  text-decoration: none;
  color: #fff;
}
.whatsapp-float::before {
  content: "";
  width: 0;
  height: 0;
}

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.visa-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: merda.75rem;
}

/* ---- Tables / meta ---- */
.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.meta-table th, .meta-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.meta-table th { color: var(--brand); font-weight: 700; width: 34%; }

/* ---- Responsive breakpoints ---- */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 1.2rem; }
}

@media (min-width: 900px) {
  .hero { padding: 4rem 0 3rem; }
  .grid-3 { gap: 1.4rem; }
}