:root {
  --navy: #0B1D51;
  --navy-light: #1B3A8A;
  --orange: #E8882D;
  --orange-dark: #d07520;
  --bg: #f8f9fb;
  --text: #1a1a2e;
  --border: #dde0e8;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

button, input, select, textarea { font-family: inherit; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-section { animation: fadeUp .4s ease; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(11,29,81,.08);
}
.site-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; cursor: pointer; background: none; border: none; padding: 0; -webkit-tap-highlight-color: transparent; }
.brand img { height: 44px; width: auto; object-fit: contain; border-radius: 4px; }

.mobile-menu-btn {
  display: none; background: none; border: none; font-size: 26px;
  cursor: pointer; color: var(--navy); padding: 4px;
}
.mobile-menu-btn:hover { opacity: .7; }

.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-item {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--navy);
  cursor: pointer; border-radius: 8px; transition: background .2s;
  background: none; border: none;
}
.nav-item:hover { background: #f0f2f8; }

.btn {
  border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  border-radius: 10px; transition: background .2s, transform .2s, color .2s;
}
.btn-cta { background: var(--orange); color: #fff; padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.btn-cta:hover { background: var(--orange-dark); }

@media (max-width: 700px) {
  .mobile-menu-btn { display: block; }
  .main-nav { display: none; }
}

/* ---------- Mobile overlay ---------- */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200;
}
.mobile-panel {
  background: #fff; padding: 24px; padding-top: 60px;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 100vh; max-width: 300px; position: relative;
}
.mobile-panel-close {
  position: absolute; top: 16px; right: 16px; font-size: 28px;
  cursor: pointer; color: var(--navy); background: none; border: none;
}
.mobile-nav-item {
  padding: 14px 16px; font-size: 16px; font-weight: 500; color: var(--navy);
  cursor: pointer; border-radius: 8px; background: none; border: none; text-align: left;
}
.mobile-nav-item:hover { background: #f0f2f8; }
.btn-cta-block { width: 100%; padding: 14px 20px; font-size: 16px; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0B1D51 0%, #1B3A8A 60%, #0B1D51 100%);
  padding: 60px 20px 50px; text-align: center; position: relative; overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; }
.hero::before { top: -40px; right: -40px; width: 200px; height: 200px; background: rgba(232,136,45,.12); }
.hero::after { bottom: -60px; left: -30px; width: 180px; height: 180px; background: rgba(255,255,255,.04); }
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  color: #fff; font-size: clamp(26px,5vw,42px); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px;
}
.hero p {
  color: rgba(255,255,255,.85); font-size: clamp(15px,2.5vw,18px);
  line-height: 1.6; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary { padding: 14px 32px; font-size: 16px; }
.btn-hero-primary:hover { transform: translateY(-1px); }
.btn-hero-secondary {
  background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3);
  padding: 14px 28px; border-radius: 12px; font-size: 16px; font-weight: 600;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.2); }

