body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
}

.headshot {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
    color: #2c3e50;
}

h2 {
    margin: 0;
    color: #16a085;
}

.contact {
    margin-top: 10px;
}

.contact a {
    color: #16a085;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 20px;
}

h3 {
    border-bottom: 2px solid #16a085;
    padding-bottom: 5px;
    color: #2c3e50;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

ul li:last-child {
    border-bottom: none;
}

/* Timeline container */
.timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    max-width: 600px;
    border-left: 3px solid #16a085;
}

/* Individual timeline item */
.timeline-item {
    margin: 20px 0;
    padding-left: 20px;
    position: relative;
}

/* Date section of the timeline */
.timeline-date {
    font-size: 1.2em;
    font-weight: bold;
    color: #16a085;
    position: absolute;
    left: -100px;
    top: 0;
}

/* Content of each timeline item */
.timeline-content {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Collapsible project header styles */
.project-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.project-header:hover {
    color: #16a085;
}

/* Arrow styling */
.arrow {
    font-size: 0.8em;
    color: #16a085;
    transition: transform 0.2s ease;
    margin-left: 10px;
}

/* Project description styling */
.project-description {
    margin: 10px 0 0 0;
    padding: 10px 0;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

/* Optional: Add a subtle animation when expanding */
.project-description[style*="block"] {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact form section styling */
.contact-form {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1em;
    transition: border 0.2s, box-shadow 0.2s;
}

/* New: green highlight on focus */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 2px solid #16a085;
    box-shadow: 0 0 5px rgba(22, 160, 133, 0.4);
}

/* Green Send Message button */
.contact-form button {
    padding: 10px 20px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #138d75;
}