:root {
    --primary: #06d6a0;
    --secondary: #0a4d68;
    --accent: #1e59a2;
    --dark: #000000;
    --darker: #000000;
    --gray: #8892a4;

    --z-background: 1;
    --z-grid: 2;
    --z-content: 10;
    --z-floating: 20;
    --z-cards: 30;
    --z-side-nav: 100;
    --z-nav: 1000;
    --z-mobile-menu: 2000;
    --z-lightbox: 3000;
    --z-scroll-indicator: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    padding-top: 50px;
}

/* ==================== ANIMATED MESH BACKGROUND ==================== */
.mesh-gradient {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-background);
    background:
        radial-gradient(at 20% 30%, rgba(6, 214, 160, 0.18) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(10, 77, 104, 0.25) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(247, 37, 133, 0.10) 0px, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes meshMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* ==================== GRID PATTERN ==================== */
.grid-pattern {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-grid);
    background-image:
        linear-gradient(rgba(6, 214, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 214, 160, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ==================== GLASSMORPHISM NAVIGATION ==================== */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: var(--z-nav);
    background: rgba(6, 10, 20, 0.45);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(6, 214, 160, 0.13);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 0 0 1px rgba(6, 214, 160, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(6, 214, 160, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(30, 89, 162, 0.05) 100%
    );
    pointer-events: none;
    z-index: 0;
}

nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 214, 160, 0.4),
        rgba(30, 89, 162, 0.3),
        transparent
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

nav.scrolled {
    top: 10px;
    width: calc(100% - 32px);
    background: rgba(4, 8, 18, 0.72);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.55),
        0 4px 16px rgba(6, 214, 160, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
    border-color: rgba(6, 214, 160, 0.18);
}

.nav-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    width: 100%;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.nav-logo .logo-bracket {
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 18px rgba(6, 214, 160, 0.5);
}

.nav-logo .logo-name {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== NAV LINKS WRAPPER ==================== */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 6px 8px;
    position: relative;
    z-index: 2;
}

/* ==================== NAV LINKS ==================== */
.nav-link {
    position: relative;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(6, 214, 160, 0.1);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(6, 214, 160, 0.2),
        rgba(30, 89, 162, 0.15)
    );
    border: 1px solid rgba(6, 214, 160, 0.25);
    box-shadow:
        0 2px 12px rgba(6, 214, 160, 0.15),
        0 0 0 1px rgba(6, 214, 160, 0.08) inset;
}

.nav-link::after {
    display: none;
}

/* ==================== DESKTOP CTA ==================== */
.desktop-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(
        135deg,
        rgba(6, 214, 160, 0.18),
        rgba(30, 89, 162, 0.15)
    );
    border: 1px solid rgba(6, 214, 160, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
    border-radius: inherit;
}

.nav-cta-btn:hover::before {
    opacity: 1;
}

.nav-cta-btn:hover {
    color: #ffffff;
    border-color: transparent;
    box-shadow:
        0 8px 24px rgba(6, 214, 160, 0.3),
        0 2px 8px rgba(6, 214, 160, 0.2);
    transform: translateY(-1px);
}

.nav-cta-btn span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== NAV STATUS DOT ==================== */
.nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(6, 214, 160, 0.06);
    border: 1px solid rgba(6, 214, 160, 0.12);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-status-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(6, 214, 160, 0.7);
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 8px rgba(6, 214, 160, 0.7);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 14px rgba(6, 214, 160, 0.9);
    }
}

/* ==================== MOBILE MENU BUTTON ==================== */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(6, 214, 160, 0.07);
    border: 1px solid rgba(6, 214, 160, 0.18);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: calc(var(--z-mobile-menu) + 10);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(6, 214, 160, 0.14);
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(6, 214, 160, 0.2);
}

.mobile-menu-btn span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-btn span:nth-child(1) { top: 14px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; width: 16px; }
.mobile-menu-btn span:nth-child(3) { top: 28px; }

.mobile-menu-btn.active {
    background: rgba(6, 214, 160, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.25);
}

.mobile-menu-btn.active span {
    background: var(--primary);
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ==================== MOBILE MENU OVERLAY ==================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 8, 16, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-mobile-menu);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: rgba(6, 214, 160, 0.07);
    border: 1px solid rgba(6, 214, 160, 0.15);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(247, 37, 133, 0.18);
    border-color: var(--accent);
}

