* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
    position: relative;
    /* Removed: cursor: none; - Restores default cursor */
}

body.light {
    background: linear-gradient(135deg, #f0f0f0, #d9d9d9);
    color: #222;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Removed all .cursor styles since we’re using the real cursor */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    transition: background 0.5s ease;
    z-index: 1000;
    border-radius: 0;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    animation: float 10s infinite linear;
}

body.light header {
    background: linear-gradient(135deg, #f0f0f0, #d9d9d9);
}

body.light header::before {
    background: radial-gradient(circle, rgba(51, 51, 51, 0.05) 1px, transparent 1px);
}

header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, #00ffcc, #ff00cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
}

.toggle {
    width: 45px;
    height: 22px;
    background: linear-gradient(90deg, #00ffcc, #ff00cc);
    border-radius: 22px;
    position: relative;
    cursor: pointer; /* Ensures toggle is clickable with visible cursor */
    z-index: 1;
}

.toggle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.4s ease;
}

body.light .toggle::after {
    transform: translateX(23px);
    background: #333;
}

/* Home Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

#home img {
    width: 220px;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 204, 0.5);
    animation: floatImage 4s infinite ease-in-out;
}

.intro-text {
    text-align: left;
    max-width: 500px;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00ffcc, #ff00cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Timeline */
#timeline {
    padding: 60px 0;
    position: relative;
}

#timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #00ffcc, transparent);
    z-index: 0;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 20px 25px;
    margin: 30px 0 30px 70px;
    border-radius: 12px;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
    z-index: 1;
    border-left: 3px solid #00ffcc;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #00ffcc;
    border-radius: 50%;
    left: -42px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 12px #00ffcc;
    z-index: 2;
}

/* Projects */
#projects {
    padding: 60px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Personal Note */
#personal-note {
    padding: 60px 0;
    text-align: center;
}

.note-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

/* Challenges */
#challenges {
    padding: 60px 0;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    margin: 25px 0;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}

.challenge-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Future Plans */
#future {
    padding: 60px 20px;
    background: linear-gradient(45deg, #00ffcc, #ff00cc);
    position: relative;
    color: #fff;
    border-radius: 15px;
}

#future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1200x600?text=Future+BG') no-repeat center/cover;
    opacity: 0.15;
    z-index: -1;
    animation: float 15s infinite linear;
}

/* Resources */
#resources {
    padding: 60px 0;
}

.resource-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 25px;
    margin: 15px 0;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.7s ease;
}

.resource-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Quote */
.quote {
    text-align: center;
    padding: 30px;
    font-style: italic;
    font-size: 1.3rem;
    color: #00ffcc;
    animation: fadeIn 2s ease forwards;
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        text-align: center;
    }

    #home img {
        width: 160px;
    }

    h2 {
        font-size: 2rem;
    }

    #timeline::before {
        left: 20px;
    }

    .timeline-item {
        margin-left: 40px;
    }

    .timeline-item::before {
        left: -28px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }
}   
a{
    text-decoration: none;
    color: #00ffcc;
    transition: color 0.4s ease;
}
ol{
    margin-left: 20px;
}
strong{
    color: #ff1100;
    font-size: 1.5rem;
}
#white{
    color: #fff;
}
#whiteP{
    font-size: 1.5rem;
}
