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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-text);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00b8e6;
}

/* Navigation Styles */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: var(--space-sm) var(--space-xl);
    background: rgba(10, 10, 10, 0.247);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    min-height: 70px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#name {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
    cursor: pointer;
}

#name:hover {
    transform: translateY(-1px);
}

.status-indicator {
    font-size: 0.75rem;
    color: #00ff88;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    padding-left: 1rem;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

#nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
}

#nav-links li {
    list-style: none;
    font-size: 1.25rem;
}

#nav-links .nav-icons {
    transform: scale(1.1);
}

#nav-links a {
    display: inline-block;
    text-decoration: none;
    /* color: var(--accent-text); */
    font-weight: 600;
    /* color: white; */
    background: linear-gradient(white, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease-in-out;
}

#nav-links a:hover {
    /* color: #ffffff; */
    transform: scale(1.1);
    transform: rotate(360deg);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

i {
    transition: all 0.3s ease-in-out;
}

i:hover {
    /* color: #FBBF24; */
    cursor: pointer;
    transform: scale(1.1);
}

#project-section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    /* width: 100%; */
    padding: var(--space-2xl) var(--space-xl);
    border: 0px solid #111827;
    border-radius: 10px;
    /* padding: 20px; */
    width: 90vw;
    /* margin: 10px auto; */
    height: auto;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
}

.challenge-title {
    font-size: 25px;
    font-weight: 700;
    color: #111827;
    padding: 10px 20px;
    background: #FBBF24;
    border-radius: 10px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
}


.project-title {
    font-size: 20px;
    font-weight: 700;
    /* color: #111827; */
}

.live-link {
    padding: 10px 20px;
    border: none;
    background-color: #FBBF24;
    color: #111827;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.live-link:hover {
    color: #ffffff;
    background: #111827;
}

.skills-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.skill-category {
    padding: var(--space-lg);
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.skill-header i {
    font-size: 1.75rem;
    color: var(--accent-text);
}

.skill-header h3 {
    font-size: 1.25rem;
    color: var(--primary-text);
    margin: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--accent-text);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-text);
}


/* Learning Projects Section */
.learning-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.learning-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.learning-card {
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
}

.learning-card::before,
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.3s ease;
}

.learning-card:hover,
.project-card:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.learning-card:hover::before,
.project-card:hover::before {
    left: 100%;
}

.learning-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.learning-card h3 {
    font-size: 1.25rem;
    color: var(--primary-text);
    margin: 0;
    position: relative;
    z-index: 1;
}

.learning-card p {
    color: var(--secondary-text);
    margin: 0;
    position: relative;
    z-index: 1;
}

.learning-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    position: relative;
    z-index: 1;
}

.learning-tags span {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(102, 126, 234, 1);
}

.learning-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
    width: fit-content;
}

.learning-link:hover {
    gap: var(--space-md);
    text-decoration: underline;
}

.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
}

@media (max-aspect-ratio: 16/9) {
    .back-vid {
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9) {
    .back-vid {
        width: 100%;
        height: auto;
    }
}

.gradient {
    background: linear-gradient(to right, #008baa, #7e42a7, #6070fd, #2a46ff, #0099ff, #008baa);
    /* background: linear-gradient(to right, #ff6b6b, #a77342, #ffd93d, #ffbf2a, #ff00a6, #ff6b6b); */
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}