

/* ----------  Design  ---------- */

/* Border box fix*/
html {
  box-sizing: border-box;
}
*,  *::before, 
    *::after {
      box-sizing: border-box;
}
:root {

  
  --color-bg: #EAF4FB;        /* background*/
  --color-surface: #D6E9F8;   /* surfaces */
  --color-text: #12263A;      /* main text */
  --color-muted: #4A6075;     /* muted text */
  --color-accent: #1F6FB2;    /* links, buttons */
  --color-border: #B5D3EA;    /* borders */

  /* Typography */
  --font-body: Georgia, "Times New Roman", serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --text-base: 1rem;
  --line-height: 1.6;

  /* Spacing and layout */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --content-width: 46rem;

  .hero {
  /* red, green, blue */
  background: rgb(214, 233, 248);
}

  .hero {
  /* red, green, blue, alpha */
  background: linear-gradient(rgba(31, 111, 178, 0.35), rgba(234, 244, 251, 0.1));
}
}

/* ----------  Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem; /* keeps headings clear of a sticky header */
}

.column-narrow {
  width: 30%;
  float: left;
  padding-right: 3%;
  min-height: 175px;
}

.column-wide {
  width: 70%;
  float: left;
  min-height: 225px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height);
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------  Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}

h1 {  font-size: 2.5rem; 
      margin: 0;}      
h2 {  font-size: 1.5rem; 
      margin-top: 0;}
h3 {  font-size: 1.15rem; }

p { margin: 0 0 var(--space-md); }

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

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ----------  Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-bg);
  padding: var(--space-sm) var(--space-md);
}
.skip-link:focus { left: 0; z-index: 10; }

/* ----------  Header and navigation ---------- */
.content-wrap {
  max-width: 950px;
  margin: 0 auto;
  padding: 50px;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-header .content-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.site-logo {
  font-family: var(--font-heading);
  font-weight: bold;
  text-decoration: none;
  color: var(--color-text);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-header nav a {
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--color-text);
}

.site-header nav a:hover { color: var(--color-accent); }
.profile-img {
    border-radius:50%;
}

/* ---------- 6. Layout: main content ---------- */
main {
  padding: 0;
}

.section {
  padding: var(--space-xl) 0 0;
}

/* ---------- 7. Hero ---------- */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-muted);
}

/* ---------- 8. Buttons ---------- */
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-right: var(--space-sm);
  background: var(--color-accent);
  color: #ffffff;
  font-family: var(--font-heading);
  text-decoration: none;
  border: 2px solid var(--color-accent);
  border-radius: 4px;
}

.button:hover { opacity: 0.9; }

.button-secondary {
  background: transparent;
  color: var(--color-accent);
}

/* ----------  Resume  ---------- */
.entry {
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.entry .org { font-weight: normal; }

.meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.entry ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* ---------- Skills ---------- */
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-list li {
  padding: 0.25rem 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

/* ----------  Contact ---------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-info a {
  padding: 10px;
  display: inline-block;
}

/* ----------  Footer ---------- */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ----------  Responsive ---------- */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .site-header { padding: var(--space-md); }
}

/* ----------  Print (so the page prints like a resume) ---------- */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .button { display: none; }

  body { font-size: 11pt; }
  .section { padding-top: var(--space-md); }
}

/* ----------  Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

