/* ============================================
   OMAR HATEM PORTFOLIO - PREMIUM DESIGN SYSTEM
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --primary-hue: 220;
    --primary: hsl(220, 90%, 56%);
    --primary-light: hsl(220, 90%, 65%);
    --primary-dark: hsl(220, 90%, 45%);
    --primary-glow: hsla(220, 90%, 56%, 0.4);

    /* Accent Colors */
    --accent: hsl(280, 85%, 60%);
    --accent-light: hsl(280, 85%, 70%);
    --accent-glow: hsla(280, 85%, 60%, 0.3);

    /* Cyan accent */
    --cyan: hsl(185, 85%, 50%);
    --cyan-glow: hsla(185, 85%, 50%, 0.3);

    /* Background */
    --bg-primary: hsl(225, 25%, 6%);
    --bg-secondary: hsl(225, 20%, 9%);
    --bg-tertiary: hsl(225, 18%, 12%);
    --bg-card: hsl(225, 18%, 10%);
    --bg-card-hover: hsl(225, 18%, 13%);

    /* Glass */
    --glass-bg: hsla(225, 20%, 12%, 0.6);
    --glass-border: hsla(220, 40%, 40%, 0.15);
    --glass-border-hover: hsla(220, 60%, 50%, 0.3);

    /* Text */
    --text-primary: hsl(210, 30%, 95%);
    --text-secondary: hsl(215, 15%, 65%);
    --text-muted: hsl(215, 10%, 45%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-hero: linear-gradient(135deg, hsl(220, 90%, 56%), hsl(280, 85%, 60%), hsl(185, 85%, 50%));
    --gradient-card: linear-gradient(145deg, hsla(220, 40%, 20%, 0.3), hsla(280, 40%, 20%, 0.1));
    --gradient-text: linear-gradient(135deg, var(--primary-light), var(--accent-light), var(--cyan));

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px hsla(0, 0%, 0%, 0.2);
    --shadow-md: 0 8px 32px hsla(0, 0%, 0%, 0.3);
    --shadow-lg: 0 16px 64px hsla(0, 0%, 0%, 0.4);
    --shadow-glow: 0 0 40px var(--primary-glow);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   CURSOR GLOW EFFECT
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(220, 90%, 56%, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: hsla(225, 25%, 6%, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-bracket {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

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

.nav-link.active {
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.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(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, hsla(220, 90%, 56%, 0.08), transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsla(280, 85%, 60%, 0.06), transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: hsla(140, 70%, 45%, 0.1);
    border: 1px solid hsla(140, 70%, 45%, 0.2);
    color: hsl(140, 70%, 55%);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsl(140, 70%, 50%);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 hsla(140, 70%, 50%, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px hsla(140, 70%, 50%, 0);
    }
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.hero-name {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.hero-role {
    display: block;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    min-height: 1.8em;
}

.typed-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description strong {
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-light);
    font-weight: 700;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-glow);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: hsla(220, 90%, 56%, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Social */
.hero-social {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    background: var(--glass-bg);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--primary-glow);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid var(--glass-border);
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    filter: blur(40px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

.hero-image-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
        var(--gradient-hero) border-box;
    z-index: 1;
    animation: ring-rotate 8s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 3;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.1rem;
}

.card-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.card-1 i {
    color: var(--primary-light);
}

.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 2s;
}

.card-2 i {
    color: var(--accent-light);
}

.card-3 {
    bottom: 5%;
    right: 10px;
    animation-delay: 4s;
}

.card-3 i {
    color: var(--cyan);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    position: relative;
    padding: var(--section-padding);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: hsla(220, 90%, 56%, 0.08);
    border: 1px solid hsla(220, 90%, 56%, 0.15);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-image-decoration {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    pointer-events: none;
}

.about-quick-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.info-item:hover {
    border-color: var(--glass-border-hover);
    background: var(--bg-card-hover);
}

.info-item i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.highlight-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
    font-size: 1.1rem;
}

.highlight-card:nth-child(2) .highlight-icon {
    background: hsla(280, 85%, 60%, 0.1);
    color: var(--accent-light);
}

.highlight-card:nth-child(3) .highlight-icon {
    background: hsla(185, 85%, 50%, 0.1);
    color: var(--cyan);
}

.highlight-card:nth-child(4) .highlight-icon {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
}

.highlight-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
    width: 100%;
}

.timeline-content:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-date i {
    color: var(--primary-light);
}

.timeline-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-badge.current {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
    border: 1px solid hsla(140, 70%, 45%, 0.2);
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-company i {
    font-size: 0.8rem;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    background: hsla(220, 90%, 56%, 0.08);
    color: var(--primary-light);
    border: 1px solid hsla(220, 90%, 56%, 0.12);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-md);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
    font-size: 1.2rem;
}

.skill-category:nth-child(2) .skill-category-icon {
    background: hsla(280, 85%, 60%, 0.1);
    color: var(--accent-light);
}

.skill-category:nth-child(3) .skill-category-icon {
    background: hsla(185, 85%, 50%, 0.1);
    color: var(--cyan);
}

.skill-category:nth-child(4) .skill-category-icon {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
}

.skill-category-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.skill-bar {
    height: 6px;
    background: hsla(220, 20%, 20%, 0.5);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 12px var(--primary-glow);
    opacity: 0;
    transition: opacity 0.5s 1.5s;
}

.skill-progress.animated::after {
    opacity: 1;
}

.skill-category:nth-child(2) .skill-progress {
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.skill-category:nth-child(3) .skill-progress {
    background: linear-gradient(135deg, var(--cyan), var(--primary));
}

.skill-category:nth-child(4) .skill-progress {
    background: linear-gradient(135deg, hsl(140, 70%, 45%), var(--cyan));
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.featured {
    grid-column: 1 / -1;
}

.project-card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-card-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: all var(--transition-normal);
}

.project-card:hover .project-card-content {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-icon-wrapper {
    margin-bottom: 20px;
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
    font-size: 1.4rem;
}

.project-card:nth-child(3) .project-icon {
    background: hsla(280, 85%, 60%, 0.1);
    color: var(--accent-light);
}

.project-card:nth-child(4) .project-icon {
    background: hsla(185, 85%, 50%, 0.1);
    color: var(--cyan);
}

.project-card:nth-child(5) .project-icon {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
}

.project-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.project-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.project-feature i {
    color: hsl(140, 70%, 55%);
    font-size: 0.8rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: hsla(220, 90%, 56%, 0.06);
    color: var(--primary-light);
    border: 1px solid hsla(220, 90%, 56%, 0.1);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: hsla(220, 90%, 56%, 0.12);
    border-color: hsla(220, 90%, 56%, 0.2);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.cert-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
    font-size: 1.2rem;
}

.cert-card:nth-child(2) .cert-icon {
    background: hsla(280, 85%, 60%, 0.1);
    color: var(--accent-light);
}

.cert-card:nth-child(3) .cert-icon {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
}

.cert-card:nth-child(4) .cert-icon {
    background: hsla(185, 85%, 50%, 0.1);
    color: var(--cyan);
}

.cert-card:nth-child(5) .cert-icon {
    background: hsla(35, 90%, 55%, 0.1);
    color: hsl(35, 90%, 60%);
}

.cert-card:nth-child(6) .cert-icon {
    background: hsla(0, 80%, 55%, 0.1);
    color: hsl(0, 80%, 65%);
}

.cert-card:nth-child(7) .cert-icon {
    background: hsla(160, 70%, 45%, 0.1);
    color: hsl(160, 70%, 55%);
}

.cert-card:nth-child(8) .cert-icon {
    background: hsla(45, 90%, 55%, 0.1);
    color: hsl(45, 90%, 60%);
}

.cert-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cert-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateX(6px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: hsla(220, 90%, 56%, 0.1);
    color: var(--primary-light);
    font-size: 1.2rem;
}

.contact-card:nth-child(2) .contact-card-icon {
    background: hsla(140, 70%, 45%, 0.1);
    color: hsl(140, 70%, 55%);
}

.contact-card:nth-child(3) .contact-card-icon {
    background: hsla(210, 90%, 56%, 0.1);
    color: hsl(210, 90%, 65%);
}

.contact-card:nth-child(4) .contact-card-icon {
    background: hsla(0, 80%, 55%, 0.1);
    color: hsl(0, 80%, 65%);
}

.contact-card-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card-content a,
.contact-card-content span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-card-content a:hover {
    color: var(--primary-light);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: hsla(225, 20%, 8%, 0.8);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(220, 90%, 56%, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 64px 0 24px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-social-links a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: hsla(220, 90%, 56%, 0.08);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .floating-card {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-marker {
        left: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .hero-social {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }
}