html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #080a08;
    color: white;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0 70px;
}

.hero-text {
    max-width: 700px;
    text-align: center;
    z-index: 2;
}

h1 {
    font-size: 72px;
    margin: 0;
    color: #a855f7;
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.8);
}

h2 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #9333ea;
    margin: 20px 0;
}

p {
    font-size: 22px;
    line-height: 1.6;
    color: #cfcfcf;
    font-weight: 600;
}

.hero-buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    margin-right: 15px;
    border-radius: 6px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.primary {
    background: #9333ea;
    color: #080a08;
}

.secondary {
    border: 1px solid #9333ea;
    color: #9333ea;
}

.about-section {
    text-align: center;
}

.blob-container {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 700px;
    height: 500px;

    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.75;
}

.blob {
    position: absolute;
    border-radius: 999px;
    mix-blend-mode: screen;
}

.blob-primary {
    left: 0;
    top: 0;
    width: 70%;
    height: 70%;
    background: rgba(168, 85, 247, 0.65);
    animation: blobPrimaryMove 7s ease-in-out infinite alternate;
}

.blob-secondary {
    right: 0;
    bottom: 0;
    width: 65%;
    height: 65%;
    background: rgba(124, 58, 237, 0.55);
    animation: blobSecondaryMove 8.5s ease-in-out infinite alternate;
}

.blob-shadow {
    left: -5%;
    bottom: 10%;
    width: 60%;
    height: 50%;
    background: rgba(76, 29, 149, 0.55);
    animation: blobShadowMove 10s ease-in-out infinite alternate;
}

@keyframes blobPrimaryMove {
    0% {
        transform: translate(0, 0) scale(1);
        background: rgba(168, 85, 247, 0.65);
    }

    50% {
        transform: translate(55px, 35px) scale(1.12);
        background: rgba(147, 51, 234, 0.62);
    }

    100% {
        transform: translate(95px, -25px) scale(0.95);
        background: rgba(192, 132, 252, 0.58);
    }
}

@keyframes blobSecondaryMove {
    0% {
        transform: translate(0, 0) scale(1);
        background: rgba(124, 58, 237, 0.55);
    }

    50% {
        transform: translate(-65px, -35px) scale(1.18);
        background: rgba(168, 85, 247, 0.52);
    }

    100% {
        transform: translate(-25px, 50px) scale(0.98);
        background: rgba(147, 51, 234, 0.55);
    }
}

@keyframes blobShadowMove {
    0% {
        transform: translate(0, 0) scale(1);
        background: rgba(76, 29, 149, 0.55);
    }

    50% {
        transform: translate(45px, -25px) scale(1.1);
        background: rgba(91, 33, 182, 0.5);
    }

    100% {
        transform: translate(90px, 35px) scale(1.05);
        background: rgba(109, 40, 217, 0.48);
    }
}

@media (max-width: 900px) {
    .blob-container {
        width: 360px;
        height: 300px;
        right: -80px;
        top: 35%;
        opacity: 0.45;
        filter: blur(55px);
    }
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    color: #a855f7;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.8);
}

nav a {
    position: relative;
    color: #d8d8d8;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
    transition: 0.3s;
}

nav a:hover {
    color: #a855f7;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.content-section {
    padding: 100px 70px;
}

.content-section h2 {
    color: #a855f7;
    margin-bottom: 30px;
}

.project-card {
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.skills-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-grid span {
    border: 1px solid #a855f7;
    padding: 10px 15px;
    border-radius: 8px;
}

.contact-links {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.contact-links a {
    color: #a855f7;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.contact-links a:hover {
    color: #c084fc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 16px;
    padding: 28px;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #a855f7;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
}

.project-card h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
}

.project-card p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.project-tags span {
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.45);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
}

@media (max-width: 800px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 16px;
    padding: 25px;
}

.skill-category h3 {
    color: #a855f7;
    margin-bottom: 20px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-grid span {
    background: rgba(168,85,247,0.12);
    border: 1px solid rgba(168,85,247,0.3);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
}

.skills-summary {
    margin-top: 40px;
    padding: 30px;

    background: rgba(168, 85, 247, 0.05);

    border: 1px solid rgba(168, 85, 247, 0.25);

    border-left: 4px solid #a855f7;

    border-radius: 12px;
}

.skills-summary h3 {
    color: #a855f7;
    margin-bottom: 15px;
}

.skills-summary p {
    color: #cfcfcf;
    line-height: 1.8;
}
.timeline-section {
    overflow-x: hidden;
}

.timeline-intro {
    max-width: 850px;
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 80px;
}

.horizontal-timeline {
    padding-top: 60px;
    position: relative;
    width: 100%;
    padding: 30px 0 80px;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 4px solid #a855f7;
    box-shadow: 0 -2px 18px rgba(168, 85, 247, 0.55);
    padding-top: 55px;
    overflow: visible;
}

.timeline-point {
    position: relative;
    width: 19%;
    min-width: 170px;
    text-align: center;
    transition: 0.3s ease;
}

.timeline-dot {
    position: absolute;
    top: -72px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: #080a08;
    border: 5px solid #c084fc;
    border-radius: 50%;
    box-shadow:
        0 0 12px rgba(192, 132, 252, 0.9),
        0 0 28px rgba(168, 85, 247, 0.7);
}

.timeline-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #c084fc;
    border-radius: 50%;
}

.timeline-year {
    display: block;
    color: #c084fc;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.timeline-point h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}

.timeline-point p {
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.6;
}

.timeline-point:hover {
    transform: translateY(-8px);
}

.timeline-point:hover .timeline-dot {
    border-color: #ffffff;
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.8),
        0 0 35px rgba(168, 85, 247, 0.9);
}

@media (max-width: 900px) {
    .horizontal-timeline {
        padding: 20px 0;
    }

    .timeline-track {
        flex-direction: column;
        border-top: none;
        border-left: 4px solid #a855f7;
        box-shadow: -2px 0 18px rgba(168, 85, 247, 0.55);
        padding-top: 0;
        padding-left: 35px;
        gap: 35px;
    }

    .timeline-point {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .timeline-dot {
        top: 0;
        left: -55px;
        transform: none;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 25px;
        flex-direction: column;
        gap: 20px;
    }

    nav a {
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero {
        padding: 120px 25px 60px;
        min-height: auto;
    }

    h1 {
        font-size: 52px;
    }

    h2 {
        font-size: 24px;
        letter-spacing: 4px;
    }

    p {
        font-size: 17px;
    }

    .btn {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .content-section {
        padding: 70px 25px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }
}

.about-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(168,85,247,0.25);
    border-left: 4px solid #a855f7;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 0 25px rgba(168,85,247,0.08);
}

.about-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #cfcfcf;
}

footer {
    text-align: center;
    padding: 50px 0;
    color: #777;
    border-top: 1px solid rgba(168,85,247,0.15);
}

.resume-btn {
    font-size: 24px;
    padding: 16px 34px;
    border-radius: 10px;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
}

.contact-links a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-links a:hover {
    color: #a855f7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form label {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 14px rgba(168,85,247,0.35);
}

.contact-form button {
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #a855f7;
    color: black;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #c084fc;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}