:root {
    --brand-dark: #12245c;
    --brand-blue: #1a56db;
    --brand-light: #eef4ff;
    --brand-gray: #64748b;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f7fc;
    color: #1f2937;
}

a { color: inherit; }

/* ===== Header ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.brand-icon { font-size: 34px; color: var(--brand-blue); margin-right: 10px; }
.brand-logo-img { height: 42px; object-fit: cover; border-radius: 8px; }
.brand-title { font-size: 20px; font-weight: 800; color: var(--brand-dark); }
.brand-sub { font-size: 11px; color: var(--brand-gray); letter-spacing: .5px; }
.main-nav a { color: #374151; font-weight: 600; text-decoration: none; font-size: 15px; }
.main-nav a:hover { color: var(--brand-blue); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(120deg, #eaf1ff 0%, #f7faff 100%);
    padding: 60px 0;
}
.hero .eyebrow { color: var(--brand-blue); font-weight: 700; letter-spacing: 1px; font-size: 13px; }
.hero h1 { font-size: 48px; font-weight: 800; color: var(--brand-dark); line-height: 1.15; }
.hero h1 span { color: var(--brand-blue); }
.hero p { color: var(--brand-gray); font-size: 16px; max-width: 520px; }

/* ===== Job cards ===== */
.job-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.job-card img { height: 150px; width: 100%; object-fit: cover; }
.job-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.job-card h5 { font-weight: 700; color: var(--brand-dark); }
.job-card .badge-type {
    background: var(--brand-light); color: var(--brand-blue);
    font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 20px;
}
.job-card .meta { color: var(--brand-gray); font-size: 13px; margin: 4px 0; }
.job-card p.desc {
    color: #4b5563; font-size: 14px; flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}
.job-card .job-title-link { color: var(--brand-dark); text-decoration: none; }
.job-card .job-title-link:hover { color: var(--brand-blue); }
.job-card h5 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
}

/* ===== Why choose us / stat blocks ===== */
.feature-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--brand-light); color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ===== Modal (job apply form) ===== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,.55);
    display: none; align-items: flex-start; justify-content: center;
    z-index: 2000; padding: 30px 15px; overflow-y: auto;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: #fff; border-radius: 14px; max-width: 640px; width: 100%;
    padding: 24px 28px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.modal-box h4 { color: var(--brand-dark); font-weight: 700; }
.modal-box .form-label { font-weight: 600; font-size: 14px; color: #374151; }
.modal-close-btn {
    border: none; background: none; font-size: 20px; color: #6b7280; cursor: pointer;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--brand-dark);
    color: #cbd5e1;
    margin-top: 60px;
    font-size: 14px;
}
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-weight: 700; color: #fff; }

/* ===== Generic page header ===== */
.page-header {
    background: var(--brand-dark); color: #fff; padding: 40px 0; margin-bottom: 40px;
}
.page-header h1 { font-weight: 800; }

.section-title { font-weight: 800; color: var(--brand-dark); }
.section-sub { color: var(--brand-gray); }

/* ===== Job Details page ===== */
.job-details-img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }
.job-details-box {
    background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
    padding: 28px;
}
.job-details-desc {
    color: #374151; font-size: 15px; line-height: 1.7;
    white-space: pre-line;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 6px;
}
.related-job-card {
    display: flex; gap: 12px; background: #fff; border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05); padding: 12px; margin-bottom: 12px;
    text-decoration: none; color: inherit;
}
.related-job-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.related-job-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }

.btn-primary { background-color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-primary:hover { background-color: #1442ab; border-color: #1442ab; }
.btn-outline-primary { color: var(--brand-blue); border-color: var(--brand-blue); }