/* ---------- Generic sections ---------- */
.section { padding: 50px 20px; max-width: 900px; margin: 0 auto; }
.section-title { text-align: center; font-size: clamp(22px,4vw,30px); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-subtitle { text-align: center; color: #666; font-size: 15px; margin-bottom: 36px; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.step-card { background: #fff; border-radius: 16px; padding: 28px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.step-badge {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; font-size: 24px; color: #fff; font-weight: 800;
}
.step-badge.orange { background: linear-gradient(135deg,#E8882D,#f0a050); }
.step-badge.navy { background: linear-gradient(135deg,#1B3A8A,#2a50b0); }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { color: #666; font-size: 14px; line-height: 1.5; }

/* ---------- Jobs ---------- */
.jobs-band { padding: 30px 20px 50px; background: #fff; }
.jobs-band-inner, .services-inner { max-width: 900px; margin: 0 auto; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.jobs-grid.jobs-page { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
.job-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  background: #fff; transition: box-shadow .2s;
}
.job-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.job-card.job-page { padding: 24px; }
.job-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.job-card.job-page h3 { font-size: 17px; }
.job-card p.meta { font-size: 13px; color: #666; margin-bottom: 4px; }
.job-card p.deadline { font-size: 12px; color: #999; margin-bottom: 14px; }
.job-card.job-page p.deadline { font-size: 13px; margin-bottom: 4px; }
.job-card p.desc { font-size: 13px; color: #555; margin-bottom: 12px; line-height: 1.5; }
.job-card a.job-link { font-size: 13px; color: var(--navy-light); font-weight: 500; display: inline-block; margin-bottom: 10px; }
.btn-apply { background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; width: 100%; }
.btn-apply:hover { background: var(--orange-dark); }
.job-card.job-page .btn-apply { padding: 11px 20px; font-size: 14px; }

.empty-state { text-align: center; padding: 40px 20px; color: #999; font-size: 15px; }
.empty-state.card { background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 50px 20px; }
.empty-state p { margin-bottom: 16px; font-size: 16px; color: #999; }

.jobs-cta { text-align: center; margin-top: 24px; }
.btn-outline-navy {
  background: none; border: 1.5px solid var(--navy); color: var(--navy);
  padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Services ---------- */
.services-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 14px; }
.service-tile { background: #fff; border-radius: 14px; padding: 22px 16px; text-align: center; box-shadow: 0 1px 8px rgba(0,0,0,.04); transition: transform .2s; }
.service-tile:hover { transform: translateY(-2px); }
.service-tile .icon { font-size: 28px; margin-bottom: 10px; }
.service-tile p { font-size: 14px; font-weight: 600; color: var(--navy); }

.services-list { display: flex; flex-direction: column; gap: 14px; }
.service-row { background: #fff; border-radius: 14px; padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.service-row .icon { font-size: 32px; flex-shrink: 0; width: 48px; text-align: center; }
.service-row h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.service-row p { font-size: 14px; color: #666; line-height: 1.5; }

/* ---------- Contact preview / page ---------- */
.contact-band { background: var(--navy); padding: 50px 20px; color: #fff; }
.contact-band-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 30px; }
.contact-band h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.contact-band h4 { font-size: 15px; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.contact-band p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.6; }
.contact-band .cyber-block { margin-bottom: 20px; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-bottom: 30px; }
.contact-card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.contact-card .icon-badge { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; margin-bottom: 14px; }
.contact-card .icon-badge.orange { background: var(--orange); }
.contact-card .icon-badge.navy { background: var(--navy-light); }
.contact-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #666; line-height: 1.6; }
.contact-info-card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.contact-info-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.contact-info-card p { font-size: 15px; color: #333; margin-bottom: 10px; }

/* ---------- Form ---------- */
.page-narrow { padding: 40px 20px 60px; max-width: 600px; margin: 0 auto; }
.page-medium { padding: 40px 20px 60px; max-width: 900px; margin: 0 auto; }
.page-800 { padding: 40px 20px 60px; max-width: 800px; margin: 0 auto; }
.page-title { font-size: clamp(24px,4vw,32px); font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.page-desc { color: #666; font-size: 15px; margin-bottom: 28px; }

.form-card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 18px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
.form-field input[type="text"], .form-field input[type="tel"], .form-field input[type="email"],
.form-field input[type="password"], .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; outline: none; transition: border .2s; background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy-light); }
.form-field textarea { resize: vertical; }
.dropzone { border: 1.5px dashed var(--border); border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; transition: border-color .2s; }
.dropzone:hover { border-color: var(--navy-light); }
.dropzone input[type="file"] { width: 100%; cursor: pointer; }
.file-ok { font-size: 13px; color: #2e7d32; margin-top: 6px; font-weight: 500; }

.form-error { color: #d32f2f; font-size: 13px; font-weight: 500; background: #fdecea; padding: 10px 14px; border-radius: 8px; }
.btn-submit { background: var(--orange); color: #fff; padding: 14px 24px; border-radius: 12px; font-size: 16px; font-weight: 700; width: 100%; }
.btn-submit:hover { background: var(--orange-dark); }
.form-note { font-size: 12px; color: #999; text-align: center; }

.success-card { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 14px; padding: 30px; text-align: center; }
.success-card .emoji { font-size: 40px; margin-bottom: 12px; }
.success-card h3 { color: #2e7d32; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.success-card p { color: #555; font-size: 14px; line-height: 1.6; }
.btn-navy { background: var(--navy); color: #fff; border: none; padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-navy:hover { background: var(--navy-light); }

/* ---------- Admin ---------- */
.admin-login-card {
  max-width: 400px; margin: 60px auto; background: #fff; border-radius: 16px;
  padding: 36px 28px; box-shadow: 0 2px 16px rgba(0,0,0,.08); text-align: center;
}
.admin-login-card .icon-badge {
  width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; color: #fff;
}
.admin-login-card h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.admin-login-card p { color: #666; font-size: 14px; margin-bottom: 20px; }
.admin-login-card input { margin-bottom: 12px; }
.admin-login-card .btn-navy { width: 100%; padding: 12px 24px; font-size: 15px; font-weight: 700; }
.admin-error { color: #d32f2f; font-size: 13px; margin-bottom: 10px; }

.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { font-size: clamp(22px,4vw,28px); font-weight: 800; color: var(--navy); }
.btn-logout { background: none; border: 1px solid #ccc; color: #666; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: inherit; }
.btn-logout:hover { background: #f5f5f5; }

.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: #f0f2f8; border-radius: 10px; padding: 4px; }
.admin-tab { flex: 1; padding: 10px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .2s; }
.admin-tab.active { background: #fff; color: var(--navy); }
.admin-tab:not(.active) { background: transparent; color: #666; }

.admin-form-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 1px 8px rgba(0,0,0,.04); margin-bottom: 20px; }
.admin-form-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form-grid .col-span { grid-column: 1/-1; }
.admin-form-grid input, .admin-form-grid textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none;
}
.admin-form-grid input:focus, .admin-form-grid textarea:focus { border-color: var(--navy-light); }
.admin-form-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-save { background: var(--orange); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-save:hover { background: var(--orange-dark); }
.btn-cancel { background: #f0f2f8; color: #666; border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; }
.btn-cancel:hover { background: #e0e2e8; }

.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-job-row { background: #fff; border-radius: 12px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); flex-wrap: wrap; }
.admin-job-row h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.admin-job-row p { font-size: 13px; color: #666; }
.admin-job-actions { display: flex; gap: 6px; }
.btn-edit { background: #f0f2f8; color: var(--navy); border: none; padding: 8px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; font-family: inherit; font-weight: 500; }
.btn-edit:hover { background: #dde0e8; }
.btn-delete { background: #fdecea; color: #d32f2f; border: none; padding: 8px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; font-family: inherit; font-weight: 500; }
.btn-delete:hover { background: #f5c6c0; }

.admin-cv-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.admin-cv-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.admin-cv-head h4 { font-size: 16px; font-weight: 700; color: var(--navy); }
.admin-cv-head span { font-size: 12px; color: #999; }
.admin-cv-body { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #555; }
.admin-cv-card .btn-delete { margin-top: 10px; padding: 6px 12px; font-size: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1540; padding: 24px 20px; text-align: center; border-top: 3px solid var(--orange); }
.site-footer p { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-admin-link { color: rgba(255,255,255,.3); font-size: 12px; cursor: pointer; background: none; border: none; margin-top: 6px; font-family: inherit; }
.footer-admin-link:hover { color: rgba(255,255,255,.6); }
