/* Reset and Base Styles */
:root {
    /* Light mode colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-primary: #333333;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --header-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Dark mode colors */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #818cf8;
    --accent-secondary: #a78bfa;
    --border-color: #334155;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --header-gradient: linear-gradient(135deg, #1e293b 0%, #374151 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.container {
    max-width: 100%;
    margin: 0;
    background: var(--bg-primary);
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: white;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.theme-toggle-btn i {
    font-size: 1.2rem;
}

/* Header Styles */
.header {
    background: var(--header-gradient);
    color: white;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.profile-section {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
    position: relative;
}

.profile-image:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #10b981, #f59e0b);
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover::before {
    opacity: 1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    color: white;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-out;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-origin: left center;
}

.name:hover {
    font-size: 3rem;
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform-origin: left center;
}

.title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: slideInRight 1s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #6366f1);
    animation: typewriter 2s ease-out 1s forwards;
}

.summary {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 600px;
    animation: slideInRight 1s ease-out 0.4s both;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.95;
    animation: slideInLeft 0.8s ease-out var(--delay, 0s) both;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.contact-item:nth-child(1) { --delay: 0.6s; }
.contact-item:nth-child(2) { --delay: 0.7s; }
.contact-item:nth-child(3) { --delay: 0.8s; }
.contact-item:nth-child(4) { --delay: 0.9s; }
.contact-item:nth-child(5) { --delay: 1s; }

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    animation: pulse 1s ease-in-out infinite;
}

.contact-item i {
    width: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

/* Navigation Styles */
.nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    padding: 0 2rem;
    overflow-x: auto;
    margin: 0;
    height: 100%;
    align-items: center;
}

.nav li {
    flex-shrink: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Main Content Styles */
.main-content {
    padding: 2rem 2rem 2rem;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.section {
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    transition: all 0.5s ease;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    scroll-margin-top: 140px;
    position: relative;
}

.section:nth-child(1) { 
    animation-delay: 0.1s; 
    margin-top: 1rem;
}
.section:nth-child(2) { animation-delay: 0.3s; }
.section:nth-child(3) { animation-delay: 0.5s; }
.section:nth-child(4) { animation-delay: 0.7s; }
.section:nth-child(5) { animation-delay: 0.9s; }

.section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Enhanced Animations and Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    animation: slideInLeft 0.8s ease-out;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    animation: typewriter 1.5s ease-out 0.5s forwards;
}

.section-title i {
    color: var(--accent-primary);
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.section-title:hover i {
    color: var(--accent-secondary);
    transform: rotate(360deg) scale(1.2);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.company {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.achievements {
    list-style: none;
    padding: 0;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

/* Education Styles */
.education-grid {
    display: grid;
    gap: 1.5rem;
}

.education-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-secondary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.education-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.year {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.institution {
    color: var(--accent-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.details {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Skills Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-top: 4px solid #10b981;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.skill-category h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.skill-tag {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.5s ease-out var(--delay, 0s) both;
}

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

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: var(--shadow-medium);
    animation: pulse 1s ease-in-out infinite;
}

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

.project-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border-top: 4px solid var(--accent-primary);
    transition: all 0.5s ease;
    animation: scaleIn 0.6s ease-out var(--delay, 0s) both;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.project-card:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.project-card:nth-child(1) { --delay: 0.1s; }
.project-card:nth-child(2) { --delay: 0.3s; }
.project-card:nth-child(3) { --delay: 0.5s; }

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-medium);
    border-top-color: var(--accent-secondary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-links a {
    color: var(--accent-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: var(--accent-secondary);
    transform: scale(1.2);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Certifications Styles */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.cert-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.cert-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cert-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.cert-issuer {
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.cert-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--accent-primary);
    background: var(--bg-primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .nav ul {
        padding: 0 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 1rem 1rem 1rem;
        margin-top: 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -1.25rem;
    }
    
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skills-grid,
    .projects-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0.75rem;
    }
    
    .main-content {
        padding: 0 0.75rem 0.75rem;
    }
    
    .timeline-content,
    .education-item,
    .skill-category,
    .project-card,
    .cert-item {
        padding: 1rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cert-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        font-size: 12px;
    }
    
    .container {
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }
    
    .header {
        background: #6366f1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .nav {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        margin: 1rem 0;
    }
    
    .timeline-item,
    .project-card,
    .education-item {
        page-break-inside: avoid;
    }
    
    .footer-links {
        display: none;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 140px;
}

/* Ensure sections have proper spacing from sticky nav */
.section {
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    transition: all 0.5s ease;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    scroll-margin-top: 140px;
    position: relative;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}
