/* Reset & Base */
body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
}

/* Header */
.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    /* Ensures user's pic fits cleanly */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    /* Crisp border */
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    margin-top: 0;
    color: #111;
}

h2 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    color: #111;
}

h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

nav {
    margin-top: 1rem;
    font-size: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 2.5rem 0;
}

/* About Section */
#about h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Timeline Layout */
.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: right;
    font-weight: 600;
    color: #777;
    padding-top: 0.5rem;
    font-size: 0.95rem;
}

.timeline-content {
    flex: 1;
}

.role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Square Icon Styles */
.logo-container {
    width: 48px;
    /* Standard icon size */
    height: 48px;
    background: #fff;
    border-radius: 12px;
    /* iOS-style rounded corners */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
    /* Inner padding */
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures whatever banner logo fits inside */
}

.role-title {
    font-style: italic;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

p {
    margin: 0;
    margin-bottom: 0.5rem;
    color: #444;
}

.tech {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.3rem;
}

/* Color Splashes */
.timeline-item:hover .timeline-date {
    color: #0066cc;
}

.timeline-item:hover .logo-container {
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
    /* Colored shadow on hover */
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

footer {
    margin-top: 5rem;
    border-top: 1px solid #eaeaea;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #999;
    text-align: center;
}

@media (max-width: 600px) {
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-date {
        text-align: left;
        color: #999;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }
}