* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    background: white;
    color: #1c3d5a;
}

h1 {
    font-size: 3em;
    text-align: center;
    margin: 1em 0 0.2em;
}

h2 {
    font-size: 1.5em;
    text-align: center;
    font-weight: 400;
    margin-bottom: 2em;
}

h3 {
    text-align: center;
    font-size: 1.25em;
    margin-top: 2em;
}

p {
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5em;
}

.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1em 2em;
}

.contact {
    text-align: center;
}

hr {
    border: 0;
    height: 2px;
    background-color: #1c3d5a;
    width: 80px;
    margin: 2em auto;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #1c3d5a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.02);
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0.25em 0.5em;
    cursor: pointer;
    z-index: 10000;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}


.resume-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    background-color: #1c3d5a;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.resume-button:hover {
    transform: scale(1.05);
    background-color: #234a6f;
}

.resume-button:active {
    transform: scale(0.95);
}

.basic-image {
  display: block;
  max-width: 75%;
  height: auto;
  margin: 1.5em auto;
}

.small-image {
  display: block;
  max-width: 50%;
  height: auto;
  margin: 1.5em auto;
}



.jump-nav {
  text-align: center;
  margin: 2em 0;
}

.jump-button {
  display: inline-block;
  margin: 0.5em;
  padding: 0.75em 1em;
  background-color: #538abb;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.jump-button:hover {
  background-color: #6bace9;
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}