* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0A152C;
    color: #fff;
    line-height: 1.6;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* padding: 15px 0; */
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Dancing Script;
    font-size: 2.5rem;
    font-weight: bolder;
    background: linear-gradient(135deg, hsl(215, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 20px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    background: linear-gradient(135deg, hsl(182, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    /* Underline sits at the bottom of the link */
    height: 2px;
    width: 0%;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    background: linear-gradient(135deg, hsl(182, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.nav-links a.active::after {
    width: 100%;
    background-color: #00d9ff;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #0A152C;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {

    #home {
        flex-direction: column;
    }

    .header,
    .model-data {
        width: 100%;
        flex-direction: column;
    }

    .section {
        padding: 60px 15px;
        margin-top: -50px;

    }
}

.skill .fa-js {
    color: #f7df1e;
}

.skill .fa-react {
    color: #61DBFB;
}

.skill .fa-node-js {
    color: #3C873A;
}


.skill .fa-python {
    color: #3776AB;
}


.skill .fa-fire {
    color: #FFCA28;
}


.skill .fa-database {
    color: #4DB33D;
}


.skill .fa-java {
    color: #007396;
}


.skill .fa-copyright {
    color: #A8B9CC;
}



.section {
    min-height: 100dvh;
    padding: 60px 10%;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

#home {
    display: flex;
    justify-content: center;
    align-items: center;
}

#cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    background: linear-gradient(135deg, hsl(182, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

#typed-text {
    font-weight: bold;
    background: linear-gradient(135deg, hsl(182, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Font Awesome Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.glass-social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.glass-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(10px);
    /* background: rgba(255, 255, 255, 0.1); */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.glass-icon:hover i.fa-github {
    color: #000000;
}

.glass-icon:hover i.fa-linkedin-in {
    color: #0077b5;
}

.glass-icon:hover i.fa-envelope {
    color: #c71610;
}

@media (max-width: 600px) {
    .glass-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .glass-social-icons {
        gap: 20px;
    }
}

.glass-icon {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


.section .model-data {
    max-width: 50%;
    min-width: 300px;
    padding: 5px;
}

.section .model-data h1 {
    font-size: 3.5rem;
}

.section .model-data h2 {
    font-size: 2.5rem;
}

.section .model-data p {
    font-weight: 500;
    color: rgb(194, 193, 193);
    font-size: large;
}

#about {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 10%;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.about-left,
.about-right {
    flex: 1;
    min-width: 300px;
}

h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.gradient {
    background: linear-gradient(135deg, hsl(182, 89%, 54%), hsl(263, 85%, 57%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    background: #3a0ca3;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: #4361ee;
    transform: scale(1.05);
}

.about-right h1 {
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.skill {
    background: #111827;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(100, 100, 255, 0.2);
    transition: 0.3s;
}

.skill i {
    font-size: 20px;
}

.skill:hover {
    background: #1f2937;
    transform: translateY(-2px);
}


.timeline-section {
    padding: 60px 20px;
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.timeline-container {
    position: relative;
    padding: 10px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #5d2ef7;
}

.timeline-item {
    padding: 20px;
    width: 50%;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #7d00e3;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.right::before {
    left: -8px;
}

.timeline-item .content {
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #569cf8a3;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.timeline-item .content h3 {
    margin: 0 0 10px;
}

.timeline-item .content .date {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {

    .timeline-item,
    .timeline-item.right,
    .timeline-item.left {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item::before {
        left: 10px;
        right: auto;
    }

    .timeline-container::after {
        left: 20px;
    }
}