.mobile-menu-close i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover i {
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-menu a {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    padding: 10px 20px;
    border-radius: 8px;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu a:nth-child(8) { transition-delay: 0.4s; }
.mobile-menu a:nth-child(9) { transition-delay: 0.45s; }

.mobile-menu a:hover {
    color: var(--primary);
    background: rgba(6, 214, 160, 0.1);
}

/* ==================== FLOATING SHAPES ==================== */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
    z-index: var(--z-floating);
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ==================== CREATIVE BUTTONS ==================== */
.btn-creative {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(6, 214, 160, 0.25);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
    text-decoration: none;
    z-index: var(--z-cards);
}

.btn-creative::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-creative:hover::before {
    width: 350px;
    height: 350px;
}

.btn-creative:hover {
    border-color: var(--primary);
    box-shadow: 0 0 35px rgba(6, 214, 160, 0.3);
    transform: translateY(-2px);
}

.btn-creative span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== ASYMMETRIC CARDS ==================== */
.asymmetric-card {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(10, 77, 104, 0.08) 100%);
    border: 1px solid rgba(6, 214, 160, 0.1);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-cards);
}

.asymmetric-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.07) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s;
    z-index: 1;
    pointer-events: none;
}

.asymmetric-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 214, 160, 0.35);
    box-shadow: 0 25px 60px rgba(6, 214, 160, 0.08);
}

.asymmetric-card:hover::after {
    top: -25%;
    right: -25%;
}

.asymmetric-card > * {
    position: relative;
    z-index: 2;
}

/* ==================== BENTO GRID ==================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-item {
    background: rgba(6, 214, 160, 0.03);
    border: 1px solid rgba(6, 214, 160, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: var(--z-cards);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 214, 160, 0.09), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 214, 160, 0.28);
    background: rgba(6, 214, 160, 0.06);
}

.bento-item > * {
    position: relative;
    z-index: 2;
}

/* ==================== PROJECT CARDS ==================== */
.project-hover-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(6, 214, 160, 0.03);
    border: 1px solid rgba(6, 214, 160, 0.08);
    transition: all 0.5s;
    z-index: var(--z-cards);
}

.project-hover-card:hover {
    transform: translateY(-10px);
    border-color: rgba(6, 214, 160, 0.32);
    box-shadow: 0 30px 60px rgba(6, 214, 160, 0.1);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: grayscale(20%);
}

.project-hover-card:hover .project-image-wrapper img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(8, 15, 26, 0.95) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.project-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(6, 214, 160, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.project-hover-card:hover .project-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.project-zoom-icon i {
    font-size: 24px;
    color: var(--dark);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: var(--z-lightbox);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 24px;
    color: white;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* ==================== TIMELINE ==================== */
.timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.timeline-tab {
    padding: 14px 36px;
    background: rgba(6, 214, 160, 0.04);
    border: 2px solid rgba(6, 214, 160, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-tab:hover {
    border-color: rgba(6, 214, 160, 0.4);
    color: white;
}

.timeline-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.3);
}

.timeline-panel {
    display: none;
}

.timeline-panel.active {
    display: block;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px var(--primary);
    animation: pulse-dot 2s infinite;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 15px var(--primary); }
    50% { box-shadow: 0 0 30px var(--primary), 0 0 55px rgba(247, 37, 133, 0.4); }
}

.timeline-content {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(10, 77, 104, 0.08) 100%);
    border: 1px solid rgba(6, 214, 160, 0.1);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 214, 160, 0.3);
    box-shadow: 0 20px 40px rgba(6, 214, 160, 0.07);
}

.timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-company {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ==================== SKILL CARDS ==================== */
.skill-card {
    background: rgba(6, 214, 160, 0.03);
    border: 1px solid rgba(6, 214, 160, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
}

.skill-card:hover {
    background: rgba(6, 214, 160, 0.07);
    border-color: rgba(6, 214, 160, 0.3);
    transform: translateY(-4px);
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.18), rgba(10, 77, 104, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: rotate(-5deg) scale(1.1);
}

.skill-icon i {
    font-size: 22px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon i {
    color: #ffffff;
}

.skill-info {
    flex: 1;
    min-width: 0;
}

.skill-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.skill-percentage {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 6px;
    text-align: right;
}

/* ==================== TESTIMONIAL CARD ==================== */
.testimonial-modern {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(10, 77, 104, 0.08) 100%);
    border: 1px solid rgba(6, 214, 160, 0.1);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    z-index: var(--z-cards);
    transition: all 0.4s ease;
}

.testimonial-modern::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 20px;
    font-size: 100px;
    font-family: serif;
    color: rgba(6, 214, 160, 0.1);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.testimonial-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 214, 160, 0.3);
    box-shadow: 0 20px 50px rgba(6, 214, 160, 0.07);
}

