body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(115deg, #e0ecff 0%, #f7e7ff 100%);
    margin: 0;
    color: #222;
    min-height: 100vh;
}
header {
    background: linear-gradient(90deg, #003366 70%, #9333ea 100%);
    color: #fff;
    padding: 2.5rem 1rem 1.2rem 1rem;
    text-align: center;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 30px -10px #8d8fee70;
    position: relative;
    z-index: 10;
}
header::after {
    content: '';
    display: block;
    width: 90px;
    height: 5px;
    margin: 18px auto 0 auto;
    background: linear-gradient(90deg, #ffbe30 40%, #9333ea 100%);
    border-radius: 5px;
    animation: underline-slide 1.3s cubic-bezier(.7,.1,.2,1.2);
}
@keyframes underline-slide {
    0% { width: 0; opacity: 0 }
    50% { opacity: 1 }
    100% { width: 90px; opacity: 1}
}
header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px #0002;
}
nav {
    margin-top: 1.2rem;
}
nav a {
    margin: 0 14px;
    text-decoration: none;
    color: #ffeaae;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-size: 1.1em;
    transition: color 0.25s, border-bottom 0.25s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
nav a:hover {
    color: #ffbe30;
    border-bottom: 2px solid #ffbe30;
}
main {
    margin-bottom: 2.5rem;
}
section {
    max-width: 920px;
    margin: 2.5rem auto;
    padding: 1.4rem 2% 1.2rem 2%;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow: 0 6px 24px -7px #4141ad14;
    animation: fadeIn 1.1s cubic-bezier(.4,.15,.2,1);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(35px);}
    to { opacity: 1; transform: translateY(0);}
}
h2 {
    color: #3436ad;
    margin-bottom: 1rem;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg,#ffaa1d 40%,#965ed7 100%);
    margin-top: 7px;
}
h3 {
    color: #6438aa;
    margin-top: 22px;
    font-size: 1.12em;
    margin-bottom: 0.5em;
    font-weight: 600;
}
h4 {
    color: #155489;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 9px;
}
ul {
    list-style: disc inside;
    margin-left: 15px;
    margin-bottom: 23px;
    font-size: 1.07em;
}
li {
    margin-bottom: 0.6em;
}
.image-frame {
    flex: 1 1 120px;
    border: 2px dashed #a4c4ff;
    border-radius: 16px;
    min-height: 110px;
    min-width: 110px;
    background: #f4f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.05em;
    font-style: italic;
    text-align: center;
    margin-bottom: 11px;
    max-width: 180px;
    margin-right: 16px;
    transition: box-shadow 0.25s;
}
.image-frame:hover {
    box-shadow: 0 2px 8px #b2a2fc52;
}
.project-image {
    width: 100%;
    max-width: 340px;
    max-height: 260px;
    object-fit: contain;
    border: 2px solid #bcdff7;
    border-radius: 15px;
    display: block;
    margin-bottom: 16px;
    background: #f4f8fb;
    box-shadow: 0 6px 24px -10px #8467db28;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-image:hover {
    transform: scale(1.045) rotate(-1deg);
    box-shadow: 0 12px 50px -14px #8467db38;
}
a[download], .download-btn {
    display: inline-block;
    background: linear-gradient(93deg, #5547b5 60%, #ffbe30 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 7px;
    padding: 7px 18px;
    box-shadow: 0 2px 8px #9888f055;
    margin-top: 7px;
    margin-bottom: 5px;
    transition: background 0.2s, box-shadow 0.2s;
}
a[download]:hover, .download-btn:hover {
    background: linear-gradient(93deg, #735dfc 60%, #ffd464 100%);
    color: #003366;
    box-shadow: 0 4px 20px #c5bafd70;
}
.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.project-card, .experience-entry {
    background: #f5edff;
    border-radius: 13px;
    box-shadow: 0 1px 4px #8467db12;
    margin-bottom: 24px;
    padding: 1.7em 1.2em 1em 1.2em;
    flex: 1 1 355px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.22s, background 0.22s;
}
.project-card:hover {
    background: #ffe3ce;
    box-shadow: 0 8px 32px -5px #eab77ca8;
}
.project-card h3,
.project-card p,
.project-card a {
    margin-left: 10px;
}
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
footer {
    margin-top: 2.5rem;
    background: linear-gradient(90deg,#3d2273 60%, #ffbe30 100%);
    color: #fff;
    text-align: center;
    padding: 1.1rem 0.2rem;
    border-radius: 0 0 11px 11px;
    font-family: 'Roboto', Arial, sans-serif;
    box-shadow: 0 -3px 24px #7d6efb36;
}
/* ------ ABOUT FLEX AND PROFILE PIC ------ */
.about-flex {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-bottom: 16px;
    animation: fadeIn 1.5s;
}
.profile-pic {
    width: 122px;
    height: 122px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffbe30;
    display: block;
    margin-bottom: 0;
    background: #fffbe7;
    flex-shrink: 0;
    box-shadow: 0 3px 18px #ffbe3050;
    transition: border-color 0.4s, transform 0.23s;
}
.profile-pic:hover {
    border-color: #735dfc;
    transform: scale(1.07) rotate(-2deg);
}
/* Responsive styles */
@media (max-width: 700px) {
    section {
        padding: 0.5rem;
    }
    .project-gallery {
        flex-direction: column;
        gap: 13px;
    }
    .about-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    header, footer {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
}
