/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #f5f5f9;
    font-family: "Roboto", sans-serif;
    margin: 0;
    color: #222;
}

/* ── Nav Bar ── */
.nav-bar {
    width: 100%;
    background-color: #1C539F;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 36px;
    display: block;
}

.nav-content nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: white;
}

.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* ── Landing Hero ── */
.hero {
    background-color: #1C539F;
    text-align: center;
    padding: 60px 24px 70px;
}

.hero-logo {
    height: 60px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Team Grid ── */
.team-section {
    padding: 60px 24px;
}

.team-grid {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 40px 32px;
    text-align: center;
    width: 280px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(28,83,159,0.15);
}

.profile-card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #1C539F;
}

.profile-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1C539F;
    margin: 0 0 6px;
}

.profile-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    background-color: #1C539F;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s;
}

.btn:hover {
    background-color: #154080;
}

/* ── Individual Profile Hero ── */
.profile-hero {
    background-color: #1C539F;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 48px 48px;
}

.profile-hero-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.4);
}

.profile-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
}

.profile-tagline {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ── Page Content ── */
.page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1C539F;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e8f5;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* ── Cards (work/edu) ── */
.card {
    background: white;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    border-left: 4px solid #1C539F;
}

.card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #1C539F;
}

.card h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #777;
    font-weight: 400;
}

.card p {
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

.card-bullets {
    margin: 0;
    padding-left: 18px;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.card-bullets li {
    margin-bottom: 6px;
}

/* ── Travel Map ── */
#travel-map {
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.map-pin-label {
    background: white;
    border: 1px solid #dde5f0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    color: #444;
}

/* ── Hobbies page ── */
.page-banner {
    background-color: #1C539F;
    text-align: center;
    padding: 48px 24px;
}

.page-banner h1 {
    font-size: 38px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.page-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin: 0;
}

.bubble {
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.bubble.active {
  transform: scale(1.08);
}

.hobby-label {
  transition: transform 0.2s ease, opacity 0.2s ease, font-size 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.hobby-label.active {
  font-size: 14px;
  font-weight: 700;
}

.hobby-label.dim {
  opacity: 0.35;
}

.bubble.dim {
  opacity: 0.75;
}

.venn-wrap {
  margin-top: -100px;
}

.venn-svg {
  width: min(100%, 1760px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
    background-color: #1C539F;
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}
