:root {
    --primary-color: #C0C0C0;
    --secondary-color: #1A1A1A;
    --accent-color: #8A92B2;
    --text-color: #FFFFFF;
    --text-secondary: #A0A0A0;
    --bg-main: rgba(255, 255, 255, 0.05);
    --bg-alt: rgba(255, 255, 255, 0.02);
    --border: rgba(192, 192, 192, 0.2);
    --accent: var(--accent-color);
    --text-primary: var(--text-color);
    --accent-dark: #737a95;
    --gradient-silver: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --hover-transform: translateY(-5px) scale(1.02);
    /* NEW: Enhanced shadows and glows */
    --glow-silver: 0 0 20px rgba(192, 192, 192, 0.3);
    --card-hover-shadow: 0 8px 30px rgba(138, 146, 178, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* NEW: Subtle background pattern */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(138, 146, 178, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 50%);
}

/* Loading Screen - Enhanced */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* NEW: Glow effect */
    box-shadow: var(--glow-silver);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation - Enhanced */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 0;
    /* NEW: Bottom border glow */
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    /* NEW: Subtle animation */
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: var(--glow-silver);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    position: relative;
    /* NEW: Smoother hover effect */
}

/* NEW: Underline animation on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-silver);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section - Enhanced */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    /* NEW: Subtle entrance animation */
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* NEW: Text glow */
    filter: drop-shadow(0 0 30px rgba(192, 192, 192, 0.3));
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    /* NEW: Delayed animation */
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero h2:nth-of-type(2) {
    animation-delay: 0.3s;
}

/* Section Headers - Enhanced */
.section-content > h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-content > h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-silver);
    /* NEW: Animated underline */
    animation: expandWidth 0.6s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Sections - Enhanced */
section {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
    /* NEW: Scroll-triggered fade in (add JS for this) */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSection 0.8s ease-out forwards;
}

@keyframes fadeInSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-silver);
    opacity: 0.2;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Section - Enhanced */
.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    /* NEW: Hover effect */
    transition: all 0.3s ease;
}

.about-text:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-skills, .about-coursework {
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    /* NEW: Hover effect */
    transition: all 0.3s ease;
}

.about-skills:hover, .about-coursework:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
}

.about-skills h3, .about-coursework h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.about-skills ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-skills li {
    margin: 0;
    padding: 0.7rem 1.2rem;
    background: var(--gradient-silver);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    /* NEW: Staggered entrance animation */
    animation: slideInLeft 0.5s ease-out backwards;
}

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

/* NEW: Stagger effect for each skill */
.about-skills li:nth-child(1) { animation-delay: 0.1s; }
.about-skills li:nth-child(2) { animation-delay: 0.2s; }
.about-skills li:nth-child(3) { animation-delay: 0.3s; }
.about-skills li:nth-child(4) { animation-delay: 0.4s; }
.about-skills li:nth-child(5) { animation-delay: 0.5s; }
.about-skills li:nth-child(6) { animation-delay: 0.6s; }
.about-skills li:nth-child(7) { animation-delay: 0.7s; }

.about-skills li:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 146, 178, 0.5);
}

.coursework-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.coursework-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.coursework-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coursework-column li {
    margin: 0;
    padding: 0.7rem 1.2rem;
    background: var(--gradient-silver);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.coursework-column li:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 146, 178, 0.5);
}

/* Projects Section - Enhanced */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    text-align: center;
}

.project-card.full-width {
    grid-column: 1 / -1;
}

/* NEW: Animated gradient border on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-hover-shadow), var(--glow-silver);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card h3 {
    color: var(--primary-color);
    margin: 3rem 0 1.2rem 0;
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.project-card:hover h3 {
    text-shadow: var(--glow-silver);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.project-card ul {
    list-style: none;
    margin: 0 auto 1.5rem auto;
    text-align: left;
    max-width: 500px;
    padding: 0 1rem;
}

.project-card ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
    transition: all 0.2s ease;
}

.project-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.2s ease;
}

/* NEW: Bullet point hover effect */
.project-card:hover ul li:before {
    transform: scale(1.5);
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    background: var(--bg-alt);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    white-space: nowrap;
    text-align: center;
    /* NEW: Subtle pulse animation */
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(192, 192, 192, 0.4);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(192, 192, 192, 0);
    }
}

.status-badge:not(.completed) {
    background: var(--accent);
    color: white;
    border: none;
}

.status-badge.completed {
    animation: none;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

/* NEW: Sliding background effect */
.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-silver);
    transition: left 0.3s ease;
    z-index: -1;
}

.project-link:hover::before {
    left: 0;
}

.project-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

/* Resume Section - Enhanced */
.resume-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.resume-card {
    background: var(--bg-main);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.resume-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
}

