/* ===============================
   Zaid Ali - Portfolio Styles
=============================== */
:root {
    /* Colors */
    --bg-color: #050810;
    --bg-alt: #0a0f1d;
    --card-bg: rgba(16, 24, 46, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --accent-1: #60a5fa;
    --accent-2: #2dd4bf;
    --accent-glow: rgba(96, 165, 250, 0.35);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Sizes */
    --nav-height: 80px;
    --section-pad: 100px 0;
    
    /* Effects */
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --pointer-x: 0;
    --pointer-y: 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-primary);
    background:
        radial-gradient(circle at 15% 18%, rgba(96, 165, 250, 0.18), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(45, 212, 191, 0.12), transparent 24%),
        linear-gradient(180deg, #04070f 0%, #091222 48%, #04070f 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

main,
footer {
    position: relative;
    z-index: 1;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-pad);
    position: relative;
}

.bg-alt {
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.86), rgba(10, 15, 29, 0.64));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

/* Glassmorphism utility */
.glass-card {
    background: linear-gradient(160deg, rgba(16, 24, 46, 0.78), rgba(10, 18, 34, 0.5));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(96, 165, 250, 0.16);
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: ring 2s linear infinite;
}

.loader-ring:nth-child(1) { border-top-color: var(--accent-1); animation-delay: 0s; }
.loader-ring:nth-child(2) { border-right-color: var(--accent-2); animation-delay: -0.5s; }
.loader-ring:nth-child(3) { border-bottom-color: #fff; animation-delay: -1s; }

.loader-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 70px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-1);
}

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

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.hero-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(96, 165, 250, 0.14) 0%, rgba(96, 165, 250, 0.05) 24%, transparent 58%),
        radial-gradient(circle at 78% 24%, rgba(45, 212, 191, 0.08) 0%, transparent 24%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-greeting {
    color: var(--accent-1);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-name {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.hero-title .cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-1);
    animation: blink 1s infinite;
}

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

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-1);
    border: 1px solid var(--accent-1);
}

.btn-outline:hover {
    background: rgba(96, 165, 250, 0.12);
    transform: translateY(-2px);
}

.w-100 { width: 100%; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: var(--accent-1);
}

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

/* Objective Section */
.objective-card {
    text-align: center;
    padding: 3rem;
    margin: 0 auto;
    max-width: 800px;
}

.objective-icon {
    font-size: 3rem;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
}

.objective-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.objective-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    background: var(--accent-1);
    filter: blur(50px);
    opacity: 0.3;
    z-index: 0;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 1px solid var(--card-border);
}

.about-text-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-text-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
}

.detail-item i {
    color: var(--accent-1);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.mt-4 { margin-top: 2rem; }

h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Timeline (Education & Experience) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 20px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

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

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

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 3px solid var(--accent-1);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.timeline-subtitle {
    color: var(--accent-1);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-text {
    color: var(--text-muted);
}

/* Experience */
.experience-card {
    max-width: 800px;
    margin: 0 auto;
}

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

.exp-role {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
}

.exp-date {
    color: var(--accent-2);
    font-weight: 500;
    background: rgba(45, 212, 191, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.exp-company {
    color: var(--accent-1);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.exp-list {
    list-style: none;
    padding-left: 0;
}

.exp-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.exp-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

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

.skill-cat-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.skill-cat-title i {
    color: var(--accent-1);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

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

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(96, 165, 250, 0.12);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.core-tag { border-color: rgba(45, 212, 191, 0.32); }
.tool-tag { border-color: rgba(96, 165, 250, 0.28); }

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

.achievement-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.achievement-icon {
    font-size: 3rem;
    color: var(--accent-2);
    margin-bottom: 1.5rem;
}

.achievement-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.contact-method-card i {
    font-size: 1.8rem;
    color: var(--accent-1);
}

.contact-method-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-method-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(96, 165, 250, 0.07);
}

/* Footer */
footer {
    background: #02040a;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
}

.footer-logo span {
    color: var(--accent-1);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-icon:hover {
    background: rgba(96, 165, 250, 0.12);
    color: var(--accent-1);
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Layered Background */
.site-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    isolation: isolate;
}

.site-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 7, 15, 0.08) 0%, rgba(4, 7, 15, 0.22) 50%, rgba(4, 7, 15, 0.72) 100%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34%);
    z-index: 5;
}

.site-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(4, 7, 15, 0.08) 52%, rgba(4, 7, 15, 0.42) 100%);
    z-index: 6;
}

.site-background__glow,
.site-background__mesh,
.site-background__panel,
.site-background__ring {
    position: absolute;
}

.site-background__glow {
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.72;
    animation: glowPulse 12s ease-in-out infinite;
}

.site-background__glow--primary {
    top: -180px;
    right: -140px;
    width: clamp(320px, 38vw, 620px);
    height: clamp(320px, 38vw, 620px);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.28) 0%, rgba(96, 165, 250, 0.12) 42%, transparent 72%);
    transform: translate3d(calc(var(--pointer-x) * 18px), calc(var(--pointer-y) * 18px), 0);
    z-index: 1;
}

