:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --secondary: #10B981;
    --accent: #F59E0B;
    --text: #111827;
    --text-light: #6B7280;
    --bg: #F9FAFB;
    --bg-dark: #E5E7EB;
    --white: #FFFFFF;
    --black: #000000;
    --success: #10B981;
    --error: #EF4444;
}

[data-theme="dark"] {
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --text: #E5E7EB;
    --text-light: #9CA3AF;
    --bg: #111827;
    --bg-dark: #1F2937;
    --white: #1F2937;
    --black: #E5E7EB;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    --theme-color: #2563EB;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(249, 250, 251, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled[data-theme="dark"] {
    background-color: rgba(17, 24, 39, 0.95);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

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

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

#theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#theme-toggle:hover {
    transform: rotate(30deg);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    margin: 0 auto; /* Extra horizontal centering */
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .specialty {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease 0.4s forwards;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.terminal {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    font-family: 'Fira Code', monospace;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-header .dot.red {
    background-color: #FF5F56;
}

.terminal-header .dot.yellow {
    background-color: #FFBD2E;
}

.terminal-header .dot.green {
    background-color: #27C93F;
}

.terminal-header .title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.terminal-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terminal-body .prompt {
    color: #27C93F;
}

.terminal-body .command {
    color: white;
}

.terminal-body .output {
    color: rgba(255, 255, 255, 0.7);
}

.terminal-body .typing {
    color: white;
}

.terminal-body .cursor {
    animation: blink 1s infinite;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* About Section */
#about {
    padding: 6rem 0;
    background-color: var(--bg);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

.skills-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.skill-tag {
    position: absolute;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: float 6s infinite ease-in-out;
    opacity: 0;
}

.skill-tag:nth-child(1) {
    animation-delay: 0.5s;
}

.skill-tag:nth-child(2) {
    animation-delay: 1s;
}

.skill-tag:nth-child(3) {
    animation-delay: 1.5s;
}

.skill-tag:nth-child(4) {
    animation-delay: 2s;
}

.skill-tag:nth-child(5) {
    animation-delay: 2.5s;
}

.skill-tag:nth-child(6) {
    animation-delay: 3s;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.education, .certifications {
    margin-top: 2rem;
}

.education h3, .certifications h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.education-item, .certification-item {
    margin-bottom: 1.5rem;
}

.education-item h4, .certification-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.details {
    font-size: 0.95rem;
}

/* Experience Section */
#experience {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.timeline-content {
    position: relative;
    width: calc(50% - 2rem);
    padding: 1.5rem;
    background-color: var(--bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 2rem);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent var(--bg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent var(--bg) transparent transparent;
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    margin-left: 1rem;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Projects Section */

#projects {
    padding-top: 6rem;       /* Add space above */
    margin-top: 1rem;        /* Extra separation */
    position: relative;      /* For pseudo-elements */
    padding-bottom: 8rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg-dark);
}

.project-card.no-image {
    padding: 1.5rem;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.project-details {
    flex: 1;
}

.project-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.project-details p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-used span {
    font-size: 0.7rem;
    background-color: var(--bg-dark);
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

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

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: var(--bg-dark);
    color: var(--text);
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: var(--primary);
    color: white;
}

.project-links a i {
    font-size: 0.9rem;
}

#projects::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100px;
    height: 30%;
    background: linear-gradient(to top, var(--bg), transparent);
    margin: 3rem auto 0;
}

.fa-tasks {
    color: var(--primary);
    font-size: 2.5rem;
}

/* Skills Section */
#skills {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Skills Section (continued) */
.skill-category {
    margin-bottom: 2rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span:first-child {
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--text-light);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.tool-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    background-color: var(--bg);
}

.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.3rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    color: var(--text);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid var(--bg);
    border-radius: 5px;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--primary);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--bg-dark);
    padding: 0 5px;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: calc(50% + 1rem);
        width: calc(100% - 5rem);
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        border-width: 8px 16px 8px 0;
        border-color: transparent var(--bg) transparent transparent;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    #projects {
        padding-top: 4rem; /* Less space on mobile */
    }
    #projects::before {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .terminal {
        display: none;
    }
    
    .timeline-date {
        left: 2rem;
        transform: none;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
        width: calc(100% - 4rem);
        margin-left: 4rem;
    }
}

/* ========== Custom Memoji Styles ========== */
.memoji-container {
    position: relative;
    width: fit-content;
    margin: 0 auto 2rem;
}

.memoji-img {
    /* Base styling */
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: contain;
    
    /* Border and shadow */
    border: 4px solid var(--bg-dark);
    box-shadow: 
        0 0 0 6px rgba(33, 150, 243, 0.1),
        0 5px 25px rgba(0, 0, 0, 0.1);
    
    /* Animation */
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover effects */
.memoji-img:hover {
    transform: 
        scale(1.08) 
        rotate(5deg) 
        translateY(-5px);
    box-shadow: 
        0 0 0 8px rgba(33, 150, 243, 0.2),
        0 8px 35px rgba(0, 0, 0, 0.15);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.memoji-img.floating {
    animation: float 4s ease-in-out infinite;
}

/* Thank You Page Styles */
.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    text-align: center;
}

.thank-you-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.checkmark {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.thank-you-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.recent-work {
    margin-top: 4rem;
    max-width: 800px;
}

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

.project-pill {
    background: var(--bg-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: var(--text);
    transition: all 0.3s ease;
}

.project-pill:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Dark mode support */
[data-theme="dark"] .thank-you-card {
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

/* Make canvas fill entire hero */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Ensure content stays above particles */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Optional: Gradient overlay for better contrast */
#particles-js::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0.3) 100%
  );
}