* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

.nav-bar {
    width: 100%;
    display: inline-block;
    background-color: #1C539F;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding-top: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content .logo-touch-target {
    display: inline-flex;
    height: 60%;
    width: 350px;
}

.nav-content .nav-logo {
    height: 60px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 200px;
}

.nav-profile-pic {
    width: 124px;
    height: 102px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid white;
    margin-left: 16px;
}


.nav-content nav {
    display: block;
    width: 100%;
    text-align: right;
    padding-top: 0px;
    padding-right: 0px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px 10px 30px;
}

.nav-content nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 24px;
    font-size: 16px;
}

.nav-content nav a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background-color: #1d539f;
}

.banner .logo {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.banner .title {
    color: white;
    font-size: 50px;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* Sections */
.section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 0 40px;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 2px solid #1d539f;
    padding-bottom: 10px;
    margin-bottom: 24px;
    margin-top: 45px;
}

/* Hobbies */

.hobbies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hobby-card-big {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1d539f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.hobby-card-big:hover {
    box-shadow: 0 4px 16px rgba(29, 83, 159, 0.15);
}

.hobby-info {
    padding: 28px 32px;
}

.hobby-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.hobby-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.hobby-info p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.hobby-image {
    height: 200px;
    overflow: hidden;
}

.hobby-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.hobby-card-big:hover .hobby-image img {
    transform: scale(1.05);
}


/* Profile */
.profile {
    background-color: #1d539f;
    text-align: center;
    padding: 50px 20px 40px;
    margin-bottom: 50px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.profile .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}

/* About */

.about-card {
    background: white;
    border-radius: 4px;
    padding: 36px 44px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1d539f;
}

.about-card p {
    font-family: "Georgia", serif;
    font-size: 17px;
    line-height: 1.9;
    color: #2c2c2c;
    text-align: justify;
    letter-spacing: 0.01em;
}

/* Work Experience */
.work-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 32px;
}

.work-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1d539f, rgba(29, 83, 159, 0.1));
}

.work-card {
    position: relative;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1d539f;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.work-card:hover {
    box-shadow: 0 4px 16px rgba(29, 83, 159, 0.15);
}

.work-card::before {
    content: "💼";
    position: absolute;
    left: -36px;
    top: 14px;
    font-size: 18px;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.work-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.work-company {
    font-size: 14px;
}

.work-company-name {
    color: #1d539f;
    font-weight: 600;
}

.work-dot {
    color: #666;
    margin: 0 6px;
}

.work-location {
    color: #666;
}

.work-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.work-type {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.type-intern {
    background: rgba(29, 83, 159, 0.1);
    color: #1d539f;
    border: 1px solid rgba(29, 83, 159, 0.3);
}

.type-full {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.work-years {
    color: #666;
    font-size: 14px;
}

.work-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.work-bullets li {
    color: #444;
    font-size: 14px;
    padding-left: 16px;
    position: relative;
}

.work-bullets li::before {
    content: "▸";
    color: #1d539f;
    position: absolute;
    left: 0;
}


/* Education */
.edu-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 32px;
}

.edu-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1d539f, rgba(29, 83, 159, 0.1));
}

.edu-card {
    position: relative;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1d539f;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.edu-card:hover {
    box-shadow: 0 4px 16px rgba(29, 83, 159, 0.15);
}

.edu-card::before {
    content: "🎓";
    position: absolute;
    left: -36px;
    top: 14px;
    font-size: 18px;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.edu-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.edu-school {
    font-size: 14px;
    margin-bottom: 4px;
}

.edu-school-name {
    color: #1d539f;
    font-weight: 600;
}

.edu-location {
    color: #666;
}

.edu-dot {
    color: #666;
    margin: 0 6px;
}

.edu-dept {
    color: #888;
    font-size: 13px;
}

.edu-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.edu-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-progress {
    background: rgba(29, 83, 159, 0.1);
    color: #1d539f;
    border: 1px solid rgba(29, 83, 159, 0.3);
}

.status-done {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.edu-years {
    color: #666;
    font-size: 14px;
}

.edu-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edu-bullets li {
    color: #444;
    font-size: 14px;
    padding-left: 16px;
    position: relative;
}

.edu-bullets li::before {
    content: "▸";
    color: #1d539f;
    position: absolute;
    left: 0;
}

/* Travel */
#travel-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 16px;
    z-index: 1;
}

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

.map-tag {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #1d539f;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}


/* ── Timeline Form ── */
.timeline-form {
    background: white;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #1d539f;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1d539f;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.timeline-form button {
    background: #1d539f;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    
}

.timeline-form button:hover {
    background: #1a4a8f;
}

/* ── Timeline Posts ── */
.timeline-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-card {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #1d539f;
    transition: box-shadow 0.2s;
}

.timeline-card:hover {
    box-shadow: 0 4px 16px rgba(29,83,159,0.15);
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.timeline-name {
    font-weight: 700;
    color: #1d539f;
    font-size: 16px;
}

.timeline-date {
    color: #888;
    font-size: 13px;
}

.timeline-email {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.timeline-content {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}
