* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 320px;
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-card h2 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 4px;
}

.tagline {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.university {
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
}

.university i {
    color: #0ea5e9;
    margin-right: 6px;
}

.bio h3, .skills h3 {
    font-size: 14px;
    color: #334155;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bio p {
    font-size: 14px;
    color: #475569;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Vertically Stack Link Buttons */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, opacity 0.2s;
}

.github-btn {
    background-color: #0f172a;
    color: #ffffff;
}

.github-btn:hover {
    background-color: #1e293b;
}

/* Styled LinkedIn Brand Accent Color */
.linkedin-btn {
    background-color: #0077b5;
    color: #ffffff;
}

.linkedin-btn:hover {
    opacity: 0.9;
}

.main-content {
    flex: 1;
    padding: 40px 50px;
}

.section h2 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 6px;
}

.section-intro {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 15px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.module-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.module-icon {
    font-size: 24px;
    color: #0ea5e9;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.project-card h3 {
    font-size: 16px;
    color: #0f172a;
}

.project-card h3 i {
    color: #0ea5e9;
    margin-right: 4px;
}

.tech-tag {
    font-size: 11px;
    background-color: #f0fdf4;
    color: #16a34a;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tech-tag.spec {
    background-color: #f0f9ff;
    color: #0284c7;
}

.project-card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
}

.protocol-list {
    padding-left: 16px;
    font-size: 13px;
    color: #475569;
}

.protocol-list li {
    margin-bottom: 8px;
}

.repo-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.repo-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; }
    .main-content { padding: 30px 20px; }
    .module-grid { grid-template-columns: 1fr; }
}