.testimonial-modern > * {
    position: relative;
    z-index: 2;
}

/* ==================== BADGE ==================== */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(6, 214, 160, 0.12);
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

/* ==================== TECH BADGE ==================== */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(6, 214, 160, 0.04);
    border: 1px solid rgba(6, 214, 160, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.tech-badge:hover,
.tech-badge.active {
    background: rgba(6, 214, 160, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==================== FORM STYLING ==================== */
.form-modern {
    position: relative;
    z-index: var(--z-cards);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 18px 22px;
    background: rgba(6, 214, 160, 0.04);
    border: 2px solid rgba(6, 214, 160, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(6, 214, 160, 0.07);
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.1);
}

.form-label {
    position: absolute;
    top: 18px;
    left: 22px;
    color: var(--gray);
    transition: all 0.3s;
    pointer-events: none;
    background: transparent;
    z-index: 1;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 14px;
    font-size: 12px;
    background: var(--dark);
    padding: 0 8px;
    color: var(--primary);
}

/* ==================== GRADIENT TEXT ==================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== STAT DISPLAY ==================== */
.stat-display {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* ==================== SECTION TITLE ==================== */
.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    z-index: var(--z-scroll-indicator);
    transition: width 0.1s;
}

/* ==================== SIDE NAVIGATION ==================== */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-side-nav);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.side-nav-dot.active {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    border-color: rgba(6, 214, 160, 0.35);
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== GLOW ON HOVER ==================== */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    filter: blur(12px);
    pointer-events: none;
}

.glow-on-hover:hover::before {
    opacity: 0.5;
}

/* ==================== CIRCULAR PROGRESS ==================== */
.circular-progress {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--dark);
    z-index: 1;
}

.progress-value {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== IMAGE OVERLAY ==================== */
.image-overlay-gradient {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.image-overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 77, 104, 0.25), rgba(6, 214, 160, 0.2));
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* ==================== DIAGONAL SECTIONS ==================== */
.diagonal-section {
    position: relative;
    padding: 100px 0;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--darker);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}

/* ==================== SECTION SPACING ==================== */
section {
    position: relative;
    z-index: var(--z-content);
    padding: 100px 0;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (min-width: 1280px) {
    .section-title { font-size: 60px; }
    .stat-display { font-size: 56px; }
    section { padding: 120px 0; }
}

@media (max-width: 1024px) {
    nav {
        width: calc(100% - 32px);
    }

    .side-nav { right: 16px; }
    .asymmetric-card { padding: 24px; }

    .timeline-line { left: 30px; }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-item .timeline-dot {
        left: 20px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 40px;
    }

    nav {
        top: 10px;
        width: calc(100% - 24px);
        border-radius: 16px;
    }

    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .mobile-menu { display: flex; }
    .desktop-nav { display: none !important; }
    .desktop-cta { display: none !important; }
    .side-nav { display: none; }

    .section-title { font-size: 32px; }
    .stat-display { font-size: 36px; }
    section { padding: 70px 0; }

    .bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-item { grid-column: span 1 !important; padding: 20px; }

    .project-image-wrapper { height: 200px; }
    .testimonial-modern { padding: 24px; }
    .testimonial-modern::before { font-size: 70px; }

    .asymmetric-card { padding: 20px; border-radius: 18px; }
    .btn-creative { padding: 12px 24px; font-size: 12px; }
    .tech-badge { padding: 8px 14px; font-size: 11px; }

    .hero-title { font-size: 36px !important; }

    .timeline-tabs { flex-direction: column; align-items: center; }
    .timeline-tab { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    body {
        padding-top: 35px;
    }

    nav {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 14px;
    }

    .section-title { font-size: 28px; }
    .hero-title { font-size: 30px !important; }
    .stat-display { font-size: 28px; }

    .btn-creative { width: 100%; justify-content: center; }
    .badge-modern { font-size: 10px; padding: 6px 12px; }

    .form-input { padding: 14px 18px; }
    .form-label { top: 14px; left: 18px; }

    .nav-logo { font-size: 1.2rem; }
    .nav-logo .logo-bracket { display: none; }
}