:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(124, 58, 237, 0.2);
    --glass-blur: blur(12px);
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Roboto Mono', monospace;
    
    /* Layout */
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Three.js Background Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Behind everything */
    pointer-events: none; /* Let clicks pass through */
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

/* Glassmorphism Card System */
.glass-card {
    --rx: 0deg;
    --ry: 0deg;
    --ty: 0px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-card.is-hovered {
    --ty: -8px;
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 25px 50px -12px rgba(124, 58, 237, 0.5);
}

.card-content, .icon-box, .hobby-card i, .hobby-card span {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.glass-card.is-hovered .card-content {
    transform: translateZ(50px);
}

.glass-card.is-hovered .icon-box {
    transform: translateZ(40px);
}

.glass-card.is-hovered i {
    transform: translateZ(30px);
}

.glass-card.is-hovered span {
    transform: translateZ(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 15px -3px rgba(124, 58, 237, 0.5);
    border: none;
}

.btn-primary:hover {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 10px 25px -5px rgba(168, 85, 247, 0.7);
    transform: translateY(-3px) scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px -3px rgba(124, 58, 237, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(10, 10, 15, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-avatar {
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(168, 85, 247, 0.6);
    padding: 4px;
    background: var(--bg-dark);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
    animation: pulse-ring 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(168, 85, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.glitch-text {
    position: relative;
    color: transparent;
    background: linear-gradient(110deg, #a855f7 0%, #7c3aed 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-bio {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

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

.social-links-hero a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links-hero a:hover {
    color: var(--accent-secondary);
    transform: translateY(-3px);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-project {
    grid-column: span 2;
}

.project-kicker {
    color: var(--accent-secondary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    margin-top: 1.5rem;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--accent-secondary);
}

.card-action {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.25rem;
}

/* Skills */
.skill-category {
    margin-bottom: 2.5rem;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags.small span {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.skill-tags span {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.glow-tags span:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

/* Credentials */
.section-intro {
    color: var(--text-secondary);
    margin: -1.5rem 0 2rem;
}

.certification-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.certification-group {
    padding: 1.75rem;
}

.certification-group h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.certification-group h3 i {
    color: var(--accent-secondary);
}

.credential-list {
    list-style: none;
}

.credential-list li + li {
    border-top: 1px solid var(--glass-border);
}

.credential-list a {
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.credential-list a::after {
    color: var(--accent-secondary);
    content: 'Verify credential ↗';
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.credential-list a:hover {
    color: var(--accent-secondary);
}

.credential-list span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* Education Section Re-design */
.edu-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 850px;
    margin: 0 auto;
    padding-left: 2rem;
}

.edu-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 21px; /* Centers with modern dot */
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(124, 58, 237, 0.2) 30%, transparent 100%);
    z-index: 0;
}

.edu-item {
    position: relative;
    z-index: 1;
}

.edu-dot {
    position: absolute;
    left: -29px; /* Placed exactly on the line */
    top: 36px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-secondary);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.edu-card {
    position: relative;
    padding: 2rem 2.5rem;
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.edu-item:hover .edu-card {
    border-left-color: var(--accent-primary);
    transform: translateX(10px);
    box-shadow: -5px 10px 30px rgba(124, 58, 237, 0.15);
}

/* Light up the dot perfectly when hovering on the card */
.edu-item:hover .edu-dot {
    background-color: var(--accent-primary);
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8), 0 0 10px var(--text-primary) inset;
    transform: scale(1.3);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.edu-degree {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.edu-year {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    background: rgba(168, 85, 247, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.edu-year-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-ring {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981; /* bright green */
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-green {
    to {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.edu-institute {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.edu-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.edu-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 600px) {
    .edu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .edu-card {
        padding: 1.5rem;
    }
}

/* Two Column Section Layout */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 6rem auto;
}

.half-section {
    padding: 0;
}

/* Achievements */
.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icon-box {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.achievement-list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.achievement-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Hobbies */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.hobby-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: default;
}

.hobby-card i {
    font-size: 2rem;
    color: var(--accent-secondary);
}

.hobby-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact */
.contact-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtext {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-pill:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), translate 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    translate: 0 0;
}

/* Responsive */
@media (max-width: 900px) {
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .featured-project {
        grid-column: auto;
    }

    .certification-groups {
        grid-template-columns: 1fr;
    }
}

/* Theme Toggle Wrapper */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .theme-switch-wrapper {
        margin-top: 1rem;
        width: 100%;
    }
}

/* From Uiverse.io by RiccardoRapelli */ 
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch #toggle-switch {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  z-index: 0;
  overflow: hidden;
}

.sun-moon {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: yellow;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

#toggle-switch:checked + .slider {
  background-color: black;
}

#toggle-switch:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

#toggle-switch:checked + .slider .sun-moon {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: white;
  -webkit-animation: rotate-center 0.6s ease-in-out both;
  animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
  opacity: 0;
  transition: 0.4s;
  fill: gray;
}

#toggle-switch:checked + .slider .sun-moon .moon-dot {
  opacity: 1;
}

.slider.round {
  border-radius: 34px;
}

.slider.round .sun-moon {
  border-radius: 50%;
}

#moon-dot-1 {
  left: 10px;
  top: 3px;
  position: absolute;
  width: 6px;
  height: 6px;
  z-index: 4;
}

#moon-dot-2 {
  left: 2px;
  top: 10px;
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 4;
}

#moon-dot-3 {
  left: 16px;
  top: 18px;
  position: absolute;
  width: 3px;
  height: 3px;
  z-index: 4;
}

#light-ray-1 {
  left: -8px;
  top: -8px;
  position: absolute;
  width: 43px;
  height: 43px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-2 {
  left: -50%;
  top: -50%;
  position: absolute;
  width: 55px;
  height: 55px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-3 {
  left: -18px;
  top: -18px;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

.cloud-light {
  position: absolute;
  fill: #eee;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.cloud-dark {
  position: absolute;
  fill: #ccc;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

#cloud-1 {
  left: 30px;
  top: 15px;
  width: 40px;
}

#cloud-2 {
  left: 44px;
  top: 10px;
  width: 20px;
}

#cloud-3 {
  left: 18px;
  top: 24px;
  width: 30px;
}

#cloud-4 {
  left: 36px;
  top: 18px;
  width: 40px;
}

#cloud-5 {
  left: 48px;
  top: 14px;
  width: 20px;
}

#cloud-6 {
  left: 22px;
  top: 26px;
  width: 30px;
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(4px);
  }

  80% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0px);
  }
}

.stars {
  transform: translateY(-32px);
  opacity: 0;
  transition: 0.4s;
}

.star {
  fill: white;
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  animation-name: star-twinkle;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

#toggle-switch:checked + .slider .stars {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

#star-1 {
  width: 20px;
  top: 2px;
  left: 3px;
  animation-delay: 0.3s;
}

#star-2 {
  width: 6px;
  top: 16px;
  left: 3px;
}

#star-3 {
  width: 12px;
  top: 20px;
  left: 10px;
  animation-delay: 0.6s;
}

#star-4 {
  width: 18px;
  top: 0px;
  left: 18px;
  animation-delay: 1.3s;
}

@keyframes star-twinkle {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-dark: #f0f0f5;
    --accent-primary: #6d28d9;
    --accent-secondary: #9333ea;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(109, 40, 217, 0.2);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(240, 240, 245, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(circle, rgba(147, 51, 234, 0.12) 0%, rgba(240, 240, 245, 0) 70%);
}

[data-theme="light"] .hamburger .bar {
    background-color: var(--text-primary);
}

[data-theme="light"] .project-card,
[data-theme="light"] .achievement-list li,
[data-theme="light"] .hobby-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .skills-container,/* Notice: I'll replace [data-theme="light"] .timeline-item with .edu-card */
[data-theme="light"] .edu-card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .social-pill {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-outline {
    box-shadow: 0 4px 15px -3px rgba(109, 40, 217, 0.2);
}

[data-theme="light"] footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(240, 240, 245, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}
