/* ============================================
   IPMC Migrates — Global Stylesheet
   ============================================ */

:root {
  --navy-900: #071A34;
  --navy-800: #0B2545;
  --navy-700: #123566;
  --navy-600: #1B4587;
  --gold-500: #C9A227;
  --gold-400: #DDBB46;
  --gold-100: #FBF3D9;
  --ink-900: #0F1720;
  --ink-700: #3B4657;
  --ink-500: #667085;
  --ink-300: #98A2B3;
  --bg-100: #FFFFFF;
  --bg-200: #F7F8FB;
  --bg-300: #EEF1F6;
  --line-200: #E3E7EE;
  --success: #1B8A5A;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 32, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.16);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-700);
  background: var(--bg-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-800);
  margin: 0 0 16px;
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--ink-700); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 0; list-style: none; margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-alt { background: var(--bg-200); }
.bg-navy { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links a:hover { color: var(--gold-400); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all .2s;
}
.topbar-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark {
  height: 78px; width: 78px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand .brand-mark { height: 96px; width: 96px; }

nav.main-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
nav.main-nav > ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
nav.main-nav > ul > li { position: relative; }
nav.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 10px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
}
nav.main-nav a.nav-link:hover, nav.main-nav li.current > a.nav-link { color: var(--navy-900); background: var(--bg-300); }
nav.main-nav li.current > a.nav-link { color: var(--navy-900); font-weight: 700; }

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  border: 1px solid var(--line-200);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--ink-700); }
.dropdown a:hover { background: var(--gold-100); color: var(--navy-900); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.82rem; color: var(--navy-800); white-space: nowrap; }
.nav-phone i { color: var(--gold-500); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 401;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-200);
  background: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(201,162,39,0.16), transparent 45%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.04);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-badge i { color: var(--gold-400); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--gold-400); }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; font-family: 'Poppins', sans-serif; color: var(--gold-400); }
.hero-stats div span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.hero-card {
  background: #fff;
  color: var(--ink-900);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card p.small { font-size: 0.88rem; color: var(--ink-500); margin-bottom: 20px; }

/* ---------- Form ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-200);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--bg-200);
  color: var(--ink-900);
  transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--gold-500); background: #fff; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667085' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-note { font-size: 0.72rem; color: var(--ink-500); margin-top: 14px; text-align: center; }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all .25s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card a.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.86rem; color: var(--navy-800); margin-top: 10px; }
.service-card a.card-link:hover { color: var(--gold-500); }

/* ---------- Country pills / list ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.country-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  padding: 18px;
  transition: all .2s;
}
.country-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.country-flag {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.country-card strong { display: block; color: var(--navy-900); font-size: 0.95rem; }
.country-card span { font-size: 0.78rem; color: var(--ink-500); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px;
  background: var(--bg-300);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-200);
  padding: 28px 22px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy-900); padding: 48px 0; color: #fff; }
.stats-strip .grid-4 { text-align: center; }
.stat strong { display: block; font-size: 2.2rem; font-family: 'Poppins', sans-serif; color: var(--gold-400); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.72); }

/* ---------- Why choose / features ---------- */
.feature-row { display: flex; gap: 18px; margin-bottom: 26px; }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.feature-row h4 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-row p { margin: 0; font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-200);
  padding: 28px;
  height: 100%;
}
.stars { color: var(--gold-500); margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial-person strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.testimonial-person span { font-size: 0.78rem; color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-200); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
}
.faq-q i { transition: transform .25s; color: var(--gold-500); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 18px; margin: 0; font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Placeholder note ---------- */
.placeholder-note {
  background: var(--gold-100);
  border: 1px dashed var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7a5c0d;
  display: inline-block;
}

/* ---------- Contact blocks ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-card .service-icon { margin-bottom: 0; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-text strong, .footer-brand .brand-text span { color: #fff; }
.footer-brand .brand-text span { color: var(--gold-400); }
.footer-grid p.about-p { font-size: 0.88rem; margin: 16px 0 20px; }
footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; }
footer ul li { margin-bottom: 12px; }
footer ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.68); display: flex; gap: 8px; align-items: flex-start; }
footer ul li a:hover { color: var(--gold-400); }
footer ul li a i { margin-top: 3px; color: var(--gold-500); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Disclaimer ---------- */
.disclaimer-strip { background: var(--bg-300); padding: 14px 0; font-size: 0.78rem; color: var(--ink-500); text-align: center; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-col { max-width: 720px; margin: 0 auto; }
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag-list li { background: var(--bg-300); padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--navy-800); }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.94rem; }
.check-list li i { color: var(--success); margin-top: 4px; }
.image-panel { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.image-panel-placeholder {
  aspect-ratio: 4/3.2;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
}

.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
  nav.main-nav { position: fixed; inset: 98px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; z-index: 400; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: wrap; }
  nav.main-nav a.nav-link { padding: 14px 10px; font-size: 0.95rem; border-bottom: 1px solid var(--line-200); }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-phone { display: none; }
  .menu-toggle { display: flex; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-links { justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(15,23,32,0.28);
  z-index: 600;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); background: #20bd5a; color: #fff; }
@media (max-width: 640px) {
  .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 18px; right: 18px; }
}
