/* ===================================================
   Abroad Job Portal — Clean Minimal Styles
   =================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EFF4FF;
  --navy: #0F172A;
  --text: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 40px -12px rgba(15,23,42,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(37,99,235,.5);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}
.main-nav a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--blue-soft);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-title {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero right */
.hero-right { position: relative; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- About ---------- */
.about {
  padding: 90px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner { max-width: 760px; text-align: center; }
.about-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Destinations ---------- */
.destinations { padding: 100px 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dest-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dest-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.dest-flag { font-size: 38px; line-height: 1; margin-bottom: 22px; }
.dest-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.dest-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Why ---------- */
.why {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease;
}
.why-item:hover {
  transform: translateY(-4px);
}
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.why-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-text {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
}
.logo-light { color: #fff; }
.logo-light .logo-mark { background: #fff; color: var(--blue); }
.footer-tag {
  margin-top: 20px;
  color: #94A3B8;
  font-size: 15px;
  max-width: 360px;
  line-height: 1.65;
}
.footer-links h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-links a {
  display: block;
  color: #94A3B8;
  font-size: 15px;
  margin-bottom: 12px;
  transition: color .2s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  font-size: 14px;
  color: #64748B;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 72px; }
  .about, .destinations, .why, .cta { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .header-inner { gap: 16px; }
  .logo-text { font-size: 15px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}