/* Abroad Opportunities — main stylesheet */
:root {
  --navy: #1c2d4a;
  --navy-2: #0a5f93;
  --blue: #0a7fbf;
  --accent: #009a44;
  --accent-2: #007f36;
  --red: #b22a2a;
  --teal: #12a594;
  --ink: #14202e;
  --body: #46546a;
  --muted: #7a879a;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 74, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #e8f1fd; padding: 6px 12px; border-radius: 99px; margin-bottom: 14px; }
.lead { font-size: 1.12rem; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: .2s; text-decoration: none !important; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #155bb5; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Topbar & header */
.topbar { background: var(--navy); color: #c9d6e6; font-size: .85rem; }
.topbar a { color: #fff; }
.topbar-inner { display: flex; gap: 24px; padding: 8px 0; justify-content: flex-end; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.15rem; text-decoration: none !important; }
.logo strong { color: var(--blue); }
.logo-light { color: #fff; }
.logo-light strong { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); font-weight: 600; padding: 9px 13px; border-radius: 8px; font-size: .96rem; }
.site-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--blue); }
.site-nav .btn { margin-left: 8px; padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(115deg, rgba(8,30,56,.94) 0%, rgba(11,42,74,.86) 45%, rgba(18,59,102,.55) 100%), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=70') center/cover; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: clamp(64px, 10vw, 120px) 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: #5fd690; }
.group-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); color: var(--navy); border-radius: 99px; padding: 6px 16px 6px 6px; font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.group-badge img { width: 34px; height: 34px; object-fit: contain; }
.logo-img { height: 54px; width: auto; }
.logo-box { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.logo-box img { height: 50px; width: auto; }

/* Leadership */
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-bottom: 24px; }
.leader img { width: 220px; height: 270px; object-fit: cover; object-position: top; border-radius: 110px 110px 14px 14px; background: #4a5a9a; box-shadow: 0 0 0 6px var(--accent); }
.leader h3 { margin-bottom: 2px; }
.leader .role { color: var(--blue); font-weight: 700; font-size: .95rem; margin-bottom: 14px; display: block; }
.leader blockquote { margin: 18px 0 0; padding: 16px 20px; background: #eaf7ef; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; color: var(--ink); font-style: italic; }
.group-list { columns: 2; padding-left: 18px; }
.group-list li { margin-bottom: 8px; break-inside: avoid; }
.presence { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.presence span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.reg { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .leader { grid-template-columns: 1fr; text-align: left; }
  .leader img { width: 180px; height: 220px; }
  .group-list { columns: 1; }
}
.hero p { color: #d5e0ee; font-size: 1.15rem; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.hero-badges div { font-size: .9rem; color: #c3d2e5; }
.hero-badges strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-card { background: #fff; color: var(--body); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card h3 { margin-bottom: 4px; }
.hero-card p { color: var(--muted); font-size: .92rem; }

.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cbd8e8; max-width: 680px; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: #9fb3cc; margin-bottom: 14px; }
.crumbs a { color: #cbd8e8; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.6rem; background: #e8f1fd; margin-bottom: 18px; }
.card ul { padding-left: 18px; margin: 0 0 16px; }
.card .more { font-weight: 700; }
.img-card { padding: 0; overflow: hidden; }
.img-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.img-card .body { padding: 22px 24px 26px; }
.flag { font-size: 1.6rem; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-weight: 800; font-size: 2rem; color: var(--accent); display: block; margin-bottom: 8px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #dff6f2; color: var(--teal); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

/* Stats band */
.band { background: var(--navy); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; text-align: center; }
.stats strong { display: block; font-size: 2.4rem; color: var(--accent); font-weight: 800; }
.stats span { color: #c3d2e5; }

/* Testimonials */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quote p { font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who strong { color: var(--ink); display: block; line-height: 1.2; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue), #3b8af0); color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #e3eefc; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; }

/* Offices */
.office h3 { display: flex; align-items: center; gap: 8px; }
.office .tag { font-size: .72rem; background: var(--accent); color: var(--navy); padding: 3px 8px; border-radius: 99px; font-weight: 700; }
.office p { margin: 0 0 6px; font-size: .95rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; }
label .req { color: #d23b3b; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,216,.12); }
textarea { min-height: 120px; resize: vertical; }
input[type=file] { padding: 10px; background: var(--bg-soft); }
.hint { font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 4px; display: block; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.radio-row label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 500; }
.radio-row input { width: auto; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 16px; border-radius: 10px; margin-top: 16px; display: none; }
.form-msg.ok { display: block; background: #e3f7ef; color: #0d6b4f; }
.form-msg.err { display: block; background: #fdeaea; color: #a52a2a; }

/* Multi-step apply */
.stepper { display: flex; gap: 8px; margin-bottom: 30px; }
.stepper li { flex: 1; list-style: none; text-align: center; font-size: .85rem; font-weight: 600; color: var(--muted); position: relative; padding-top: 44px; }
.stepper li::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 2px solid var(--line); color: var(--muted); font-weight: 800; }
.stepper li.active, .stepper li.done { color: var(--ink); }
.stepper li.active::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper li.done::before { background: var(--teal); border-color: var(--teal); color: #fff; content: '✓'; }
.stepper { padding: 0; }
.fstep { display: none; }
.fstep.active { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.review { background: var(--bg-soft); border-radius: 12px; padding: 20px; }
.review dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; font-size: .95rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.success-box { text-align: center; padding: 30px 10px; }
.success-box .big { font-size: 3.4rem; }
.ref { display: inline-block; background: var(--bg-soft); border: 1px dashed var(--blue); padding: 8px 16px; border-radius: 8px; font-weight: 800; color: var(--navy); font-size: 1.2rem; margin: 6px 0 16px; }

.aside-box { background: var(--navy); color: #d5e0ee; border-radius: 18px; padding: 28px; }
.aside-box h3 { color: #fff; }
.aside-box a { color: var(--accent); }
.aside-box ul { padding-left: 18px; }
.layout-apply { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.sticky { position: sticky; top: 100px; }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: #071d35; color: #b6c4d6; padding-top: 64px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #b6c4d6; display: block; margin-bottom: 8px; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-box { display: inline-block; }
.site-footer .muted { color: #8296ad; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); z-index: 60; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Admin */
.admin { background: var(--bg-soft); }
.admin-bar { background: var(--navy); color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.admin-bar a { color: #fff; margin-left: 18px; }
.admin-bar > a { margin: 0; }
.admin-main { padding: 28px 24px; max-width: 1280px; margin: 0 auto; }
.admin h1 small { color: var(--muted); font-size: .9rem; font-weight: 600; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f9fbfd; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
td.msg { max-width: 380px; white-space: pre-wrap; }
.pill { padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #e8f1fd; color: var(--blue); white-space: nowrap; }
.pill-approved { background: #e3f7ef; color: #0d6b4f; }
.pill-closed { background: #eee; color: #666; }
.pill-documents-needed { background: #fff4e0; color: #9a5b00; }
.detail { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; background: #fff; padding: 24px; border-radius: 12px; border: 1px solid var(--line); }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; color: var(--ink); white-space: pre-wrap; }
.status-form { display: flex; gap: 12px; align-items: end; margin: 12px 0 20px; }
.status-form select { width: auto; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-apply { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav .btn { margin: 8px 0 0; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .review dl, .detail { grid-template-columns: 1fr; }
  .stepper li { font-size: 0; }
  .cta { flex-direction: column; align-items: flex-start; }
}
