body {
    background-color: #f7f7f7;
    color: #333;
    font-family: "Poppins", "Helvetica", sans-serif;
    margin: 0;
    padding: 0;
}
header {
    background-color: #E30590;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}
section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
h2 {
    color: #E30590;
    border-bottom: 2px solid #E30590;
    display: inline-block;
    padding-bottom: 0.3rem;
}
.projects-title {
    color: #E30590;
    margin: 0 0 1.25rem 0;
    display: inline-block;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #E30590;
    width: auto;
}
.highlighted-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1rem;
    flex-wrap: nowrap;
}
.github-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 1.25rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
.project {
    background: #f0faff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
}
.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.img-wrap {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    padding: 8px;
}
.img-wrap img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}
.project h3,
.project h4 {
    margin: 0.4rem 0;
    color: #1a1a1a;
    font-size: 1.05rem;
    line-height: 1.2;
    word-break: break-word;
    text-align: center;
}
.project p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0;
    word-break: break-word;
}
.project a {
    color: inherit;
    text-decoration: none;
    display: block;
}
.subsection-title {
    display: block;
    text-align: center;
    color: #E30590;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.15rem;
    border-bottom: 2px solid #E30590;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1000px) {
    .highlighted-grid {
        gap: 16px;
    }
    .img-wrap {
        height: 130px;
    }
}
@media (max-width: 780px) {
    .highlighted-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .github-projects {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    section {
        margin: 1rem;
        padding: 1rem;
    }
    .img-wrap {
        height: 120px;
    }
}
@media (max-width: 480px) {
    h2, .projects-title {
        font-size: 1.05rem;
    }
    .subsec
