/* ----------------------------------
    CURSOR DOTS (REDUCED GLOW FOR PERFORMANCE)
---------------------------------- */

.cursor-dots {
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    top: 0;
    left: 0;
}

.dot {
    position: fixed;
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 
        0 0 6px rgba(109, 40, 217, 0.38),
        0 0 14px rgba(109, 40, 217, 0.22),
        inset 0 0 4px rgba(255,255,255,0.6);
    mix-blend-mode: screen;
    transform-origin: center center;
}

.dot.pulse {
    animation: dotPulse 0.55s ease-out forwards;
}

.dot.lightning {
    animation: lightningFlash 0.55s ease-out forwards;
    box-shadow: 
        0 0 12px rgba(109, 40, 217, 0.45),
        0 0 28px rgba(109, 40, 217, 0.28),
        0 0 48px rgba(109, 40, 217, 0.16),
        inset 0 0 6px rgba(255,255,255,0.85);
}

.dot.lightning::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    animation: lightningAura 0.55s ease-out forwards;
}

@keyframes dotPulse {
    0% { transform: scale(1); opacity: 1; filter: brightness(1.05); }
    50% { filter: brightness(1.15); }
    100% { transform: scale(0.28); opacity: 0; filter: brightness(0.85); }
}

@keyframes lightningFlash {
    0% { transform: scale(1.1); opacity: 1; filter: brightness(1.6); }
    30% { transform: scale(1.02); filter: brightness(1.15); }
    60% { transform: scale(1.12); filter: brightness(1.5); }
    100% { transform: scale(0.22); opacity: 0; filter: brightness(0.6); }
}

@keyframes lightningAura {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}
:root {
    --primary: #6d28d9;
    --primary-dark: #5b21b6;
    --secondary: #ec4899;
    --bg: #0f172a;
    --bg-light: #1a1f3a;
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
    --card: #1e293b;
    --border: #334155;
    --success: #10b981;
    --spacing: 1.5rem;
}

body.light {
    --bg: #f8fafc;
    --bg-light: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --card: #e5e7eb;
    --border: #cbd5e1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings use Poppins for a clean display */
h1, h2, h3, .hero-title, .section-title {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#loader.loader-timeout { opacity: 0.98; }
.loader-content {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: column;
}
.loader-visual { display:flex; gap:1rem; align-items:center; }
.loader-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.06);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-bars { display:flex; gap:6px; }
.loader-bars span { display:block; width:6px; height:18px; background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius:3px; animation: barPulse 1s ease-in-out infinite; }
.loader-bars span:nth-child(2) { animation-delay: 0.12s; }
.loader-bars span:nth-child(3) { animation-delay: 0.24s; }
@keyframes barPulse { 0% { transform: scaleY(0.5); opacity:0.6 } 50% { transform: scaleY(1.4); opacity:1 } 100% { transform: scaleY(0.5); opacity:0.6 } }

.loader-info { display:flex; gap:0.6rem; flex-direction:column; align-items:center; }
.loader-bar { width: 220px; height: 6px; background: rgba(255,255,255,0.06); border-radius: 6px; overflow:hidden; position:relative; }
.loader-bar::after { content:''; position:absolute; left:0; top:0; height:100%; width:var(--loader-fill, 0%); background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 1.6s ease-in-out; }
.loader-label { color: var(--text-muted); font-weight:600; letter-spacing:0.06em; }

#loader.hidden { opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.7rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: all 0.3s ease;
}