.site-background__glow--secondary {
    left: -160px;
    bottom: -180px;
    width: clamp(260px, 32vw, 520px);
    height: clamp(260px, 32vw, 520px);
    background: radial-gradient(circle, rgba(45, 212, 191, 0.24) 0%, rgba(45, 212, 191, 0.08) 44%, transparent 72%);
    transform: translate3d(calc(var(--pointer-x) * -14px), calc(var(--pointer-y) * -10px), 0);
    animation-delay: -6s;
    z-index: 1;
}

.site-background__mesh {
    left: 50%;
    bottom: -42vh;
    width: 140vw;
    height: 110vh;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.24;
    transform-origin: center center;
    transform: translateX(-50%) perspective(1500px) rotateX(78deg) translate3d(calc(var(--pointer-x) * 16px), calc(var(--pointer-y) * -8px), 0);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.92) 12%, transparent 82%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.92) 12%, transparent 82%);
    animation: meshShift 20s linear infinite;
    z-index: 2;
}

.site-background__panel {
    top: clamp(100px, 16vh, 180px);
    right: clamp(-80px, 3vw, 24px);
    width: min(34vw, 460px);
    aspect-ratio: 1 / 1.08;
    border-radius: 32px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 56%, rgba(45, 212, 191, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 28px 80px rgba(2, 8, 23, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -40px 80px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: perspective(1600px) rotateX(56deg) rotateY(-14deg) rotateZ(-20deg) translate3d(calc(var(--pointer-x) * 20px), calc(var(--pointer-y) * -14px), 0);
    opacity: 0.86;
    z-index: 4;
}

.site-background__panel::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.16), transparent 72%);
}

.site-background__ring {
    left: clamp(24px, 8vw, 120px);
    bottom: clamp(56px, 12vh, 140px);
    width: clamp(200px, 24vw, 360px);
    height: clamp(200px, 24vw, 360px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 48%),
        conic-gradient(from 210deg, rgba(96, 165, 250, 0.28), rgba(45, 212, 191, 0.1), rgba(255, 255, 255, 0.02) 78%);
    box-shadow:
        0 0 0 16px rgba(96, 165, 250, 0.04),
        0 0 60px rgba(96, 165, 250, 0.16),
        inset 0 0 40px rgba(45, 212, 191, 0.08);
    transform: translate3d(calc(var(--pointer-x) * -12px), calc(var(--pointer-y) * 10px), 0);
    opacity: 0.72;
    z-index: 3;
}

.site-background__ring::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: rgba(4, 7, 15, 0.78);
    box-shadow: inset 0 0 24px rgba(4, 7, 15, 0.45);
}

@keyframes meshShift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 140px, 140px 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.54;
    }
    50% {
        opacity: 0.82;
    }
}

/* Nav Logo */
.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--accent-glow));
    transition: var(--transition);
}
.nav-logo:hover {
    transform: scale(1.05);
}

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

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(45, 212, 191, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Add some abstract shapes to mock project images */
.project-img-wrapper::after {
    content: '\f108';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    transition: var(--transition);
}

.project-card:hover .project-img-wrapper::after {
    transform: scale(1.1);
    color: var(--accent-glow);
}

.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 8, 16, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

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

.project-info {
    padding: 2rem;
    flex-grow: 1;
}

.project-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .about-content { grid-template-columns: 1fr; }
    .about-image-wrapper { max-width: 400px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .site-background__panel {
        right: -90px;
        width: 320px;
        opacity: 0.72;
    }
    .site-background__ring {
        left: -10px;
        width: 240px;
        height: 240px;
        opacity: 0.6;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: rgba(5, 8, 16, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        text-align: center;
        transition: 0.4s;
        padding-top: 3rem;
    }
    
    .nav-links.active { right: 0; }
    .mobile-menu-toggle { display: block; }
    
    .hero-name { font-size: 3rem; }
    .hero-title { font-size: 1.5rem; }
    .section { padding: 60px 0; }
    .site-background__mesh {
        bottom: -30vh;
        background-size: 80px 80px;
        opacity: 0.16;
    }
    .site-background__panel {
        top: auto;
        right: -110px;
        bottom: 15%;
        width: 240px;
        transform: perspective(1200px) rotateX(56deg) rotateY(-12deg) rotateZ(-20deg) translate3d(calc(var(--pointer-x) * 12px), calc(var(--pointer-y) * -8px), 0);
    }
    .site-background__ring {
        bottom: 90px;
        width: 190px;
        height: 190px;
    }
    .site-background__glow--primary {
        top: -120px;
        right: -120px;
        width: 280px;
        height: 280px;
    }
    .site-background__glow--secondary {
        left: -110px;
        bottom: -120px;
        width: 220px;
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-background__glow,
    .site-background__mesh {
        animation: none;
    }
}
