/* ==========================================
   YOUSEF FERWANA — PORTFOLIO WEBSITE
   Premium Blue Theme with Glassmorphism
   ========================================== */

:root {
    --primary-50: #eef6ff;
    --primary-100: #d9ecff;
    --primary-200: #bcdeff;
    --primary-300: #8ecaff;
    --primary-400: #59adff;
    --primary-500: #338bff;
    --primary-600: #1b6cf5;
    --primary-700: #1455e1;
    --primary-800: #1745b6;
    --primary-900: #193c8f;
    --bg-primary: #050a18;
    --bg-secondary: #0a1628;
    --bg-tertiary: #0f1f3a;
    --bg-card: rgba(15, 31, 58, 0.6);
    --text-primary: #f0f4ff;
    --text-secondary: #94a8cc;
    --text-muted: #5c7399;
    --gradient-primary: linear-gradient(135deg, #338bff 0%, #1b6cf5 50%, #6e3cfa 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #338bff 50%, #6e3cfa 100%);
    --gradient-glow: linear-gradient(135deg, rgba(51, 139, 255, 0.3) 0%, rgba(110, 60, 250, 0.3) 100%);
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(51, 139, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(110, 60, 250, 0.1) 0%, transparent 50%);
    --glass-bg: rgba(15, 31, 58, 0.4);
    --glass-border: rgba(51, 139, 255, 0.15);
    --glass-hover: rgba(51, 139, 255, 0.08);
    --shadow-glow: 0 0 30px rgba(51, 139, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(51, 139, 255, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    mix-blend-mode: screen;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(51, 139, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    will-change: transform, width, height;
    transition: width 0.15s, height 0.15s, border-color 0.15s, background 0.15s;
    mix-blend-mode: screen;
}

.cursor-hover .cursor-outline {
    transform: translate(-50%, -50%) scale(1.8);
    border-color: rgba(51, 139, 255, 0.6);
    background: rgba(51, 139, 255, 0.08);
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(51, 139, 255, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
    background: rgba(15, 31, 58, 0.6);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(51, 139, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(51, 139, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary::before {
    background: linear-gradient(135deg, #4d9dff 0%, #3078f5 50%, #8055fa 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-400);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: rgba(51, 139, 255, 0.1);
    border-color: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(51, 139, 255, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-project {
    margin-top: 16px;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn i {
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(51, 139, 255, 0.1);
    border: 1px solid rgba(51, 139, 255, 0.2);
    border-radius: 50px;
    color: var(--primary-400);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 12px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 139, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.logo-dot {
    color: var(--primary-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(51, 139, 255, 0.1);
    color: var(--primary-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-400);
    border-radius: 1px;
    transition: transform 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: var(--nav-height);
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(51, 139, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--primary-400);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-title-wrapper {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 40px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.typed-text {
    color: var(--primary-400);
    font-weight: 600;
}

.cursor-blink {
    color: var(--primary-400);
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1.2s;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-400);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.profile-img {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 4px solid rgba(51, 139, 255, 0.3);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 139, 255, 0.25) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

.image-border-rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 375px;
    height: 375px;
    border-radius: 50%;
    border: 2px dashed rgba(51, 139, 255, 0.2);
    z-index: 2;
    animation: rotateSlowly 20s linear infinite;
}

.image-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 4;
}

.dec-1 {
    width: 20px;
    height: 20px;
    background: var(--primary-500);
    top: 30px;
    right: 40px;
    animation: floatDec 3s ease-in-out infinite;
}

.dec-2 {
    width: 14px;
    height: 14px;
    background: var(--primary-400);
    bottom: 50px;
    left: 20px;
    animation: floatDec 3s ease-in-out infinite reverse;
}

.dec-3 {
    width: 10px;
    height: 10px;
    background: #6e3cfa;
    top: 60px;
    left: 30px;
    animation: floatDec 4s ease-in-out infinite;
}

@keyframes floatDec {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotateSlowly {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1.5s;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(51, 139, 255, 0.4);
    border-radius: 13px;
    margin: 0 auto 8px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-paragraph {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-paragraph.lead {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.about-paragraph strong {
    color: var(--primary-400);
    font-weight: 600;
}

.about-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(51, 139, 255, 0.3);
    background: var(--glass-hover);
}

.info-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 139, 255, 0.1);
    color: var(--primary-400);
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Tech Orbit */
.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 0 40px rgba(51, 139, 255, 0.3);
}

.orbit-center i {
    font-size: 1.6rem;
    color: white;
}

.orbit-center span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-top: 2px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(51, 139, 255, 0.15);
    border-radius: 50%;
}

.orbit-ring.ring-1 {
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    animation: orbitSpin 25s linear infinite;
}

.orbit-ring.ring-2 {
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    animation: orbitSpin 35s linear infinite reverse;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-300);
}

.ring-1 .orbit-item {
    --total: 4;
    top: 50%;
    left: 50%;
    margin: -25px;
    transform: rotate(calc(360deg / var(--total) * var(--i))) translateX(110px) rotate(calc(-360deg / var(--total) * var(--i)));
}

.ring-1 .orbit-item span {
    animation: orbitCounterSpin 25s linear infinite;
}

.ring-2 .orbit-item {
    --total: 5;
    top: 50%;
    left: 50%;
    margin: -25px;
    transform: rotate(calc(360deg / var(--total) * var(--i))) translateX(180px) rotate(calc(-360deg / var(--total) * var(--i)));
}

.ring-2 .orbit-item span {
    animation: orbitCounterSpin 35s linear infinite reverse;
}

@keyframes orbitSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitCounterSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* EXPERIENCE */
.experience {
    background: var(--bg-secondary);
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 139, 255, 0.3), transparent);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-500), var(--primary-800), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--primary-500);
    border-radius: 50%;
    border: 3px solid var(--bg-secondary);
    z-index: 2;
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: rgba(51, 139, 255, 0.4);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.timeline-content {
    padding: 28px 32px;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-badge {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-badge.current {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-date i {
    margin-right: 6px;
    color: var(--primary-500);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--primary-400);
    font-weight: 500;
    margin-bottom: 4px;
}

.timeline-company i,
.timeline-location i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-desc strong {
    color: var(--primary-300);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 14px;
    background: rgba(51, 139, 255, 0.08);
    border: 1px solid rgba(51, 139, 255, 0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--primary-300);
    font-weight: 500;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon-bg {
    font-size: 4rem;
    color: rgba(51, 139, 255, 0.15);
    transition: var(--transition-slow);
}

.project-card:hover .project-icon-bg {
    transform: scale(1.2) rotate(10deg);
    color: rgba(51, 139, 255, 0.25);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 139, 255, 0.2);
    border: 1px solid rgba(51, 139, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    transform: translateY(20px);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--primary-500);
    transform: translateY(0) scale(1.1) !important;
}

.project-info {
    padding: 24px;
}

.project-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.project-type {
    padding: 3px 12px;
    background: rgba(51, 139, 255, 0.1);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-status {
    font-size: 0.72rem;
    font-weight: 600;
}

.project-status.live {
    color: #00e676;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-desc strong {
    color: var(--primary-300);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 12px;
    background: rgba(51, 139, 255, 0.06);
    border: 1px solid rgba(51, 139, 255, 0.12);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

/* CERTIFICATIONS */
.certifications {
    background: var(--bg-secondary);
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 139, 255, 0.3), transparent);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.cert-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cert-icon.ibm {
    background: rgba(51, 139, 255, 0.12);
    color: var(--primary-400);
}

.cert-icon.microsoft {
    background: rgba(0, 178, 255, 0.12);
    color: #00b2ff;
}

.cert-icon.anaconda {
    background: rgba(68, 214, 44, 0.12);
    color: #44d62c;
}

.cert-icon.linkedin {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
}

.cert-icon.coming {
    background: rgba(110, 60, 250, 0.12);
    color: #6e3cfa;
}

.cert-info h3 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 2px;
}

.cert-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cert-badge {
    margin-left: auto;
    color: #00e676;
    font-size: 1.1rem;
}

.cert-card.more-coming {
    border-style: dashed;
    opacity: 0.7;
}

.cert-card.more-coming:hover {
    opacity: 1;
}

/* SKILLS */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.skills-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.skills-category:hover {
    border-color: rgba(51, 139, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
}

.category-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(51, 139, 255, 0.06);
    border: 1px solid rgba(51, 139, 255, 0.12);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-pill:hover {
    border-color: var(--primary-500);
    color: var(--primary-300);
    background: rgba(51, 139, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 139, 255, 0.15);
}

.skill-pill i {
    color: var(--primary-500);
    font-size: 0.85rem;
}

/* CONTACT */
.contact {
    background: var(--bg-secondary);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(51, 139, 255, 0.3), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 139, 255, 0.1);
    border-radius: 14px;
    color: var(--primary-400);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-400);
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(51, 139, 255, 0.3);
}

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(51, 139, 255, 0.15);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.72rem;
    color: var(--primary-400);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s;
}

.form-group input:focus~.form-line,
.form-group textarea:focus~.form-line {
    width: 100%;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(51, 139, 255, 0.08);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-400);
    transform: translateY(-2px);
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(51, 139, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(51, 139, 255, 0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .image-wrapper {
        width: 300px;
        height: 300px;
    }

    .profile-img {
        width: 270px;
        height: 270px;
    }

    .image-glow {
        width: 290px;
        height: 290px;
    }

    .image-border-rotate {
        width: 300px;
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .tech-orbit {
        width: 320px;
        height: 320px;
    }

    .orbit-ring.ring-2 {
        width: 300px;
        height: 300px;
    }

    .ring-2 .orbit-item {
        transform: rotate(calc(360deg / var(--total) * var(--i))) translateX(150px) rotate(calc(-360deg / var(--total) * var(--i)));
    }
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 20px;
        width: 100%;
        border-radius: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .image-wrapper {
        width: 260px;
        height: 260px;
    }

    .profile-img {
        width: 230px;
        height: 230px;
    }

    .image-glow {
        width: 250px;
        height: 250px;
    }

    .image-border-rotate {
        width: 260px;
        height: 260px;
    }

    .about-info-cards {
        grid-template-columns: 1fr;
    }

    .tech-orbit {
        width: 280px;
        height: 280px;
    }

    .orbit-ring.ring-2 {
        width: 260px;
        height: 260px;
    }

    .ring-2 .orbit-item {
        transform: rotate(calc(360deg / var(--total) * var(--i))) translateX(130px) rotate(calc(-360deg / var(--total) * var(--i)));
    }

    .ring-1 .orbit-item {
        transform: rotate(calc(360deg / var(--total) * var(--i))) translateX(90px) rotate(calc(-360deg / var(--total) * var(--i)));
    }

    .orbit-ring.ring-1 {
        width: 180px;
        height: 180px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 4px;
    }

    .timeline-dot {
        left: -30px;
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        padding: 20px;
    }
}