/* CSS Variables */
:root {
    --primary: #27ae60;
    --secondary: #2ecc71;
    --accent: #00d4aa;
    --bg: #050505;
    --card: #0a0a0a;
    --card-hover: #141414;
    --text: #ffffff;
    --text-secondary: #b0b0b0;
    --border: #1a1a1a;
    --border-hover: #27ae60;
    --shadow: rgba(39, 174, 96, 0.15);
    --shadow-hover: rgba(39, 174, 96, 0.3);
    --glow: 0 0 20px rgba(39, 174, 96, 0.3), 0 0 40px rgba(39, 174, 96, 0.15);
}

/* Global Styles */
html {
    scroll-behavior: smooth; /* smooth navigation scroll */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* fade‑in utility for subtle animations */
.fade-in {
    /* animation handles opacity; do not permanently hide element */
    animation: fadeIn 1s forwards ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Tech background animations */
@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(39, 174, 96, 0.2); }
    50% { box-shadow: 0 0 20px rgba(39, 174, 96, 0.4); }
}

@keyframes grid-shift {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Tech background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(0deg, rgba(39, 174, 96, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 174, 96, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-shift 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* Particle animation background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(39, 174, 96, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Floating particles */
.particle {
    position: fixed;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.4) 0%, rgba(39, 174, 96, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

.particle:nth-child(odd) {
    animation: float 10s ease-in-out infinite reverse;
}

.particle:nth-child(3n) {
    width: 40px;
    height: 40px;
    animation-duration: 12s;
}

.particle:nth-child(5n) {
    width: 80px;
    height: 80px;
    animation-duration: 15s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(39, 174, 96, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.navbar:hover {
    border-bottom-color: rgba(39, 174, 96, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(39, 174, 96, 0.2);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(39, 174, 96, 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.4);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    position: relative;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 40px rgba(39, 174, 96, 0.4), 0 0 80px rgba(39, 174, 96, 0.15), inset 0 0 40px rgba(39, 174, 96, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.profile-pic:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 0 60px rgba(39, 174, 96, 0.6), 0 0 100px rgba(39, 174, 96, 0.25), inset 0 0 40px rgba(39, 174, 96, 0.15);
    filter: brightness(1.1);
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(39, 174, 96, 0.3), rgba(46, 204, 113, 0.2));
    opacity: 0.4;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-text h1 {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 50px rgba(39, 174, 96, 0.3);
}

.hero-text {
    max-width: 680px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text);
    font-weight: 400;
}

.tech-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, auto);
    gap: 24px;
    margin-top: 40px;
    align-items: start;
}

.terminal {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(39, 174, 96, 0.18);
    border-radius: 22px;
    padding: 24px;
    box-shadow: inset 0 0 40px rgba(39, 174, 96, 0.08);
}

.t-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    background: #333;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}

.t-dot.yellow {
    background: #f0c040;
}

.t-dot.green {
    background: var(--primary);
}

.code-line {
    font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.96rem;
    line-height: 1.7;
}

.prompt {
    color: var(--secondary);
    opacity: 0.9;
}

.cmd {
    color: #f3f3f3;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--secondary);
    border-radius: 4px;
    margin-left: 6px;
    animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(39, 174, 96, 0.22);
    background: rgba(39, 174, 96, 0.08);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge i {
    color: var(--primary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.16), rgba(46, 204, 113, 0.1));
    border: 1px solid rgba(39, 174, 96, 0.22);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(39, 174, 96, 0.18);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.22), rgba(46, 204, 113, 0.14));
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(39, 174, 96, 0.4);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    font-weight: 600;
}

/* Projects Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.project-header .project-tech {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-card .project-header {
    gap: 10px;
}

.project-card .status-pill {
    white-space: nowrap;
}

/* Story Section */
.story-box {
    background: var(--card);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.story-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.story-box h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-box h3 i {
    color: var(--secondary);
}

.story-highlights {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 174, 96, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.highlight i {
    color: var(--primary);
}

/* Skills Section */
.skills-section {
    margin: 120px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title::before {
    content: '';
    display: block;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 2px;
    filter: blur(1px);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
    border-radius: 2px;
    filter: blur(1px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.skill-category {
    background: linear-gradient(135deg, var(--card) 0%, rgba(39, 174, 96, 0.03) 100%);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(39, 174, 96, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.15), transparent);
    transition: left 0.6s;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(39, 174, 96, 0.25), inset 0 0 1px rgba(39, 174, 96, 0.1);
    background: linear-gradient(135deg, var(--card-hover) 0%, rgba(39, 174, 96, 0.08) 100%);
}

.skill-category h4 {
    color: var(--secondary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.skill-category h4 i {
    color: var(--primary);
    font-size: 1.4rem;
    text-shadow: 0 0 15px rgba(39, 174, 96, 0.4);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(46, 204, 113, 0.08));
    color: var(--secondary);
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 0.9rem;
    border: 1px solid rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
    border-color: var(--primary);
}

/* Projects Section */
.projects-section {
    margin: 120px 0;
}

.project-card {
    background: linear-gradient(135deg, var(--card) 0%, rgba(39, 174, 96, 0.02) 100%);
    border-radius: 18px;
    padding: 40px;
    border: 1px solid rgba(39, 174, 96, 0.15);
    margin-bottom: 35px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.12), transparent);
    transition: left 0.6s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(39, 174, 96, 0.2), inset 0 1px 0 rgba(39, 174, 96, 0.1);
    background: linear-gradient(135deg, var(--card-hover) 0%, rgba(39, 174, 96, 0.08) 100%);
}

.project-card.featured {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08) 0%, var(--card) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(39, 174, 96, 0.2), inset 0 0 1px rgba(39, 174, 96, 0.2);
}

.project-card.featured:hover {
    box-shadow: 0 30px 80px rgba(39, 174, 96, 0.35), inset 0 0 1px rgba(39, 174, 96, 0.3);
}

.project-card h2,
.project-card h3 {
    font-size: 1.8rem;
    margin: 20px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.project-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-note {
    font-size: 0.95rem;
    opacity: 0.75;
    font-style: italic;
    color: var(--secondary);
}

.status-pill {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1.5px solid;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-pill.live {
    background: rgba(39, 174, 96, 0.15);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.3);
}

.status-pill.upcoming {
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
    border-color: #ffc107;
}

.project-tech {
    display: flex;
    gap: 8px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-features {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.feature i {
    color: var(--primary);
}

    .project-code {
        background: rgba(0,0,0,0.35);
        border: 1px solid rgba(255,255,255,0.03);
        padding: 12px;
        border-radius: 10px;
        font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', monospace;
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-top: 12px;
        overflow: auto;
        max-height: 140px;
    }

    .project-code code { display:block; white-space:pre; }

    .view-code-link {
        display:inline-flex;
        align-items:center;
        gap:8px;
        padding:8px 12px;
        border-radius:8px;
        background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
        border:1px solid rgba(255,255,255,0.03);
        color:var(--text);
        text-decoration:none;
        margin-top:12px;
        transition: all 0.25s ease;
    }

    .view-code-link i { color: var(--primary); }

    .view-code-link:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.6); }

    


.project-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    margin: 80px 0;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-card p {
    opacity: 0.7;
    margin-bottom: 15px;
}

.contact-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer */
footer {
    margin-top: 100px;
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
}

.footer-tech {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 20px 0;
        padding: 10px 20px;
        width: 200px;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: var(--primary);
        color: var(--bg);
        transform: scale(1.05);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .tech-panel {
        grid-template-columns: 1fr;
    }

    .profile-section {
        order: -1; /* Show profile first on mobile */
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .stat {
        min-width: 80px;
    }

    .container {
        padding: 15px;
    }

    .story-box {
        padding: 25px;
    }

    .story-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-tags {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 20px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .social-links {
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .story-highlights {
        justify-content: center;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 50px;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat {
        min-width: 70px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .story-box {
        padding: 20px;
        margin: 30px 0;
    }

    .story-box h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skill-category {
        padding: 15px;
    }

    .skill-category h4 {
        font-size: 1rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .project-card {
        padding: 15px;
    }

    .project-card h2 {
        font-size: 1.3rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 15px;
    }

    .contact-card h4 {
        font-size: 1rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .skill-tags {
        justify-content: center;
    }

    .project-features {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ===== GIFT SHAKA GLOBAL ECOSYSTEM STYLES ===== */

.gsg-ecosystem-container {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.05), rgba(46, 204, 113, 0.02));
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 50px 30px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.gsg-ecosystem-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.gsg-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideInDown 0.8s ease;
}

.gsg-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.gsg-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.gsg-header h2 i {
    margin-right: 15px;
}

.gsg-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Tab Navigation */
.gsg-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease 0.2s both;
}

.gsg-tab {
    padding: 12px 24px;
    border: 2px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.gsg-tab:hover {
    border-color: var(--primary);
    background: rgba(39, 174, 96, 0.1);
    transform: translateY(-3px);
}

.gsg-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.3);
}

/* Tab Content */
.gsg-tab-content {
    animation: fadeInUp 0.6s ease;
}

/* Grid Layouts */
.gsg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gsg-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gsg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gsg-card:hover {
    border-color: var(--primary);
    background: var(--card-hover);
    box-shadow: 0 10px 40px rgba(39, 174, 96, 0.15);
    transform: translateY(-5px);
}

.gsg-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.gsg-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text);
}

.gsg-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Analytics Section */
.gsg-analytics-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px;
}

.analytics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.analytics-card {
    background: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    background: rgba(39, 174, 96, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.analytics-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.analytics-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.analytics-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Metrics Display */
.metrics-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.metric-box {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.05));
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-box:hover {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(46, 204, 113, 0.1));
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.2);
    transform: translateY(-3px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cool Features */
.cool-features {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--primary);
    animation: slideInUp 1s ease 0.4s both;
}

.cool-features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    background: var(--card-hover);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(39, 174, 96, 0.2);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gsg-section {
        padding: 60px 15px;
    }

    .gsg-header h2 {
        font-size: 2rem;
    }

    .gsg-tabs {
        gap: 10px;
    }

    .gsg-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .gsg-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gsg-analytics-container {
        padding: 20px;
    }

    .metrics-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .cool-features h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .gsg-header h2 {
        font-size: 1.5rem;
    }

    .gsg-tabs {
        gap: 8px;
    }

    .gsg-tab {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .gsg-card {
        padding: 20px;
    }

    .metrics-display {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 1.8rem;
    }
}