/* Home / Landing page module stylesheet — self-contained, not shared with country pages */
:root {
  --home-navy: #0b1730;
  --home-navy-soft: #142445;
  --home-text: #1f2328;
  --home-muted: #6b7280;
  --home-accent: #e11d2e;
  --home-accent-soft: #fdeceb;
  --home-border: #eceff1;
}

* { box-sizing: border-box; }

body.home-body {
  margin: 0;
  background: #ffffff;
  color: var(--home-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.home-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.home-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--home-border);
}
.home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--home-text);
  text-decoration: none;
  white-space: nowrap;
}
.home-logo i { color: var(--home-accent); margin-right: 0.45rem; }
.home-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f6f7f9;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}
.home-search i { color: var(--home-muted); }
.home-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.92rem;
}
.home-btn-countries {
  background: var(--home-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hero */
.home-hero {
  background: var(--home-navy);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.home-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.9rem;
  font-weight: 800;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.home-hero-sub {
  color: #c3cbdc;
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.home-stats-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.home-stat { display: flex; flex-direction: column; align-items: center; }
.home-stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; }
.home-stat-label { font-size: 0.85rem; color: #9fabc4; margin-top: 0.2rem; }

/* Sections */
.home-section { padding: 3rem 0; }
.home-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  font-weight: 800;
  text-align: center;
}
.home-section h2 i { color: var(--home-accent); margin-right: 0.5rem; }

/* About */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.home-about-text h2 { text-align: left; }
.home-about-text p { color: var(--home-muted); margin: 0 0 1rem; font-size: 1rem; }
.home-about-card {
  background: var(--home-navy);
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
}
.home-about-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}
.home-about-stat i {
  font-size: 1.4rem;
  color: var(--home-accent);
  width: 2rem;
  text-align: center;
}
.home-about-stat strong { display: block; font-size: 1.15rem; }
.home-about-stat span { color: #9fabc4; font-size: 0.85rem; }

/* Country grid */
.home-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}
.home-country-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--home-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: border-color 0.15s, transform 0.15s;
}
.home-country-card:hover {
  border-color: var(--home-accent);
  transform: translateY(-2px);
}
.home-country-flag { font-size: 1.8rem; }
.home-country-name { font-weight: 700; font-size: 0.95rem; }
.home-country-native {
  color: var(--home-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Why us */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.home-why-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.home-why-card i { font-size: 1.8rem; color: var(--home-accent); margin-bottom: 0.75rem; }
.home-why-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.home-why-card p { color: var(--home-muted); font-size: 0.92rem; margin: 0; }

/* How it works */
.home-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.home-how-step { text-align: center; }
.home-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--home-accent-soft);
  color: var(--home-accent);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.home-how-step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.home-how-step p { color: var(--home-muted); font-size: 0.92rem; margin: 0; }

/* Footer */
.home-footer {
  background: var(--home-navy);
  color: #c3cbdc;
  padding: 2.5rem 0;
}
.home-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.home-footer-brand .home-logo { color: #fff; }
.home-footer-brand p { margin: 0.6rem 0 0; font-size: 0.9rem; max-width: 360px; }
.home-footer-links { display: flex; gap: 1.5rem; }
.home-footer-links a { color: #c3cbdc; text-decoration: none; font-size: 0.92rem; }
.home-footer-links a:hover { color: #fff; }

@media (max-width: 720px) {
  .home-about-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 1.8rem; }
}