.resume-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resume-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.resume-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.resume-card li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.stat {
    text-align: left;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* NEW: Count-up animation effect */
    animation: numberPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes numberPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.education-separator {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 2px solid var(--border);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* NEW: Shimmer effect on hover */
.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::after {
    left: 100%;
}

.download-btn:hover {
    background: var(--gradient-silver);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

/* Contact Section - Enhanced */
.contact-form {
    background: var(--bg-main);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    width: 100%;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* NEW: Focus effects */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 200px;
    resize: none;
}

.contact-form button {
    display: block;
    margin: 0 auto;
    background: var(--bg-alt);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-silver);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.contact-form button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form button:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

.contact-info {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 0.5rem;
    position: relative;
}

/* NEW: Underline animation */
.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-silver);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: #fff;
    text-shadow: var(--glow-silver);
}

/* Connect Section - Enhanced */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.social-card {
    background: var(--bg-main);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.social-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 5px;
    background: var(--gradient-silver);
    transition: all 0.3s ease;
}

.social-card:hover .profile-image {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--glow-silver);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.success-message {
    display: none;
    background: var(--gradient-silver);
    color: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Footer - Enhanced */
footer {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

/* NEW: Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-silver);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Add this to your existing mobile responsive section */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-grid,
    .projects-grid,
    .resume-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem 1rem;
    }
    
    .coursework-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* NEW: Fix card overflow on mobile */
    .about-skills,
    .about-coursework {
        padding: 1rem;
        width: 100%;
        overflow: hidden;
    }
    
    /* NEW: Make skill/coursework bubbles wrap text */
    .about-skills li,
    .coursework-column li {
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    /* NEW: Make divider text smaller on mobile */
    .divider span {
        font-size: 1.2rem;
        padding: 0 1rem;
        letter-spacing: 0.1em;
    }
    
    /* NEW: Adjust section padding on mobile */
    section {
        padding: 4rem 1rem;
    }
    
    /* NEW: Ensure section content doesn't overflow */
    .section-content {
        padding: 0 0.5rem;
        max-width: 100%;
    }
}

/* NEW COMPONENTS */

/* 1) Glassy Floating Info Pills */
.pill {
    display: inline-block;
    padding: .6rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--primary-color);
    backdrop-filter: blur(12px);
    margin: .4rem;
    transition: .3s ease;
    box-shadow: 0 0 12px rgba(192,192,192,0.08);
}

.pill:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 18px rgba(192,192,192,0.22);
    transform: var(--hover-transform);
}

/* 2) Neon Divider w/ Centered Label */
/* Divider styling - works consistently across all sections */
.divider {
    position: relative;
    text-align: center;
    margin: 3rem 0;
    overflow: visible;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(192, 192, 192, 0.3) 20%, 
        rgba(192, 192, 192, 0.6) 50%, 
        rgba(192, 192, 192, 0.3) 80%, 
        transparent 100%
    );
    border-radius: 999px;
    z-index: 0;
}

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 2rem;
    background: #0a0a0f;
    color: rgba(192, 192, 192, 0.9);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    border-radius: 999px;
    z-index: 1;
}
/* 3) Hover-Reactive Metallic Button (Micro-Tilt) */
.micro-btn {
    display: inline-block;
    padding: .8rem 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--primary-color);
    text-decoration: none;
    transition: .25s ease;
    perspective: 800px;
}

.micro-btn:hover {
    transform: translateY(-4px) rotateX(6deg);
    border-color: var(--primary-color);
    box-shadow: var(--card-hover-shadow);
}

/* 4) Animated Gradient Line Under Titles (Fancier Version) */
.fancy-underline {
    position: relative;
    display: inline-block;
}

.fancy-underline::after {
    content: "";
    position: absolute;
    left: 0; 
    bottom: -6px;
    width: 0; 
    height: 3px;
    background: var(--gradient-silver);
    animation: slideIn 0.7s forwards;
}

@keyframes slideIn {
    to { width: 100%; }
}

/* 5) Metallic "Avatar-Card" Hover Component */
.avatar-card {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 15px;
    gap: 1.2rem;
    transition: .3s ease;
    box-shadow: var(--card-shadow);
}

.avatar-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.avatar-card img {
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-silver);
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.avatar-card .info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.avatar-card .info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 6) Floating Hologram Tile */
.holo-tile {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .4s ease;
}

.holo-tile::before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        var(--primary-color),
        var(--accent-color),
        transparent 30%
    );
    opacity: 0;
    transition: .4s ease;
    pointer-events: none;
}

.holo-tile:hover::before {
    opacity: .15;
    transform: rotate(40deg);
}

.holo-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-hover-shadow), var(--glow-silver);
}

.holo-tile h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.holo-tile p {
    color: var(--text-secondary);
}


/* Pills container for skills display */
.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}