/* Global Styles */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Header */
.header {
    text-align: center;
    border-bottom: 2px solid #003D7C; /* NUS Blueish */
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    color: #003D7C;
    font-size: 2.5em;
}

.contact-info {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
}

.contact-info p {
    margin: 0;
    font-size: 0.95em;
}

.contact-info i {
    color: #003D7C;
    margin-right: 5px;
}

/* Sections */
.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4em;
    color: #003D7C;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Items (Jobs, Degrees) */
.item {
    margin-bottom: 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.item-header h3 {
    margin: 0;
    font-size: 1.15em;
    color: #222;
}

.location, .date {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
}

.item-sub {
    font-style: italic;
    color: #555;
    margin-bottom: 5px;
    font-size: 0.95em;
}

.item-sub .date {
    float: right;
}

/* Lists */
.details {
    margin-top: 5px;
    padding-left: 20px;
    color: #444;
}

.details li {
    margin-bottom: 4px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8em;
    color: #888;
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    .item-header {
        flex-direction: column;
    }
    .date {
        display: block;
    }
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
}