/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:        #dceeff;
    --surface:   #f5f9ff;
    --navy:      #1a2e5a;
    --blue:      #2b4aa7;
    --sky:       #6ab4fa;
    --accent:    #e8a020;
    --text:      #1a2e5a;
    --muted:     #4a6080;
    --white:     #ffffff;
    --radius:    12px;
    --shadow:    0 4px 20px rgba(26, 46, 90, 0.12);
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(106,180,250,0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43,74,167,0.18) 0%, transparent 50%);
    min-height: 100vh;
    color: var(--text);
}

/* ─── Layout Wrapper ─── */
.wrapper {
    max-width: 860px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* ─── Header ─── */
header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.header-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

/* ─── Navigation ─── */
nav {
    background-color: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.menu li a {
    display: block;
    padding: 0.85rem 1.1rem;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
}

.menu li a:hover,
.menu li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border-bottom-color: var(--accent);
}

/* ─── Page Hero ─── */
.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, #3a60c4 100%);
    padding: 2rem 2.5rem;
    position: relative;
}

.back-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.2s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.25);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.page-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ─── Cards ─── */
.card {
    background: var(--surface);
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(26,46,90,0.07);
}

.card:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    font-size: 1.1rem;
}

/* ─── Profile Text ─── */
.profile-text {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1rem;
}

.profile-text strong {
    color: var(--navy);
    font-weight: 600;
}

/* ─── Table ─── */
.table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(26,46,90,0.12);
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.95rem;
}

thead tr {
    background: var(--navy);
    color: var(--white);
}

thead th {
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

tbody tr {
    border-bottom: 1px solid rgba(26,46,90,0.08);
    transition: background 0.15s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(106,180,250,0.1);
}

tbody td {
    padding: 0.9rem 1.1rem;
    color: var(--muted);
    vertical-align: middle;
}

.company {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.location {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
}

.badge {
    display: inline-block;
    background: rgba(43,74,167,0.1);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    white-space: nowrap;
}

/* ─── Responsive ─── */
@media (max-width: 560px) {
    .wrapper { margin: 1rem auto; }
    .card { padding: 1.5rem 1.25rem; }
    .page-hero { padding: 1.5rem 1.25rem; }
    .page-title { font-size: 1.6rem; }
    .table-wrap { font-size: 0.85rem; }
    .thead th, tbody td { padding: 0.7rem 0.75rem; }
}