body.light .navbar {
    background: rgba(248, 250, 252, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-img {
    height: 45px;
    width: 45px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex: 1;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-btn-contact {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(20deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 400px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-accent {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    position: relative;
}

@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-accent {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.magnetic {
    position: relative;
}

/* Magnetic wrapper used for button magnetism handled by JS */
.magnetic-wrap {
    display: inline-block;
    position: relative;
    overflow: visible;
    will-change: transform;
}

/* subtle floating motion for cards when idle */
@keyframes float3d {
    0% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-6px) rotateX(1deg) rotateY(-1deg);
    }
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
}

/* Small utility for soft fades where CSS-only fallback is desired */
.fade-in {
    animation: fadeIn 0.6s ease both;
}

/* Button ripple (JS-assisted) */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255,255,255,0.35);
    pointer-events: none;
    animation: rippleEffect 600ms ease-out;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Social icon hover lift + subtle ripple */
.social-icons a {
    transition: transform 0.32s cubic-bezier(.2,.9,.3,1), box-shadow 0.32s ease, background 0.32s ease;
}
.social-icons a:active {
    transform: scale(0.98) translateY(2px);
}

/* Secondary CTA entrance */
.btn-secondary.entrance {
    transform: translateY(10px);
    opacity: 0;
    animation: btnEntrance 0.8s cubic-bezier(.2,.9,.3,1) forwards;
}

@keyframes btnEntrance {
    to { transform: translateY(0); opacity: 1; }
}

/* Sections */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.section-projects {
    background: var(--bg-light);
}

.section-about {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

.section-skills {
    background: var(--bg-light);
}

.section-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.section-contact .section-title,
.section-contact .section-subtitle {
    color: white;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-grid {
    perspective: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: var(--card);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    position: relative;
    animation: float3d 6s ease-in-out infinite;
}

.project-card:nth-child(1) {
    animation-delay: 0s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

.project-card:hover {
    transform: rotateY(8deg) rotateX(-8deg) translateZ(40px);
    border-color: var(--primary);
    box-shadow: 
        0 12px 28px rgba(109, 40, 217, 0.28),
        0 0 32px rgba(109, 40, 217, 0.18);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(109, 40, 217, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.project-card:hover::before {
    opacity: 1;
}

.project-img {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--bg-light), var(--card));
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

.project-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-img::before {
    opacity: 1;
}

.project-img > i {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-img > i {
    transform: rotateZ(15deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(109, 40, 217, 0.35));
}

.project-content {
    padding: 2rem;
    transform-style: preserve-3d;
    transform: translateZ(10px);
    position: relative;
    z-index: 5;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-content h3 {
    color: var(--primary);
    transform: translateX(8px);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-content p {
    color: var(--text);
}

/* About */
.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-block {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.about-block:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(109, 40, 217, 0.22);
}

.about-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.about-block p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(109, 40, 217, 0.22);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.skill-card span {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Skills Categories */
.section-skills {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.06) 0%, rgba(236, 72, 153, 0.03) 100%);
    padding: 6rem 0;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.skill-category {
    background: linear-gradient(135deg, var(--card) 0%, rgba(109, 40, 217, 0.08) 100%);
    padding: 2.8rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 1;
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }
.skill-category:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.22),
                0 0 18px rgba(236, 72, 153, 0.08);
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.12) 0%, rgba(236, 72, 153, 0.06) 100%);
}

.skill-category h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.category-icon {
    font-size: 2.2rem;
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.12), rgba(236, 72, 153, 0.12));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.12), rgba(236, 72, 153, 0.18));
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.skill-item {
    text-align: left;
    padding: 1.2rem;
    background: rgba(109, 40, 217, 0.06);
    border: 1px solid rgba(109, 40, 217, 0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.skill-item:hover {
    background: rgba(109, 40, 217, 0.09);
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: inset 0 0 8px rgba(109, 40, 217, 0.12);
}

.skill-item strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
}

.cursor-blob {
    position: fixed;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, rgba(109, 40, 217, 0.08) 70%, transparent 100%);
    filter: blur(50px);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: lighten;
    z-index: 9999;
}

/* Modal */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--card);
    max-width: 600px;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.contact-content .btn-primary {
    background: white;
    color: var(--primary);
}

.contact-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.social-icons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons a {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* allow ripples inside social icons */
.social-icons a {
    position: relative;
    overflow: hidden;
}

.social-icons a .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255,255,255,0.18);
    pointer-events: none;
    animation: rippleEffect 640ms ease-out;
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.25);
}

/* Footer */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.heart {
    color: var(--secondary);
}


/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 0.6rem;
        flex: 1;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
    }

    .nav-link {
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.75rem;
        transition: color 0.3s ease;
        position: relative;
        padding: 0.3rem 0.6rem;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        color: var(--primary);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-actions {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: wrap;
        order: 3;
    }

    .nav-btn-contact {
        display: none;
    }

    .theme-toggle {
        padding: 0.3rem 0.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .project-grid,
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .skill-category h3 {
        font-size: 1.2rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .nav-container {
        padding: 0 1.2rem;
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        flex: 1;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .nav-actions {
        gap: 0.8rem;
    }

    .nav-btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .theme-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
}

