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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e6f1ff;
    background-color: #0a192f;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, #64ffda 0%, transparent 25%),
        radial-gradient(circle at 100% 100%, #64ffda 0%, transparent 25%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    position: relative;
    z-index: 1;
}

.container::-webkit-scrollbar {
    display: none;
}

.page {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, #64ffda 0%, transparent 25%),
        radial-gradient(circle at 100% 100%, #64ffda 0%, transparent 25%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 15%, #64ffda 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, #64ffda 0%, transparent 40%),
        radial-gradient(circle at 45% 60%, #64ffda 0%, transparent 25%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 75% 25%, #64ffda 0%, transparent 30%),
        radial-gradient(circle at 15% 85%, #64ffda 0%, transparent 35%),
        radial-gradient(circle at 60% 40%, #64ffda 0%, transparent 20%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 35% 10%, #64ffda 0%, transparent 45%),
        radial-gradient(circle at 65% 90%, #64ffda 0%, transparent 40%),
        radial-gradient(circle at 90% 30%, #64ffda 0%, transparent 25%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 35%, #64ffda 0%, transparent 35%),
        radial-gradient(circle at 80% 65%, #64ffda 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, #64ffda 0%, transparent 20%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, #64ffda 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, #64ffda 0%, transparent 35%),
        radial-gradient(circle at 40% 80%, #64ffda 0%, transparent 30%),
        radial-gradient(circle at 85% 15%, #64ffda 0%, transparent 25%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#about {
    background-color: #0a192f;
}

#skills {
    background-color: #112240;
}

#experience {
    background-color: #0a192f;
}

#projects {
    background-color: #112240;
}

#contact {
    background-color: #0a192f;
}

h1 {
    font-size: 2.5rem;
    color: #e6f1ff;
}

h2 {
    font-size: 1.5rem;
    color: #e6f1ff;
}

p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #8892b0;
}

.navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navigation a {
    text-decoration: none;
    color: #8892b0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #64ffda;
}

.nav-button {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0);
    border: 1px solid #64ffda;
    color: #64ffda;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-button:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateX(-50%) scale(1.1);
    animation-play-state: paused;
}

.top-button {
    top: 20px;
    animation: bounceTop 4s ease-in-out infinite;
}

.bottom-button {
    bottom: 20px;
    animation: bounceBottom 4s ease-in-out infinite;
}

.highlighted {
    color: #64ffda;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.skill-category {
    text-align: center;
}

.skill-category h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-chip {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #64ffda;
    transition: all 0.3s ease;
}

.skill-chip:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

/* Contact Form Styles */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

#contact input,
#contact textarea {
    background-color: #112240;
    border: 1px solid #64ffda;
    border-radius: 4px;
    padding: 0.8rem;
    color: #e6f1ff;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: #8892b0;
}

#contact button {
    background-color: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-end;
}

#contact button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Experience Timeline Styles */
.experience-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    overflow-y: auto;
    max-height: 70vh;
    scrollbar-width: thin;
    scrollbar-color: #64ffda #0a192f;
}


.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #64ffda;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: #64ffda;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 30px);
    padding: 1.5rem;
    background-color: #112240;
    border-radius: 8px;
    border: 1px solid #64ffda;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.timeline-date {
    color: #64ffda;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: #e6f1ff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #8892b0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-type: none;
    padding-left: 0;
}

.timeline-content ul li {
    color: #8892b0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content ul li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: #64ffda;
}

/* Footer Styles */
.footer {
    margin-top: 3rem;
    text-align: center;
}

.footer p {
    color: #8892b0;
    font-size: 0.9rem;
}

.footer .highlighted {
    color: #64ffda;
}

/* Remove link styling from company name */
.timeline-content h4 a {
    color: inherit;
    text-decoration: none;
}

.timeline-content h4 a:hover {
    color: #64ffda;
}

/* Projects Section Styles */
.projects-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 1rem 0 1rem;
    overflow-y: auto;
    max-height: 70vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    scrollbar-width: thin;
    scrollbar-color: #64ffda transparent;
}


.project-card {
    background-color: #112240;
    border-radius: 8px;
    border: 1px solid #64ffda;
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.project-content h3 {
    color: #e6f1ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.project-description {
    color: #8892b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.project-description p {
    margin: 0;
    width: 100%;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #64ffda;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.project-links a {
    color: #e6f1ff;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #64ffda;
}

.project-links i {
    font-size: 1rem;
}

/* Navigation Dots Styles */
.nav-dots {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
    padding-right: 2rem;
}

.nav-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #64ffda;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #64ffda;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-dot:hover::before,
.nav-dot:hover .dot-label,
.nav-dot .dot-label:hover {
    opacity: 1;
}

.nav-dot.active::before {
    opacity: 1;
    width: 8px;
    height: 8px;
}

.nav-dot:hover,
.nav-dot.active {
    border-color: #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.nav-dot.active {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.7);
}

.dot-label {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8892b0;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
    cursor: pointer;
}

.nav-dots:hover .dot-label,
.dot-label:hover {
    opacity: 1;
    left: 2.5rem;
}

.nav-dot:hover .dot-label,
.dot-label:hover {
    color: #64ffda;
}

.nav-dot.active .dot-label {
    color: #64ffda;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .projects-container {
        max-width: 900px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .projects-container {
        max-width: 600px;
        grid-template-columns: 1fr;
    }

    .experience-container {
        max-width: 600px;
    }

    .timeline-content {
        width: calc(100% - 30px);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 30px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .navigation {
        display: none;
    }

    .nav-dots {
        left: 1rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .nav-dot::before {
        width: 4px;
        height: 4px;
    }
    
    .dot-label {
        display: none;
    }

    .burger-menu {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        cursor: pointer;
        padding: 10px;
        color: #8892b0;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 200px;
        height: 100vh;
        background-color: #112240;
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 60px 15px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
    }

    .mobile-nav li {
        margin: 15px 0;
    }

    .mobile-nav a {
        color: #8892b0;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        display: block;
        padding: 5px 0;
    }

    .mobile-nav a:hover {
        color: #64ffda;
    }

    .mobile-nav a.active {
        color: #64ffda;
        font-weight: 600;
    }

    .social-links {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .social-links a {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #8892b0;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 0.9rem;
    }

    .social-links a:hover {
        color: #64ffda;
    }

    .social-links i {
        font-size: 1.2rem;
    }

    .skills-container {
        padding: 0 0.5rem;
    }

    .skill-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    #contact form {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .page {
        padding: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    .timeline-content ul li {
        font-size: 0.9rem;
    }
}

.burger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    background-color: #112240;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 60px 15px 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .mobile-nav {
        display: block;
    }
}

@keyframes bounceTop {
    0%, 20%, 100% {
        transform: translateX(-50%) translateY(10px);
    }
    10% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounceBottom {
    0%, 20%, 100% {
        transform: translateX(-50%) translateY(-10px);
    }
    10% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Remove unused classes */
.nav-link {
    display: none;
}