:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --accent-color: #8B5CF6;
    --background-color: #0F172A;
    --text-color: #FFFFFF;
    --card-background: #1E293B;
}

* {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1E293B 0%, #0F172A 100%);
    z-index: -2;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

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

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-hover:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.animate-gradient {
    background: linear-gradient(270deg, var(--primary-color), var(--accent-color));
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(0);
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 1000;
}

.tech-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-post {
    position: relative;
    overflow: hidden;
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}
#mobile-menu {
position: fixed;
top: 0;
right: -100%;
width: 100%;
height: 100%;
background: rgba(15, 23, 42, 0.98);
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 1000;
transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
right: 0;
}

.menu-toggle {
display: none;
font-size: 1.5rem;
cursor: pointer;
z-index: 1100;
transition: transform 0.3s ease;
}

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

.desktop-menu {
    display: none;
}
}

.mobile-nav-link {
font-size: 1.5rem;
margin: 1rem 0;
position: relative;
transition: transform 0.3s ease;
}

.mobile-nav-link:hover {
transform: translateX(10px);
}

#close-menu {
position: absolute;
top: 2rem;
right: 2rem;
font-size: 1.5rem;
cursor: pointer;
transition: transform 0.3s ease;
}

#close-menu:hover {
transform: rotate(90deg);
}

.menu-item {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.active .menu-item {
opacity: 1;
transform: translateY(0);
}
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

.mobile-menu-active {
    right: 0 !important;
}
.insight-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

:root {
    --gradient-bg: linear-gradient(135deg, #1a1c2c 0%, #13151d 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --blue-gradient: linear-gradient(to right, #3b82f6, #1d4ed8);
    --purple-gradient: linear-gradient(to right, #8b5cf6, #6d28d9);
    --text-gradient: linear-gradient(to right, #60a5fa, #a78bfa, #f472b6);
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--gradient-bg);
    color: white;
    min-height: 100vh;
}

#quiz {
    padding: 5rem 1rem;
}

.container {
    max-width: 48rem;
    margin: 0 auto;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.topic-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: 200% auto;
}

.topic-btn[data-topic="ai"] {
    background-image: linear-gradient(to right, #3b82f6, #1d4ed8, #3b82f6);
}

.topic-btn[data-topic="web3"] {
    background-image: linear-gradient(to right, #8b5cf6, #6d28d9, #8b5cf6);
}

.topic-btn[data-topic="cloud"] {
    background-image: linear-gradient(to right, #10b981, #059669, #10b981);
}

.topic-btn[data-topic="security"] {
    background-image: linear-gradient(to right, #f59e0b, #d97706, #f59e0b);
}

.topic-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
}

.option-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--glass-bg);
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover:not(.selected):not(.correct):not(.incorrect) {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.option-btn.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
}

.option-btn.correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.option-btn.incorrect {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

#next-btn {
    background: var(--blue-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#quiz-results {
    text-align: center;
}

#score-display {
    font-size: 4rem;
    font-weight: bold;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 1.5rem 0;
}

.hidden {
    display: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-up {
    animation: scaleUp 0.3s ease-out;
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}
.lg-person{
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

:root {
    --light-background: #f8fafc;
    --light-text: #1e293b;
    --light-card-bg: #ffffff;
    --light-border: #e2e8f0;
  }
  
  .light-theme {
    --background-color: var(--light-background);
    --text-color: var(--light-text);
    --card-background: var(--light-card-bg);
  }
  
  .theme-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
  }
  
  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .theme-toggle i {
    font-size: 1.25rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
  }
  
  .theme-toggle .light-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
  }
  
  .light-theme .theme-toggle .light-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
  }
  
  .light-theme .theme-toggle .dark-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  
  /* Light theme specific modifications */
  .light-theme {
    color: var(--light-text);
  }
  
  .light-theme .glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--light-border);
  }
  
  .light-theme .parallax-bg {
    background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #e2e8f0 100%);
  }
  
  .light-theme .nav-link {
    color: var(--light-text);
  }
  
  .light-theme .text-gray-300 {
    color: #475569;
  }
  
  .light-theme .text-gray-400 {
    color: #64748b;
  }