* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: aliceblue;
}

header {
    background: aliceblue;
    color: #1a1a1a;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e5e7eb;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.hero {
    background: skyblue;
    color: #1a1a1a;
    padding: 2rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    max-height: 200;
}

.hero p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #c7d9eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.project-image{
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
    margin-top: 50px;
}


.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 4rem;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #ebe5e5;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s, transform 0.3s;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.article-date {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.article-card h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.article-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.article-link:hover {
    color: #4b5563;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #1a1a1a;
}

.timeline-content {
    background: #efdcc9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.timeline-date {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-company {
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recent-articles-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.recent-article-card {
    background: #c9e1f7;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s, transform 0.3s;
}

.recent-article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}


.recent-article-item {
    background: #c9e1f7;
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #1a1a1a;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.recent-article-item:hover {
    border-left-color: #4b5563;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.recent-article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.recent-article-date {
    font-weight: 500;
}

.recent-article-read-time {
    position: relative;
    padding-left: 1rem;
}

.recent-article-read-time::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
}

.recent-article-item h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.recent-article-item p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.recent-article-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.recent-article-link:hover {
    color: #4b5563;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.resume-card {
    background: #fdf0b0;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hobby-card {
    background: #dee0ed;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hobby-card h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hobby-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #374151;
}

.hobby-table td {
    padding-right: 10px;
}

footer {
    background: #f9fafb;
    color: #6b7280;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-dot {
        left: -2rem;
    }

    .timeline-header {
        flex-direction: column;
    }
}
